Fri Jan 29 09:57:58 1993 Ian Lance Taylor (ian@cygnus.com)
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
8a3efe67
ILT
1Fri Jan 29 09:57:58 1993 Ian Lance Taylor (ian@cygnus.com)
2
3 * ldlex.l (COMMAND): Accept -EB and -EL command line arguments,
4 returning OPTION_EB and OPTION_EL. gcc passes these to a MIPS
5 linker.
6 * ldgram.y (OPTION_EB, OPTION_EL): New tokens.
7 (command_line_option): Accept and ignore OPTION_EB and OPTION_EL.
8
af6237a4
ILT
9Thu Jan 28 15:12:04 1993 Ian Lance Taylor (ian@cygnus.com)
10
11 * Makefile.in (install): Remove $(tooldir)/bin/gld before creating
12 the link to it.
13
8a045e50
ILT
14Tue Jan 26 11:49:50 1993 Ian Lance Taylor (ian@cygnus.com)
15
16 * ldmain.c, ldsym.c: Use new bfd_is_com_section macro rather than
17 checking for equality to bfd_com_section.
18
42b5c739
ILT
19Fri Jan 22 14:22:44 1993 Ian Lance Taylor (ian@cygnus.com)
20
21 * mips.sc-sh: New file. Ultrix, and hopefully other MIPS ECOFF
22 targets, linker script.
23 * mipslit.sh: New file. Little endian MIPS emulation.
24 * config/mips-lit.mt: New file. Use mipslit emulation.
25 * configure.in (mips-dec-ultrix*): Use target mips-lit.
26 * Makefile.in (ALL_EMULATIONS): Added em_mipslit.o.
27 (em_mipslit.c): New target. Uses mipslit.sh.
28
29Thu Jan 14 15:30:27 1993 Ian Lance Taylor (ian@cygnus.com)
30
31 * Makefile.in (install): Install ld as both $(tooldir)/bin/ld and
32 $(tooldir)/bin/gld, so that gcc can find it with or without
33 collect2.
34
ac496d4f
ILT
35Mon Jan 11 18:50:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
36
37 * ldwrite.c: Removed perform_relocation, copy_and_relocate, and
38 write_norel. All linking is now done via write_relax. Call
39 ldsym_write before calling write_relax.
40 * relax.c: Added copyright.
41 (write_relax): Renamed from write_relaxnorel. Added relocateable
42 argument. seclet_dump renamed to bfd_seclet_link.
43 * relax.h: Added copyright.
44
0550e9f4
SC
45Mon Jan 11 15:41:56 1993 Steve Chamberlain (sac@thepub.cygnus.com)
46
47 * ldmain.c (decode_library_subfile): Patch from
48 hoogen@shafer.cs.utah.edu, don't reread library symbol tables.
49
50Fri Jan 8 18:04:33 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
51
52 * config/vxworks960.mt renamed to config/i960.mt
53
54 * configure.in: sparc-aout emulates a sun4, as does
55 sparc*-vxworks, i960-nindy uses gld960 emulation
56
dadd414a
SC
57Fri Jan 8 14:39:07 1993 Steve Chamberlain (sac@thepub.cygnus.com)
58
59 Fix support for NOLOAD, add INCLUDE
60 * ldfile.c (ldfile_open_command_file): pass file name to
61 lex_push_file.
62 * ldlex.l, ldgram.y: tidy up, parse INCLUDE and NOLOAD
63 * ldlang.c (wild_doit): make output sections inherit NEVER_LOAD
64 attribute.
65
66Thu Jan 7 10:22:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
67
68 * Makefile.in, config.h: no more default emulation. Make the lack
69 of emulation a compile time error
70
71Wed Jan 6 01:08:37 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
72
73 * configure.in: recognise all sparclite variants, not just 'sparclite'
74
a70947c1
ILT
75Mon Dec 28 11:15:35 1992 Ian Lance Taylor (ian@cygnus.com)
76
77 * m68kcoff.sc-sh: define _end as well as end, for consistency with
78 aout.sc-sh.
79
80 * configure.in: accept *-ericsson-ose for any m68k CPU.
81
82 * ldwrite.c (write_rel): don't always set SEC_HAS_CONTENTS flag
83 for each output section.
84
086c5e37
PB
85Mon Dec 21 16:06:59 1992 Per Bothner (bothner@rtl.cygnus.com)
86
87 * ldexp.c, ldlang.c, ldmain.c, ldsym.c, ldwarn.c: Use new
88 macro bfd_asymbol_bfd as appropriate.
89 * Makefile.in: Un-duplicate ldlex.c dependency.
90 * condigure.in: Replace my_host case table by sourcing
91 ../bfd/configure.host. Allow std-host as the default.
92 * ldmisc.c: Change logic for C++ name demangling: There is
93 no initial '_' to remove from stab-derived function names.
94
95Sun Dec 13 16:31:26 1992 Steve Chamberlain (sac@thepub.cygnus.com)
96
97 * ldlang.c (lang_init_script_file): don't attach the output file
98 sections to the script file.
99
100Wed Dec 9 08:38:05 1992 Steve Chamberlain (sac@thepub.cygnus.com)
101 * ldlang.c (wild): run expansion loop over command line bfd too.
102 (lang_ini_script_file): initialize more parts of the command line
103 bfd.
104 * ldlex.l: fix DEFINED start states.
85e38cfa
SC
105Mon Dec 7 08:43:41 1992 Steve Chamberlain (sac@thepub.cygnus.com)
106 -y support
107 * ld.texinfo: new doc.
108 * ldgram.y, ldlex.l: understand -y<symbol>
109 * ldmain.c (Q_enter_file_symbols): if had -y, lookup symbol and
110 print info. (add_ysym): new function.
111 * ldsym.h: (ldsym_type): new define SYM_Y.
112
e20873a7
JG
113Sat Nov 21 03:15:27 1992 John Gilmore (gnu@cygnus.com)
114
115 * ldctor.h, lderror.h, ldexp.h, ldfile.h, ldindr.h, ldlang.c,
116 ldlang.h, ldlex.h, ldmain.h, ldmisc.h, ldsym.h, ldver.h, ldwarn.h,
117 ldwrite.h, relax.h: Replace all uses of EXFUN and PROTO ansi-glue
118 macros with PARAMS. Recreational cleanup. Update copyrights.
119
120Tue Nov 10 00:23:37 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
121
122 * Makefile.in: pass down the bfd source directory for includes
123
22292613
ILT
124Thu Nov 5 15:41:55 1992 Ian Lance Taylor (ian@cygnus.com)
125
126 * ldlang.c (lang_size_sections): don't change size and address for
127 SEC_SHARED_LIBRARY sections rather than for SEC_NEVER_LOAD
128 sections.
129
85c838d6
SC
130Thu Nov 5 11:33:57 1992 Steve Chamberlain (sac@thepub.cygnus.com)
131
132 * relax.c (build_it): re-enable the processing of data_statements
133 in scripts, makes counted contructor lists work again.
134
6e94236a
JG
135Thu Nov 5 05:43:01 1992 John Gilmore (gnu@cygnus.com)
136
137 * ldemul.h: Remove uses of SDEF and PROTO macros (use PARAMS).
138
139Tue Oct 20 10:56:06 1992 Ian Lance Taylor (ian@cygnus.com)
140
141 * m68kcoff.sc-sh: don't use initial underscores for etext, edata
142 and end.
143
e9b63852
ILT
144Mon Oct 19 09:45:38 1992 Ian Lance Taylor (ian@cygnus.com)
145
146 * Support for i386-sysv.
147 configure.in: check for i386-*-sysv* and i386-*-sco*.
148 i386coff.sc-sh: rewrote to support SVR3 by default.
149 ldctor.c (find_constructors): preserve stat_ptr.
150 ldlang.c (wild_doit): initialize vma and size of new output
151 section to corresponding input section. This is required for
152 shared library support.
153 (lang_size_sections): don't modify vma and size of sections which
154 are never loaded (for shared libraries).
155 ldwrite.c (copy_and_relocate): copy the contents of any section
156 which has contents, not just sections which are loaded (for shared
157 libraries).
158
ba2c2b1c
SC
159Thu Oct 15 15:20:26 1992 Steve Chamberlain (sac@thepub.cygnus.com)
160
161 * ldlang.c (size_input_section): count the sizes of all sections
162 we allocate.
163
a385b38f
SC
164Thu Oct 8 09:05:25 1992 Steve Chamberlain (sac@thepub.cygnus.com)
165
166 * ldmisc.c (demangle,vfinfo): use the new underscore in bfd to
167 to demangle symbols better
168
81150d34
ILT
169Tue Oct 6 13:08:54 1992 Ian Lance Taylor (ian@cygnus.com)
170
171 * ldlang.c (lang_finish): don't warn if -e start symbol does not
172 exist when linking with -r.
173
b5ddf942
ILT
174Mon Oct 5 14:07:37 1992 Ian Lance Taylor (ian@cygnus.com)
175
176 * aout.sc-sh, m68kcoff.sc-sh: set __bss_start to the start of the
177 .bss segment.
178
f3739bc3
SC
179Mon Oct 5 08:55:14 1992 Steve Chamberlain (sac@thepub.cygnus.com)
180
181 * ldmain.c (linear_library): don't even think about processing
182 an object file if it's already been done
183
184Thu Oct 1 23:14:59 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
185
186 * configure.in: the hp9000/300 config file is now hp300
187
ac0832f3
SC
188Wed Sep 30 07:34:09 1992 Steve Chamberlain (sac@thepub.cygnus.com)
189
190 * config/z8ksim.mt: new file
191
f3b36ecb
KR
192Fri Sep 25 13:49:52 1992 Ken Raeburn (raeburn@kyriath.cygnus.com)
193
194 * Makefile.in (ldexp.o, ldctor.o, ldlang.o, ldmain.o, ldwrite.o,
195 lexsup.o, mri.o, relax.o): Indicate dependence on ldgram.h.
196
197 * ld.h (strip_symbols_type): Add value STRIP_SOME.
198 * ldgram.y (OPTION_RETAIN_SYMBOLS_FILE): New terminal token.
ac0832f3 199 * ldlang.c (lang_add_keepsyms_file): New function.
f3b36ecb
KR
200 * ldlex.l: Handle "-retain-symbols-file".
201 * ldsym.c (keepsyms_file, kept_syms): New vars.
202 (process_keepsyms): New functihon; reads file, marks symbols for
203 saving.
204 (write_file_locals): File symbols should always be kept.
205 (ldsym_write): Warn about "-retain-symbols-file" overriding "-S"
206 and "-s". Process retain-symbols file before setting symtab.
207 * ldsym.h (SYM_KEEP): New flag for ldsym_type flags.
208 (keepsyms_file, kept_syms): Declare them.
209
210 * ldmain.c (main): Non-fatal errors should still cause non-zero
211 exit status even with -r.
212
22a78f0d
SC
213Fri Sep 25 11:08:01 1992 Steve Chamberlain (sac@thepub.cygnus.com)
214
215 Added initial support for the z8k
216 * z8ksim.em, z8ksim.sc-sh, z8ksim.sh: new files
217 * configure.in, Makefile.in: modified to reflect above
218
219 * ldlang.c (lang_check): when linking conflicting architectures,
220 make the output file reflect at least one of the bad inputs.
221
56409445
ILT
222Tue Sep 15 15:35:38 1992 Ian Lance Taylor (ian@cygnus.com)
223
224 * Makefile.in (install): if $(tooldir) exists, install ld in
225 $(tooldir)/bin.
226
99e6298a
SC
227Fri Sep 11 10:24:22 1992 Steve Chamberlain (sac@thepub.cygnus.com)
228
229 * Makefile.in, configure.in: modified to support i386-coff
230 * i386coff.sh: new file
231
ab57b174
ILT
232Wed Sep 9 11:52:58 1992 Ian Lance Taylor (ian@cygnus.com)
233
234 * Makefile.in, m68kcoff.sh, m68kcoff.sc-sh, config/m68k-coff.mt:
235 added m68k-coff emulation mode, stolen from a29k emulation.
236 Almost certainly wrong, but perhaps better than sun3.
237
8e71a984
PB
238Thu Sep 3 14:19:30 1992 Per Bothner (bothner@rtl.cygnus.com)
239
ab57b174
ILT
240 * Makefile.in, Makefile.dos, generic.em, genscripts.sh,
241 gld960.em, h8300hms.em, h8300xray.em, lnk960.em, st2000.em,
242 vanilla.em: Rename all (generated) ld__*.c files to em_.c.
243 This is one character shorter, and lets people build on
244 SVR3 system. (ld__h8300xray.[co] was the killer there;
245 h8300xray.sc-sh is also overlong, but seems harmless.)
246 Based on a patch from Jonathan Ryshpan <hitachi!amito!jon>.
247 * Makefile.in (clean): Fix typo mostclean -> mostlyclean.
248 * configure.in: Add host isc.
249
8e71a984
PB
250 * ldver.c: Call it version 2.0.
251
252Wed Sep 2 00:21:33 1992 Per Bothner (bothner@rtl.cygnus.com)
253
254 * ldver.c: Bump to version 0.98.
255 * TODO: New file.
256
257 * Makefile.in: Added mostlyclean, distclean, realclean rules.
258
c52bdfec
PB
259Tue Sep 1 23:42:16 1992 Per Bothner (bothner@rtl.cygnus.com)
260
261 * ldmisc.c (xrealloc): New (needed by ../libiberty/cplus.dem.c).
262 * ldlex.l: Moved comment() to end, since some compilers
263 otherwise have problems with input() used before it is defined.
264
2df68136
DZ
265Tue Sep 1 17:45:51 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
266
267 * configure.in: added Solaris 2 and Irix 4 host support.
268
269Mon Aug 31 19:27:11 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
270
271 * Makefile.in: remove -S flag from the FLEX definition
272
273 * configure.in: rewrote, using new style case statement. use
274 m68k.mt for m68k-aout systems
275
0bb95ac8
ILT
276Sun Aug 30 21:38:53 1992 Ian Lance Taylor (ian@cygnus.com)
277
278 * Makefile.in: map "ld" through program_transform_name when
279 installing.
280
fe2b6209
PB
281Sun Aug 30 18:12:13 1992 Per Bothner (bothner@rtl.cygnus.com)
282
283 * cplus-dem.c: Removed. Use the version in libiberty now.
284 * ldmisc.c: Use new libiberty version of cplus_demangle().
285
94cc1ee7
ILT
286Thu Aug 27 16:38:42 1992 Ian Lance Taylor (ian@cygnus.com)
287
5f2d9799
ILT
288 * gld960.em (gld960_choose_target): default to little endian, not
289 big endian.
94cc1ee7 290
cd1d8c6d
SC
291Wed Aug 26 17:28:51 1992 Steve Chamberlain (sac@thepub.cygnus.com)
292
293 * ldlang.c (lang_process): don't pass null pointers when
294 abs_output_section is what is required.
295 * ldwrite.c (ldwrite): use malloc to allocate the largest space
296 used, and pass that down.
297 * relax.c,relax.h (write_relaxnorel): use the passed malloc area rather
298 than alloca.
299
afba2b22
ILT
300Mon Aug 24 14:42:06 1992 Ian Lance Taylor (ian@cygnus.com)
301
302 * configure.in, config/ose68.mt: renamed OSE to ose.
303
571c4c26
KR
304Thu Aug 20 19:55:22 1992 Ken Raeburn (raeburn@cygnus.com)
305
306 * ldsym.c (write_file_locals): Reorder check for common or
307 undefined symbols so that it works.
308
b189e892
ILT
309Tue Aug 18 13:41:36 1992 Ian Lance Taylor (ian@cygnus.com)
310
311 * configure.in: accept all m68K family members.
312
313 * Makefile.in: always create installation directories.
314
6bf2e3a7
SC
315Thu Aug 13 11:49:34 1992 Steve Chamberlain (sac@thepub.cygnus.com)
316
317 * ldlex.l: now parses comment correctly, added ~ to acceptable
318 chars in filenames
319
320 * ldexp.c (exp_unop): pass down abs_output_section - now can have
321 unary -ve constants.
322
323 * ldlang.c (lang_finish): warn when an entry symbol supplied on
324 the command line can't be found.
325
ae475b39
SC
326Fri Aug 7 12:31:10 1992 Steve Chamberlain (sac@thepub.cygnus.com)
327
328 * ldlang.h: add new field "loadable" to output_section_statement.
329 * ldlang.c (lang_output_section_statement_lookup): initilize new
330 field. (wild_doit): if new field is not set, then stop output
331 section from being loadable.
332 (lang_enter_output_section_statement): set the field from the
333 NOLOAD keyword
334 * ldgram.y: new synax for NOLOAD. Removes a shift/reduce too.
335 * h8300hms.sc-sh, h8300hms.em: get -r right.
336
4b91c519
PB
337Thu Aug 6 18:35:21 1992 Per Bothner (bothner@rtl.cygnus.com)
338
339 * ldint.texinfo: New internals manual (beginnings thereof).
340 * PORTING: Removed, merged into ldint.texinfo.
341
917bffa7
PB
342Tue Aug 4 21:12:29 1992 Per Bothner (bothner@rtl.cygnus.com)
343
344 * cdtest-main.cc, cdtest-func.cc, cdtest-foo.h, cdtest-foo.cc,
345 cdtest.exp: A test program (copied from libg++/test-install)
346 that tests that constructor and destructors are handled
347 corrrectly.
348
b40f9c73
DZ
349Mon Aug 3 14:58:19 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
350
351 * Makefile.in (install): install from ld.new, renaming during the
352 copy, or else the next 'make install' needs to re-link ld.
353
354Mon Jul 20 03:37:06 1992 D. V. Henkel-Wallace (gumby@cygnus.com)
355
356 * configure.in: generalise hp recognition (from sef).
357
358Sat Jul 18 14:46:04 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
359
360 * configure.in: recognize bsd and hpux hppa configurations.
361 error messages echo to stderr, not stdout
362
ec467c83
RP
363Fri Jul 17 22:06:11 1992 K. Richard Pixley (rich@rtl.cygnus.com)
364
365 * Makefile.dos, gld.1, ld.texinfo, ldemul.c, ldfile.c, ldlang.c,
366 ldmisc.c: removed rcsid's.
367
67cddd9f
SC
368Tue Jul 14 08:34:34 1992 Steve Chamberlain (sac@thepub.cygnus.com)
369
370 * ldlang.c (lang_map): print changes in sizes due to relaxing
371 (size_input_section): maintain the delta information.
372 * ldlang.h: add new field to struct to contain delta info.
373 * relax.c (relax_section): complain if input not relaxable.
374 * ldlex.l : add '_', ',' and '$' to chars which can appear at the
375 start of a filename
376
f7c76897
SC
377Mon Jul 13 17:33:00 1992 Steve Chamberlain (sac@thepub.cygnus.com)
378
379 * ldmain.c(main): prevent -r and -relax from being on at the same
380 time.
381
28b6b1ab
SC
382Wed Jul 1 17:51:19 1992 Steve Chamberlain (sac@thepub.cygnus.com)
383
384 * ldmain.c (Q_enter_global_ref), ldindr.c (add_indirect): fix for
385 aliasing problems
386
387
30d1a390
SC
388Thu Jun 18 09:38:56 1992 Steve Chamberlain (sac@thepub.cygnus.com)
389
390 * h8300hms.em, h8300hms.sc-sh: do the right thing for -r
391 * ldexp.c: lint
392 * ldlang.c(open_output): set the target arch and machine as soon
393 as we can. (lang_size_sections): use new macros for setting vma
394 * ldwrite.c: lint
395
5bdf878e
MT
396Mon Jun 15 08:47:43 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
397
398 * configure.in (my_target): Accept m680?0 for wrs as vxworks68.
399 Also deleted an unreachable path to wrs.
400
401Wed May 27 23:24:19 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
402
403 * Makefile.in (install): use -d test for $tooldir before
404 installing ld there so that $tooldir can be inherited from
405 top-level Makefile.
406
407Wed May 27 16:56:48 1992 Per Bothner (bothner@rtl.cygnus.com)
408
409 * ldlang.c: Two non-substantial changes for the sake of
410 the old Portable C Compiler.
411
5e81edb2
SC
412Wed May 27 15:15:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
413
414 * ldgram.y, ldlex.l: parse ABSOLUTE
415 * ldexp.c: add support for ABSOLUTE
416
7aacc9cc
PB
417Wed May 27 13:07:20 1992 Per Bothner (bothner@rtl.cygnus.com)
418
419 * Makefile.in: Added default definitions for HOSTING_CRT0,
420 HOSTING_LIBS, and HOSTING_EMU, based on those in config/*.mh.
421 * config/*.mh: Miscellaneous clean-up: Removed definitions
422 of YACC (since it is not longer used in the Makefile).
423 Remove HOSTING_* definitions that are subsumed by the
424 ones added to Makefile.in. Removed most definitions of CC.
425 * config/{sparc,news,hp300bsd,decstation}.mh: Removed;
426 These are no longer needed.
427
91e25b4f
PB
428Fri May 22 13:47:19 1992 Per Bothner (bothner@cygnus.com)
429
5ff21fa5
PB
430 * Makefile.in: Use srcdir instead of VPATH in ldgram/ldlex
431 rules, since these are used when building a distribution.
432 * Makefile.in (ldlex.c): Don't re-direct output, since that
433 leaves a bogus output files if it fails.
434
91e25b4f
PB
435 * config/sparc.mh: Fix HOSTING_LIBS so it has a chance of working.
436 * ldlex.c: Fix some unnecessary flex-specific-isms.
437
438Fri May 8 11:49:43 1992 Steve Chamberlain (sac@thepub.cygnus.com)
439
440 * ldgram.y: move spurious semicolon
441 * ldexp.h: fix prototype
442
82d1666a
RP
443Thu May 7 17:01:12 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
444
445 * ld.texinfo: references to linker now say "ld" not "gld".
446
32846f9c
SC
447Wed May 6 13:26:19 1992 Steve Chamberlain (sac@thepub.cygnus.com)
448
449 changed calling convention for Q_enter_global_ref
450 * ldexp.c, ldlang.c, ldmain.c: reflect this
451 * ldver.c: bump version to 1.97.1
452 * ldindr.c (add_indirect): when an edict declaring an indirect
453 symbol is found, make sure that any ideas about the symbol being
454 common are changed if it now known to be defined.
455 * ldmain.c (linear_library): complain once if archive isn't
456 ranlibbed.
457 * ldlang.h, ldlang.c: make room for and initialize the complain
458 once field.
459
bf3acf44
RP
460Wed May 6 11:07:35 1992 K. Richard Pixley (rich@rtl.cygnus.com)
461
462 * Makefile.in: use flex & bison from ../ if they exist.
463
9c99a57e
SC
464Tue May 5 17:47:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
465
466 * relax.c (build_it): don't allocate space in the output file for
467 stuff if -R flag applys to it.
7153b2ff
SC
468 * ldfile.c: merge in VMS filename support
469 * ldmain.c (main): take out ./ from library path, and close file
470 before unlinking. Make multiple defs of a symbol create an
471 unexecable file.
472 * ldmisc.c: fatal errosrs delete output file
9c99a57e 473
98377f31
PB
474Tue May 5 14:05:05 1992 Per Bothner (bothner@rtl.cygnus.com)
475
476 * ldver.c: Increase version number to 1.97, for consistency
477 with ../binutils.
478
3f350eda
RP
479Tue May 5 12:12:24 1992 K. Richard Pixley (rich@cygnus.com)
480
813da1a5
RP
481 * Makefile.in: FLEX -> LEX.
482
3f350eda
RP
483 * ld.texinfo: {} -> @{@}.
484
e0047d49
RP
485Mon May 4 17:52:41 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
486
487 * ld.texinfo: describe alternate, MRI-compatible linker scripts
488 (and associated change in -c option, now used for these scripts)
489
bfbdc80f
SC
490Mon May 4 16:10:10 1992 Steve Chamberlain (sac@thepub.cygnus.com)
491
492 * ldver.c: Bumped version to 1.96 - new release, resync with the
493 bfd too #.
494 * ldexp.c, ldlang.c: now build memory shape tree in obstacks
495 rather than with raw malloc, makes it easier to track where memory
496 is going.
497 * ldsym.h, ldsym.c: create obstack for all global symbols too.
498 * ldwrite.c (ldwrite): moved malloc so only used when needed.
499 * sa29200-sc.sh: added support for .lit, data1 and data2 sections.
500
501
d3451fe8
RP
502Fri May 1 18:17:52 1992 K. Richard Pixley (rich@cygnus.com)
503
504 * config/sparc.mh: use ../gcc/libgcc.a on check if it exists.
505
506 * Makefile.in: use bootstrap for check.
507
dc4726c2
SC
508Fri May 1 13:03:41 1992 Steve Chamberlain (sac@thepub.cygnus.com)
509
e14a43bf
SC
510 * ldgram.y, ldlex.c, mri.c: added more compatible words; BASE, ALIAS and
511 PUBLIC.
512 * Makefile.in: now use flex, not lex
dc4726c2
SC
513 * ldlex.l, ldlang.c, ldctor.c: lint
514
ee0c4cf7
SC
515Wed Apr 22 12:48:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
516
517 * ldlex.l: added CMDFILENAMECHAR state so that you can lex
518 different sorts of filenames on the command line than in a script.
519
77b19d3d
RP
520Mon Apr 20 22:37:04 1992 K. Richard Pixley (rich@rtl.cygnus.com)
521
522 * Makefile.in: rework CFLAGS so that they can be passed on the
523 make command line. Remove MINUS_G. Default CFLAGS to -g.
524
119afd7b
RP
525Fri Apr 17 08:57:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
526
527 * relax.c: added handling for new "padding" seclet type, used to
528 fill out gaps between section.
529 * ldgram.y, ldlex.l: now -defsym on the command line is done
530 properly.
531
532Wed Apr 15 21:20:07 1992 K. Richard Pixley (rich@rtl.cygnus.com)
533
534 * Makefile.in: the tooldir copy of ld goes directly in tooldir.
535
2e38b71d
SC
536Wed Apr 15 16:09:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
537
538 * mri.c, ldgram.y, ldlex.l: added support for minimal strange link
539 scripts.
540
1900f884
KR
541Thu Apr 9 05:52:02 1992 Ken Raeburn (Raeburn@Cygnus.COM)
542
543 * Makefile.in (install): Install second copy in $(tooldir)/bin
544 without $(program_prefix), since that's what gcc expects.
545
9d1fe8a4
SC
546Sat Apr 4 17:44:06 1992 Steve Chamberlain (sac@thepub.cygnus.com)
547
548 * ldlex.l, ldgram.y, ldlex.h: Rewrote lexer. Now it's much nicer.
549 * h8300*: fix bit rot and add support for h8300xray target
550 * go32.sh: target emulation for go32.
551
9d1fe8a4
SC
552Mon Mar 16 14:53:29 1992 Steve Chamberlain (sac@rtl.cygnus.com)
553
554 * gld960.em, i960.sc-sh. Fix i960 bit rot
555
f0280cd2
RP
556Fri Mar 13 19:47:22 1992 K. Richard Pixley (rich@cygnus.com)
557
558 * Makefile.in: install man page.
559
12fa72d4
SC
560Fri Mar 13 08:23:59 1992 Steve Chamberlain (sac@thepub.cygnus.com)
561
562 * config/mt-<foo> renamed to <foo>.mt
563 * config/mh-<foo> renamed to <foo>.mt
564 * configure.in changed to reflect this
565 * genscripts.sh now make .xbn files rather than .xN files
566
567Sat Mar 7 03:40:40 1992 K. Richard Pixley (rich@cygnus.com)
568
569 * ldver.h: fix decl of ldversion.
570
571Fri Mar 6 22:00:35 1992 K. Richard Pixley (rich@cygnus.com)
572
573 * Makefile.in: added check target.
574
fe563ffe
SC
575Fri Mar 6 06:59:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
576
577 * ldmain.c (Q_enter_file_symbols): now aliases work again
578
12fa72d4
SC
579Thu Mar 5 21:39:29 1992 K. Richard Pixley (rich@cygnus.com)
580
581 * Makefile.in: added clean-info target.
582
fe563ffe
SC
583Thu Mar 5 16:55:56 1992 Steve Chamberlain (sac@thepub.cygnus.com)
584
585 * ldexp.c (exp_print_tree): don't try and follow null pointers
586 around.
587 * ldgram.y: remove 11 shift reduce errors
d2861901 588
12fa72d4
SC
589Tue Mar 3 15:46:39 1992 K. Richard Pixley (rich@rtl.cygnus.com)
590
591 * Makefile.in: added tooldir and program_prefix.
592
fe563ffe
SC
593Fri Feb 28 08:17:45 1992 Steve Chamberlain (sac at thepub.cygnus.com)
594
595 * ldlang.c (size_input_section): don't move absolute sections
596 around!
597
598
599Thu Feb 27 09:20:41 1992 Steve Chamberlain (sac at thepub.cygnus.com)
600
d2861901
SC
601 * cplus-dem.c: yet another copy of this - maybe it should go into
602 libiberty ?
603 * ldgram.y: now -V and -v have different actions
604 * ldver.c: if -V, prints list of emulations compiled in
605 * ldmisc.c: support for cplus demangling
606
607
12fa72d4
SC
608Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com)
609
610 * Makefile.in, configure.in: removed traces of namesubdir,
611 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
612 copyrights to '92, changed some from Cygnus to FSF.
613
d2861901
SC
614Thu Feb 20 17:43:46 1992 Per Bothner (bothner at cygnus.com)
615
616 * Makefile.in: Change mkscript rule into one for ./mkscript
617 (for the sake of makes that don't realize they're the same).
618 * PORTING: Add more details.
619 * genscripts.sh: Add more tailorability of DATA_ALIGNMENT.
620
1584d069
PB
621Mon Feb 17 12:04:36 1992 Per Bothner (bothner at cygnus.com)
622
623 * Makefile.in, and new files hp300bsd.sh, config/mh-hp300bsd,
624 config/mt-hp300bsd: New port to hp300 running BSD.
625
7e5c1057
PB
626Sat Feb 15 13:59:54 1992 Per Bothner (bothner at cygnus.com)
627
628 Major rewrite of how ld is configured. The major idea
629 is to use shell scripts to generate everything.
630 * generic.em replaces ldtemplate.
631 * Other *.em files replace various *.c files.
632 A *.em file is a shell script that generates the corresponding
633 ld__*.c file that implements an emulation. This is usually
634 a straight 'cat' of a here-document, possibly with substitutions.
635 * Script files (*.sc) are places by *.sc-sh scripts.
636 Again, these are simple shell scripts that 'cat'
637 here-documents, usually with some substitutions.
638 The output a *.sc-sh is a script file.
639 * Each emulation is defined by a short shell script with
640 extension *.sh that specifies the emulation-specific
641 parameters (such as the name of the *.sh-sc and *.em
642 files to use).
643 * genscript.sh is the master shell script used to generate
644 an emulation. It is passed various argument, including
645 the name a the emulation-speciic *.sh file that it
646 "sources" to set variables to emulation-specifc parameters.
647 * config/mt-foo: Changed EMUL=GLDFOO_EMULATION_NAME
648 to EMUL=foo. (The GLDFOO_EMULATION_NAMEs have bee removed.)
649 * config/mh-foo: Rename LDEMULATION names as appropriate
650 (usually 'gldfoo' -> plain 'foo').
651 * ldwrite.c: Fixed a typo in a comment.
652 * Makefile.in: Major changes. Removed some the sed
653 magic to converts scripts, since that is now handled
654 by genscripts.sh and the *.sc-sh scipt generators.
655 * config.h: Remove a bunch of macros defining emulations
656 and targets. This becomes one less file to edit when
657 adding emulations or targets.
658 * ldemul.h (struct ld_emulation_xfer_struct): Add
659 emulation_name and target_name fields.
660 * ldemul.c, ldemul.h: Define some default functions used
661 by most emulations (and remove from the *.em scripts).
662 * ldemul.c (ldemul_choose_target): Search the new
663 ld_emulations array using a loop (instead of a hardwired
664 nested if statement).
665 Define the ld_emulation from the automatically-geenrated
666 ldemul-list.h. This means you no longer have to edit ldemul.c
667 to add a new emulation.
668 * ldmain.c: Replace {GLD,LNK}960_EMULATION_NAME by
669 their expansions, since the former no longer exist.
670 * PORTING: A very rough first draft of a porting guide.
671
672 * ldgram.y, ldlex.l, lexsup.c: Changes to allow an assignment
673 to be terminated by a new-line (instead of requiring a semicolon).
674
675Mon Feb 10 16:21:02 1992 Steve Chamberlain (sac at rtl.cygnus.com)
676
677 * ldexp.c, ldlang.c: added new idea "abs_output_section", removes
678 tests for NULL pointers all over the place.
679 * ldlang.c (lang_process): remember to relocate global symbols
680 *after* relaxing has done it stuff.
681
682Thu Feb 6 11:40:15 1992 Steve Chamberlain (sac at rtl.cygnus.com)
683
684 * config/mt-coff-h8300: use EMUL like everything else
685 * ldlang.c: (print_padding_statement): print the right address.
686 * Makefile.in, config.h, ldemul.c: renamed h8300hds to h8300hms
687
688
aa34a7c3
SC
689Tue Feb 4 15:28:01 1992 Steve Chamberlain (sac at rtl.cygnus.com)
690
691 * ldlex.l: Put pack -noinhibit-exec and -sort-common
692 * ldlang.c (print_data_statement): print the right address.
693
694Thu Jan 30 17:51:53 1992 Per Bothner (bothner at cygnus.com)
695
696 * Makefile.in: The rule for testing ld by re-linking itself
697 via an intermediate -r link was moved to the ld1 rule
698 instead of the ld2 rule. This allows ld2 and ld3 to be identical,
699 which allows the bootstrap rule to work.
700 * ldctor.c (find_constructors): Don't create a constructor
701 list if it is already defined (as would happen if ld is
702 invoked by collect).
703
cbbdbb9f
SC
704Wed Jan 29 08:35:39 1992 Steve Chamberlain (sac at rtl.cygnus.com)
705
706 * config/mh-sparc.h: now uses libgcc.a
707 * ldmain.c: quit using exit
708 * *sc: use *(COMMON) rather than [COMMON]
709 * ldlex.l, lexsup.c: much thinking moved from .l and put into .c,
710 to allow preprocessing of .l file.
711 * Makefile.in: New ldlex.l mangling
712 * ldexp.c (fold_binary): perform expressions with % and / in
713 integer.
714 * ldfile.c (open_a): open archives on VMS in a special way
715
716
870f54b2
SC
717Tue Jan 28 10:18:16 1992 Steve Chamberlain (sac at rtl.cygnus.com)
718
719 * ldgram.y: map -M behave in the same way as -Map (sets file name
720 to be "-".
721 * ldsym.c, ldlang.c: remember that size of a section is dependent on
722 whether or not relaxing has been done.
723 * ldmain.c: don't open a map file if it doesn't have a name
724 * relax.c: all the brains have moved into bfd.
725 * ldwrite.c: ammend comment
726
2e2bf962
SC
727Fri Jan 24 14:23:46 1992 Steve Chamberlain (sac at rtl.cygnus.com)
728
729 * Makefile.in: added relax, also made three stage go through a
730 partial link stage.
731 * relax.c : added
732 * config.h: if GNU960 defined, then default emulation mode is
733 GLD960
734 * ldexp.h, ldexp.c: map to file hooks
735 * ldlang.c: map to file hooks
736 * ldgram.y: added -Map -relax
737 * ldlex.l: added -relax, -Map
738 * ldmain.c: open map file
739 * ldmisc.c: support for map file
740 * ldwrite.c: new relax magic
741
742Thu Dec 19 18:49:51 1991 John Gilmore (gnu at cygnus.com)
743
744 * Makefile.in, config/tm-*.h: Clean up make output, only
745 pass DEFAULT_EMULATION to ldmain.c.
746
747Wed Dec 18 15:02:47 1991 Per Bothner (bothner at cygnus.com)
748
749 * ldver.c: Bump to version 1.94.
750
751Tue Dec 10 04:07:23 1991 K. Richard Pixley (rich at rtl.cygnus.com)
752
753 * Makefile.in: infodir belongs in datadir.
754
e06ba18d
PB
755Mon Dec 9 16:26:43 1991 Per Bothner (bothner at cygnus.com)
756
757 * Makefile.in: Pass -y to bison. (Again;
758 accidentally deleted by Rich.)
759 * news.sc, ldgld68k.sc: Define __end as well as _end.
760
761Sat Dec 7 17:19:26 1991 Steve Chamberlain (sac at rtl.cygnus.com)
762
763 * ldindr.h: added to contain prototypes of ldindr.c
764 * ldfile.c: include ctype.h
765 * ldmain.c: include the requried prototype headers
766 * ldwrite.c: get_reloc_upper_bound has been renamed
767 bfd_get_reloc_upper_bound
768
818a192a
RP
769Fri Dec 6 23:29:26 1991 K. Richard Pixley (rich at rtl.cygnus.com)
770
771 * Makefile.in: punt "fundamental" mode because it breaks my emacs
772 macros. install using INSTALL_PROGRAM and INSTALL_DATA. remove
773 spaces following hyphens, bsd make can't cope. added
774 standards.text support and made it look like all the other
775 makefiles.
776
777 * configure.in: configure now runs entirely in objdir so make file
778 existence checks against ${srcdir}. Mark this directory as
779 target dependent.
780
781Thu Dec 5 22:46:16 1991 K. Richard Pixley (rich at rtl.cygnus.com)
782
783 * Makefile.in: idestdir and ddestdir go away. Added copyrights
784 and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
785 and mandir now keyed off datadir by default.
786
787Wed Dec 4 23:36:55 1991 Per Bothner (bothner at cygnus.com)
788
789 * ldver.c: Bumped version to 1.93.
790 * Makefile.in: Pass -y to bison.
791
792Mon Nov 25 18:28:40 1991 Steve Chamberlain (sac at cygnus.com)
793
794 * config.h: h8 is now coff, not ieee
795 * h8300hds.sc: reflect the same
796
797Thu Nov 14 19:55:09 1991 Per Bothner (bothner at cygnus.com)
798
799 * ldver.c (ldversion()): Update to 1.92.
800 * ldctor.c: There are two places constructor sets
801 can be defined. One of them checked for an existing
802 duplicate, the other didn't. Unfortunately, the latter
803 was called after the former ...
804 So, factor out code for inserting a new element into
805 constructor_name_list (after checking for a duplicate)
806 into a new function add_constructor_name, and call
807 it from both aforementioned places (ldlang_add_constructor
808 and ldlang_check_for_constructors).
809
810Wed Nov 13 15:17:43 1991 Per Bothner (bothner at cygnus.com)
811
812 * Makefile.in: Rename .c files generated from ldtemplate
813 to have names starting with ld__. This helps 'make clean'.
814
092df318
SC
815Tue Nov 12 18:36:50 1991 Steve Chamberlain (sac at cygnus.com)
816
817 * Makefile.in: Take out the version number for install
818 * m88kbcs.sc: put in contructor blocks.
819
1c9e4b15
PB
820Mon Nov 11 18:47:33 1991 Per Bothner (bothner at cygnus.com)
821
822 * ldmisc.c, ldmisc.h: Re-write info() to take a filename
823 parameter, a format, and an arg pointer, and rename it to
824 vfinfo(). Write info() in terms of new vfinfo().
825 New einfo() is the same as info(), except it writes to stderr.
826 * ldemul.c, ldexp.c, ldlang.c, ldlnk960.c, ldmain.c, ldwrite.c,
827 ldmisc.c: Replace "error" calls to info() by new einfo().
828
550e87b5
SC
829Mon Nov 11 09:57:32 1991 Steve Chamberlain (steve at cygnus.com)
830
831 * ldlex.l ldgram.y: made -V option do same as -v
832 * Makefile.in: Added $(MINUS_G) flag so debugging can be
833 turned off
834
835Sun Nov 3 16:37:37 1991 Steve Chamberlain (steve at cygnus.com)
836 i386 aout changes from Bob Kukura
837 * Makefile.in, config.h: added i386aout support
838 * configure.in: fixed /h-{myhost} typo
839 * ldgram.y: -MM now gives more boring map.
840 * ldlang.c: now does D_PAGED flag the right way.
841 * ldsym.c: -MM flags does the right thing.
842
aeedc30e
PB
843Sun Nov 3 15:00:03 1991 Per Bothner (bothner at cygnus.com)
844
845 * configure.in: Fixed typo. Also, a fix for hp300bsd.
846 * ldlang.c (init_os): Compensate for BFD change,
847 where bfd_make_section now returns NULL for a duplicate
848 section request, instead of the old section.
849
850Thu Oct 17 15:27:13 1991 Per Bothner (bothner at cygnus.com)
851
852 * ldver.c: Bump to version 1.91 (consistent with binutils).
853
2d1a2445
PB
854Wed Oct 16 12:27:08 1991 Per Bothner (bothner at cygnus.com)
855
856 * Makefile.in, config.h, ld.h, ldemul.c, ldexp.c, ldexp.h,
857 ldgram.y, ldlex.l, ldlnk960.c, ldmain.c, ldmisc.c, ldmisc.h,
858 ldsym.c, ldsym.h, ldtemplate, ldvanilla.c, ldver.c, ldver.h,
3410447c 859 ldwarn.c, ldwarn.h, ldwrite.c, ldwrite.h, mkscript.c:
2d1a2445
PB
860 Add or update copyright notices.
861
862Mon Oct 14 23:55:27 1991 Per Bothner (bothner at cygnus.com)
863
864 * README: New file.
865 * Makefile.in: Changed installation directory name scheme
866 to be consistent with gcc. Also changed 'install'.
867
954ac2ea
RP
868Mon Oct 14 17:30:02 1991 Roland H. Pesch (pesch at cygnus.com)
869
870 * Makefile.in: new targets ld.mm, ld.me
871
972e7b4b
PB
872Mon Oct 14 17:27:24 1991 Per Bothner (bothner at cygnus.com)
873
874 * Makefile.in, ldtemplate: Need to use separate scripts
875 for -n and -N options. Yet more complication.
876
33ce0085
JG
877Fri Oct 11 22:40:46 1991 John Gilmore (gnu at cygnus.com)
878
879 * Makefile.in: Avoid using $< in explicit Make rules (it doesn't
880 work). Add some lines to avoid Sun Make VPATH bugs.
881
b7e24eef
PB
882Fri Oct 11 16:42:22 1991 Per Bothner (bothner at cygnus.com)
883
884 * news.sc: Add alignment for data segment.
885 * ldtemplate: Add (yet another) script to get for -n or -N
886 options. (These need different alignment than ZMAGIC files.)
887 * Makefile.in: Add stuff for new foo.xn scripts.
888 These are generated by replacing "ALIGN(0x...00)" by ".".
889
b55e0948
RP
890Fri Oct 11 15:43:04 1991 Roland H. Pesch (pesch at cygnus.com)
891
892 * Makefile.in: new targets ld.ms, ld-index.ms
893 ld.texinfo: remove tabs, other cleanups for texi2roff
894
6719c75b
PB
895Fri Oct 11 13:51:54 1991 Per Bothner (bothner at cygnus.com)
896
897 * ldmain.c (main): Make config.magic_demand_paged be true
898 by default. Don't the WP_TEXT and D_PAGED flags of
899 output_bfd here; it's too late, so set it when output_bfd
900 is created (in ldlang.c). Also fix setting of EXEC_P flag
901 * ldlang.c (ldlang_open_output): Set output_bfd->flags here.
902 * ldlang.c: Remove some duplicate extern declarations.
903 * ldgram.y: Fixes to -N and -n options.
904 * Makefile.in: Recognize upper case letters in sed script
905 to remove assignments from script files.
906 * ldtemplate: Don't assukme that -N or -n options
907 imply use of -r script.
908 * mkscript.c: Tweaking to correctly handle \n and \\ in input.
909
8e10cea1
SC
910Fri Oct 11 10:29:27 1991 Steve Chamberlain (steve at cygnus.com)
911
912 * ldtemplate: include bfd.h before sysdep.h.
913
1f8fc34f
JG
914Fri Oct 11 04:24:45 1991 John Gilmore (gnu at cygnus.com)
915
916 Restructure configuration scheme for bfd, binutils, ld.
917
918 * include/sys/h-*.h: Move to bfd/hosts/h-*.h.
919 * configure.in: Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h.
920 Change some config names to match other dirs.
921 * *.c: Include bfd.h before sysdep.h, so ansidecl and PROTO()
922 get defined first.
923 * config/: Rename some config files to match up h-*.h names.
924 Remove all the HOST_SYS definitions from the config files.
925
926Tue Oct 8 16:00:57 1991 Per Bothner (bothner at cygnus.com)
927
928 * ldexp.h, ldlang.h: Change enum boolean -> enum bfd_boolean.
929 * ldtemplate: Remove ldfile_add_library_path calls;
930 just use the SEARCH_DIR commands in the script files.
931 * Makefile.in: Add LIB_PATH macro, which if set is used to replace
932 the SEARCH_DIR commands in the scripts (using ugly sed magic).
933 This is primarily intended for cross-linking, where you would
934 place libaries in a different place than native libraries.
935 Also, emulations made from ldtemplate now use $(srcdir).
936 * ldglda29k.sc: Change SEARCH_DIR commands to a conventional
937 form; people can use the Makefile's LIB_PATH to override.
938
8d317d2a
RP
939Tue Oct 8 14:51:21 1991 Roland H. Pesch (pesch at cygnus.com)
940
941 * Makefile.in: fix target ld.dvi, add target ld.info
942 ld.texinfo: make info filename ld.info
943
558175fb
JG
944Fri Oct 4 21:51:58 1991 John Gilmore (gnu at cygnus.com)
945
946 * Makefile.in: Avoid using $< in non-suffix rules (breaks on Sun
947 Make).
948 * ldfile.c, ldlang.c, ldmain.c, ldwrite.c: Cope with renames of a
949 few BFD types & enums.
950
This page took 0.095196 seconds and 4 git commands to generate.