]> Git Repo - binutils.git/blame - ld/ChangeLog
Various entries.
[binutils.git] / ld / ChangeLog
CommitLineData
42f62ead
ILT
1Thu Feb 17 15:51:23 1994 Ian Lance Taylor ([email protected])
2
3 * ldlang.c, ldmain.c: Include libiberty.h.
4
5 * ldmisc.h (concat): Don't declare.
6 * ldmisc.c (concat): Don't define; just use the one in libiberty.
7
8 * ld.h (as_output_section_statement): Removed; not used.
9
5bcb7f28
DM
10Thu Feb 17 09:32:14 1994 David J. Mackenzie ([email protected])
11
12 * ldlang.c, ldmain.c, ldmisc.c: Use bfd_get_error and
13 bfd_set_error and new error names.
14
7ff6f2da
KR
15Tue Feb 15 20:14:53 1994 Ken Raeburn ([email protected])
16
17 * ldwrite.c (build_link_order): If the cooked size of the section
18 has been set, use it, for determining link_order size.
19 (ldwrite): In the error message displayed if bfd_final_link fails,
20 indicate that it was in fact the final link step that failed.
21
22 * ldlang.c (lang_size_sections): Clear bfd_error before calling
23 bfd_relax_section, in case it returns false but doesn't flag an
24 error. If an error is returned, indicate which one it is in the
25 error message.
26
27 * Makefile.in (install-info): Depend on ld.info, and use "$<*" so
28 it'll get picked up from $(srcdir) if appropriate.
29
30Tue Feb 15 16:32:04 1994 David J. Mackenzie ([email protected])
31
32 * scripttempl/aout.sc: Only pad .text if PAD_TEXT is set.
33 * emulparams/i386mach.sh (PAD_TEXT): Set PAD_TEXT.
34
09aaf97a
DM
35Fri Feb 11 17:02:49 1994 David J. Mackenzie ([email protected])
36
37 * ldlex.l (comment): Increment line number when newline is read.
38
c4e48be3
ILT
39Fri Feb 11 17:36:20 1994 Ian Lance Taylor ([email protected])
40
41 * ldlang.c (lookup_name): Take new argument, force_load. If true,
42 reload the file even if it is already loaded.
43 (wild): Call lookup_name with force_load argument of 0.
44 (open_input_bfds): Call lookup_name with force_load argument of 1.
45 (print_symbol): Remove declaration of non-existent function.
46 (print_one_symbol): Return true rather than falling off end.
47
410945f1
ILT
48Thu Feb 10 11:52:38 1994 Ian Lance Taylor ([email protected])
49
50 * ldmain.c (main): Use %ld when printing long values.
51
52 * scripttempl/elf.sc: Move _edata after the .sdata section.
53 Permit OTHER_BSS_SYMBOLS to be defined.
54 * emulparams/elf32mipb.s (OTHER_BSS_SYMBOLS): Define _fbss.
55
f7d4f6f6
JL
56Mon Feb 7 16:31:15 1994 Jeffrey A. Law ([email protected])
57
58 * Rename all "hppaosf" files to "hppaelf".
410945f1
ILT
59 * Change all "osf" references to "elf" in hppaelf files.
60 * Makefile.in: Likewise.
61 * configure.in: Likewise.
f7d4f6f6 62
f4972135
DM
63Sun Feb 6 20:31:56 1994 David J. Mackenzie ([email protected])
64
6f671266
DM
65 * ldmain.c (main): Call xatexit, not atexit.
66 Call xmalloc_set_program_name.
67
f4972135
DM
68 * ldlang.c (lang_size_sections): Check if bfd_relax_section set
69 bfd_errno.
70
52a8ebfe
DM
71Sat Feb 5 03:54:34 1994 David J. Mackenzie ([email protected])
72
73 * emultempl/lnk960.em (append), emultempl/hppaosf.em
74 (hppaosf_finish): Call xmalloc, not ldmalloc.
75 * ldmain.c (preserve_output): Function removed.
76 (main): Do it here instead.
77
9dd7d585
JL
78Fri Feb 4 23:02:19 1994 Jeffrey A. Law ([email protected])
79
80 * ldlang.h (LANG_FOR_EACH_{INPUT,OUTPUT}_SECTION): Delete (unused)
81 GNU C specific macros.
82
83 * emultempl/hppaosf.em (hppaosf_finish): Expand the only remaining
84 call to LANG_FOR_EACH_INPUT_SECTION.
85
0b2f8d2e
DM
86Fri Feb 4 16:26:08 1994 David J. Mackenzie ([email protected])
87
88 * ldmisc.c (ldmalloc, xmalloc, ldrealloc, xrealloc): Functions
89 deleted; will use libiberty versions instead.
90 * ldctor.c ldfile.c ldlang.c ldmain.c ldmisc.c ldmisc.h lexsup.c
91 mri.c Makefile.in: Change callers.
92
93 * ldmisc.c (vfinfo): Remove cleanup code.
94 * ldmain.c (remove_output): Put it here (new function).
95 (preserve_output): New function.
96 (main): Register remove_output and preserve_output with atexit.
97 * ldmain.c ldgram.y: Call xexit instead of exit.
98 * ldmisc.h: Declare xexit.
99
9e0f78c8
SC
100Fri Feb 4 15:19:01 1994 Steve Chamberlain ([email protected])
101
102 * Makefile.in: Lots of new H8/500 memory models.
103
836dcbcf
KR
104Sun Jan 30 14:33:40 1994 Ken Raeburn ([email protected])
105
106 * ldlex.l: Removed duplicate rules.
107 (yywrap): Provide default definition, needed with some versions of
108 flex.
109
fb55f9b8
DM
110Fri Jan 28 09:12:56 1994 David J. Mackenzie ([email protected])
111
288897f4
DM
112 * ldmisc.c (vfinfo): For `%I', if the file is in an archive, print
113 the archive filename too.
114
fb55f9b8
DM
115 * ldlex.l: Add rule to catch invalid input characters instead of
116 printing them. Include "ldmain.h" for program_name decl.
117 (lex_warn_invalid): New function.
118 * Makefile.in: Add dependency.
119
f3c6455f
KR
120Fri Jan 28 12:58:45 1994 Ken Raeburn ([email protected])
121
122 * Makefile.in (check): Don't bother running any tests of
123 cross-linker until the test suite no longer assumes native mode.
124
804c8601
SC
125Thu Jan 27 17:19:54 1994 Steve Chamberlain ([email protected])
126
127 * ldlang.c (print_one_symbol, print_input_section): Print
128 global symbols in symbol table again.
129
7b40f2b1
DM
130Thu Jan 27 12:35:01 1994 David J. Mackenzie ([email protected])
131
132 * ldmain.c ldmain.h ldgram.y: If -v -V or --version was given,
133 exit successfully instead of complaining if no input files are
134 given.
135
8594f568
SS
136Tue Jan 25 13:19:41 1994 Stan Shebs ([email protected])
137
74e6b793
SS
138 * Makefile.in: Format variable definitions consistently.
139 (LD_PROG): Remove unnecessary variables from link command,
140 change variable LOADLIBES to EXTRALIBS.
141
8594f568
SS
142 * ldmain.c (main): Compute and display total execution time.
143 * ld.texinfo (-stats): Document the option.
144
755f42fe
ILT
145Mon Jan 24 12:56:37 1994 Ian Lance Taylor ([email protected])
146
5dad4c97
ILT
147 * ldmain.c (reloc_overflow): Added name, reloc_name and addend
148 arguments.
149
de08b0b1
ILT
150 * ldlang.c (lookup_name): Set BFD GP size to -G argument value
151 after opening BFD.
152
755f42fe
ILT
153 * ldlang.c (relaxing): Removed global variable.
154 (lang_size_sections): If the canonical symbols have not already
155 been read in, read them in before relaxing.
156 * ldlang.h (relaxing): Removed declaration.
157
5e6cd559
ILT
158Fri Jan 21 00:44:44 1994 Ian Lance Taylor ([email protected])
159
160 * ldlang.c (new_afile): Initialize loaded field to false.
161 (lookup_name): If file was already loaded, don't call the
162 add_symbols entry point again.
163
8de26d62
DM
164Wed Jan 19 13:57:00 1994 David J. Mackenzie ([email protected])
165
166 * ld.texinfo: Clarify what -T option does.
167
a843c817
SC
168Tue Jan 18 16:18:15 1994 Steve Chamberlain ([email protected])
169
170 * scripttempl/m88kbcs.sc: Don't use CREATE_OBJECT_SYMBOLS, that's
171 for a.out.
172
8a432746
ILT
173Fri Jan 14 12:37:16 1994 Ian Lance Taylor ([email protected])
174
175 Motorola Delta sysV68 support from [email protected] (Philippe
176 De Muyter).
177 * configure.in (m68k-motorola-sysv*) New target.
178 * config/delta68.mt: New file.
179 * emulparams/delta68.sh: New file.
180 * scripttempl/delta68.sc: New file.
181 * Makefile.in (ALL_EMULATIONS): Added em_delta68.o.
182 (em_delta68.c): New target.
183
901f3538
ILT
184Tue Jan 11 13:22:04 1994 Ian Lance Taylor ([email protected])
185
8a432746
ILT
186 * ldmain.c (add_archive_element): If trace_files or
187 trace_file_tries, print file name.
188 * ldlang.c (lookup_name): Likewise.
189 (ldlang_add_file): Don't put files on input_bfds list in reverse
190 order.
191
901f3538
ILT
192 * scripttempl/elf.sc: Correct typo.
193
c344d884
DM
194Mon Jan 10 19:49:05 1994 David J. Mackenzie ([email protected])
195
196 * ldgram.y, ldlex.l: Make the space between -e, -u, and -y and
197 their arguments optional, for compatibility with the old GNU ld.
198
267a3ab3
ILT
199Fri Jan 7 20:00:24 1994 Ian Lance Taylor ([email protected])
200
201 * scripttempl/elf.c: Define __bss_start before the .sbss section.
202
3107eb5b
ILT
203Thu Jan 6 00:13:10 1994 Ian Lance Taylor ([email protected])
204
2f84ec0d
ILT
205 * ldmain.c (add_to_set): Add bitsize argument.
206 (constructor_callback): New function.
207 (link_callbacks): Add constructor_callback.
208 * ldctor.c (struct set_info): Add bitsize field.
209 (ldctor_add_set_entry): Add bitsize argument.
210 (ldctor_build_sets): Base the size of the elements of the set on
211 the bitsize, rather than always using LONG.
212 * ldctor.h (ldctor_add_set_entry): Add bitsize to declaration.
213
214 * ld.h (QUAD_SIZE): Define.
215 * ldgram.y (QUAD): New token.
216 (length): Handle it.
217 * ldlex.l: Return QUAD.
218 * lexsup.c (keywords): Add QUAD.
219 * ldwrite.c (build_link_order): Handle QUAD.
220 * ldlang.c (print_data_statement): Handle QUAD.
221 (lang_size_sections): Likewise.
222 (lang_do_assignments): Likewise.
223 * ldexp.c (exp_print_token): Add QUAD to table.
224 * ld.texinfo: Describe QUAD.
225
3107eb5b
ILT
226 * scripttempl/alpha.sc: Don't create .lit4 or .sdata sections,
227 since the Alpha doesn't use them.
228
080d8af0
DM
229Wed Jan 5 17:42:16 1994 David J. Mackenzie ([email protected])
230
231 * ldemul.h (ld_emulation_xfer_struct): Comment the members.
232
233Sat Jan 1 13:39:31 1994 Rob Savoye ([email protected])
234
235 * Makefile.in, configure.in: Add support for VSTa micro-kernel.
236 * config/vsta.mt, emulparams/vsta.sh: New files for VSTa.
237
34f9bf4b
DM
238Sat Jan 1 10:53:35 1994 David J. Mackenzie ([email protected])
239
240 * scripttempl/aout.sc: Pad .text to DATA_ALIGNMENT if relocating;
23fdc6be 241 needed for i386mach. (Should be a no-op on other systems.)
34f9bf4b
DM
242
243 * emulparams/i386mach.sh (SEGMENT_SIZE): Fix again.
244 (PAGE_SIZE): Don't define; not used.
245
1d166443
ILT
246Fri Dec 31 16:12:06 1993 Ian Lance Taylor ([email protected])
247
248 * ldgram.y (yyerror): Make argument const char *, and actually
249 print it out rather than assuming it is a syntax error.
250 * ldmisc.h: Change declaration of yyerror.
251 * ldemul.c, ldwrite.c: Add /*ARGSUSED*/ as appropriate.
252
ae9c8007
DM
253Fri Dec 31 11:37:28 1993 David J. Mackenzie ([email protected])
254
255 * emulparams/i386mach.sh (NONPAGED_TEXT_START_ADDR): Don't include
256 exec header offset, since the exec header isn't loaded.
257 (PAGE_SIZE, SEGMENT_SIZE): Agree with bfd/i386mach3.c.
258
4a6afc88
ILT
259Thu Dec 30 13:01:43 1993 Ian Lance Taylor ([email protected])
260
261 A major rewrite to move the bulk of the linker into BFD so that
262 more efficient backend code can be written for specific object
263 files.
264 * lderror.c, lderror.h, ldindr.c, ldindr.h, ldsym.c, ldsym.h,
265 ldwarn.c, ldwarn.h, relax.c, relax.h: Removed.
266 * ldctor.c, ldctor.h: Complete rewrite.
267 * ldwrite.c, ldwrite.h: Complete rewrite.
268 * ld.h (strip_symbols_type, strip_symbols): Removed. Use
269 link_info.strip instead. Changed all uses.
270 (discard_locals_type, discard_locals): Removed. Use
271 link_info.discard instead. Changed all uses.
272 (ld_config_type): Removed relocateable_output field; use
273 link_info.relocateable instead; changed all uses. Added stats
274 field.
275 (set_asymbol_chain, get_asymbol_chain, get_loader_symbol,
276 set_loader_symbol): Removed.
277 * ldexp.h (node_class): Added etree_rel.
278 (etree_type): Added rel field.
279 * ldexp.c (exp_print_token): Bracketed table initialization.
280 (exp_relop): New function.
281 (fold_name): Use linker hash table rather than ldsym functions.
282 (exp_fold_tree): Likewise. Also, handle etree_rel case.
283 (exp_print_tree): Handle etree_rel.
284 * ldgram.y (strip_symbols, discard_locals): Removed.
285 (OPTION_stats, OPTION_no_keep_memory): New tokens. Handle them.
286 (REL): New token. Does not appear in grammar, but needed for
287 expression code.
288 (file): Don't call lang_final; it's called by main anyhow.
289 * ldlex.l: Accept -stats and -no-keep-memory options.
290 * ldlang.h (fill_type): Make unsigned int, not unsigned short.
291 * ldlang.c: Consistently use fill_type for fill argument.
292 (lang_init_script_file, script_file): Removed.
293 (create_object_symbols): Removed. Use
294 link_info.create_object_symbols_section instead. Changed all
295 uses.
296 (lang_add_keepsyms_file): Removed.
297 (lookup_name): Call bfd_link_add_symbols instead of
298 ldmain_open_file_read_symbol.
299 (wild): Don't iterate over script_file.
300 (open_output): Create link hash table.
301 (lang_place_undefineds): Rewrote.
302 (lang_size_sections): Handle relaxing (doesn't work yet).
303 (lang_relocate_globals): Removed.
304 (lang_finish): Use link hash table rather than ldsym functions.
305 (lang_common): Rewrote.
306 (lang_one_common): New function.
307 (ldlang_add_file): Add file to link_info.input_bfds list. Set
308 usrdata.
309 (create_symbol): Removed.
310 (lang_process): Don't call lang_init_script_file. Call
311 ldctor_build_sets rather than find_constructors. Don't call
312 lang_relocate_globals.
313 (lang_abs_symbol_at_beginning_of): Rewrote.
314 (lang_abs_symbol_at_end_of): Rewrote.
315 * ldmain.c (had_y): Removed.
316 (lprefix, lprefix_len): Removed; use link_info fields instead.
317 Changed all uses.
318 (multiple_def_count, commons_pending, undefined_global_sym_count,
319 total_symbols_seen, total_files_seen): Removed.
320 (link_callbacks, link_info): New variables.
321 (main): Initialize link_info. Don't call init_bfd_error_vector or
322 ldsym_init. Don't set now unused variables. Handle -stats.
323 (get_emulation): Removed obsolete and nonfunctional GNU960 code.
324 (add_ysym): Rewrote.
325 (read_entry_symbols, refize, enter_global_ref, enter_file_symbols,
326 search_library, gnu960_check_format, decode_library_subfile,
327 linear_library, symdef_library, clear_syms, subfile_wanted_p):
328 Removed.
329 (add_keepsyms_file, add_archive_element, multiple_definition,
330 multiple_common, add_to_set, warning_callback, undefined_symbol,
331 reloc_overflow, reloc_dangerous, unattached_reloc, notice_ysym):
332 New functions.
333 * ldmisc.c (vfinfo): Accept a string for %T, not a symbol. Don't
334 require symbols for %C; look them up instead.
335 * emultempl/hppaosf.em: Pass link_info to
336 hppa_look_for_stubs_in_section.
337 * Makefile.in: Rebuilt dependencies.
338 (CFILES): Removed lderror.c, ldindr.c, ldsym.c, ldwarn.c, and
339 relax.c.
340 (HFILES): Removed lderror.h, ldindr.h, ldsym.h, ldwarn.h, and
341 relax.h.
342 (EMULATION_OFILES): Depend on bfdlink.h, ldmain.h, ldexp.h,
343 ldlang.h and ldctor.h.
344
345 * Makefile.in (ldlex.c): Don't depend on ldgram.h. Remove
346 declarations of free and malloc from flex output. Change malloc
347 to ldmalloc in flex output.
348
349Thu Dec 16 21:19:57 1993 Jeffrey A. Law ([email protected])
350
351 * ldmain.c (lprefix): Change default from a char to a string
352 with only one character.
353 (lprefix_len): Set default to one.
354
355 * ldmain.h (lprefix_len): Declare.
356
357 * ldsym.c (write_file_locals): Use strncmp rather than a character
358 comparison for lprefix.
359
360 * emultmpl/m88kbcs.em (before_parse): Set lprefix and lprefix_len
361 correctly.
362
363 * emultmpl/hppaosf.em: Include ldexp.h.
364 (before_parse): Set lprefix and lprefix_len correctly.
365
498fbd3c
ILT
366Tue Dec 14 17:19:03 1993 Ian Lance Taylor ([email protected])
367
553b0021
ILT
368 * ldlex.h: Don't declare yywrap if it is a macro.
369 * ldlex.l: Include sysdep.h.
498fbd3c
ILT
370 * ldlang.c (lang_for_each_statement_worker,
371 lang_for_each_statement): Forgot to use PARAMS.
372
1400cdc5
ILT
373Mon Dec 13 14:30:03 1993 Ian Lance Taylor ([email protected])
374
375 * Makefile.in: Added .PHONY targets where appropriate. Added some
376 comments. Also:
377 (gcclibdir, version): Removed unused variables.
378 (DEP): New variable, set to mkdep.
379 (ALL_CFLAGS): New variable. Used in .c.o target.
380 (CFILES, HFILES, GENERATED_CFILES, GENERATED_HFILES): New
381 variables.
382 (HEADERS, MANSOURCES, LDCSOURCES, GENERATED_SOURCES,
383 GENERATED_HEADERS, LDSOURCES, BFD_SOURCES, SOURCES): Removed
384 mostly obsolete variables. Adjusted remaining uses.
385 (DEF_EMUL): Removed variable.
386 (ldmain.o): Handle undefined EMUL error correctly.
387 (ldemul-list.h): Depend on config.status rather than Makefile.
388 Create via temporary file.
389 (ver960.c, roll, make): Removed obsolete targets.
390 (.dep, .dep1, dep.sed, dep, dep-in): New targets. Used to rebuild
391 dependencies.
392 * dep-in.sed: New file, used when rebuilding dependencies.
393
2c6635a4
ILT
394Sat Dec 11 14:43:44 1993 Ian Lance Taylor ([email protected])
395
fcf276c4
ILT
396 Made many changes to eliminate gcc warnings. Made various
397 cosmetic changes, declared various things in header files, removed
398 various extern declarations from .c files. No substantive
399 changes.
400
2c6635a4
ILT
401 * ldlang.c (lang_process): Ifdef out final call to
402 lang_size_sections again (reverting change of Nove 2), since it
403 breaks the Sun4 linker.
404
405Thu Dec 2 16:31:47 1993 Ian Lance Taylor ([email protected])
406
407 * configure.in (alpha-*-netware*): New target; use alpha.
408
d05ac46b
KR
409Wed Dec 1 14:04:20 1993 Ken Raeburn ([email protected])
410
411 * configure.in: Group targets by CPU. Merge some m68k target
412 entries with different CPU specs that use the same ld_target
413 values.
414
415 * configure.in: Add sparc*-*-coff.
416 * config/coff-sparc.mt, emulparams/coff_sparc.sh: New files.
417 * Makefile.in (ALL_EMULATIONS): Add em_coff_sparc.o.
418 (em_coff_sparc.c): Add dependencies and build rules.
419
420 * ldmisc.c (errno, sys_nerr, sys_errlist): Don't declare.
421
f651733a
ILT
422Wed Dec 1 12:19:55 1993 Ian Lance Taylor ([email protected])
423
8e964b07
ILT
424 * ldgram.y (OPTION_call_shared, OPTION_non_shared, OPTION_Oval):
425 New tokens.
f651733a 426 (command_line_option): Accept and ignore them (for now).
8e964b07
ILT
427 * ldlex.l (<COMMAND>): Handle -non_shared, -call_shared, and -On
428 where n is a number.
f651733a
ILT
429
430Mon Nov 22 14:14:29 1993 Ian Lance Taylor ([email protected])
431
432 * ldmain.c (subfile_wanted_p): If merging a common symbol which is
433 not in bfd_com_section, create the section in the BFD so that it
434 can be placed in the right output section.
435
2332114c
ILT
436Fri Nov 19 14:12:39 1993 Ian Lance Taylor ([email protected])
437
438 * configure.in (mips*-sgi-irix5*): New target. Use mipsb-elf32.
439 * emulparams/elf32mipsb.sh (DATA_ADDR): Define.
440 (OTHER_READONLY_SECTIONS): Define for .reginfo.
441 (EXECUTABLE_SYMBOLS): Define for _DYNAMIC_LINK.
442 * scripttempl/elf.sc: Use EXECUTABLE_SYMBOLS when not relocating.
443 Move OTHER_READONLY_SECTIONS after all the other readonly
444 sections. Don't use DATA_ADDR twice.
445
446 * ldmain.c (enter_file_symbols): Removed duplicate tests of p. If
447 p is in a common section, make sure the BFD has a section of that
448 name.
449
450 * ldlang.c (lang_common): Add newline to error message.
451
452Thu Nov 11 15:54:41 1993 Stan Shebs ([email protected])
453
454 * emulparams/m68klynx.sh (SCRIPT_NAME): Define to use a
455 Lynx-specific script instead of m68kcoff.
456 (OUTPUT_FORMAT): Define as "coff-m68k-lynx".
457 (ENTRY): Define as __main.
458 (TEXT_START_ADDR): Define as 0.
459 (PAGE_SIZE): Define as 0x1000.
460 * emulparams/i386lynx.sh, emulparams/sparclynx.sh: Fix comment.
461 * scripttempl/m68klynx.sc: New file.
462
463Mon Nov 8 12:00:16 1993 Ian Lance Taylor ([email protected])
464
465 * ldmain.c (get_emulation): Ignore -mips1, -mips2 and -mips3
466 arguments rather than treating them as emulation names.
467
b11b3ace
DHW
468Fri Nov 5 09:02:52 1993 D. V. Henkel-Wallace ([email protected])
469
470 * configure.in: Support x86 unixware and netware plus generic netware.
471
2ccb88c0
DM
472Fri Nov 5 21:47:55 1993 David J. Mackenzie ([email protected])
473
474 * emulparams/i386mach.sh (TEXT_START_ADDR, NONPAGED_TEXT_START_ADDR):
475 Correct values (?).
476
3c1af24d
KR
477Wed Nov 3 15:10:15 1993 Ken Raeburn ([email protected])
478
479 * Makefile.in (distclean): Don't delete dvi or info files.
4ecfad79 480 (ld.info): Update dependency list.
2ccb88c0 481 (ld.dvi): Ditto. Extend TEXINPUTS to get bfdsumm.texi.
3c1af24d 482
3c292c5a
DM
483Wed Nov 3 12:07:39 1993 David J. Mackenzie ([email protected])
484
485 * ldlang.c (lang_add_output): Take new arg, FROM_SCRIPT.
486 Set output_filename instead of creating a new node.
487 (open_output): Don't set output_filename.
488 (lang_final): Create the new node here.
489 * ldlang.c, ldlang.h, ldgram.y, mri.c: pass FROM_SCRIPT.
490
97fbbaca
JL
491Tue Nov 2 15:45:51 1993 Jeffrey A. Law ([email protected])
492
f1f6b5e9
JL
493 From Pete Hoogenboom ([email protected]):
494
495 * scripttempl/hppaosf.sc: (___stack_zero, etext, _etext,
496 edata, _edata, end): Add definitions of these symbols.
497 (__end): Remove definition of this symbol.
498 (__data_start): Move definition of this symbol.
499
5f62613e
JL
500 * emultempl/hppaosf.em: Various fixes and support for linker stub
501 generation.
502 (hppaosf_finish, hppaosf_search_for_padding_statements,
503 hppaosf_create_output_section_statements): New functions in
504 support of linker stub generation.
505 (ld_hppaosf_emulation): Redefine to include new
506 emulation-specific routines.
507
97fbbaca
JL
508 * ldlang.c (lang_process): Re-enable last call lang_size_sections.
509 Pass abs_output_section rather than NULL to avoid invalidating
510 absolute symbols.
511
512Thu Oct 28 21:16:42 1993 David J. Mackenzie ([email protected])
513
514 * Makefile.in (ALL_EMULATIONS): Add em_i386mach.o.
515 (em_i386mach.c): New rule.
516 * configure.in (i[34]86-*-mach*): New case.
517 * config/i386-mach.mt: New file.
518 * emulparams/i386mach.sh: New file.
519
c3b34cfd
ILT
520Fri Oct 29 14:55:05 1993 Ian Lance Taylor ([email protected])
521
522 * ld.h (flag_is_*): Removed macros.
523 * ldmain.c (enter_global_ref), ldsym.c (write_file_locals):
524 Consistently check the BFD symbol flags directly, rather than
525 using file_is_* macros.
526
7b95fe96
SS
527Thu Oct 28 19:08:42 1993 Stan Shebs ([email protected])
528
529 * configure.in (sparc*-*-lynxos*): New target.
530 * Makefile.in: Add rule for em_sparclynx.c.
531 (ALL_EMULATIONS): Add Lynx emulations.
532 * config/sparc-lynx.mt: New file.
533 * emulparams/sparclynx.sh: New file.
534 * scripttempl/sparccoff.sc: New file.
535
d17eb3db
ILT
536Thu Oct 28 13:50:25 1993 Ian Lance Taylor ([email protected])
537
538 * Makefile.in: Add dependency for $(EMULATION_OFILES).
539
db4b5ad0
ILT
540Mon Oct 25 16:09:24 1993 Ian Lance Taylor ([email protected])
541
542 * relax.c (write_relax): Check return value of bfd_seclet_link.
543
2fe6619e
KR
544Mon Oct 25 09:31:21 1993 Ken Raeburn ([email protected])
545
546 * ldlang.c (delete_output_file_on_failure): New variable.
547 (open_output): Set it after bfd open succeeds.
548 * ldmisc.c (vfinfo): Test it.
549
550 Changes from Peter Hoogenboom, [email protected]:
551
552 * ldsym.c (write_file_locals): Set the BSF_FILE flag for object
553 symbols.
554
555 * ldemul.c: Support was added to allow emulation-specific
556 processing to occur. This support was added primarily for linker
557 stub generation in the elf32-hppa gld.
558 (ldemul_finish, ldemul_create_output_section_statements): New
559 functions.
560 * ldemul.h: Support was added to allow emulation-specific
561 processing to occur. (As described above.) Added finish and
562 create_output_section_statements fields to
563 ld_emulation_xfer_struct structure.
564 * ldlang.c: Add calls to emulation-specific routines.
565 (lang_process): Add call to
566 ldemul_create_output_section_statements function.
567 (lang_process): Add call to a emulation-specific routine (and
568 some processing after the call).
569
570Fri Oct 22 20:54:13 1993 david d `zoo' zuhn ([email protected])
571
572 * configure.in: mips*- instead of mips-, mips*el changes
573
1c4b3cda
ILT
574Tue Oct 19 15:46:28 1993 Ian Lance Taylor ([email protected])
575
576 * configure.in (alpha-*-osf*): New target; use alpha.mt.
577 * Makefile.in (ALL_EMULATIONS): Added em_alpha.o.
578 (em_alpha.c): New target; use alpha.sh and alpha.sc.
579 * config/alphaosf.mh (NATIVE_LIB_DIRS, HOSTING_CRT0): Define.
580 * config/alpha.mt: New file.
581 * emulparams/alpha.sh: New file.
582 * scripttempl/alpha.sc: New file.
583
584Fri Oct 15 02:20:04 1993 Doug Evans ([email protected])
585
586 * ldlang.c (lang_size_sections, lang_common): ALIGN_N can't handle
587 types of different sizes (eg: 64 and 32 bits), so coerce.
588 * ld.h (ALIGN_N): Add warning about usage.
589
98b5caad
ILT
590Wed Oct 13 16:02:39 1993 Ian Lance Taylor ([email protected])
591
592 * ldmain.c (enter_global_ref): Just ignore any weak symbol for
593 which we already have a definition, rather than checking in
594 several different places whether the symbol is weak.
595
a71da760
ILT
596Tue Oct 12 17:30:51 1993 Ian Lance Taylor ([email protected])
597
598 * configure.in (mips-*-elf*): New target; use mipsb-elf32.
599 * scripttempl/elf.sc: Only use OTHER_READONLY_SECTIONS and
600 OTHER_READWRITE_SECTIONS if relocating. Shell variables are not
601 expanded within them.
602 * config/mipsb-elf32.mt: New file.
603 * emulparams/elf32mipb.sh: New file.
604 * Makefile.in (em_elf32mipb.c): New target.
605
a4aeaacf
RS
606Thu Sep 30 17:00:36 1993 Rob Savoye ([email protected])
607
a4aeaacf
RS
608 * ldgram.y: In input_list, change lang_input_file_is_file_enum to
609 lang_input_file_is_search_file_enum so objects brought in using
610 INPUT() do a path lookup.
611
612Tue Sep 28 13:31:23 1993 Stan Shebs ([email protected])
613
614 * configure.in: Change Lynx ld_target to be {i386,m68k}-lynx
615 instead of {i386,m68k}-coff.
616 * Makefile.in (em_i386lynx.c, em_m68klynx.c): New targets.
617 * config/i386-lynx.mt: New file.
618 * config/m68k-lynx.mt: New file.
619 * emulparams/i386lynx.sh: New file.
620 * emulparams/m68klynx.sh: New file.
621
622 * scripttempl/i386coff.sc: Make ENTRY get its value from ${ENTRY},
623 but defaulting to _start.
624
625 * ldemul.c, ldfile.c, ldlang.c, ldmain.c, ldmisc.c, ldmisc.h,
626 ldsym.c, ldwarn.c: Rename info to info_msg, to avoid conflict with
627 LynxOS libc.
628
629Thu Sep 23 14:51:03 1993 Ian Lance Taylor ([email protected])
630
631 * config/solaris2.mh: New file. Define HOSTING_CRT0 and
632 HOSTING_LIBS for testing.
633
9a467cb2
ILT
634Fri Sep 17 17:52:24 1993 Ian Lance Taylor ([email protected])
635
636 Finish up support for i386-sysv4 (without shared libraries):
637 * ld.h (flag_is_weak): Define.
638 * ldlang.c (print_symbol): Mention whether symbol is weak.
639 (print_input_section): Print weak symbols as globals.
640 * ldmain.c (refize): Do not zero out BSF_WEAK flag.
641 (enter_global_ref): Do not warn if a weak symbol redefines a
642 global symbol. Do not let a weak symbol redefine a common symbol.
643 (enter_file_symbols): Treat weak symbols as global symbols.
644 (subfile_wanted_p): Do not pull in an object file from a archive
645 just to resolve an undefined weak symbol.
646 * ldmisc.c (vfinfo): Don't needlessly malloc space after a fatal
647 error; the error might be that malloc has run out of space.
648 * ldsym.c (write_file_locals): Treat weak symbols as global.
649 * configure.in (i[34]86-*-sysv4*, i[34]86-*-elf*): New targets;
650 use i386-elf.
651 * config/i386v4.mh: New file; set NATIVE_LIB_DIRS to /usr/ccs/lib.
652 * config/i386-elf.mt: New file; set EMUL to elf_i386.
653 * emulparams/elf_i386.sh: New file.
654 * scripttempl/elf.sc: Use ${NOP} as filler (defaults to 0).
655 * Makefile.in (NATIVE_LIB_DIRS): Define to be empty.
656 (ALL_EMULATIONS): Add em_elf_i386.o.
657 (GENSCRIPTS): Pass NATIVE_LIB_DIRS as sixth argument.
658 (em_elf_i386.c): New target, like other em_*.c targets.
659 ($(LD_PROG)): Pass $(CFLAGS) to $(CC).
660 * genscripts.sh: Accept NATIVE_LIB_DIRS as sixth argument. If
661 nonempty, and configured for native, add it to LIB_PATH.
662
4f6d6db9
SS
663Fri Sep 17 13:07:39 1993 Stan Shebs ([email protected])
664
665 * scripttempl/{h8300.sc,h8500.sc,i386coff.sc,m68kcoff.sc,sh.sc}:
666 Added statements to pass stab and stabstr sections through and
667 mark them as NOLOAD, which makes GDB happier.
668
669Wed Sep 15 16:02:29 1993 Stan Shebs ([email protected])
670
671 * configure.in: Accept m68k-lynx-lynxos config.
672
673 * Makefile.in: Use $(SHELL) to run genscripts.sh.
674
1bff7c38
DE
675Sun Sep 12 16:04:40 1993 Doug Evans ([email protected])
676
4f6d6db9
SS
677 * config/coff-h8300.mt: Add EMUL=h8300h.
678
1bff7c38
DE
679 * ldmain.c (main): Call set_scripts_dir after argv has been processed.
680
8a6665ae
JW
681Fri Sep 10 09:36:29 1993 Jeffrey Wheat ([email protected])
682
683 * Makefile.in: Changed CXX back to g++.
684
3a9149a7
JW
685Fri Sep 10 09:34:29 1993 Jeffrey Wheat ([email protected])
686
687 * Makefile.in: Fixed RUNTEST* CXX CXXFLAGS macros and check rule.
688
cbb5c2d1
DM
689Fri Sep 10 07:26:57 1993 David J. Mackenzie ([email protected])
690
691 * Makefile.in (TAGS): Use shell wildcards.
692
959eba20
JO
693Tue Sep 7 18:04:54 1993 Jeffrey Osier ([email protected])
694
695 * Makefile.in: add TEXINPUTS variable and use it in ld.dvi target
696
a0a55af6 697Fri Sep 3 16:46:41 1993 Roland H. Pesch ([email protected])
c1074477 698
a0a55af6
RP
699 * ld.texinfo: re-enable included config file; conditionalize doc
700 for -oformat to interact properly with SingleFormat doc config
701 var; rename @up/@down to @raisesections/@lowersections.
c1074477
DE
702
703Wed Aug 25 16:29:56 1993 K. Richard Pixley ([email protected])
704
705 * configure.in: recognize m88110.
706
4346166b
KR
707Tue Aug 24 18:49:40 1993 Ken Raeburn ([email protected])
708
709 From Peter Hoogenboom <[email protected]>:
710 * emultempl/hppaosf.em (ld_hppaosf_emulation): Correct name for PA
711 ELF emulation is "elf32-hppa" not "elf-big".
712 (hppaosf_before_parse): Remove unneeded processing of environment
713 variables.
714 * scripttempl/hppaosf.sc: Include .hppa_linker_stubs sections in
715 .text segment of output file.
716 * emulparams/hppaosf.sh (OUTPUT_FORMAT): Use elf32-hppa.
717
b98bd3db
RP
718Tue Aug 24 16:17:00 1993 K. Richard Pixley ([email protected])
719
95a2b9d2
RP
720 * ld.h: define BYTE_SIZE, SHORT_SIZE, and LONG_SIZE which are no
721 longer in bfd.h.
722
723 * ldlang.c, ld.h: updated copyright.
b98bd3db 724
ddddcdf0
ILT
725Tue Aug 17 15:22:03 1993 Ian Lance Taylor ([email protected])
726
727 * ldlang.c (open_output, lang_check): Check return value of
728 bfd_set_arch_mach.
729
ea1c0ad2
SC
730Tue Aug 17 07:02:19 1993 Steve Chamberlain ([email protected])
731
732 * scripttempl/h8500.sc: Start all sections in a different segment.
733 * scripttempl/z8ksim.sc: Handle constructors
734
ea1c0ad2
SC
735Thu Aug 12 16:05:37 1993 Jeffrey Wheat ([email protected])
736
737 * Makefile.in: revert earlier changes back to execute runtest
738 with make check. cdtest and bootstrap now function as they
739 did within the Makefile.
740
741Thu Aug 12 10:20:05 1993 David J. Mackenzie ([email protected])
742
743 * Makefile.in: Update dependencies.
744
745 * configure.in: Set EMULATION_OFILES in Makefile based on
746 --with-targets option.
747
d301e438
JW
748Thu Aug 12 08:52:29 1993 Jeffrey Wheat ([email protected])
749
750 * Makefile.in: check targets reimplemented to old way.
751
75fe5471
ILT
752Wed Aug 11 08:26:11 1993 Ian Lance Taylor ([email protected])
753
d62026ad
ILT
754 * config/i386v.mh, config/irix4.mh: Use gcc
755 -print-libgcc-file-name rather than $(libdir)/libgcc.a.
75fe5471
ILT
756 * config/i386sco.mh: New file; copy of i386v.mh to correspond to
757 bfd/configure.host change.
758
759Mon Aug 9 14:25:35 1993 Ken Raeburn ([email protected])
760
761 * scripttempl/elf.sc: Handle .line and .debug* sections.
762
763 * ldlex.l: Use bfd_scan_vma, not strtoul.
764
31f55aa5
DM
765Fri Aug 6 08:57:39 1993 David J. Mackenzie ([email protected])
766
767 * ldexp.c, ldfile.c, ldlang.c, lexsup.c, ldmain.c, ldemul.c:
768 Remove inital caps in some error messages, change "can't" to
769 "cannot", add missing colons.
770 * ldmisc.c (vfinfo): Print "%%" as a single %.
771 For '%' followed by unrecognized character, print them both
772 verbatim instead of expecting a char * arg.
773 For '%C', don't put the function name in parens.
774
775 * ldexp.c (invalid): Pass "%%", not "% ".
776
33536304
ILT
777Fri Aug 6 14:31:22 1993 Ian Lance Taylor ([email protected])
778
779 * scripttempl/mips.sc: Always define _ftext, _fdata, _fbss.
780 (BSS_VAR): Removed; now always define _fbss.
781 * emulparams/mipsidt.sh, emulparams/mipsidtl.sh (BSS_VAR):
782 Removed.
783
784Thu Aug 5 15:55:19 1993 david d `zoo' zuhn ([email protected])
785
786 * configure.in: z8k-coff is the same as z8k-sim
787
7c6a9e79
JW
788Wed Aug 4 21:00:18 1993 Jeffrey Wheat ([email protected])
789
790 * testsuite/lib/ld.exp: new file
791 * testsuite/config/unix-ld.exp: new file
792 * testsuite/ld.bootstrap/bootstrap.exp: new file
793 * Makefile.in: add dejagnu support for make check
794
8bf66be8
DM
795Wed Aug 4 17:52:32 1993 David J. Mackenzie ([email protected])
796
797 * ldlex.l (comment): Add missing newline in message.
798 * ldindr.c (add_indirect): Ditto.
799 * ldexp.c (exp_fold_tree): Ditto.
800
2a28d8b0
DM
801Tue Aug 3 10:57:41 1993 David J. Mackenzie ([email protected])
802
803 * ldgram.y, ldlex.l, mri.c, ldwrite.c: Change multiple commons
804 into externs.
805
806 * ldmisc.c (multiple_warn): New function.
807 * ldmisc.h: Declare it.
808 * ldmain.c (enter_global_ref): Call it.
809 * ld.h (ld_config_type): Add warn_common.
810 * ldlex.l, ldgram.y: Set it with -warn-common option.
811 * ldver.c (help): Document it.
812
94f9d427
KR
813Mon Aug 2 12:04:36 1993 Ken Raeburn ([email protected])
814
815 * scripttempl/elf.sc: Add hooks for .sdata, .sbss, and
816 target-specific sections, and for changing data section vma.
817
6b93d764
KR
818Mon Jul 26 14:00:02 1993 Ken Raeburn ([email protected])
819
820 * ldgram.y (OPTION_Qy, OPTION_Y, OPTION_dn, OPTION_YP): New
821 terminals, for Solaris.
822 (dirlist_ptr): New static variable.
823 (command_line_option): Accept new options.
824
825 * ldlex.l: Accept command-line options "-Qy", "-dn", "-Y", and
826 "-YP,...".
827
828 * config/sun4sol2.mt: Pass emulation name without ".sh".
829
94f9d427
KR
830 * emulparams/elf32_sparc.c: Renamed from elf32-sparc.c.
831 * config/sun4sol2.mt (em_elf32_sparc.c): Adjusted accordingly.
832
6b93d764
KR
833Fri Jul 23 13:51:09 1993 Ken Raeburn ([email protected])
834
835 * scripttempl/elf.sc: Add support for .init, .fini, .ctors,
836 .dtors, .data1, .rodata1 sections, instead of combining them into
837 other sections. For `-r', set all section start addresses to
838 zero.
839
840 * emulparams/elf32-sparc.sh (TEXT_START_ADDR,
841 NONPAGED_TEXT_START_ADDR): Value should be 0x10100.
842 (MAXPAGESIZE): Renamed from PAGE_SIZE.
843
a6152e39
DM
844Wed Jul 21 14:28:42 1993 David J. Mackenzie ([email protected])
845
d59e5a47
DM
846 * genscripts.sh: If this is the default emulation, set
847 COMPILE_IN.
848 * emultempl/*.em: Use it to determine whether to compile in the
849 scripts.
850
a6152e39
DM
851 * Makefile.in (GENSCRIPTS): Pass the default emulation name to
852 genscripts.sh. Pass the current emulation name without ".sh" on
853 the end.
854 * genscripts.sh: Take an default emulation arg.
d59e5a47 855 Use the current emulation name as EMULATION_NAME.
a6152e39
DM
856 Make default lib path for cross-compiling ':', not null.
857 * emulparams/*.sh: Don't set EMULATION_NAME.
858 * ldemul.c (ldemul_get_script): Take isfile arg.
859 Pass it to emulation's get_script function.
860 * ldemul.h: Adjust get_script prototypes.
861 * ldfile.c (ldfile_find_command_file): Renamed from find_a_name.
862 No longer static.
863 * ldfile.h: Declare it.
864 * ldgram.y: Accept a script on the command line again,
865 for parsing compiled-in scripts.
866 * ldmain.c (main): If ld script is a file, parse it as a -T
867 option, otherwise parse it directly.
868 * emultempl/*.em (*get_script): Return the scripts themselves if
869 this is the default emulation; otherwise return their file names.
18d9a9c5 870 * emultempl/m88kbcs.em: New file, to take m88kbcs #ifdef out of
a6152e39
DM
871 generic.em.
872 * emulparams/m88kbcs.sh: Use it.
873
18d9a9c5 874 * ld.h (ld_config_type::unix_relocate): Remove unused element.
a6152e39 875
0750b974
KR
876Tue Jul 20 12:01:49 1993 Ken Raeburn ([email protected])
877
878 * Makefile.in (ALL_EMULATIONS): Delete em_i386linux.o (for which
879 there's no change log entry yet, tsk tsk) from the list of
880 emulations compiled in until Mark gets around to checking in
881 emulparams/i386linux.sh.
820c446c
KR
882 (ldemul-list.h): Depend on Makefile, so if EMULATION_OFILES is
883 changed, this file gets updated.
0750b974 884
fe619ced
ILT
885Fri Jul 16 14:14:32 1993 Ian Lance Taylor ([email protected])
886
887 * ldgram.y (OPTION_Lfile): New token.
888 (command_line_option): Accept OPTION_L NAME (whitespace after -L).
889 * ldlex.l (<COMMAND>): Accept -L without FILENAME.
890
dd8ca662
DE
891Fri Jul 16 13:44:26 1993 Doug Evans ([email protected])
892
893 * configure.in: h8/300h support needs own .mt file.
894 config/coff-h8300h.mt: New file.
895
922018a1
DM
896Thu Jul 15 12:44:35 1993 David J. Mackenzie ([email protected])
897
898 * ldmain.c: Don't include sys/stat.h; it already got included
899 somewhere along the way.
900
4ab3a31f
DE
901Thu Jul 15 14:43:34 1993 Doug Evans ([email protected])
902
903 * Makefile.in: Add h8300h support.
dd8ca662
DE
904 emulparams/h8300h.sh: New file.
905 scripttempl/h8300h.sc: New file.
4ab3a31f 906
bbd2521f
DM
907Thu Jul 15 12:44:35 1993 David J. Mackenzie ([email protected])
908
909 * ldfile.c (ldfile_open_file): In error message, use the name the
910 user gave (e.g., "-lc"), rather than the base file name.
911
912 * ldexp.c (exp_fold_tree): Don't assign an int to an enum.
913
914 * ldmain.[ch]: Remove initial Q_ from function names.
915 * ldexp.c, ldindr.c, ldlang.c: Change callers.
916
917 * ldfile.c, ldmain.c, ldgram.y: Rename option_v to trace_file_tries.
918
919 * ldlang.c (lang_process): Move loading of default script from
920 here to main. Add a "/" to start of script name to prevent
921 finding it in "." first.
922
923 * ldmain.c (set_scripts_dir): Don't look in "." first.
924
925 * ldgram.y, ldlang.c, ldsym.c: Remove traces of unused var
926 option_longmap.
927
9edc5b2e
ILT
928Thu Jul 15 10:55:59 1993 Ian Lance Taylor ([email protected])
929
930 * Makefile.in (em_m88kbcs.c): Correct dependency.
b0955bc9
ILT
931 * scripttempl/m88kbcs.sc: It's ARCH, not arch. Removed TARGET
932 statement. Changed OUTPUT_FORMAT to use ${OUTPUT_FORMAT}.
933 * emulparams/m88kbcs.sh: It's coff-m88kbcs, not m88kbcs.
9edc5b2e 934
cffdcde9
DM
935Wed Jul 14 21:42:53 1993 David J. Mackenzie ([email protected])
936
937 * ldfile.c (ldlang_open_file, ldfile_open_command_file),
938 main.c (main): Print the errno string in the error message.
939
ac2c0ee7
DE
940Tue Jul 13 20:00:30 1993 Doug Evans ([email protected])
941
942 * configure.in: Accept h8300h for target cpu.
943
944 * ldmisc.c (vfinfo): Have demangle remove leading underscore if
945 present (demangle is smart enough to know whether to do it or not).
946
d723cd17
DM
947Mon Jul 12 11:45:48 1993 David J. Mackenzie ([email protected])
948
f4208462
DM
949 * ldmain.c (set_scripts_dir): Check . and <ld bin dir>/../lib for
950 ldscripts, as well as <ld bin dir> and SCRIPTDIR.
951
d723cd17
DM
952 * ldlang.c (lang_process): Use sizeof instead of magic constant.
953
954 * ldmain.c (get_emulation, check_for_scripts_dir,
955 set_scripts_dir): New functions.
956 (main): Call them.
957
e7affb09
KR
958Mon Jul 12 10:57:03 1993 Ken Raeburn ([email protected])
959
960 * scripttempl/elf.sc: Include .init, .fini, .rodata sections.
961 Create symbol "end" instead of "__end". Comment out some parts
962 that may not be needed (yet) for elf.
963
964 * configure.in: Accept sparc-elf and sparc-solaris2 configs.
965
3cb61417
KR
966Thu Jul 8 15:33:32 1993 Ken Raeburn ([email protected])
967
968 * Makefile.in (ALL_EMULATIONS): Include $(OTHER_EMULATIONS).
969
970 * ldmisc.h (einfo, minfo, info): Don't bother with PARAMS macro
971 when no prototype is being supplied.
972 (ldmalloc, ldrealloc): Size argument is now size_t.
973
974 * ldmisc.c (finfo): New function, accepts FILE* argument.
975 (vfinfo, case 'v'): New format character; displays bfd_vma in hex
976 without leading zeros.
977 (vfinfo, cases 'R' and 'C'): Use finfo(%v) when displaying a
978 bfd_vma value, instead of fprintf(%x) which won't hold a long long
979 value.
980 (concat, buystring): String lengths are size_t.
981 (ldmalloc, ldrealloc, xrealloc): Size argument is now size_t.
982
983 * ldlang.c (new_statement): Size argument is now size_t. Added
984 forward declaration with prototype.
985
de87cdb4
DM
986Thu Jul 8 10:53:47 1993 David J. Mackenzie ([email protected])
987
988 * ldgram.y (OPTION_v): Don't turn on verbose output.
989
49bfda2c
KR
990Wed Jul 7 17:10:45 1993 Ken Raeburn ([email protected])
991
3cb61417
KR
992 * ldlex.l: Get rid of local typedef for bfd_vma! Get it from
993 bfd.h instead.
49bfda2c 994
e357065c
ILT
995Wed Jul 7 11:33:12 1993 Ian Lance Taylor ([email protected])
996
997 * Makefile.in (install): Don't install as $(tooldir)/bin/gld;
998 collect2 doesn't look for gld any more anyhow.
999
55636aa7
ILT
1000Mon Jul 5 14:29:48 1993 Ian Lance Taylor ([email protected])
1001
1002 * ldlang.c (lang_relocate_globals): Skip indirect symbols, which
1003 now have a non NULL srefs_chain.
1004
1005 * config/hp300hpux.mt: Use emulation hp3hpux rather than
1006 hp300hpux, since the latter does not exist.
1007
ff76a7db
DM
1008Fri Jul 2 18:06:05 1993 David J. Mackenzie ([email protected])
1009
1010 * genscripts.sh: Put the scripts in the ldscripts directory, not
1011 emulations.
1012 * configure.in (ldscripts): Make, instead of emulations.
1013 * Makefile.in (scriptdir): Take off the "ld" part.
1014 (install, clean, distclean): Use ldscripts, not emulations.
a04f1d00 1015 In tests, don't pass -Lemulations.
ff76a7db
DM
1016 Don't pass tooldir/lib to genscripts.sh.
1017 * genscripts.sh: Don't take tooldir/lib arg.
1018 * ldlang.c (lang_process): Add "ldscripts/" to the name of the
1019 default script file.
1020
7434d4e5
DE
1021Fri Jul 2 17:13:35 1993 Doug Evans ([email protected])
1022
1023 * scripttempl/h8300.sc: Add .tors section for constructor/destructors.
1024
1025Thu Jul 1 16:38:45 1993 Doug Evans ([email protected])
1026
1027 * config/coff-h8300.mt: EMUL=h8300hms -> h8300.
1028
559d7baf
RP
1029Wed Jun 30 15:45:55 1993 K. Richard Pixley ([email protected])
1030
1e787898
RP
1031 * Makefile.in (.y.c): skip default .y.c rules. gnu make can now
1032 run in parallel without colliding on yacc's static file names.
1033 Without the stub rule, make will try to start two yacc's
1034 concurrently which fails because of yacc's static file names.
559d7baf
RP
1035
1036Tue Jun 29 12:20:36 1993 Ian Lance Taylor ([email protected])
1037
1038 * ldmain.c (subfile_wanted_p): Don't dump core if there are no
1039 symbols.
1040
59fb874e
DM
1041Mon Jun 28 12:22:11 1993 David J. Mackenzie ([email protected])
1042
559d7baf
RP
1043 * genscripts.sh (LIB_PATH): Only add /usr/local/lib if it's
1044 different from libdir.
1045
59fb874e
DM
1046 * Makefile.in (scriptdir): Base on tooldir, not datadir.
1047
bf065bfd
DM
1048Sat Jun 26 12:03:57 1993 David J. Mackenzie ([email protected])
1049
1050 * ldver.c (help): New function.
1051 * ldver.h: Declare it.
1052 * ldlex.l, ldgram.y: Recognize new options --help and --version.
1053
304b747a
KR
1054Mon Jun 21 20:39:48 1993 Ken Raeburn ([email protected])
1055
1056 * Makefile.in (INCLUDES): Don't need ../include any more.
1057
2b63dbfe
DM
1058Mon Jun 21 16:38:35 1993 David J. Mackenzie ([email protected])
1059
bf065bfd
DM
1060 * ldlex.l, ldgram.y: Support new -oformat option.
1061 Remove attempt at supporting script fragments on the command line.
1062 * ldlang.c (lang_add_output_format): Take new arg, FROM_SCRIPT.
1063 * mri.c (mri_format), ldgram.y: Change callers.
1064 * ldlang.h: Change prototype.
2b63dbfe 1065
e9b991c6
DZ
1066Thu Jun 17 16:53:56 1993 david d `zoo' zuhn ([email protected])
1067
1068 * Makefile.in: canonicalize install.sh; for use within
1069 this directory (and subdirs)
1070
565c93e9
DM
1071Thu Jun 17 14:33:09 1993 David J. Mackenzie ([email protected])
1072
2de8edce
DM
1073 * ldgram.y: Tweak grammar to make reporting of invalid options work.
1074
565c93e9
DM
1075 * Makefile.in (.cc.o): Restore .SUFFIXES entry for .cc
1076 and .cc.o rule.
1077
8ddef552
DM
1078Wed Jun 16 11:45:32 1993 David J. Mackenzie ([email protected])
1079
1080 * ldfile.c (ldfile_open_command): Don't try .ld extension.
1081 It wasn't documented (or likely used) and wastes time.
1082 (try_open): If EXTEN is empty, don't try it.
1083
1084 * ldctor.c, lderror.c, ldexp.c, ldfile.c, ldindr.c, ldlang.c,
1085 ldlex.l, ldmain.c, ldmisc.c, ldsym.c, ldver.c, ldwarn.c,
1086 ldwrite.c, lexsup.c, mri.c, relax.c: Replace DEFUN macro calls
1087 with normal function declarations.
1088
1089 * Move *.em to emultempl/*.em. Move *.sh to emulparams/*.sh.
1090 Move *.sc-sh to scripttempl/*.sc.
1091 * {emultempl,emulparams,scripttempl}/README: New files.
1092 * sh.em, st2000.em, z8ksim.em, h8300hms.em, h8500hms.em: Files
1093 removed, replaced with generic.em.
1094 * h8300.sh, h8500.sh, h8300.sc, h8500.sc: Renamed from
1095 h8[35]00hms.s[ch]. Change their contents to omit the "hms".
1096
1097 * *.em (*_get_script): Return script name instead of script contents.
1098 * ldlang.c (lang_process): Change caller.
1099
1100 * ldlex.l, ldgram.y: Recognize -m option.
1101 Check for input files after *all* options in grammar.
1102 * ldmain.c (main): Check for -m options. Add default directory
1103 for -m.
1104
1105 * mkscript.c: File removed.
1106 * genscripts.sh: Take two more parameters, tooldirlib and libdir,
1107 to add to the default LIB_PATH.
1108 Look for input files in the new subdirectories.
1109 Create the scripts in emulations subdirectory and don't filter
1110 them through mkscript.
1111 * configure.in: Make the emulations subdirectory.
1112
1113 * Makefile.in: Account for all of the above changes.
1114 Remove unused .SUFFIXES. Get libgcc.a path with gcc
1115 -print-libgcc-file-name instead of $(libdir)/libgcc.a.
1116 Put CFLAGS last in the compilation rules.
1117 Add -I../bfd to INCLUDES so sysdep.h is found.
1118
2a963f1a
KR
1119Tue Jun 15 23:04:46 1993 Ken Raeburn ([email protected])
1120
1121 * Makefile.in (INCLUDES): Look in ../include, not ../bfd.
1122
1123 * aout.sc-sh: Add SHLIB_PATH like STACKZERO. Make STACKZERO
1124 dependent on RELOCATING, not RELOCATION.
1125 * hp3hpux.sh (SHLIB_PATH): Define it.
1126
8ddef552
DM
1127Mon Jun 14 19:06:15 1993 David J. Mackenzie ([email protected])
1128
1129 * ldfile.c (try_open): If opening without the extension fails,
1130 try with the extension even if -v or -V was given.
1131 had_script is imported (from ldgram.y), not exported.
1132
c97b9003
DZ
1133Mon Jun 14 16:26:10 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com)
1134
1135 * Makefile.in: remove parentdir support, use INSTALL_XFORM
1136
1137Thu Jun 10 14:00:06 1993 Ian Lance Taylor ([email protected])
1138
1139 * ldexp.c (exp_fold_tree): Don't lose the old flag bits.
1140 * ldgram.y (statement_list_opt): New nonterminal, either empty or
1141 statement_list.
1142 (section): Use statement_list_opt, not statement_list.
1143 * m68kcoff.sc-sh: Gather constructors and destructors and define
1144 __CTOR_LIST__ and __DTOR_LIST__ appropriately.
1145 * sa29200.sc-sh: Gather constructors and destructors and define
1146 ___CTOR_LIST__ and ___DTOR_LIST__ appropriately.
1147
7f2649bb
PB
1148Mon Jun 7 12:53:28 1993 Per Bothner ([email protected])
1149
1150 * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h.
1151 * configure.in: No longer need to configure to get sysdep.h.
1152
91b3a2b6
DZ
1153Fri Jun 4 16:18:24 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1154
7f2649bb
PB
1155 * Makefile.in: remove install:all and install-info:info
1156 dependencies (these cause some spurious rebuilds at 'make install'
1157 time)
91b3a2b6 1158
559d1cff
ILT
1159Fri Jun 4 08:50:14 1993 Ian Lance Taylor ([email protected])
1160
98f3d1af
ILT
1161 * configure.in (mips-idt-ecoffl*): New target; use mips-idtl.
1162 (mips-idt-ecoff*): Added trailing '*'.
1163 * config/mips-idtl.mt: New file; use EMUL of mipsidtl.
1164 * mipsidtl.sh: New file; like mipsidt.sh, but little endian.
1165 * Makefile.in (ALL_EMULATIONS): Added em_mipsidtl.o.
1166
559d1cff
ILT
1167 * config/sun3.mh (HOSTING_LIBS, HOSTING_EMU): Removed obsolete and
1168 incorrect definitions.
1169
1cf91c69
PB
1170Tue Jun 1 14:56:10 1993 Per Bothner ([email protected])
1171
1172 * ldsym.c (write_file_locals): Write BSF_CONSTRUCTOR
1173 symbols, unless stripping.
1174
63545898
ILT
1175Tue May 25 15:34:25 1993 Ian Lance Taylor ([email protected])
1176
1177 * Makefile.in: configure looks for ####, so remove lines with many
1178 '#' characters.
1179 * config/irix4.mh, config/i386v.mh: New files; set HOSTING_CRT0
1180 and HOSTING_LIBS correctly so that ``make check'' will work.
1181
1182Thu May 20 13:56:16 1993 Per Bothner ([email protected])
1183
1184 * mips.sc-sh: Define _etext, _edata, and _end, in addition
1185 to etext, edata, and end. Needed for IRIX 4.0.5F.
1186 Patch from [email protected] (Michael Paddon).
1187
2a963f1a
KR
1188 * Version 2.2.1 released.
1189
5266c5ec
KR
1190Thu May 20 11:42:06 1993 Ken Raeburn ([email protected])
1191
1192 * mipsbsd.sc-sh: Renamed from aout-mipsbsd.sc-sh.
1193 * mipsbsd.sh (EMULATION_NAME): Use new file name.
1194
1195Tue May 18 17:10:24 1993 Ken Raeburn ([email protected])
1196
1197 * Makefile.in (LDDISTSTUFF): Remove ld.mm since we can't build it
1198 properly right now.
1199
1200 * Version 2.2 released.
1201
1202Mon May 17 15:37:28 1993 Ken Raeburn ([email protected])
1203
1204 * ldver.c (ldversion): Bump version number to 2.2.
1205
bc3b479c
PB
1206Mon May 17 12:44:31 1993 Per Bothner ([email protected])
1207
1208 * NEWS: New file.
1209
1210Fri May 14 11:26:24 1993 Ian Lance Taylor ([email protected])
1211
1212 * mips.sc-sh: Don't define BSS_VAR unless relocating.
1213
1214Wed May 12 13:33:29 1993 Ian Lance Taylor ([email protected])
1215
1216 * Makefile.in (mkscript.o, mkscript): Build mkscript via
1217 mkscript.o, rather than directly from mkscript.c.
1218
b8fc168d
KR
1219Tue May 4 21:58:56 1993 Ken Raeburn ([email protected])
1220
1221 * configure.in: Look for ${target_makefile_frag} relative to
1222 ${srcdir}, not relative to build directory.
1223
1224 * hppaosf.em, hppaosf.sc-sh, hppaosf.sh: New files.
1225 * configure.in: Recognize hppa*-hp-osf.
1226 * Makefile.in (ALL_EMULATIONS): Include hppaosf emulation.
1227 (em_hppaosf.c): Build it.
bc3b479c 1228 * config/hppaosf.mh, hppaosf.mt: New files.
b8fc168d
KR
1229
1230 * ld.h (ALIGN_N): Renamed from ALIGN, because that conflicted with
1231 some system header files. All uses changed.
1232
1233 * configure.in: Recognize i386-aix configurations as i386-coff
1234 targets.
1235
1236 * configure.in: Recognize m68*-*-hpux.
1237 * aout.sc-sh: If STACKZERO and RELOCATING are both defined, output
1238 the value of STACKZERO.
1239 * Makefile.in (ALL_EMULATIONS): Include hp300-hpux emulation.
1240 (em_hp3hpux.c): Build it.
1241 * hp3hpux.sh, config/hp300hpux.mt: New files.
1242
ef868186
ILT
1243Tue May 4 12:37:35 1993 Ian Lance Taylor ([email protected])
1244
1245 * mips.sc-sh: Put constructors in the .data section.
1246 * Makefile.in (cdtest): Added dependency on ld.new.
1247
034351e3
PB
1248Mon May 3 19:43:39 1993 Per Bothner ([email protected])
1249
1250 * Makefile.in: Change definition of $(tooldir) to match FSF.
1251 * vax.sh, config/vax.mt, configure.in, Makefile.in:
1252 Support VAX Ultrix and BSD.
1253
1254Mon Apr 26 18:35:47 1993 Steve Chamberlain ([email protected])
1255
1256 * sh.em, sh.sh, sh.sc-sh: New files supporting Hitachi SH.
1257
1258Wed Apr 14 21:01:51 1993 John Gilmore ([email protected])
1259
1260 * ldlang.h (struct memory_region): Change `length' and
1261 `old_length' fields to bfd_size_type. Eliminate use of bfd_offset.
1262 * ldlang.c, mri.c: Corresponding changes, plus lint.
1263
1264Thu Apr 8 22:08:18 1993 Ian Lance Taylor ([email protected])
1265
1266 * configure.in: For all i386 targets, accept i486 as well.
1267
1268Mon Apr 5 17:33:39 1993 Ian Lance Taylor ([email protected])
1269
1270 * ldlang.c (wild_doit): Preserve all flags for a
1271 SEC_SHARED_LIBRARY section.
1272 (size_input_section): Consider any SEC_HAS_CONTENTS section when
1273 computing largest_section.
1274
1b8a42f3
ILT
1275Fri Apr 2 14:33:52 1993 Ian Lance Taylor ([email protected])
1276
1277 * ldlang.c (lang_output_section_statement_lookup): Initialize all
1278 fields of newly created structure.
1279
1280Wed Mar 31 18:19:15 1993 Ian Lance Taylor ([email protected])
1281
1282 * ldmain.c (g_switch_value): New variable.
1283 * ldgram.y (OPTION_G, OPTION_Gval): New tokens.
1284 (command_line_option): Accept -G and set g_switch_value.
1285 * ldlex.l (COMMAND): Accept -G.
1286 * ldlang.c (open_output): Call bfd_set_gp_size on new BFD.
1287
29f33467
SC
1288Tue Mar 30 09:40:25 1993 Steve Chamberlain ([email protected])
1289
9fce28ed
SC
1290 Support for linking and loading at different places:
1291
1292 * ldlex.l: Add "AT" keyword.
1293 * ldgram.y: Cleanup, and parse AT.
1294 * ldlang.c (print_output_section_statement): Print output address
1295 of section in map. (lang_size_sections): Fill sections' lma with
1296 load address.
1297 * ldlang.h (lang_output_section_statement_type): Add load_base
1298 information.
1299
29f33467
SC
1300 * ldindr.c (add_indirect): Keep more information in the alias
1301 symbol chain.
1302 * ldlang.c (wild_doit): Don't inherit NEVER_LOAD section
1303 attribute from an input section.
1304 * ldmain.c (Q_enter_file_symbols): Common section is NEVER_LOAD by
1305 default. (Q_enter_file_symbos): Indirect symbols now are known by
1306 their section, not a special symbol flag.
1307 * ldsym.c (write_file_locals): Indirect symbols aren't local.
1308 (write_file_globals): Write the mapping for an indirect symbol.
1309 * relax.c (build_it): When forced to write a NEVER_LOAD section,
1310 fill it with zeros.
1311
1312Tue Mar 23 13:24:10 1993 Jeffrey Osier ([email protected])
1313
1314 * ld.texinfo: changes for q1
1315
f20e9842
DZ
1316Tue Mar 23 00:13:29 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1317
1318 * Makefile.in: add dvi target, define & use TEXI2DVI, add installcheck
1319
1320Mon Mar 8 20:30:35 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1321
1322 * Makefile.in: rename HOST_CC to CC_FOR_BUILD
1323
1324Thu Mar 4 12:44:33 1993 Ian Lance Taylor ([email protected])
1325
1326 * mips.sc-sh: Added variables which may be overridden by a
1327 specific emulation.
1328 * mipsidt.sh: New file; emulation for IDT MIPS board.
1329 * Makefile.in (ALL_EMULATIONS): Added em_mipsidt.o.
1330 (em_mipsidt.c): New target. Uses mipsidt.sh and mips.sc-sh.
1331 * config/mips-idt.mt: New file; sets EMUL to mipsidt.
1332 * configure.in (mips-idt-ecoff): New target; uses mips-idt.
1333
e637dcf0
KR
1334Sat Feb 27 00:00:14 1993 Ken Raeburn ([email protected])
1335
1336 * aout-mipsbsd.sc-sh, mipsbsd.sh: New files from Ralph Campbell,
1337 [email protected].
1338 * i386bsd.sh, config/i386bsd.mt: New files.
1339 * configure.in, Makefile.in: Added support for mipsbsd and 386bsd.
1340
26483cc6
PB
1341Thu Feb 25 15:33:10 1993 Per Bothner ([email protected])
1342
e637dcf0 1343 * mri.c: Add extern declaration of strdup.
26483cc6
PB
1344 * ldsym.c (KEEP macro): Add spaces around '=' for the
1345 sake of old (e.g. PCC) compilers.
1346
05985c77
PB
1347Wed Feb 24 19:49:31 1993 Per Bothner ([email protected])
1348
1349 * ldver.c: Bump to version 2.1.
1350
067e2baa
SC
1351Fri Feb 12 08:09:11 1993 Steve Chamberlain ([email protected])
1352
1353 * ldgram.y: allow section types without address expressions.
1354 * ldlang.c (lang_relocate_globals): avoid possible hang with
1355 undefined but unreferenced symbols.
1356 * relax.c (relax_section): don't complain if the script file isn't
1357 relaxable but -relax is set
1358
fb8ecc3d
DZ
1359Thu Feb 18 17:58:45 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1360
1361 * configure.in: go32 is the 3rd part of the triple, not the 2nd
1362
067e2baa
SC
1363Wed Feb 3 09:05:56 1993 Ian Lance Taylor ([email protected])
1364
1365 * mipsbig.sh: New file. Big endian MIPS emulation.
1366 * config/mips-big.mt: New file. Use mipsbig emulation.
1367 * configure.in (mips-sgi-irix*): Use target mips-big.
1368 * Makefile.in (ALL_EMULATIONS): Added em_mipsbig.o.
1369 (em_mipsbig.c): New target. Uses mipsbig.sh.
1370
e193c31b
ILT
1371Tue Feb 2 11:32:27 1993 Ian Lance Taylor ([email protected])
1372
1373 * mips.sc-sh: Put .scommon sections into .sbss section.
1374
1375 * ldmain.c (subfile_wanted_p): Preserve section of common symbols,
1376 rather than always putting them in bfd_com_section.
1377 * ldlang.c (lang_common): If a common symbol is not in
1378 bfd_com_section, put in a section of the same name, rather than
1379 always putting it in section COMMON.
1380
8a3efe67
ILT
1381Fri Jan 29 09:57:58 1993 Ian Lance Taylor ([email protected])
1382
f31cb329
ILT
1383 * ldmain.c (subfile_wanted_p): If we already have a common
1384 definition of a symbol, don't necessarily pull in an object file
1385 that provides a non-common definition.
1386
8a3efe67
ILT
1387 * ldlex.l (COMMAND): Accept -EB and -EL command line arguments,
1388 returning OPTION_EB and OPTION_EL. gcc passes these to a MIPS
1389 linker.
1390 * ldgram.y (OPTION_EB, OPTION_EL): New tokens.
1391 (command_line_option): Accept and ignore OPTION_EB and OPTION_EL.
1392
af6237a4
ILT
1393Thu Jan 28 15:12:04 1993 Ian Lance Taylor ([email protected])
1394
1395 * Makefile.in (install): Remove $(tooldir)/bin/gld before creating
1396 the link to it.
1397
8a045e50
ILT
1398Tue Jan 26 11:49:50 1993 Ian Lance Taylor ([email protected])
1399
1400 * ldmain.c, ldsym.c: Use new bfd_is_com_section macro rather than
1401 checking for equality to bfd_com_section.
1402
42b5c739
ILT
1403Fri Jan 22 14:22:44 1993 Ian Lance Taylor ([email protected])
1404
1405 * mips.sc-sh: New file. Ultrix, and hopefully other MIPS ECOFF
1406 targets, linker script.
1407 * mipslit.sh: New file. Little endian MIPS emulation.
1408 * config/mips-lit.mt: New file. Use mipslit emulation.
1409 * configure.in (mips-dec-ultrix*): Use target mips-lit.
1410 * Makefile.in (ALL_EMULATIONS): Added em_mipslit.o.
1411 (em_mipslit.c): New target. Uses mipslit.sh.
1412
1413Thu Jan 14 15:30:27 1993 Ian Lance Taylor ([email protected])
1414
1415 * Makefile.in (install): Install ld as both $(tooldir)/bin/ld and
1416 $(tooldir)/bin/gld, so that gcc can find it with or without
1417 collect2.
1418
ac496d4f
ILT
1419Mon Jan 11 18:50:07 1993 Ian Lance Taylor ([email protected])
1420
1421 * ldwrite.c: Removed perform_relocation, copy_and_relocate, and
1422 write_norel. All linking is now done via write_relax. Call
1423 ldsym_write before calling write_relax.
1424 * relax.c: Added copyright.
1425 (write_relax): Renamed from write_relaxnorel. Added relocateable
1426 argument. seclet_dump renamed to bfd_seclet_link.
1427 * relax.h: Added copyright.
1428
0550e9f4
SC
1429Mon Jan 11 15:41:56 1993 Steve Chamberlain ([email protected])
1430
1431 * ldmain.c (decode_library_subfile): Patch from
1432 [email protected], don't reread library symbol tables.
1433
1434Fri Jan 8 18:04:33 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1435
1436 * config/vxworks960.mt renamed to config/i960.mt
1437
1438 * configure.in: sparc-aout emulates a sun4, as does
1439 sparc*-vxworks, i960-nindy uses gld960 emulation
1440
dadd414a
SC
1441Fri Jan 8 14:39:07 1993 Steve Chamberlain ([email protected])
1442
1443 Fix support for NOLOAD, add INCLUDE
1444 * ldfile.c (ldfile_open_command_file): pass file name to
1445 lex_push_file.
1446 * ldlex.l, ldgram.y: tidy up, parse INCLUDE and NOLOAD
1447 * ldlang.c (wild_doit): make output sections inherit NEVER_LOAD
1448 attribute.
1449
1450Thu Jan 7 10:22:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1451
1452 * Makefile.in, config.h: no more default emulation. Make the lack
1453 of emulation a compile time error
1454
1455Wed Jan 6 01:08:37 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1456
1457 * configure.in: recognise all sparclite variants, not just 'sparclite'
1458
a70947c1
ILT
1459Mon Dec 28 11:15:35 1992 Ian Lance Taylor ([email protected])
1460
1461 * m68kcoff.sc-sh: define _end as well as end, for consistency with
1462 aout.sc-sh.
1463
1464 * configure.in: accept *-ericsson-ose for any m68k CPU.
1465
1466 * ldwrite.c (write_rel): don't always set SEC_HAS_CONTENTS flag
1467 for each output section.
1468
086c5e37
PB
1469Mon Dec 21 16:06:59 1992 Per Bothner ([email protected])
1470
1471 * ldexp.c, ldlang.c, ldmain.c, ldsym.c, ldwarn.c: Use new
1472 macro bfd_asymbol_bfd as appropriate.
1473 * Makefile.in: Un-duplicate ldlex.c dependency.
1474 * condigure.in: Replace my_host case table by sourcing
1475 ../bfd/configure.host. Allow std-host as the default.
1476 * ldmisc.c: Change logic for C++ name demangling: There is
1477 no initial '_' to remove from stab-derived function names.
1478
1479Sun Dec 13 16:31:26 1992 Steve Chamberlain ([email protected])
1480
1481 * ldlang.c (lang_init_script_file): don't attach the output file
1482 sections to the script file.
1483
1484Wed Dec 9 08:38:05 1992 Steve Chamberlain ([email protected])
1485 * ldlang.c (wild): run expansion loop over command line bfd too.
1486 (lang_ini_script_file): initialize more parts of the command line
1487 bfd.
1488 * ldlex.l: fix DEFINED start states.
8ddef552 1489
85e38cfa
SC
1490Mon Dec 7 08:43:41 1992 Steve Chamberlain ([email protected])
1491 -y support
1492 * ld.texinfo: new doc.
1493 * ldgram.y, ldlex.l: understand -y<symbol>
1494 * ldmain.c (Q_enter_file_symbols): if had -y, lookup symbol and
1495 print info. (add_ysym): new function.
1496 * ldsym.h: (ldsym_type): new define SYM_Y.
1497
e20873a7
JG
1498Sat Nov 21 03:15:27 1992 John Gilmore ([email protected])
1499
1500 * ldctor.h, lderror.h, ldexp.h, ldfile.h, ldindr.h, ldlang.c,
1501 ldlang.h, ldlex.h, ldmain.h, ldmisc.h, ldsym.h, ldver.h, ldwarn.h,
1502 ldwrite.h, relax.h: Replace all uses of EXFUN and PROTO ansi-glue
1503 macros with PARAMS. Recreational cleanup. Update copyrights.
1504
1505Tue Nov 10 00:23:37 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1506
1507 * Makefile.in: pass down the bfd source directory for includes
1508
22292613
ILT
1509Thu Nov 5 15:41:55 1992 Ian Lance Taylor ([email protected])
1510
1511 * ldlang.c (lang_size_sections): don't change size and address for
1512 SEC_SHARED_LIBRARY sections rather than for SEC_NEVER_LOAD
1513 sections.
1514
85c838d6
SC
1515Thu Nov 5 11:33:57 1992 Steve Chamberlain ([email protected])
1516
1517 * relax.c (build_it): re-enable the processing of data_statements
1518 in scripts, makes counted contructor lists work again.
1519
6e94236a
JG
1520Thu Nov 5 05:43:01 1992 John Gilmore ([email protected])
1521
1522 * ldemul.h: Remove uses of SDEF and PROTO macros (use PARAMS).
1523
1524Tue Oct 20 10:56:06 1992 Ian Lance Taylor ([email protected])
1525
1526 * m68kcoff.sc-sh: don't use initial underscores for etext, edata
1527 and end.
1528
e9b63852
ILT
1529Mon Oct 19 09:45:38 1992 Ian Lance Taylor ([email protected])
1530
1531 * Support for i386-sysv.
1532 configure.in: check for i386-*-sysv* and i386-*-sco*.
1533 i386coff.sc-sh: rewrote to support SVR3 by default.
1534 ldctor.c (find_constructors): preserve stat_ptr.
1535 ldlang.c (wild_doit): initialize vma and size of new output
1536 section to corresponding input section. This is required for
1537 shared library support.
1538 (lang_size_sections): don't modify vma and size of sections which
1539 are never loaded (for shared libraries).
1540 ldwrite.c (copy_and_relocate): copy the contents of any section
1541 which has contents, not just sections which are loaded (for shared
1542 libraries).
1543
ba2c2b1c
SC
1544Thu Oct 15 15:20:26 1992 Steve Chamberlain ([email protected])
1545
1546 * ldlang.c (size_input_section): count the sizes of all sections
1547 we allocate.
1548
a385b38f
SC
1549Thu Oct 8 09:05:25 1992 Steve Chamberlain ([email protected])
1550
1551 * ldmisc.c (demangle,vfinfo): use the new underscore in bfd to
1552 to demangle symbols better
1553
81150d34
ILT
1554Tue Oct 6 13:08:54 1992 Ian Lance Taylor ([email protected])
1555
1556 * ldlang.c (lang_finish): don't warn if -e start symbol does not
1557 exist when linking with -r.
1558
b5ddf942
ILT
1559Mon Oct 5 14:07:37 1992 Ian Lance Taylor ([email protected])
1560
1561 * aout.sc-sh, m68kcoff.sc-sh: set __bss_start to the start of the
1562 .bss segment.
1563
f3739bc3
SC
1564Mon Oct 5 08:55:14 1992 Steve Chamberlain ([email protected])
1565
1566 * ldmain.c (linear_library): don't even think about processing
1567 an object file if it's already been done
1568
1569Thu Oct 1 23:14:59 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1570
1571 * configure.in: the hp9000/300 config file is now hp300
1572
ac0832f3
SC
1573Wed Sep 30 07:34:09 1992 Steve Chamberlain ([email protected])
1574
1575 * config/z8ksim.mt: new file
1576
f3b36ecb
KR
1577Fri Sep 25 13:49:52 1992 Ken Raeburn ([email protected])
1578
1579 * Makefile.in (ldexp.o, ldctor.o, ldlang.o, ldmain.o, ldwrite.o,
1580 lexsup.o, mri.o, relax.o): Indicate dependence on ldgram.h.
1581
1582 * ld.h (strip_symbols_type): Add value STRIP_SOME.
1583 * ldgram.y (OPTION_RETAIN_SYMBOLS_FILE): New terminal token.
ac0832f3 1584 * ldlang.c (lang_add_keepsyms_file): New function.
f3b36ecb
KR
1585 * ldlex.l: Handle "-retain-symbols-file".
1586 * ldsym.c (keepsyms_file, kept_syms): New vars.
1587 (process_keepsyms): New functihon; reads file, marks symbols for
1588 saving.
1589 (write_file_locals): File symbols should always be kept.
1590 (ldsym_write): Warn about "-retain-symbols-file" overriding "-S"
1591 and "-s". Process retain-symbols file before setting symtab.
1592 * ldsym.h (SYM_KEEP): New flag for ldsym_type flags.
1593 (keepsyms_file, kept_syms): Declare them.
1594
1595 * ldmain.c (main): Non-fatal errors should still cause non-zero
1596 exit status even with -r.
1597
22a78f0d
SC
1598Fri Sep 25 11:08:01 1992 Steve Chamberlain ([email protected])
1599
1600 Added initial support for the z8k
1601 * z8ksim.em, z8ksim.sc-sh, z8ksim.sh: new files
1602 * configure.in, Makefile.in: modified to reflect above
1603
1604 * ldlang.c (lang_check): when linking conflicting architectures,
1605 make the output file reflect at least one of the bad inputs.
1606
56409445
ILT
1607Tue Sep 15 15:35:38 1992 Ian Lance Taylor ([email protected])
1608
1609 * Makefile.in (install): if $(tooldir) exists, install ld in
1610 $(tooldir)/bin.
1611
99e6298a
SC
1612Fri Sep 11 10:24:22 1992 Steve Chamberlain ([email protected])
1613
1614 * Makefile.in, configure.in: modified to support i386-coff
1615 * i386coff.sh: new file
1616
ab57b174
ILT
1617Wed Sep 9 11:52:58 1992 Ian Lance Taylor ([email protected])
1618
1619 * Makefile.in, m68kcoff.sh, m68kcoff.sc-sh, config/m68k-coff.mt:
1620 added m68k-coff emulation mode, stolen from a29k emulation.
1621 Almost certainly wrong, but perhaps better than sun3.
1622
8e71a984
PB
1623Thu Sep 3 14:19:30 1992 Per Bothner ([email protected])
1624
ab57b174
ILT
1625 * Makefile.in, Makefile.dos, generic.em, genscripts.sh,
1626 gld960.em, h8300hms.em, h8300xray.em, lnk960.em, st2000.em,
1627 vanilla.em: Rename all (generated) ld__*.c files to em_.c.
1628 This is one character shorter, and lets people build on
1629 SVR3 system. (ld__h8300xray.[co] was the killer there;
1630 h8300xray.sc-sh is also overlong, but seems harmless.)
1631 Based on a patch from Jonathan Ryshpan <hitachi!amito!jon>.
1632 * Makefile.in (clean): Fix typo mostclean -> mostlyclean.
1633 * configure.in: Add host isc.
1634
8e71a984
PB
1635 * ldver.c: Call it version 2.0.
1636
1637Wed Sep 2 00:21:33 1992 Per Bothner ([email protected])
1638
1639 * ldver.c: Bump to version 0.98.
1640 * TODO: New file.
1641
1642 * Makefile.in: Added mostlyclean, distclean, realclean rules.
1643
c52bdfec
PB
1644Tue Sep 1 23:42:16 1992 Per Bothner ([email protected])
1645
1646 * ldmisc.c (xrealloc): New (needed by ../libiberty/cplus.dem.c).
1647 * ldlex.l: Moved comment() to end, since some compilers
1648 otherwise have problems with input() used before it is defined.
1649
2df68136
DZ
1650Tue Sep 1 17:45:51 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1651
1652 * configure.in: added Solaris 2 and Irix 4 host support.
1653
1654Mon Aug 31 19:27:11 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1655
1656 * Makefile.in: remove -S flag from the FLEX definition
1657
1658 * configure.in: rewrote, using new style case statement. use
1659 m68k.mt for m68k-aout systems
1660
0bb95ac8
ILT
1661Sun Aug 30 21:38:53 1992 Ian Lance Taylor ([email protected])
1662
1663 * Makefile.in: map "ld" through program_transform_name when
1664 installing.
1665
fe2b6209
PB
1666Sun Aug 30 18:12:13 1992 Per Bothner ([email protected])
1667
1668 * cplus-dem.c: Removed. Use the version in libiberty now.
1669 * ldmisc.c: Use new libiberty version of cplus_demangle().
1670
94cc1ee7
ILT
1671Thu Aug 27 16:38:42 1992 Ian Lance Taylor ([email protected])
1672
5f2d9799
ILT
1673 * gld960.em (gld960_choose_target): default to little endian, not
1674 big endian.
94cc1ee7 1675
cd1d8c6d
SC
1676Wed Aug 26 17:28:51 1992 Steve Chamberlain ([email protected])
1677
1678 * ldlang.c (lang_process): don't pass null pointers when
1679 abs_output_section is what is required.
1680 * ldwrite.c (ldwrite): use malloc to allocate the largest space
1681 used, and pass that down.
1682 * relax.c,relax.h (write_relaxnorel): use the passed malloc area rather
1683 than alloca.
1684
afba2b22
ILT
1685Mon Aug 24 14:42:06 1992 Ian Lance Taylor ([email protected])
1686
1687 * configure.in, config/ose68.mt: renamed OSE to ose.
1688
571c4c26
KR
1689Thu Aug 20 19:55:22 1992 Ken Raeburn ([email protected])
1690
1691 * ldsym.c (write_file_locals): Reorder check for common or
1692 undefined symbols so that it works.
1693
b189e892
ILT
1694Tue Aug 18 13:41:36 1992 Ian Lance Taylor ([email protected])
1695
1696 * configure.in: accept all m68K family members.
1697
1698 * Makefile.in: always create installation directories.
1699
6bf2e3a7
SC
1700Thu Aug 13 11:49:34 1992 Steve Chamberlain ([email protected])
1701
1702 * ldlex.l: now parses comment correctly, added ~ to acceptable
1703 chars in filenames
1704
1705 * ldexp.c (exp_unop): pass down abs_output_section - now can have
1706 unary -ve constants.
1707
1708 * ldlang.c (lang_finish): warn when an entry symbol supplied on
1709 the command line can't be found.
1710
ae475b39
SC
1711Fri Aug 7 12:31:10 1992 Steve Chamberlain ([email protected])
1712
1713 * ldlang.h: add new field "loadable" to output_section_statement.
1714 * ldlang.c (lang_output_section_statement_lookup): initilize new
1715 field. (wild_doit): if new field is not set, then stop output
1716 section from being loadable.
1717 (lang_enter_output_section_statement): set the field from the
1718 NOLOAD keyword
1719 * ldgram.y: new synax for NOLOAD. Removes a shift/reduce too.
1720 * h8300hms.sc-sh, h8300hms.em: get -r right.
1721
4b91c519
PB
1722Thu Aug 6 18:35:21 1992 Per Bothner ([email protected])
1723
1724 * ldint.texinfo: New internals manual (beginnings thereof).
1725 * PORTING: Removed, merged into ldint.texinfo.
1726
917bffa7
PB
1727Tue Aug 4 21:12:29 1992 Per Bothner ([email protected])
1728
1729 * cdtest-main.cc, cdtest-func.cc, cdtest-foo.h, cdtest-foo.cc,
1730 cdtest.exp: A test program (copied from libg++/test-install)
1731 that tests that constructor and destructors are handled
1732 corrrectly.
1733
b40f9c73
DZ
1734Mon Aug 3 14:58:19 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1735
1736 * Makefile.in (install): install from ld.new, renaming during the
1737 copy, or else the next 'make install' needs to re-link ld.
1738
1739Mon Jul 20 03:37:06 1992 D. V. Henkel-Wallace ([email protected])
1740
1741 * configure.in: generalise hp recognition (from sef).
1742
1743Sat Jul 18 14:46:04 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1744
1745 * configure.in: recognize bsd and hpux hppa configurations.
1746 error messages echo to stderr, not stdout
1747
ec467c83
RP
1748Fri Jul 17 22:06:11 1992 K. Richard Pixley ([email protected])
1749
1750 * Makefile.dos, gld.1, ld.texinfo, ldemul.c, ldfile.c, ldlang.c,
1751 ldmisc.c: removed rcsid's.
1752
67cddd9f
SC
1753Tue Jul 14 08:34:34 1992 Steve Chamberlain ([email protected])
1754
1755 * ldlang.c (lang_map): print changes in sizes due to relaxing
1756 (size_input_section): maintain the delta information.
1757 * ldlang.h: add new field to struct to contain delta info.
1758 * relax.c (relax_section): complain if input not relaxable.
1759 * ldlex.l : add '_', ',' and '$' to chars which can appear at the
1760 start of a filename
1761
f7c76897
SC
1762Mon Jul 13 17:33:00 1992 Steve Chamberlain ([email protected])
1763
1764 * ldmain.c(main): prevent -r and -relax from being on at the same
1765 time.
1766
28b6b1ab
SC
1767Wed Jul 1 17:51:19 1992 Steve Chamberlain ([email protected])
1768
1769 * ldmain.c (Q_enter_global_ref), ldindr.c (add_indirect): fix for
1770 aliasing problems
1771
1772
30d1a390
SC
1773Thu Jun 18 09:38:56 1992 Steve Chamberlain ([email protected])
1774
1775 * h8300hms.em, h8300hms.sc-sh: do the right thing for -r
1776 * ldexp.c: lint
1777 * ldlang.c(open_output): set the target arch and machine as soon
1778 as we can. (lang_size_sections): use new macros for setting vma
1779 * ldwrite.c: lint
1780
5bdf878e
MT
1781Mon Jun 15 08:47:43 1992 Michael Tiemann ([email protected])
1782
1783 * configure.in (my_target): Accept m680?0 for wrs as vxworks68.
1784 Also deleted an unreachable path to wrs.
1785
1786Wed May 27 23:24:19 1992 Michael Tiemann ([email protected])
1787
1788 * Makefile.in (install): use -d test for $tooldir before
1789 installing ld there so that $tooldir can be inherited from
1790 top-level Makefile.
1791
1792Wed May 27 16:56:48 1992 Per Bothner ([email protected])
1793
1794 * ldlang.c: Two non-substantial changes for the sake of
1795 the old Portable C Compiler.
1796
5e81edb2
SC
1797Wed May 27 15:15:58 1992 Steve Chamberlain ([email protected])
1798
1799 * ldgram.y, ldlex.l: parse ABSOLUTE
1800 * ldexp.c: add support for ABSOLUTE
1801
7aacc9cc
PB
1802Wed May 27 13:07:20 1992 Per Bothner ([email protected])
1803
1804 * Makefile.in: Added default definitions for HOSTING_CRT0,
1805 HOSTING_LIBS, and HOSTING_EMU, based on those in config/*.mh.
1806 * config/*.mh: Miscellaneous clean-up: Removed definitions
1807 of YACC (since it is not longer used in the Makefile).
1808 Remove HOSTING_* definitions that are subsumed by the
1809 ones added to Makefile.in. Removed most definitions of CC.
1810 * config/{sparc,news,hp300bsd,decstation}.mh: Removed;
1811 These are no longer needed.
1812
91e25b4f
PB
1813Fri May 22 13:47:19 1992 Per Bothner ([email protected])
1814
5ff21fa5
PB
1815 * Makefile.in: Use srcdir instead of VPATH in ldgram/ldlex
1816 rules, since these are used when building a distribution.
1817 * Makefile.in (ldlex.c): Don't re-direct output, since that
1818 leaves a bogus output files if it fails.
1819
91e25b4f
PB
1820 * config/sparc.mh: Fix HOSTING_LIBS so it has a chance of working.
1821 * ldlex.c: Fix some unnecessary flex-specific-isms.
1822
1823Fri May 8 11:49:43 1992 Steve Chamberlain ([email protected])
1824
1825 * ldgram.y: move spurious semicolon
1826 * ldexp.h: fix prototype
1827
82d1666a
RP
1828Thu May 7 17:01:12 1992 Roland H. Pesch ([email protected])
1829
1830 * ld.texinfo: references to linker now say "ld" not "gld".
1831
32846f9c
SC
1832Wed May 6 13:26:19 1992 Steve Chamberlain ([email protected])
1833
1834 changed calling convention for Q_enter_global_ref
1835 * ldexp.c, ldlang.c, ldmain.c: reflect this
1836 * ldver.c: bump version to 1.97.1
1837 * ldindr.c (add_indirect): when an edict declaring an indirect
1838 symbol is found, make sure that any ideas about the symbol being
1839 common are changed if it now known to be defined.
1840 * ldmain.c (linear_library): complain once if archive isn't
1841 ranlibbed.
1842 * ldlang.h, ldlang.c: make room for and initialize the complain
1843 once field.
1844
bf3acf44
RP
1845Wed May 6 11:07:35 1992 K. Richard Pixley ([email protected])
1846
1847 * Makefile.in: use flex & bison from ../ if they exist.
1848
9c99a57e
SC
1849Tue May 5 17:47:33 1992 Steve Chamberlain ([email protected])
1850
1851 * relax.c (build_it): don't allocate space in the output file for
1852 stuff if -R flag applys to it.
7153b2ff
SC
1853 * ldfile.c: merge in VMS filename support
1854 * ldmain.c (main): take out ./ from library path, and close file
1855 before unlinking. Make multiple defs of a symbol create an
1856 unexecable file.
1857 * ldmisc.c: fatal errosrs delete output file
9c99a57e 1858
98377f31
PB
1859Tue May 5 14:05:05 1992 Per Bothner ([email protected])
1860
1861 * ldver.c: Increase version number to 1.97, for consistency
1862 with ../binutils.
1863
3f350eda
RP
1864Tue May 5 12:12:24 1992 K. Richard Pixley ([email protected])
1865
813da1a5
RP
1866 * Makefile.in: FLEX -> LEX.
1867
3f350eda
RP
1868 * ld.texinfo: {} -> @{@}.
1869
e0047d49
RP
1870Mon May 4 17:52:41 1992 Roland H. Pesch ([email protected])
1871
1872 * ld.texinfo: describe alternate, MRI-compatible linker scripts
1873 (and associated change in -c option, now used for these scripts)
1874
bfbdc80f
SC
1875Mon May 4 16:10:10 1992 Steve Chamberlain ([email protected])
1876
1877 * ldver.c: Bumped version to 1.96 - new release, resync with the
1878 bfd too #.
1879 * ldexp.c, ldlang.c: now build memory shape tree in obstacks
1880 rather than with raw malloc, makes it easier to track where memory
1881 is going.
1882 * ldsym.h, ldsym.c: create obstack for all global symbols too.
1883 * ldwrite.c (ldwrite): moved malloc so only used when needed.
1884 * sa29200-sc.sh: added support for .lit, data1 and data2 sections.
1885
1886
d3451fe8
RP
1887Fri May 1 18:17:52 1992 K. Richard Pixley ([email protected])
1888
1889 * config/sparc.mh: use ../gcc/libgcc.a on check if it exists.
1890
1891 * Makefile.in: use bootstrap for check.
1892
dc4726c2
SC
1893Fri May 1 13:03:41 1992 Steve Chamberlain ([email protected])
1894
e14a43bf
SC
1895 * ldgram.y, ldlex.c, mri.c: added more compatible words; BASE, ALIAS and
1896 PUBLIC.
1897 * Makefile.in: now use flex, not lex
dc4726c2
SC
1898 * ldlex.l, ldlang.c, ldctor.c: lint
1899
ee0c4cf7
SC
1900Wed Apr 22 12:48:42 1992 Steve Chamberlain ([email protected])
1901
1902 * ldlex.l: added CMDFILENAMECHAR state so that you can lex
1903 different sorts of filenames on the command line than in a script.
1904
77b19d3d
RP
1905Mon Apr 20 22:37:04 1992 K. Richard Pixley ([email protected])
1906
1907 * Makefile.in: rework CFLAGS so that they can be passed on the
1908 make command line. Remove MINUS_G. Default CFLAGS to -g.
1909
119afd7b
RP
1910Fri Apr 17 08:57:17 1992 Steve Chamberlain ([email protected])
1911
1912 * relax.c: added handling for new "padding" seclet type, used to
1913 fill out gaps between section.
1914 * ldgram.y, ldlex.l: now -defsym on the command line is done
1915 properly.
1916
1917Wed Apr 15 21:20:07 1992 K. Richard Pixley ([email protected])
1918
1919 * Makefile.in: the tooldir copy of ld goes directly in tooldir.
1920
2e38b71d
SC
1921Wed Apr 15 16:09:33 1992 Steve Chamberlain ([email protected])
1922
1923 * mri.c, ldgram.y, ldlex.l: added support for minimal strange link
1924 scripts.
1925
1900f884
KR
1926Thu Apr 9 05:52:02 1992 Ken Raeburn ([email protected])
1927
1928 * Makefile.in (install): Install second copy in $(tooldir)/bin
1929 without $(program_prefix), since that's what gcc expects.
1930
9d1fe8a4
SC
1931Sat Apr 4 17:44:06 1992 Steve Chamberlain ([email protected])
1932
1933 * ldlex.l, ldgram.y, ldlex.h: Rewrote lexer. Now it's much nicer.
1934 * h8300*: fix bit rot and add support for h8300xray target
1935 * go32.sh: target emulation for go32.
1936
9d1fe8a4
SC
1937Mon Mar 16 14:53:29 1992 Steve Chamberlain ([email protected])
1938
1939 * gld960.em, i960.sc-sh. Fix i960 bit rot
1940
f0280cd2
RP
1941Fri Mar 13 19:47:22 1992 K. Richard Pixley ([email protected])
1942
1943 * Makefile.in: install man page.
1944
12fa72d4
SC
1945Fri Mar 13 08:23:59 1992 Steve Chamberlain ([email protected])
1946
1947 * config/mt-<foo> renamed to <foo>.mt
1948 * config/mh-<foo> renamed to <foo>.mt
1949 * configure.in changed to reflect this
1950 * genscripts.sh now make .xbn files rather than .xN files
1951
1952Sat Mar 7 03:40:40 1992 K. Richard Pixley ([email protected])
1953
1954 * ldver.h: fix decl of ldversion.
1955
1956Fri Mar 6 22:00:35 1992 K. Richard Pixley ([email protected])
1957
1958 * Makefile.in: added check target.
1959
fe563ffe
SC
1960Fri Mar 6 06:59:04 1992 Steve Chamberlain ([email protected])
1961
1962 * ldmain.c (Q_enter_file_symbols): now aliases work again
1963
12fa72d4
SC
1964Thu Mar 5 21:39:29 1992 K. Richard Pixley ([email protected])
1965
1966 * Makefile.in: added clean-info target.
1967
fe563ffe
SC
1968Thu Mar 5 16:55:56 1992 Steve Chamberlain ([email protected])
1969
1970 * ldexp.c (exp_print_tree): don't try and follow null pointers
1971 around.
1972 * ldgram.y: remove 11 shift reduce errors
d2861901 1973
12fa72d4
SC
1974Tue Mar 3 15:46:39 1992 K. Richard Pixley ([email protected])
1975
1976 * Makefile.in: added tooldir and program_prefix.
1977
fe563ffe
SC
1978Fri Feb 28 08:17:45 1992 Steve Chamberlain (sac at thepub.cygnus.com)
1979
1980 * ldlang.c (size_input_section): don't move absolute sections
1981 around!
1982
1983
1984Thu Feb 27 09:20:41 1992 Steve Chamberlain (sac at thepub.cygnus.com)
1985
d2861901
SC
1986 * cplus-dem.c: yet another copy of this - maybe it should go into
1987 libiberty ?
1988 * ldgram.y: now -V and -v have different actions
1989 * ldver.c: if -V, prints list of emulations compiled in
1990 * ldmisc.c: support for cplus demangling
1991
1992
12fa72d4
SC
1993Wed Feb 26 18:04:40 1992 K. Richard Pixley ([email protected])
1994
1995 * Makefile.in, configure.in: removed traces of namesubdir,
1996 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
1997 copyrights to '92, changed some from Cygnus to FSF.
1998
d2861901
SC
1999Thu Feb 20 17:43:46 1992 Per Bothner (bothner at cygnus.com)
2000
2001 * Makefile.in: Change mkscript rule into one for ./mkscript
2002 (for the sake of makes that don't realize they're the same).
2003 * PORTING: Add more details.
2004 * genscripts.sh: Add more tailorability of DATA_ALIGNMENT.
2005
1584d069
PB
2006Mon Feb 17 12:04:36 1992 Per Bothner (bothner at cygnus.com)
2007
2008 * Makefile.in, and new files hp300bsd.sh, config/mh-hp300bsd,
2009 config/mt-hp300bsd: New port to hp300 running BSD.
2010
7e5c1057
PB
2011Sat Feb 15 13:59:54 1992 Per Bothner (bothner at cygnus.com)
2012
2013 Major rewrite of how ld is configured. The major idea
2014 is to use shell scripts to generate everything.
2015 * generic.em replaces ldtemplate.
2016 * Other *.em files replace various *.c files.
2017 A *.em file is a shell script that generates the corresponding
2018 ld__*.c file that implements an emulation. This is usually
2019 a straight 'cat' of a here-document, possibly with substitutions.
2020 * Script files (*.sc) are places by *.sc-sh scripts.
2021 Again, these are simple shell scripts that 'cat'
2022 here-documents, usually with some substitutions.
2023 The output a *.sc-sh is a script file.
2024 * Each emulation is defined by a short shell script with
2025 extension *.sh that specifies the emulation-specific
2026 parameters (such as the name of the *.sh-sc and *.em
2027 files to use).
2028 * genscript.sh is the master shell script used to generate
2029 an emulation. It is passed various argument, including
2030 the name a the emulation-speciic *.sh file that it
2031 "sources" to set variables to emulation-specifc parameters.
2032 * config/mt-foo: Changed EMUL=GLDFOO_EMULATION_NAME
2033 to EMUL=foo. (The GLDFOO_EMULATION_NAMEs have bee removed.)
2034 * config/mh-foo: Rename LDEMULATION names as appropriate
2035 (usually 'gldfoo' -> plain 'foo').
2036 * ldwrite.c: Fixed a typo in a comment.
2037 * Makefile.in: Major changes. Removed some the sed
2038 magic to converts scripts, since that is now handled
2039 by genscripts.sh and the *.sc-sh scipt generators.
2040 * config.h: Remove a bunch of macros defining emulations
2041 and targets. This becomes one less file to edit when
2042 adding emulations or targets.
2043 * ldemul.h (struct ld_emulation_xfer_struct): Add
2044 emulation_name and target_name fields.
2045 * ldemul.c, ldemul.h: Define some default functions used
2046 by most emulations (and remove from the *.em scripts).
2047 * ldemul.c (ldemul_choose_target): Search the new
2048 ld_emulations array using a loop (instead of a hardwired
2049 nested if statement).
2050 Define the ld_emulation from the automatically-geenrated
2051 ldemul-list.h. This means you no longer have to edit ldemul.c
2052 to add a new emulation.
2053 * ldmain.c: Replace {GLD,LNK}960_EMULATION_NAME by
2054 their expansions, since the former no longer exist.
2055 * PORTING: A very rough first draft of a porting guide.
2056
2057 * ldgram.y, ldlex.l, lexsup.c: Changes to allow an assignment
2058 to be terminated by a new-line (instead of requiring a semicolon).
2059
2060Mon Feb 10 16:21:02 1992 Steve Chamberlain (sac at rtl.cygnus.com)
2061
2062 * ldexp.c, ldlang.c: added new idea "abs_output_section", removes
2063 tests for NULL pointers all over the place.
2064 * ldlang.c (lang_process): remember to relocate global symbols
2065 *after* relaxing has done it stuff.
2066
2067Thu Feb 6 11:40:15 1992 Steve Chamberlain (sac at rtl.cygnus.com)
2068
2069 * config/mt-coff-h8300: use EMUL like everything else
2070 * ldlang.c: (print_padding_statement): print the right address.
2071 * Makefile.in, config.h, ldemul.c: renamed h8300hds to h8300hms
2072
2073
aa34a7c3
SC
2074Tue Feb 4 15:28:01 1992 Steve Chamberlain (sac at rtl.cygnus.com)
2075
2076 * ldlex.l: Put pack -noinhibit-exec and -sort-common
2077 * ldlang.c (print_data_statement): print the right address.
2078
2079Thu Jan 30 17:51:53 1992 Per Bothner (bothner at cygnus.com)
2080
2081 * Makefile.in: The rule for testing ld by re-linking itself
2082 via an intermediate -r link was moved to the ld1 rule
2083 instead of the ld2 rule. This allows ld2 and ld3 to be identical,
2084 which allows the bootstrap rule to work.
2085 * ldctor.c (find_constructors): Don't create a constructor
2086 list if it is already defined (as would happen if ld is
2087 invoked by collect).
2088
cbbdbb9f
SC
2089Wed Jan 29 08:35:39 1992 Steve Chamberlain (sac at rtl.cygnus.com)
2090
2091 * config/mh-sparc.h: now uses libgcc.a
2092 * ldmain.c: quit using exit
2093 * *sc: use *(COMMON) rather than [COMMON]
2094 * ldlex.l, lexsup.c: much thinking moved from .l and put into .c,
2095 to allow preprocessing of .l file.
2096 * Makefile.in: New ldlex.l mangling
2097 * ldexp.c (fold_binary): perform expressions with % and / in
2098 integer.
2099 * ldfile.c (open_a): open archives on VMS in a special way
2100
2101
870f54b2
SC
2102Tue Jan 28 10:18:16 1992 Steve Chamberlain (sac at rtl.cygnus.com)
2103
2104 * ldgram.y: map -M behave in the same way as -Map (sets file name
2105 to be "-".
2106 * ldsym.c, ldlang.c: remember that size of a section is dependent on
2107 whether or not relaxing has been done.
2108 * ldmain.c: don't open a map file if it doesn't have a name
2109 * relax.c: all the brains have moved into bfd.
2110 * ldwrite.c: ammend comment
2111
2e2bf962
SC
2112Fri Jan 24 14:23:46 1992 Steve Chamberlain (sac at rtl.cygnus.com)
2113
2114 * Makefile.in: added relax, also made three stage go through a
2115 partial link stage.
2116 * relax.c : added
2117 * config.h: if GNU960 defined, then default emulation mode is
2118 GLD960
2119 * ldexp.h, ldexp.c: map to file hooks
2120 * ldlang.c: map to file hooks
2121 * ldgram.y: added -Map -relax
2122 * ldlex.l: added -relax, -Map
2123 * ldmain.c: open map file
2124 * ldmisc.c: support for map file
2125 * ldwrite.c: new relax magic
2126
2127Thu Dec 19 18:49:51 1991 John Gilmore (gnu at cygnus.com)
2128
2129 * Makefile.in, config/tm-*.h: Clean up make output, only
2130 pass DEFAULT_EMULATION to ldmain.c.
2131
2132Wed Dec 18 15:02:47 1991 Per Bothner (bothner at cygnus.com)
2133
2134 * ldver.c: Bump to version 1.94.
2135
2136Tue Dec 10 04:07:23 1991 K. Richard Pixley (rich at rtl.cygnus.com)
2137
2138 * Makefile.in: infodir belongs in datadir.
2139
e06ba18d
PB
2140Mon Dec 9 16:26:43 1991 Per Bothner (bothner at cygnus.com)
2141
2142 * Makefile.in: Pass -y to bison. (Again;
2143 accidentally deleted by Rich.)
2144 * news.sc, ldgld68k.sc: Define __end as well as _end.
2145
2146Sat Dec 7 17:19:26 1991 Steve Chamberlain (sac at rtl.cygnus.com)
2147
2148 * ldindr.h: added to contain prototypes of ldindr.c
2149 * ldfile.c: include ctype.h
2150 * ldmain.c: include the requried prototype headers
2151 * ldwrite.c: get_reloc_upper_bound has been renamed
2152 bfd_get_reloc_upper_bound
2153
818a192a
RP
2154Fri Dec 6 23:29:26 1991 K. Richard Pixley (rich at rtl.cygnus.com)
2155
2156 * Makefile.in: punt "fundamental" mode because it breaks my emacs
2157 macros. install using INSTALL_PROGRAM and INSTALL_DATA. remove
2158 spaces following hyphens, bsd make can't cope. added
2159 standards.text support and made it look like all the other
2160 makefiles.
2161
2162 * configure.in: configure now runs entirely in objdir so make file
2163 existence checks against ${srcdir}. Mark this directory as
2164 target dependent.
2165
2166Thu Dec 5 22:46:16 1991 K. Richard Pixley (rich at rtl.cygnus.com)
2167
2168 * Makefile.in: idestdir and ddestdir go away. Added copyrights
2169 and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
2170 and mandir now keyed off datadir by default.
2171
2172Wed Dec 4 23:36:55 1991 Per Bothner (bothner at cygnus.com)
2173
2174 * ldver.c: Bumped version to 1.93.
2175 * Makefile.in: Pass -y to bison.
2176
2177Mon Nov 25 18:28:40 1991 Steve Chamberlain (sac at cygnus.com)
2178
2179 * config.h: h8 is now coff, not ieee
2180 * h8300hds.sc: reflect the same
2181
2182Thu Nov 14 19:55:09 1991 Per Bothner (bothner at cygnus.com)
2183
2184 * ldver.c (ldversion()): Update to 1.92.
2185 * ldctor.c: There are two places constructor sets
2186 can be defined. One of them checked for an existing
2187 duplicate, the other didn't. Unfortunately, the latter
2188 was called after the former ...
2189 So, factor out code for inserting a new element into
2190 constructor_name_list (after checking for a duplicate)
2191 into a new function add_constructor_name, and call
2192 it from both aforementioned places (ldlang_add_constructor
2193 and ldlang_check_for_constructors).
2194
2195Wed Nov 13 15:17:43 1991 Per Bothner (bothner at cygnus.com)
2196
2197 * Makefile.in: Rename .c files generated from ldtemplate
2198 to have names starting with ld__. This helps 'make clean'.
2199
092df318
SC
2200Tue Nov 12 18:36:50 1991 Steve Chamberlain (sac at cygnus.com)
2201
2202 * Makefile.in: Take out the version number for install
2203 * m88kbcs.sc: put in contructor blocks.
2204
1c9e4b15
PB
2205Mon Nov 11 18:47:33 1991 Per Bothner (bothner at cygnus.com)
2206
2207 * ldmisc.c, ldmisc.h: Re-write info() to take a filename
2208 parameter, a format, and an arg pointer, and rename it to
2209 vfinfo(). Write info() in terms of new vfinfo().
2210 New einfo() is the same as info(), except it writes to stderr.
2211 * ldemul.c, ldexp.c, ldlang.c, ldlnk960.c, ldmain.c, ldwrite.c,
2212 ldmisc.c: Replace "error" calls to info() by new einfo().
2213
550e87b5
SC
2214Mon Nov 11 09:57:32 1991 Steve Chamberlain (steve at cygnus.com)
2215
2216 * ldlex.l ldgram.y: made -V option do same as -v
2217 * Makefile.in: Added $(MINUS_G) flag so debugging can be
2218 turned off
2219
2220Sun Nov 3 16:37:37 1991 Steve Chamberlain (steve at cygnus.com)
2221 i386 aout changes from Bob Kukura
2222 * Makefile.in, config.h: added i386aout support
2223 * configure.in: fixed /h-{myhost} typo
2224 * ldgram.y: -MM now gives more boring map.
2225 * ldlang.c: now does D_PAGED flag the right way.
2226 * ldsym.c: -MM flags does the right thing.
2227
aeedc30e
PB
2228Sun Nov 3 15:00:03 1991 Per Bothner (bothner at cygnus.com)
2229
2230 * configure.in: Fixed typo. Also, a fix for hp300bsd.
2231 * ldlang.c (init_os): Compensate for BFD change,
2232 where bfd_make_section now returns NULL for a duplicate
2233 section request, instead of the old section.
2234
2235Thu Oct 17 15:27:13 1991 Per Bothner (bothner at cygnus.com)
2236
2237 * ldver.c: Bump to version 1.91 (consistent with binutils).
2238
2d1a2445
PB
2239Wed Oct 16 12:27:08 1991 Per Bothner (bothner at cygnus.com)
2240
2241 * Makefile.in, config.h, ld.h, ldemul.c, ldexp.c, ldexp.h,
2242 ldgram.y, ldlex.l, ldlnk960.c, ldmain.c, ldmisc.c, ldmisc.h,
2243 ldsym.c, ldsym.h, ldtemplate, ldvanilla.c, ldver.c, ldver.h,
3410447c 2244 ldwarn.c, ldwarn.h, ldwrite.c, ldwrite.h, mkscript.c:
2d1a2445
PB
2245 Add or update copyright notices.
2246
2247Mon Oct 14 23:55:27 1991 Per Bothner (bothner at cygnus.com)
2248
2249 * README: New file.
2250 * Makefile.in: Changed installation directory name scheme
2251 to be consistent with gcc. Also changed 'install'.
2252
954ac2ea
RP
2253Mon Oct 14 17:30:02 1991 Roland H. Pesch (pesch at cygnus.com)
2254
2255 * Makefile.in: new targets ld.mm, ld.me
2256
972e7b4b
PB
2257Mon Oct 14 17:27:24 1991 Per Bothner (bothner at cygnus.com)
2258
2259 * Makefile.in, ldtemplate: Need to use separate scripts
2260 for -n and -N options. Yet more complication.
2261
33ce0085
JG
2262Fri Oct 11 22:40:46 1991 John Gilmore (gnu at cygnus.com)
2263
2264 * Makefile.in: Avoid using $< in explicit Make rules (it doesn't
2265 work). Add some lines to avoid Sun Make VPATH bugs.
2266
b7e24eef
PB
2267Fri Oct 11 16:42:22 1991 Per Bothner (bothner at cygnus.com)
2268
2269 * news.sc: Add alignment for data segment.
2270 * ldtemplate: Add (yet another) script to get for -n or -N
2271 options. (These need different alignment than ZMAGIC files.)
2272 * Makefile.in: Add stuff for new foo.xn scripts.
2273 These are generated by replacing "ALIGN(0x...00)" by ".".
2274
b55e0948
RP
2275Fri Oct 11 15:43:04 1991 Roland H. Pesch (pesch at cygnus.com)
2276
2277 * Makefile.in: new targets ld.ms, ld-index.ms
2278 ld.texinfo: remove tabs, other cleanups for texi2roff
2279
6719c75b
PB
2280Fri Oct 11 13:51:54 1991 Per Bothner (bothner at cygnus.com)
2281
2282 * ldmain.c (main): Make config.magic_demand_paged be true
2283 by default. Don't the WP_TEXT and D_PAGED flags of
2284 output_bfd here; it's too late, so set it when output_bfd
2285 is created (in ldlang.c). Also fix setting of EXEC_P flag
2286 * ldlang.c (ldlang_open_output): Set output_bfd->flags here.
2287 * ldlang.c: Remove some duplicate extern declarations.
2288 * ldgram.y: Fixes to -N and -n options.
2289 * Makefile.in: Recognize upper case letters in sed script
2290 to remove assignments from script files.
2291 * ldtemplate: Don't assukme that -N or -n options
2292 imply use of -r script.
2293 * mkscript.c: Tweaking to correctly handle \n and \\ in input.
2294
8e10cea1
SC
2295Fri Oct 11 10:29:27 1991 Steve Chamberlain (steve at cygnus.com)
2296
2297 * ldtemplate: include bfd.h before sysdep.h.
2298
1f8fc34f
JG
2299Fri Oct 11 04:24:45 1991 John Gilmore (gnu at cygnus.com)
2300
2301 Restructure configuration scheme for bfd, binutils, ld.
2302
2303 * include/sys/h-*.h: Move to bfd/hosts/h-*.h.
2304 * configure.in: Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h.
2305 Change some config names to match other dirs.
2306 * *.c: Include bfd.h before sysdep.h, so ansidecl and PROTO()
2307 get defined first.
2308 * config/: Rename some config files to match up h-*.h names.
2309 Remove all the HOST_SYS definitions from the config files.
2310
2311Tue Oct 8 16:00:57 1991 Per Bothner (bothner at cygnus.com)
2312
2313 * ldexp.h, ldlang.h: Change enum boolean -> enum bfd_boolean.
2314 * ldtemplate: Remove ldfile_add_library_path calls;
2315 just use the SEARCH_DIR commands in the script files.
2316 * Makefile.in: Add LIB_PATH macro, which if set is used to replace
2317 the SEARCH_DIR commands in the scripts (using ugly sed magic).
2318 This is primarily intended for cross-linking, where you would
2319 place libaries in a different place than native libraries.
2320 Also, emulations made from ldtemplate now use $(srcdir).
2321 * ldglda29k.sc: Change SEARCH_DIR commands to a conventional
2322 form; people can use the Makefile's LIB_PATH to override.
2323
8d317d2a
RP
2324Tue Oct 8 14:51:21 1991 Roland H. Pesch (pesch at cygnus.com)
2325
2326 * Makefile.in: fix target ld.dvi, add target ld.info
2327 ld.texinfo: make info filename ld.info
2328
558175fb
JG
2329Fri Oct 4 21:51:58 1991 John Gilmore (gnu at cygnus.com)
2330
2331 * Makefile.in: Avoid using $< in non-suffix rules (breaks on Sun
2332 Make).
2333 * ldfile.c, ldlang.c, ldmain.c, ldwrite.c: Cope with renames of a
2334 few BFD types & enums.
2335
This page took 0.510989 seconds and 4 git commands to generate.