1 Mon Oct 19 09:45:38 1992 Ian Lance Taylor (ian@cygnus.com)
3 * Support for i386-sysv.
4 configure.in: check for i386-*-sysv* and i386-*-sco*.
5 i386coff.sc-sh: rewrote to support SVR3 by default.
6 ldctor.c (find_constructors): preserve stat_ptr.
7 ldlang.c (wild_doit): initialize vma and size of new output
8 section to corresponding input section. This is required for
9 shared library support.
10 (lang_size_sections): don't modify vma and size of sections which
11 are never loaded (for shared libraries).
12 ldwrite.c (copy_and_relocate): copy the contents of any section
13 which has contents, not just sections which are loaded (for shared
16 Thu Oct 15 15:20:26 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18 * ldlang.c (size_input_section): count the sizes of all sections
21 Thu Oct 8 09:05:25 1992 Steve Chamberlain (sac@thepub.cygnus.com)
23 * ldmisc.c (demangle,vfinfo): use the new underscore in bfd to
24 to demangle symbols better
26 Tue Oct 6 13:08:54 1992 Ian Lance Taylor (ian@cygnus.com)
28 * ldlang.c (lang_finish): don't warn if -e start symbol does not
29 exist when linking with -r.
31 Mon Oct 5 14:07:37 1992 Ian Lance Taylor (ian@cygnus.com)
33 * aout.sc-sh, m68kcoff.sc-sh: set __bss_start to the start of the
36 Mon Oct 5 08:55:14 1992 Steve Chamberlain (sac@thepub.cygnus.com)
38 * ldmain.c (linear_library): don't even think about processing
39 an object file if it's already been done
41 Thu Oct 1 23:14:59 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
43 * configure.in: the hp9000/300 config file is now hp300
45 Wed Sep 30 07:34:09 1992 Steve Chamberlain (sac@thepub.cygnus.com)
47 * config/z8ksim.mt: new file
49 Fri Sep 25 13:49:52 1992 Ken Raeburn (raeburn@kyriath.cygnus.com)
51 * Makefile.in (ldexp.o, ldctor.o, ldlang.o, ldmain.o, ldwrite.o,
52 lexsup.o, mri.o, relax.o): Indicate dependence on ldgram.h.
54 * ld.h (strip_symbols_type): Add value STRIP_SOME.
55 * ldgram.y (OPTION_RETAIN_SYMBOLS_FILE): New terminal token.
56 * ldlang.c (lang_add_keepsyms_file): New function.
57 * ldlex.l: Handle "-retain-symbols-file".
58 * ldsym.c (keepsyms_file, kept_syms): New vars.
59 (process_keepsyms): New functihon; reads file, marks symbols for
61 (write_file_locals): File symbols should always be kept.
62 (ldsym_write): Warn about "-retain-symbols-file" overriding "-S"
63 and "-s". Process retain-symbols file before setting symtab.
64 * ldsym.h (SYM_KEEP): New flag for ldsym_type flags.
65 (keepsyms_file, kept_syms): Declare them.
67 * ldmain.c (main): Non-fatal errors should still cause non-zero
68 exit status even with -r.
70 Fri Sep 25 11:08:01 1992 Steve Chamberlain (sac@thepub.cygnus.com)
72 Added initial support for the z8k
73 * z8ksim.em, z8ksim.sc-sh, z8ksim.sh: new files
74 * configure.in, Makefile.in: modified to reflect above
76 * ldlang.c (lang_check): when linking conflicting architectures,
77 make the output file reflect at least one of the bad inputs.
79 Tue Sep 15 15:35:38 1992 Ian Lance Taylor (ian@cygnus.com)
81 * Makefile.in (install): if $(tooldir) exists, install ld in
84 Fri Sep 11 10:24:22 1992 Steve Chamberlain (sac@thepub.cygnus.com)
86 * Makefile.in, configure.in: modified to support i386-coff
87 * i386coff.sh: new file
89 Wed Sep 9 11:52:58 1992 Ian Lance Taylor (ian@cygnus.com)
91 * Makefile.in, m68kcoff.sh, m68kcoff.sc-sh, config/m68k-coff.mt:
92 added m68k-coff emulation mode, stolen from a29k emulation.
93 Almost certainly wrong, but perhaps better than sun3.
95 Thu Sep 3 14:19:30 1992 Per Bothner (bothner@rtl.cygnus.com)
97 * Makefile.in, Makefile.dos, generic.em, genscripts.sh,
98 gld960.em, h8300hms.em, h8300xray.em, lnk960.em, st2000.em,
99 vanilla.em: Rename all (generated) ld__*.c files to em_.c.
100 This is one character shorter, and lets people build on
101 SVR3 system. (ld__h8300xray.[co] was the killer there;
102 h8300xray.sc-sh is also overlong, but seems harmless.)
103 Based on a patch from Jonathan Ryshpan <hitachi!amito!jon>.
104 * Makefile.in (clean): Fix typo mostclean -> mostlyclean.
105 * configure.in: Add host isc.
107 * ldver.c: Call it version 2.0.
109 Wed Sep 2 00:21:33 1992 Per Bothner (bothner@rtl.cygnus.com)
111 * ldver.c: Bump to version 0.98.
114 * Makefile.in: Added mostlyclean, distclean, realclean rules.
116 Tue Sep 1 23:42:16 1992 Per Bothner (bothner@rtl.cygnus.com)
118 * ldmisc.c (xrealloc): New (needed by ../libiberty/cplus.dem.c).
119 * ldlex.l: Moved comment() to end, since some compilers
120 otherwise have problems with input() used before it is defined.
122 Tue Sep 1 17:45:51 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
124 * configure.in: added Solaris 2 and Irix 4 host support.
126 Mon Aug 31 19:27:11 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
128 * Makefile.in: remove -S flag from the FLEX definition
130 * configure.in: rewrote, using new style case statement. use
131 m68k.mt for m68k-aout systems
133 Sun Aug 30 21:38:53 1992 Ian Lance Taylor (ian@cygnus.com)
135 * Makefile.in: map "ld" through program_transform_name when
138 Sun Aug 30 18:12:13 1992 Per Bothner (bothner@rtl.cygnus.com)
140 * cplus-dem.c: Removed. Use the version in libiberty now.
141 * ldmisc.c: Use new libiberty version of cplus_demangle().
143 Thu Aug 27 16:38:42 1992 Ian Lance Taylor (ian@cygnus.com)
145 * gld960.em (gld960_choose_target): default to little endian, not
148 Wed Aug 26 17:28:51 1992 Steve Chamberlain (sac@thepub.cygnus.com)
150 * ldlang.c (lang_process): don't pass null pointers when
151 abs_output_section is what is required.
152 * ldwrite.c (ldwrite): use malloc to allocate the largest space
153 used, and pass that down.
154 * relax.c,relax.h (write_relaxnorel): use the passed malloc area rather
157 Mon Aug 24 14:42:06 1992 Ian Lance Taylor (ian@cygnus.com)
159 * configure.in, config/ose68.mt: renamed OSE to ose.
161 Thu Aug 20 19:55:22 1992 Ken Raeburn (raeburn@cygnus.com)
163 * ldsym.c (write_file_locals): Reorder check for common or
164 undefined symbols so that it works.
166 Tue Aug 18 13:41:36 1992 Ian Lance Taylor (ian@cygnus.com)
168 * configure.in: accept all m68K family members.
170 * Makefile.in: always create installation directories.
172 Thu Aug 13 11:49:34 1992 Steve Chamberlain (sac@thepub.cygnus.com)
174 * ldlex.l: now parses comment correctly, added ~ to acceptable
177 * ldexp.c (exp_unop): pass down abs_output_section - now can have
180 * ldlang.c (lang_finish): warn when an entry symbol supplied on
181 the command line can't be found.
183 Fri Aug 7 12:31:10 1992 Steve Chamberlain (sac@thepub.cygnus.com)
185 * ldlang.h: add new field "loadable" to output_section_statement.
186 * ldlang.c (lang_output_section_statement_lookup): initilize new
187 field. (wild_doit): if new field is not set, then stop output
188 section from being loadable.
189 (lang_enter_output_section_statement): set the field from the
191 * ldgram.y: new synax for NOLOAD. Removes a shift/reduce too.
192 * h8300hms.sc-sh, h8300hms.em: get -r right.
194 Thu Aug 6 18:35:21 1992 Per Bothner (bothner@rtl.cygnus.com)
196 * ldint.texinfo: New internals manual (beginnings thereof).
197 * PORTING: Removed, merged into ldint.texinfo.
199 Tue Aug 4 21:12:29 1992 Per Bothner (bothner@rtl.cygnus.com)
201 * cdtest-main.cc, cdtest-func.cc, cdtest-foo.h, cdtest-foo.cc,
202 cdtest.exp: A test program (copied from libg++/test-install)
203 that tests that constructor and destructors are handled
206 Mon Aug 3 14:58:19 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
208 * Makefile.in (install): install from ld.new, renaming during the
209 copy, or else the next 'make install' needs to re-link ld.
211 Mon Jul 20 03:37:06 1992 D. V. Henkel-Wallace (gumby@cygnus.com)
213 * configure.in: generalise hp recognition (from sef).
215 Sat Jul 18 14:46:04 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
217 * configure.in: recognize bsd and hpux hppa configurations.
218 error messages echo to stderr, not stdout
220 Fri Jul 17 22:06:11 1992 K. Richard Pixley (rich@rtl.cygnus.com)
222 * Makefile.dos, gld.1, ld.texinfo, ldemul.c, ldfile.c, ldlang.c,
223 ldmisc.c: removed rcsid's.
225 Tue Jul 14 08:34:34 1992 Steve Chamberlain (sac@thepub.cygnus.com)
227 * ldlang.c (lang_map): print changes in sizes due to relaxing
228 (size_input_section): maintain the delta information.
229 * ldlang.h: add new field to struct to contain delta info.
230 * relax.c (relax_section): complain if input not relaxable.
231 * ldlex.l : add '_', ',' and '$' to chars which can appear at the
234 Mon Jul 13 17:33:00 1992 Steve Chamberlain (sac@thepub.cygnus.com)
236 * ldmain.c(main): prevent -r and -relax from being on at the same
239 Wed Jul 1 17:51:19 1992 Steve Chamberlain (sac@thepub.cygnus.com)
241 * ldmain.c (Q_enter_global_ref), ldindr.c (add_indirect): fix for
245 Thu Jun 18 09:38:56 1992 Steve Chamberlain (sac@thepub.cygnus.com)
247 * h8300hms.em, h8300hms.sc-sh: do the right thing for -r
249 * ldlang.c(open_output): set the target arch and machine as soon
250 as we can. (lang_size_sections): use new macros for setting vma
253 Mon Jun 15 08:47:43 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
255 * configure.in (my_target): Accept m680?0 for wrs as vxworks68.
256 Also deleted an unreachable path to wrs.
258 Wed May 27 23:24:19 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
260 * Makefile.in (install): use -d test for $tooldir before
261 installing ld there so that $tooldir can be inherited from
264 Wed May 27 16:56:48 1992 Per Bothner (bothner@rtl.cygnus.com)
266 * ldlang.c: Two non-substantial changes for the sake of
267 the old Portable C Compiler.
269 Wed May 27 15:15:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
271 * ldgram.y, ldlex.l: parse ABSOLUTE
272 * ldexp.c: add support for ABSOLUTE
274 Wed May 27 13:07:20 1992 Per Bothner (bothner@rtl.cygnus.com)
276 * Makefile.in: Added default definitions for HOSTING_CRT0,
277 HOSTING_LIBS, and HOSTING_EMU, based on those in config/*.mh.
278 * config/*.mh: Miscellaneous clean-up: Removed definitions
279 of YACC (since it is not longer used in the Makefile).
280 Remove HOSTING_* definitions that are subsumed by the
281 ones added to Makefile.in. Removed most definitions of CC.
282 * config/{sparc,news,hp300bsd,decstation}.mh: Removed;
283 These are no longer needed.
285 Fri May 22 13:47:19 1992 Per Bothner (bothner@cygnus.com)
287 * Makefile.in: Use srcdir instead of VPATH in ldgram/ldlex
288 rules, since these are used when building a distribution.
289 * Makefile.in (ldlex.c): Don't re-direct output, since that
290 leaves a bogus output files if it fails.
292 * config/sparc.mh: Fix HOSTING_LIBS so it has a chance of working.
293 * ldlex.c: Fix some unnecessary flex-specific-isms.
295 Fri May 8 11:49:43 1992 Steve Chamberlain (sac@thepub.cygnus.com)
297 * ldgram.y: move spurious semicolon
298 * ldexp.h: fix prototype
300 Thu May 7 17:01:12 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
302 * ld.texinfo: references to linker now say "ld" not "gld".
304 Wed May 6 13:26:19 1992 Steve Chamberlain (sac@thepub.cygnus.com)
306 changed calling convention for Q_enter_global_ref
307 * ldexp.c, ldlang.c, ldmain.c: reflect this
308 * ldver.c: bump version to 1.97.1
309 * ldindr.c (add_indirect): when an edict declaring an indirect
310 symbol is found, make sure that any ideas about the symbol being
311 common are changed if it now known to be defined.
312 * ldmain.c (linear_library): complain once if archive isn't
314 * ldlang.h, ldlang.c: make room for and initialize the complain
317 Wed May 6 11:07:35 1992 K. Richard Pixley (rich@rtl.cygnus.com)
319 * Makefile.in: use flex & bison from ../ if they exist.
321 Tue May 5 17:47:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
323 * relax.c (build_it): don't allocate space in the output file for
324 stuff if -R flag applys to it.
325 * ldfile.c: merge in VMS filename support
326 * ldmain.c (main): take out ./ from library path, and close file
327 before unlinking. Make multiple defs of a symbol create an
329 * ldmisc.c: fatal errosrs delete output file
331 Tue May 5 14:05:05 1992 Per Bothner (bothner@rtl.cygnus.com)
333 * ldver.c: Increase version number to 1.97, for consistency
336 Tue May 5 12:12:24 1992 K. Richard Pixley (rich@cygnus.com)
338 * Makefile.in: FLEX -> LEX.
340 * ld.texinfo: {} -> @{@}.
342 Mon May 4 17:52:41 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
344 * ld.texinfo: describe alternate, MRI-compatible linker scripts
345 (and associated change in -c option, now used for these scripts)
347 Mon May 4 16:10:10 1992 Steve Chamberlain (sac@thepub.cygnus.com)
349 * ldver.c: Bumped version to 1.96 - new release, resync with the
351 * ldexp.c, ldlang.c: now build memory shape tree in obstacks
352 rather than with raw malloc, makes it easier to track where memory
354 * ldsym.h, ldsym.c: create obstack for all global symbols too.
355 * ldwrite.c (ldwrite): moved malloc so only used when needed.
356 * sa29200-sc.sh: added support for .lit, data1 and data2 sections.
359 Fri May 1 18:17:52 1992 K. Richard Pixley (rich@cygnus.com)
361 * config/sparc.mh: use ../gcc/libgcc.a on check if it exists.
363 * Makefile.in: use bootstrap for check.
365 Fri May 1 13:03:41 1992 Steve Chamberlain (sac@thepub.cygnus.com)
367 * ldgram.y, ldlex.c, mri.c: added more compatible words; BASE, ALIAS and
369 * Makefile.in: now use flex, not lex
370 * ldlex.l, ldlang.c, ldctor.c: lint
372 Wed Apr 22 12:48:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
374 * ldlex.l: added CMDFILENAMECHAR state so that you can lex
375 different sorts of filenames on the command line than in a script.
377 Mon Apr 20 22:37:04 1992 K. Richard Pixley (rich@rtl.cygnus.com)
379 * Makefile.in: rework CFLAGS so that they can be passed on the
380 make command line. Remove MINUS_G. Default CFLAGS to -g.
382 Fri Apr 17 08:57:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
384 * relax.c: added handling for new "padding" seclet type, used to
385 fill out gaps between section.
386 * ldgram.y, ldlex.l: now -defsym on the command line is done
389 Wed Apr 15 21:20:07 1992 K. Richard Pixley (rich@rtl.cygnus.com)
391 * Makefile.in: the tooldir copy of ld goes directly in tooldir.
393 Wed Apr 15 16:09:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
395 * mri.c, ldgram.y, ldlex.l: added support for minimal strange link
398 Thu Apr 9 05:52:02 1992 Ken Raeburn (Raeburn@Cygnus.COM)
400 * Makefile.in (install): Install second copy in $(tooldir)/bin
401 without $(program_prefix), since that's what gcc expects.
403 Sat Apr 4 17:44:06 1992 Steve Chamberlain (sac@thepub.cygnus.com)
405 * ldlex.l, ldgram.y, ldlex.h: Rewrote lexer. Now it's much nicer.
406 * h8300*: fix bit rot and add support for h8300xray target
407 * go32.sh: target emulation for go32.
409 Mon Mar 16 14:53:29 1992 Steve Chamberlain (sac@rtl.cygnus.com)
411 * gld960.em, i960.sc-sh. Fix i960 bit rot
413 Fri Mar 13 19:47:22 1992 K. Richard Pixley (rich@cygnus.com)
415 * Makefile.in: install man page.
417 Fri Mar 13 08:23:59 1992 Steve Chamberlain (sac@thepub.cygnus.com)
419 * config/mt-<foo> renamed to <foo>.mt
420 * config/mh-<foo> renamed to <foo>.mt
421 * configure.in changed to reflect this
422 * genscripts.sh now make .xbn files rather than .xN files
424 Sat Mar 7 03:40:40 1992 K. Richard Pixley (rich@cygnus.com)
426 * ldver.h: fix decl of ldversion.
428 Fri Mar 6 22:00:35 1992 K. Richard Pixley (rich@cygnus.com)
430 * Makefile.in: added check target.
432 Fri Mar 6 06:59:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
434 * ldmain.c (Q_enter_file_symbols): now aliases work again
436 Thu Mar 5 21:39:29 1992 K. Richard Pixley (rich@cygnus.com)
438 * Makefile.in: added clean-info target.
440 Thu Mar 5 16:55:56 1992 Steve Chamberlain (sac@thepub.cygnus.com)
442 * ldexp.c (exp_print_tree): don't try and follow null pointers
444 * ldgram.y: remove 11 shift reduce errors
446 Tue Mar 3 15:46:39 1992 K. Richard Pixley (rich@rtl.cygnus.com)
448 * Makefile.in: added tooldir and program_prefix.
450 Fri Feb 28 08:17:45 1992 Steve Chamberlain (sac at thepub.cygnus.com)
452 * ldlang.c (size_input_section): don't move absolute sections
456 Thu Feb 27 09:20:41 1992 Steve Chamberlain (sac at thepub.cygnus.com)
458 * cplus-dem.c: yet another copy of this - maybe it should go into
460 * ldgram.y: now -V and -v have different actions
461 * ldver.c: if -V, prints list of emulations compiled in
462 * ldmisc.c: support for cplus demangling
465 Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com)
467 * Makefile.in, configure.in: removed traces of namesubdir,
468 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
469 copyrights to '92, changed some from Cygnus to FSF.
471 Thu Feb 20 17:43:46 1992 Per Bothner (bothner at cygnus.com)
473 * Makefile.in: Change mkscript rule into one for ./mkscript
474 (for the sake of makes that don't realize they're the same).
475 * PORTING: Add more details.
476 * genscripts.sh: Add more tailorability of DATA_ALIGNMENT.
478 Mon Feb 17 12:04:36 1992 Per Bothner (bothner at cygnus.com)
480 * Makefile.in, and new files hp300bsd.sh, config/mh-hp300bsd,
481 config/mt-hp300bsd: New port to hp300 running BSD.
483 Sat Feb 15 13:59:54 1992 Per Bothner (bothner at cygnus.com)
485 Major rewrite of how ld is configured. The major idea
486 is to use shell scripts to generate everything.
487 * generic.em replaces ldtemplate.
488 * Other *.em files replace various *.c files.
489 A *.em file is a shell script that generates the corresponding
490 ld__*.c file that implements an emulation. This is usually
491 a straight 'cat' of a here-document, possibly with substitutions.
492 * Script files (*.sc) are places by *.sc-sh scripts.
493 Again, these are simple shell scripts that 'cat'
494 here-documents, usually with some substitutions.
495 The output a *.sc-sh is a script file.
496 * Each emulation is defined by a short shell script with
497 extension *.sh that specifies the emulation-specific
498 parameters (such as the name of the *.sh-sc and *.em
500 * genscript.sh is the master shell script used to generate
501 an emulation. It is passed various argument, including
502 the name a the emulation-speciic *.sh file that it
503 "sources" to set variables to emulation-specifc parameters.
504 * config/mt-foo: Changed EMUL=GLDFOO_EMULATION_NAME
505 to EMUL=foo. (The GLDFOO_EMULATION_NAMEs have bee removed.)
506 * config/mh-foo: Rename LDEMULATION names as appropriate
507 (usually 'gldfoo' -> plain 'foo').
508 * ldwrite.c: Fixed a typo in a comment.
509 * Makefile.in: Major changes. Removed some the sed
510 magic to converts scripts, since that is now handled
511 by genscripts.sh and the *.sc-sh scipt generators.
512 * config.h: Remove a bunch of macros defining emulations
513 and targets. This becomes one less file to edit when
514 adding emulations or targets.
515 * ldemul.h (struct ld_emulation_xfer_struct): Add
516 emulation_name and target_name fields.
517 * ldemul.c, ldemul.h: Define some default functions used
518 by most emulations (and remove from the *.em scripts).
519 * ldemul.c (ldemul_choose_target): Search the new
520 ld_emulations array using a loop (instead of a hardwired
521 nested if statement).
522 Define the ld_emulation from the automatically-geenrated
523 ldemul-list.h. This means you no longer have to edit ldemul.c
524 to add a new emulation.
525 * ldmain.c: Replace {GLD,LNK}960_EMULATION_NAME by
526 their expansions, since the former no longer exist.
527 * PORTING: A very rough first draft of a porting guide.
529 * ldgram.y, ldlex.l, lexsup.c: Changes to allow an assignment
530 to be terminated by a new-line (instead of requiring a semicolon).
532 Mon Feb 10 16:21:02 1992 Steve Chamberlain (sac at rtl.cygnus.com)
534 * ldexp.c, ldlang.c: added new idea "abs_output_section", removes
535 tests for NULL pointers all over the place.
536 * ldlang.c (lang_process): remember to relocate global symbols
537 *after* relaxing has done it stuff.
539 Thu Feb 6 11:40:15 1992 Steve Chamberlain (sac at rtl.cygnus.com)
541 * config/mt-coff-h8300: use EMUL like everything else
542 * ldlang.c: (print_padding_statement): print the right address.
543 * Makefile.in, config.h, ldemul.c: renamed h8300hds to h8300hms
546 Tue Feb 4 15:28:01 1992 Steve Chamberlain (sac at rtl.cygnus.com)
548 * ldlex.l: Put pack -noinhibit-exec and -sort-common
549 * ldlang.c (print_data_statement): print the right address.
551 Thu Jan 30 17:51:53 1992 Per Bothner (bothner at cygnus.com)
553 * Makefile.in: The rule for testing ld by re-linking itself
554 via an intermediate -r link was moved to the ld1 rule
555 instead of the ld2 rule. This allows ld2 and ld3 to be identical,
556 which allows the bootstrap rule to work.
557 * ldctor.c (find_constructors): Don't create a constructor
558 list if it is already defined (as would happen if ld is
561 Wed Jan 29 08:35:39 1992 Steve Chamberlain (sac at rtl.cygnus.com)
563 * config/mh-sparc.h: now uses libgcc.a
564 * ldmain.c: quit using exit
565 * *sc: use *(COMMON) rather than [COMMON]
566 * ldlex.l, lexsup.c: much thinking moved from .l and put into .c,
567 to allow preprocessing of .l file.
568 * Makefile.in: New ldlex.l mangling
569 * ldexp.c (fold_binary): perform expressions with % and / in
571 * ldfile.c (open_a): open archives on VMS in a special way
574 Tue Jan 28 10:18:16 1992 Steve Chamberlain (sac at rtl.cygnus.com)
576 * ldgram.y: map -M behave in the same way as -Map (sets file name
578 * ldsym.c, ldlang.c: remember that size of a section is dependent on
579 whether or not relaxing has been done.
580 * ldmain.c: don't open a map file if it doesn't have a name
581 * relax.c: all the brains have moved into bfd.
582 * ldwrite.c: ammend comment
584 Fri Jan 24 14:23:46 1992 Steve Chamberlain (sac at rtl.cygnus.com)
586 * Makefile.in: added relax, also made three stage go through a
589 * config.h: if GNU960 defined, then default emulation mode is
591 * ldexp.h, ldexp.c: map to file hooks
592 * ldlang.c: map to file hooks
593 * ldgram.y: added -Map -relax
594 * ldlex.l: added -relax, -Map
595 * ldmain.c: open map file
596 * ldmisc.c: support for map file
597 * ldwrite.c: new relax magic
599 Thu Dec 19 18:49:51 1991 John Gilmore (gnu at cygnus.com)
601 * Makefile.in, config/tm-*.h: Clean up make output, only
602 pass DEFAULT_EMULATION to ldmain.c.
604 Wed Dec 18 15:02:47 1991 Per Bothner (bothner at cygnus.com)
606 * ldver.c: Bump to version 1.94.
608 Tue Dec 10 04:07:23 1991 K. Richard Pixley (rich at rtl.cygnus.com)
610 * Makefile.in: infodir belongs in datadir.
612 Mon Dec 9 16:26:43 1991 Per Bothner (bothner at cygnus.com)
614 * Makefile.in: Pass -y to bison. (Again;
615 accidentally deleted by Rich.)
616 * news.sc, ldgld68k.sc: Define __end as well as _end.
618 Sat Dec 7 17:19:26 1991 Steve Chamberlain (sac at rtl.cygnus.com)
620 * ldindr.h: added to contain prototypes of ldindr.c
621 * ldfile.c: include ctype.h
622 * ldmain.c: include the requried prototype headers
623 * ldwrite.c: get_reloc_upper_bound has been renamed
624 bfd_get_reloc_upper_bound
626 Fri Dec 6 23:29:26 1991 K. Richard Pixley (rich at rtl.cygnus.com)
628 * Makefile.in: punt "fundamental" mode because it breaks my emacs
629 macros. install using INSTALL_PROGRAM and INSTALL_DATA. remove
630 spaces following hyphens, bsd make can't cope. added
631 standards.text support and made it look like all the other
634 * configure.in: configure now runs entirely in objdir so make file
635 existence checks against ${srcdir}. Mark this directory as
638 Thu Dec 5 22:46:16 1991 K. Richard Pixley (rich at rtl.cygnus.com)
640 * Makefile.in: idestdir and ddestdir go away. Added copyrights
641 and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
642 and mandir now keyed off datadir by default.
644 Wed Dec 4 23:36:55 1991 Per Bothner (bothner at cygnus.com)
646 * ldver.c: Bumped version to 1.93.
647 * Makefile.in: Pass -y to bison.
649 Mon Nov 25 18:28:40 1991 Steve Chamberlain (sac at cygnus.com)
651 * config.h: h8 is now coff, not ieee
652 * h8300hds.sc: reflect the same
654 Thu Nov 14 19:55:09 1991 Per Bothner (bothner at cygnus.com)
656 * ldver.c (ldversion()): Update to 1.92.
657 * ldctor.c: There are two places constructor sets
658 can be defined. One of them checked for an existing
659 duplicate, the other didn't. Unfortunately, the latter
660 was called after the former ...
661 So, factor out code for inserting a new element into
662 constructor_name_list (after checking for a duplicate)
663 into a new function add_constructor_name, and call
664 it from both aforementioned places (ldlang_add_constructor
665 and ldlang_check_for_constructors).
667 Wed Nov 13 15:17:43 1991 Per Bothner (bothner at cygnus.com)
669 * Makefile.in: Rename .c files generated from ldtemplate
670 to have names starting with ld__. This helps 'make clean'.
672 Tue Nov 12 18:36:50 1991 Steve Chamberlain (sac at cygnus.com)
674 * Makefile.in: Take out the version number for install
675 * m88kbcs.sc: put in contructor blocks.
677 Mon Nov 11 18:47:33 1991 Per Bothner (bothner at cygnus.com)
679 * ldmisc.c, ldmisc.h: Re-write info() to take a filename
680 parameter, a format, and an arg pointer, and rename it to
681 vfinfo(). Write info() in terms of new vfinfo().
682 New einfo() is the same as info(), except it writes to stderr.
683 * ldemul.c, ldexp.c, ldlang.c, ldlnk960.c, ldmain.c, ldwrite.c,
684 ldmisc.c: Replace "error" calls to info() by new einfo().
686 Mon Nov 11 09:57:32 1991 Steve Chamberlain (steve at cygnus.com)
688 * ldlex.l ldgram.y: made -V option do same as -v
689 * Makefile.in: Added $(MINUS_G) flag so debugging can be
692 Sun Nov 3 16:37:37 1991 Steve Chamberlain (steve at cygnus.com)
693 i386 aout changes from Bob Kukura
694 * Makefile.in, config.h: added i386aout support
695 * configure.in: fixed /h-{myhost} typo
696 * ldgram.y: -MM now gives more boring map.
697 * ldlang.c: now does D_PAGED flag the right way.
698 * ldsym.c: -MM flags does the right thing.
700 Sun Nov 3 15:00:03 1991 Per Bothner (bothner at cygnus.com)
702 * configure.in: Fixed typo. Also, a fix for hp300bsd.
703 * ldlang.c (init_os): Compensate for BFD change,
704 where bfd_make_section now returns NULL for a duplicate
705 section request, instead of the old section.
707 Thu Oct 17 15:27:13 1991 Per Bothner (bothner at cygnus.com)
709 * ldver.c: Bump to version 1.91 (consistent with binutils).
711 Wed Oct 16 12:27:08 1991 Per Bothner (bothner at cygnus.com)
713 * Makefile.in, config.h, ld.h, ldemul.c, ldexp.c, ldexp.h,
714 ldgram.y, ldlex.l, ldlnk960.c, ldmain.c, ldmisc.c, ldmisc.h,
715 ldsym.c, ldsym.h, ldtemplate, ldvanilla.c, ldver.c, ldver.h,
716 ldwarn.c, ldwarn.h, ldwrite.c, ldwrite.h, mkscript.c:
717 Add or update copyright notices.
719 Mon Oct 14 23:55:27 1991 Per Bothner (bothner at cygnus.com)
722 * Makefile.in: Changed installation directory name scheme
723 to be consistent with gcc. Also changed 'install'.
725 Mon Oct 14 17:30:02 1991 Roland H. Pesch (pesch at cygnus.com)
727 * Makefile.in: new targets ld.mm, ld.me
729 Mon Oct 14 17:27:24 1991 Per Bothner (bothner at cygnus.com)
731 * Makefile.in, ldtemplate: Need to use separate scripts
732 for -n and -N options. Yet more complication.
734 Fri Oct 11 22:40:46 1991 John Gilmore (gnu at cygnus.com)
736 * Makefile.in: Avoid using $< in explicit Make rules (it doesn't
737 work). Add some lines to avoid Sun Make VPATH bugs.
739 Fri Oct 11 16:42:22 1991 Per Bothner (bothner at cygnus.com)
741 * news.sc: Add alignment for data segment.
742 * ldtemplate: Add (yet another) script to get for -n or -N
743 options. (These need different alignment than ZMAGIC files.)
744 * Makefile.in: Add stuff for new foo.xn scripts.
745 These are generated by replacing "ALIGN(0x...00)" by ".".
747 Fri Oct 11 15:43:04 1991 Roland H. Pesch (pesch at cygnus.com)
749 * Makefile.in: new targets ld.ms, ld-index.ms
750 ld.texinfo: remove tabs, other cleanups for texi2roff
752 Fri Oct 11 13:51:54 1991 Per Bothner (bothner at cygnus.com)
754 * ldmain.c (main): Make config.magic_demand_paged be true
755 by default. Don't the WP_TEXT and D_PAGED flags of
756 output_bfd here; it's too late, so set it when output_bfd
757 is created (in ldlang.c). Also fix setting of EXEC_P flag
758 * ldlang.c (ldlang_open_output): Set output_bfd->flags here.
759 * ldlang.c: Remove some duplicate extern declarations.
760 * ldgram.y: Fixes to -N and -n options.
761 * Makefile.in: Recognize upper case letters in sed script
762 to remove assignments from script files.
763 * ldtemplate: Don't assukme that -N or -n options
764 imply use of -r script.
765 * mkscript.c: Tweaking to correctly handle \n and \\ in input.
767 Fri Oct 11 10:29:27 1991 Steve Chamberlain (steve at cygnus.com)
769 * ldtemplate: include bfd.h before sysdep.h.
771 Fri Oct 11 04:24:45 1991 John Gilmore (gnu at cygnus.com)
773 Restructure configuration scheme for bfd, binutils, ld.
775 * include/sys/h-*.h: Move to bfd/hosts/h-*.h.
776 * configure.in: Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h.
777 Change some config names to match other dirs.
778 * *.c: Include bfd.h before sysdep.h, so ansidecl and PROTO()
780 * config/: Rename some config files to match up h-*.h names.
781 Remove all the HOST_SYS definitions from the config files.
783 Tue Oct 8 16:00:57 1991 Per Bothner (bothner at cygnus.com)
785 * ldexp.h, ldlang.h: Change enum boolean -> enum bfd_boolean.
786 * ldtemplate: Remove ldfile_add_library_path calls;
787 just use the SEARCH_DIR commands in the script files.
788 * Makefile.in: Add LIB_PATH macro, which if set is used to replace
789 the SEARCH_DIR commands in the scripts (using ugly sed magic).
790 This is primarily intended for cross-linking, where you would
791 place libaries in a different place than native libraries.
792 Also, emulations made from ldtemplate now use $(srcdir).
793 * ldglda29k.sc: Change SEARCH_DIR commands to a conventional
794 form; people can use the Makefile's LIB_PATH to override.
796 Tue Oct 8 14:51:21 1991 Roland H. Pesch (pesch at cygnus.com)
798 * Makefile.in: fix target ld.dvi, add target ld.info
799 ld.texinfo: make info filename ld.info
801 Fri Oct 4 21:51:58 1991 John Gilmore (gnu at cygnus.com)
803 * Makefile.in: Avoid using $< in non-suffix rules (breaks on Sun
805 * ldfile.c, ldlang.c, ldmain.c, ldwrite.c: Cope with renames of a
806 few BFD types & enums.