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