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