* emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Dump out
[binutils-gdb.git] / ld / ChangeLog
1 2003-06-19 Alan Modra <amodra@bigpond.net.au>
2
3 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Dump out
4 statistics from ppc64_elf_build_stubs.
5
6 2003-06-19 Alan Modra <amodra@bigpond.net.au>
7
8 * emultempl/ppc64elf.em (build_section_lists): Check return status
9 from ppc64_elf_next_input_section.
10
11 2003-06-17 H.J. Lu <hongjiu.lu@intel.com>
12
13 * ldlang.c (section_already_linked): Put back assignment of
14 kept_section.
15
16 2003-06-17 Rainer Keuchel <rkeuchel@allgeier.com>
17
18 * pe-dll.c (generate_reloc): Catch and ignore an ARM_26D
19 reloc.
20
21 2003-06-17 Loren James Rittle <rittle@latour.rsch.comm.mot.com>
22
23 * configure.host (*-*-freebsd*): Add known path for ld-elf.so.1
24 if not produced by gcc.
25
26 2003-06-16 Hans-Peter Nilsson <hp@axis.com>
27
28 * configure.tgt: Add specific case for cris-*-linux-gnu*
29 with crislinux emulation only.
30
31 2003-06-13 Robert Millan <zeratul2@wanadoo.es>
32
33 * configure.tgt: Add i386-netbsd-gnu target.
34
35 2003-06-12 Richard Sandiford <rsandifo@redhat.com>
36
37 * configure.tgt (mips*-sgi-irix6*): Add the o32 and n64 emulations
38 to $targ_extra_libpath.
39
40 2003-06-11 H.J. Lu <hongjiu.lu@intel.com>
41
42 * po/Make-in (DESTDIR): New.
43 (install-data-yes): Support $(DESTDIR).
44 (uninstall): Likewise.
45
46 2003-06-10 Doug Evans <dje@sebabeach.org>
47
48 * Makefile.am (ALL_EMULATIONS): Add em32relf.o.
49 * Makefile.in: Regenerate.
50
51 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
52
53 * configure.tgt (h8300*): Add h8300sxn emulations.
54 * Makefile.am (ALL_EMULATIONS): Add eh8300sxn.o and eh8300sxnelf.o.
55 (eh8300sxn.c, eh8300sxnelf.c): New rules.
56 * Makefile.in: Regenerate.
57 * emulparams/h8300sxnelf.sh, emulparams/h8300sxn.sh: New files.
58 * scripttempl/h8300sxn.sc: New file.
59
60 2003-06-10 Alan Modra <amodra@bigpond.net.au>
61
62 * emulparams/elf64ppc.sh (EXECUTABLE_SYMBOLS, OTHER_BSS_END_SYMBOLS,
63 CTOR_START, CTOR_END, DTOR_START, DTOR_END): Don't define.
64
65 2003-06-08 Alan Modra <amodra@bigpond.net.au>
66
67 * emultempl/ppc64elf.em (emit_stub_syms, toc_section): New vars.
68 (build_toc_list): New function.
69 (gld${EMULATION_NAME}_finish): Call build_toc_list and
70 ppc64_elf_reinit_toc. Adjust ppc64_elf_build_stubs call.
71 (OPTION_STUBSYMS): Define.
72 (PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms.
73 (PARSE_AND_LIST_OPTIONS): Document.
74 (PARSE_AND_LIST_ARGS_CASES): Handle.
75
76 2003-06-05 Roland McGrath <roland@redhat.com>
77
78 * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Remove
79 extra \t in -z noexecstack line.
80
81 2003-05-23 Jakub Jelinek <jakub@redhat.com>
82
83 * ldgram.y (phdr_type): Grok PT_GNU_STACK.
84 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
85 -z execstack and -z noexecstack.
86 (gld${EMULATION_NAME}_list_options): Likewise.
87 * scripttempl/elf.sc: If not -r, discard .note.GNU-stack section.
88
89 2003-06-03 Michael Snyder <msnyder@redhat.com>
90 and Bernd Schmidt <bernds@redhat.com>
91 and Alexandre Oliva <aoliva@redhat.com>
92
93 * Makefile.am: Add new emulations for h8300sx.
94 * Makefile.in: Regenerate.
95 * configure.tgt: Add new emulations.
96 * emulparams/h8300sx.sh: New emulation.
97 * emulparams/h8300sxelf.sh: Ditto.
98 * scripttempl/h8300sx.sc: Ditto.
99
100 2003-06-03 H.J. Lu <hongjiu.lu@intel.com>
101
102 * ldmisc.c: Include "bfdlink.h".
103 (error_handler): Handle LD_DEFINITION_IN_DISCARDED_SECTION
104 and -LD_DEFINITION_IN_DISCARDED_SECTION.
105
106 * Makefile.am: Rebuild dependency.
107 * Makefile.in: Regenerated.
108
109 2003-06-03 Kaz Kojima <kkojima@rr.iij4u.or.jp>
110
111 * emulparams/shlelf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes.
112 * emulparams/shlelf32_linux.sh (GENERATE_PIE_SCRIPT): Likewize.
113
114 2003-06-02 Fabrizio Gennari <fabrizio.ge@tiscalinet.it>
115
116 * pe-dll.c (fill_edata): Scan table pe_dll->exports, which is
117 sorted alphabetically, instead of exported_symbols, which is
118 sorted by ordinal.
119
120 2003-05-30 Ulrich Drepper <drepper@redhat.com>
121 Jakub Jelinek <jakub@redhat.com>
122
123 * lexsup.c (OPTION_PIE): Define.
124 (ld_options): Add -pie and --pic-executable options.
125 (parse_args): Handle OPTION_PIE.
126 * ldmain.c (main): Initialize link_info.pie and
127 link_info.executable.
128 * genscripts.sh: Generate PIE scripts.
129 * ld.texinfo: Document -pie and --pic-executable options.
130 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open):
131 (gld${EMULATION_NAME}_place_orphan): Likewise.
132 (gld${EMULATION_NAME}_get_script): Include PIE scripts.
133 * scripttempl/elf.sc: In PIE scripts set . the same way as in
134 shared scripts.
135 * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Set to yes.
136 * emulparams/elf64_ia64.sh (GENERATE_PIE_SCRIPT): Likewise.
137 * emulparams/elf32ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
138 * emulparams/elf64ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
139 * emulparams/elf_x86_64.sh (GENERATE_PIE_SCRIPT): Likewise.
140 * emulparams/elf_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
141 * emulparams/elf32_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
142 * emulparams/elf64_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
143 * emulparams/elf64alpha.sh (GENERATE_PIE_SCRIPT): Likewise.
144 * emulparams/elf64_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
145 * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Likewise.
146
147 2003-05-30 H.J. Lu <hongjiu.lu@intel.com>
148
149 * genscripts.sh: Create tmpdir/libpath.exp.
150
151 2003-05-30 Nick Clifton <nickc@redhat.com>
152
153 * emultempl/armelf.em (arm_elf_before_allocation): Replace ASSERT
154 with a test for a NULL bfd_for_interworking.
155
156 2003-05-29 Jason Thorpe <thorpej@wasabisystems.com>
157
158 * configure.host (*-*-netbsd*): Set HOSTING_CRT0 and HOSTING_LIBS
159 correctly for more recent versions of NetBSD.
160 (alpha*-*-netbsd*): Remove.
161 (i[3-7]86-*-netbsd*): Remove.
162
163 2003-05-29 Nick Clifton <nickc@redhat.com>
164
165 * emultempl/pe.em: Include "safe-ctype.h" instead of <ctype.h>.
166
167 2003-05-26 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
168
169 * emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 to
170 trap on pointer crops.
171
172 2003-05-21 Marcus Comstedt <marcus@mc.pp.se>
173
174 * configure.tgt: Check for a target triplet of shl-...-netbsdelf
175 as well as shle-...-netbsdelf.
176
177 2003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
178
179 * configure.host: Accept i[3-7]86 variants.
180 * configure.tgt: Likewise.
181
182 2003-05-15 H.J. Lu <hongjiu.lu@intel.com>
183
184 * emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now.
185
186 2003-05-09 Daniel Jacobowitz <drow@mvista.com>
187
188 * Makefile.am (ALL_EMULATIONS): Add earmelfb.o and earmelfb_linux.o.
189 (earmelfb.c, earmelfb_linux.c): New rules.
190 * Makefile.in: Regenerated.
191 * emulparams/armelfb.sh, emulparams/armelfb_linux.sh: New files.
192 * configure.tgt: Add armeb-elf and arm*b-*-linux-gnu.
193
194 2003-05-09 Nick Clifton <nickc@redhat.com>
195
196 * ldlang.c (lang_size_sections_1): Default to generating a
197 fatal error message if a loadable section is not allocated
198 to a memory region when regions are defined.
199
200 2003-05-09 Alan Modra <amodra@bigpond.net.au>
201
202 * Makefile.am (em68hc11elf.c): Correct dependencies.
203 (em68hc11elfb.c, em68hc12elf.c, em68hc12elfb.c): Likewise.
204 * Makefile.in: Regenerate.
205 * emultempl/elf32.em (find_exp_assignment): Adjust for changed
206 bfd_elf_record_link_assignment name.
207
208 2003-05-07 Alexandre Oliva <aoliva@redhat.com>
209
210 * ldmain.h (overflow_cutoff_limit): Declare.
211 * ldmain.c (overflow_cutoff_limit): Define, initialized to 10.
212 (reloc_overflow): Limit error messages based on it.
213 * lexsup.c (parse_args) <OPTION_VERBOSE>: Set cutoff to
214 unlimited.
215
216 2003-05-05 Alan Modra <amodra@bigpond.net.au>
217
218 * ldlex.l: Accept C style comments in version scripts.
219
220 2003-04-28 H.J. Lu <hjl@gnu.org>
221
222 * ldlang.c (lang_process): Add the relax finalize pass.
223
224 * ldmain.c (main): Initialize link_info.relax_finalizing to
225 FALSE.
226
227 2003-04-24 Roland McGrath <roland@redhat.com>
228
229 * ldgram.y (phdr_type): Grok PT_TLS and PT_GNU_EH_FRAME names.
230 If a name string is unknown, give an error rather than crashing later.
231
232 2003-04-23 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
233
234 * Makefile.am (ALL_EMULATIONS): Add eh8300hn.o, eh8300sn.o,
235 eh8300hnelf.o, eh8300snelf.o and respective rules.
236 * Makefile.in: Regenerate.
237 * configure.tgt: Add h8300hn, h8300sn, h8300hnelf, h8300snelf
238 * emulparams/h8300hn.sh: New
239 * emulparams/h8300sn.sh: New
240 * emulparams/h8300hnelf.sh: New
241 * emulparams/h8300snelf.sh: New
242 * scripttempl/h8300hn.sc: new
243 * scripttempl/h8300sn.sc: new
244
245 2003-04-23 H.J. Lu <hjl@gnu.org>
246
247 * ldmain.c (link_callbacks): Initialize error_handler.
248
249 * ldmisc.c (error_handler): New function.
250
251 * ldmisc.h (error_handler): New prototype.
252
253 2003-04-21 Stephane Carrez <stcarrez@nerim.fr>
254
255 * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra.
256 * emulparams/m68hc11elfb.sh: Likewise.
257 * emulparams/m68hc12elf.sh: Likewise.
258 * emulparams/m68hc12elfb.sh: Likewise.
259
260 2003-04-19 Stephane Carrez <stcarrez@nerim.fr>
261
262 * emultempl/m68hc1xelf.em: New file to generate far trampolines on
263 68HC11 and 68HC12.
264 (LDEMUL_BEFORE_ALLOCATION): Override to gather the trampolines to
265 generate.
266 (LDEMUL_FINISH): Override to generate the trampolines after gc and
267 linker relaxation.
268 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Override to create the
269 stub file for trampolines.
270 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_LONGOPTS): New options
271 --no-trampoline and --bank-window to control the memory bank window.
272
273 2003-04-18 H.J. Lu <hjl@gnu.org>
274
275 * ldfile.c (ldfile_add_library_path): Remove the unused
276 variable.
277
278 2003-04-18 Andrew Haley <aph@cambridge.redhat.com>
279
280 * scripttempl/xstormy16.sc (__data, __rdata): New.
281
282 2003-04-16 Nick Clifton <nickc@redhat.com>
283
284 * scripttempl/xstormy16.sc: Add .jcr section mapping.
285
286 2003-04-15 H.J. Lu <hjl@gnu.org>
287
288 From Debian by Jack Howarth <howarth@nitro.med.uc.edu>:
289
290 * ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer.
291
292 2003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
293
294 * h8-doc.texi: Replace occurrances of 'Hitachi' with 'Renesas'.
295 * ld.texinfo: Likewise.
296
297 2003-04-14 Alan Modra <amodra@bigpond.net.au>
298
299 From Prashanth Tamraparni <prashanth_t@in.ibm.com>
300 * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and
301 other variants of crtbegin.o, crtend.o.
302 (DTOR): Likewise.
303 * scripttempl/crisaout.sc (ctors, dtors): Likewise.
304 * scripttempl/elf_chaos.sc (CTOR, DTOR): Likewise.
305 * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise.
306 * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise.
307 * scripttempl/elfxtensa.sc (CTOR, DTOR): Likewise.
308 * scripttempl/iq2000.sc (CTOR, DTOR): Likewise.
309 * scripttempl/mmo.sc (ctors, dtors): Likewise.
310 * scripttempl/xstormy16.sc (CTOR, DTOR): Likewise.
311
312 2003-04-09 Dmitry Diky <diwil@mail.ru>
313
314 * scripttempl/elf32msp430.sc: Add initX, finiX, ctors, dtors
315 sections to respect C++ constructor/destructor. Add ctors/dtors
316 start/stop definitions.
317 * scripttempl/elf32msp430_3.sc: Likewise.
318
319 2003-04-06 Nick Clifton <nickc@redhat.com>
320
321 * ld.texinfo (Options): Add a reminder of the target specific
322 nature to the description of the i386 PE specific options, for
323 readers who have not read all the way through the manual.
324
325 2003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com>
326
327 * configure.tgt: Fixed bug in list of targ_extra_emuls.
328 * emulparams/tic3xcoff.sh (SCRIPT_NAME): Namespace
329 cleanup. Replace s/c4x/tic4x and s/c3x/tic3x/
330 * emulparams/tic3xcoff_onchip.sh: Ditto
331 * emulparams/tic4xcoff.sh: Ditto
332 * scripttempl/tic4xcoff.sc: Ditto
333
334 2003-04-03 Nick Clifton <nickc@redhat.com>
335
336 * NEWS: Mention support for Xtensa architecture.
337
338 2003-04-02 Nick Clifton <nickc@redhat.com>
339
340 * pe-dll.c (pe_detail_list): arm-pe targets use underscores.
341
342 2003-04-01 Danny Smith <dannysmith@users.sourceforge.net>
343
344 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
345 Don't call pe_dll_build_section() if link_info.relocateable.
346 (gld_${EMULATION_NAME}_finish): Don't call pe_dll_fill_sections()
347 if link_info.relocateable.
348
349 2003-04-01 Fabrizio Gennari <fabrizio.ge@tiscalinet.it>
350
351 * pe-dll.c (process_def_file): Don't create an export
352 section if there are no exports and we're building an exe
353 (pe_dll_build_sections): Ditto
354 (pe_dll_fill_sections): Conditionalize setting
355 abfd->dll true on info->shared
356 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
357 If i386pe or armpe, call pe_dll_build_section()
358 for both exe's and dll's, not just dll's.
359 (gld_${EMULATION_NAME}_finish): For all targets except
360 shpe and mipspe, call pe_dll_fill_sections() for both
361 exe's and dll's, not just dll's.
362
363 2003-04-02 Bob Wilson <bob.wilson@acm.org>
364
365 * emulparams/xtensa-config.sh: Remove comment indicating that this is
366 a generated file.
367
368 2003-04-01 Bob Wilson <bob.wilson@acm.org>
369
370 * Makefile.am (ALL_EMULATIONS): Add eelf32xtensa.o.
371 (eelf32xtensa.c): New target.
372 * Makefile.in: Regenerate.
373 * configure.tgt: Handle xtensa-*-*.
374 * gen-doc.texi: Set XTENSA variable.
375 * ld.texinfo: Set XTENSA variable. Add new Xtensa node.
376 * emulparams/elf32xtensa.sh: New file.
377 * emulparams/xtensa-config.sh: Likewise.
378 * emultempl/xtensaelf.em: Likewise.
379 * scripttempl/elfxtensa.sc: Likewise.
380
381 2003-04-01 Jakub Jelinek <jakub@redhat.com>
382
383 * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64
384 targ_extra_libpath. Add elf64ppc to ppc targ_extra_libpath
385 if --enable-64-bit-bfd.
386
387 2003-04-01 Nick Clifton <nickc@redhat.com>
388
389 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Change name of
390 note section.
391 * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Change
392 name of note section.
393
394 2003-03-31 Alexandre Oliva <aoliva@redhat.com>
395
396 * ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of
397 --section-start.
398
399 2003-03-31 David Heine <dlheine@suif.stanford.edu>
400
401 * ldfile.c (ldfile_add_library_path): Always allocate space for
402 the filename.
403 * ldlang.c (lang_register_vers_node): Free the node if it cannot
404 be used.
405 * ldmain.c (set_scripts_dir): Always free the constructed
406 directory name.
407 (add_keepsyms_file): Fix memory leak.
408 * ldmisc.c (vfinfo): Likewise.
409 * lexsup.c (parse_args): Likewise.
410
411 2003-03-25 Stan Cox <scox@redhat.com>
412 Nick Clifton <nickc@redhat.com>
413
414 Contribute support for Intel's iWMMXt chip - an ARM variant:
415
416 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Define.
417 * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Define.
418 * scripttempl/armcoff.sc (.data): Ensure 8 byte alignment.
419 (.bss): Likewise.
420
421 2003-03-25 Alexandre Oliva <aoliva@redhat.com>
422
423 * ldmain.h (ld_canon_sysroot, ld_canon_sysroot_len): Declare.
424 * ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define.
425 (main): Initialize them.
426 * ldfile.c: Include pathnames.h.
427 (is_sysrooted_pathname): New.
428 (ldfile_add_library_path): Use it.
429 (ldfile_open_file_search): Likewise. Use IS_ABSOLUTE_PATH. Don't
430 search_dirs if given an absolute pathname.
431 (ldfile_open_file): Issue error message for sysrooted
432 absolute pathnames.
433 * Makefile.am: Updated dependencies.
434 * Makefile.in: Rebuild.
435
436 2003-03-24 Daniel Néri <dne@mayonnaise.net>
437
438 * ld.texinfo: Rename all occurances of C54X to TIC54X.
439
440 2003-03-19 Andreas Schwab <schwab@suse.de>
441
442 * ldfile.c (ldfile_try_open_bfd): Pop lexer start condition after
443 eof.
444
445 2003-03-18 Danny Smith <dannysmith@users.sourceforge.net>
446
447 * defilep.y (opt_base): If no number given, set to default
448 (-1), not 0.
449
450 2003-03-13 Danny Smith <dannysmith@users.sourceforge.net>
451
452 * deffilep.y (def_import): Use default extension of "dll"
453 if no extension provided in parsed IMPORT definition.
454
455 * deffilep.y (def_lex): Revert 2003-03-12 change.
456 (dot_name): New id type and rule.
457 (expline): Use instead of ID.
458 (opt_equal_name): Likewise.
459
460 2003-03-12 Danny Smith <dannysmith@users.sourceforge.net>
461
462 * deffilep.y (def_lex): Accept '.' as valid non-lead char.
463
464 2003-03-07 Christopher Faylor <cgf@redhat.com>
465
466 * configure.tgt: Add NATIVE_LIB_DIRS for cygwin target back after
467 apparent accidental removal on 2003-01-06.
468
469 2003-03-04 Dmitry Diky <diwil@mail.ru>
470
471 * Makefile.am: Add new devices x1122 x1132 emulation
472 * configure.tgt: Likewise.
473 * Makefile.in: Regenerate.
474 * emulparams/msp430x1122.sh: New file.
475 * emulparams/msp430x1132.sh: New file.
476
477 2003-03-03 Alexandre Oliva <aoliva@redhat.com>
478
479 * ldmain.c (set_scripts_dir): Look for relative to TOOLBINDIR as
480 well.
481
482 * ldfile.h (struct search_dirs): Added sysrooted field.
483 * ldlang.h (struct lang_input_statement_struct): Likewise.
484 * ldfile.c (ldfile_add_library_path): Mark sysrooted paths.
485 (ldfile_open_file_search): Look for sysrooted filename starting
486 with / in ld_sysroot instead of in the current directory. Clear
487 sysrooted flag if it's found in the current directory. Set it
488 from the search directory's sysrooted flag where it is found
489 otherwise.
490 * ldlang.c (ldlang_sysrooted_script): New static variable.
491 (new_afile): Mark search_file_enums as sysrooted if
492 ldlang_sysrooted_script.
493 (load_symbols): Set ldlang_sysrooted_script according to the
494 script's sysrooted field while processing it.
495 * ld.texinfo: Document INPUT behavior in sysroot.
496
497 2003-03-02 Danny Smith <dannysmith@users.sourceforge.net>
498
499 * scripttempl/pe.sc: Use PROVIDE with etext, end, _end,
500
501 2003-03-03 Alan Modra <amodra@bigpond.net.au>
502
503 * emulparams/elf64alpha.sh (EXTRA_EM_FILE): Define.
504 (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
505 PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES,
506 PARSE_AND_LIST_EPILOGUE): Don't define.
507 * emultempl/alphaelf.em: New file.
508
509 2003-03-01 Alan Modra <amodra@bigpond.net.au>
510
511 * ldemul.c: Include getopt.h.
512 * emultempl/elf32.em: Include getopt.h earlier.
513 * emultempl/ticoff.em: Likewise.
514
515 2003-02-28 Alan Modra <amodra@bigpond.net.au>
516
517 * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Add combreloc
518 support when scripts read from files.
519
520 2003-02-28 Alan Modra <amodra@bigpond.net.au>
521
522 * ldemul.c (ldemul_parse_args): Return FALSE by default.
523 * ldemul.h (struct ld_emulation_xfer_struct): Update parse_args
524 comment.
525
526 * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions.
527 (ldemul_parse_args): Return bfd_boolean. Formatting.
528 * ldemul.h (ldemul_add_options, ldemul_handle_option): Declare.
529 (ldemul_parse_args): Adjust.
530 (struct ld_emulation_xfer_struct): Add add_options and handle_option.
531 Return bfd_boolean from parse_args.
532 * lexsup.c (parse_args): Malloc shortopts, longopts and
533 really_longopts. Call ldemul_add_options and ldemul_handle_option.
534 * emultempl/aix.em (gld${EMULATION_NAME}_add_options): Split out from
535 gld${EMULATION_NAME}_parse_args.
536 (gld${EMULATION_NAME}_handle_option): Likewise.
537 (ld_${EMULATION_NAME}_emulation): Adjust initializer.
538 * emultempl/armcoff.em: As for aix.em, but remove parse_args.
539 * emultempl/beos.em: Likewise.
540 * emultempl/pe.em: Likewise.
541 * emultempl/ticoff.em: Likewise.
542 * emultempl/elf32.em: Likewise. Don't duplicate long options either.
543 (gld${EMULATION_NAME}_add_sysroot): Prototype.
544 * emultempl/armelf.em (PARSE_AND_LIST_LONGOPTS): Don't duplicate
545 options.
546 * emultempl/hppaelf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
547 * emultempl/ppc32elf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
548 * emultempl/ppc64elf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
549 * emultempl/armelf_oabi.em (ld_${EMULATION_NAME}_emulation): Adjust
550 initializer.
551 * emultempl/generic.em: Likewise.
552 * emultempl/gld960.em: Likewise.
553 * emultempl/gld960c.em: Likewise.
554 * emultempl/linux.em: Likewise.
555 * emultempl/lnk960.em: Likewise.
556 * emultempl/m68kcoff.em: Likewise.
557 * emultempl/mipsecoff.em: Likewise.
558 * emultempl/sunos.em: Likewise.
559 * emultempl/vanilla.em: Likewise.
560 * emultempl/netbsd.em (gldnetbsd_before_parse): Prototype.
561
562 2003-02-25 Alexandre Oliva <aoliva@redhat.com>
563
564 * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Fix
565 memory allocation error.
566
567 * Makefile.am (ldmain.o): Define TOOLBINDIR.
568 * Makefile.in: Rebuilt.
569 * ldmain.c (ld_sysroot): Try to set from TOOLBINDIR too.
570
571 2003-02-21 Bob Wilson <bob.wilson@acm.org>
572
573 * ldlang.c (lang_size_sections_1): Add CHECK_REGIONS argument and only
574 call os_region_check when it is set.
575 (lang_size_sections): Add CHECK_REGIONS argument and pass it through to
576 lang_size_sections_1.
577 (lang_process): Change lang_size_sections calls to set CHECK_REGIONS
578 only for the last call, not on every relaxation iteration.
579 * ldlang.h (lang_size_sections): Update prototype.
580 * pe-dll.c (pe_dll_fill_sections): Set CHECK_REGIONS argument in calls
581 to lang_size_sections.
582 (pe_exe_fill_sections): Likewise.
583 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Likewise.
584 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
585 * emultempl/ppc64elf.em (ppc_before_allocation): Likewise.
586 (ppc_layout_sections_again): Likewise.
587
588 2003-02-21 Bob Wilson <bob.wilson@acm.org>
589
590 * gen-doc.texi: Set ARM and HPPA variables.
591 * ld.texinfo: Fix typos and obvious texinfo mistakes. Make section
592 title capitalization more consistent. Add missing menu entries for
593 machine-specific sections and conditionalize them consistently.
594 Conditionalize text that is irrelevant when SingleFormat is set.
595 Add @group divisions to improve page breaks in long examples.
596 Use @iftex/@ifnottex instead of @iftex/@ifinfo so that HTML output
597 is correct. Remove "FIXME" comment about not using
598 @raisesections/@lowersections. Use @raisesections/@lowersections
599 consistently for machine-specific sections. Change to be more polite
600 about poor bug reports. Replace FDL appendix with include of fdl.texi.
601 Move WIN32 node to match its order in the menus.
602 * fdl.texi: New file.
603
604 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
605
606 * configure.in (TARGET_SYSTEM_ROOT): Set default to
607 ${exec_prefix}/${target_alias}/sys-root. Match explicit
608 '${exec_prefix}' (in addition to the expansion thereof) as
609 relocatable.
610 * configure: Rebuilt.
611
612 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
613
614 * ldgram.y (vers_defns): Also recurse with 'EXTERN NAME' patterns.
615
616 2003-02-20 Harri Porten <porten@kde.org>
617
618 * ldgram.y (vers_defns): Allow optional trailing semicolon in
619 EXTERN NAME block;
620
621 2003-02-18 Alan Modra <amodra@bigpond.net.au>
622
623 * emultempl/ppc32elf.em: New file.
624 * emulparams/elf32ppc.sh (EXTRA_EM_FILE): Define.
625 * Makefile.am (eelf32lppc.c): Depend on emultempl/ppc32elf.em.
626 (eelf32lppcnto.c): Likewise.
627 (eelf32lppcsim.c): Likewise.
628 (eelf32ppcnto.c): Likewise.
629 (eelf32ppc.c): Likewise.
630 (eelf32ppc_fbsd.c): Likewise.
631 (eelf32ppcsim.c): Likewise.
632 (eelf32ppclinux.c): Likewise.
633 * Makefile.in: Regenerate.
634
635 2003-02-18 Alan Modra <amodra@bigpond.net.au>
636
637 * ld.texinfo: Remove spaces between @samp and opening brace.
638
639 2003-02-18 Alan Modra <amodra@bigpond.net.au>
640
641 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Check
642 hash creator.
643 (ppc_before_allocation): Don't do optimizations if wrong hash table.
644 (gld${EMULATION_NAME}_finish): Ditto.
645
646 2003-02-17 Nick Clifton <nickc@redhat.com>
647
648 * ldmain.c (main) Default allow_shlib_undefined to true.
649 * lexsup.c (ld_options): Add --no-allow-shlib-undefined.
650 (parse_args): Parse the new switch.
651 * ld.texinfo: Document new switch and default behaviour of
652 allowing undefined symbols in shared libraries.
653
654 2003-02-11 Dmitry Diky <diwil@mail.ru>
655
656 * scripttempl/elf32msp430.sc: Add new data anchors definitions.
657 * scripttempl/elf32msp430_3.sc: Likewise.
658
659 2003-02-11 Uwe Stieber <uwe@wwws.de>
660
661 * configure.tgt: Add support for kaOS as cross build target
662 system.
663
664 2003-02-10 John Daivid Anglin <dave.anglin@nrc-cnrc.gc.ca>
665
666 * hppaelf.em (group_size): Change default back to 1.
667
668 2003-02-09 Alan Modra <amodra@bigpond.net.au>
669
670 * emultempl/ppc64elf.em: Add "no-tls-optimize" option and support code.
671
672 2003-02-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
673
674 * hppaelf.em (group_size): Change default to -1.
675
676 2003-02-07 Nick Clifton <nickc@redhat.com>
677
678 * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Remove 'n' short
679 opt.
680 (PARSE_AND_LIST_LONGOPTS): Add duplicate entry for
681 no-pipeline-knowledge. This will prevent the getopt package from
682 thinking that there are any shorter abbreviations for
683 --no-pipeline-knowledge.
684
685 2003-02-07 Jakub Jelinek <jakub@redhat.com>
686
687 * genscripts.sh (LIB_PATH): Don't append LIBPATH_SUFFIX to paths
688 which already have it. Avoid duplicates.
689
690 2003-02-06 Jakub Jelinek <jakub@redhat.com>
691
692 * emulparams/elf64_s390.sh (LIBPATH_SUFFIX): Set to 64.
693 * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX): Likewise.
694 * emulparams/elf64_sparc.sh (LIBPATH_SUFFIX): Set instead of suffix.
695
696 2003-02-05 Alan Modra <amodra@bigpond.net.au>
697
698 * emultempl/ppc64elf.em (ppc_before_allocation): Size sections then
699 call ppc64_elf_tls_optimize.
700
701 2003-02-03 Daniel Jacobowitz <drow@mvista.com>
702
703 * emultempl/elf32.em: Move gld${EMULATION_NAME}_add_sysroot
704 outside of GNU/Linux conditional.
705
706 2003-01-28 Ralf Habacker <ralf.habacker@freenet.de>
707
708 * deffilep.y (def_get_module): New function: locate an already
709 added module.
710 * deffile.h (def_get_module): New prototype.
711 * pe-dll.c (pe_implied_import_dll): Add code to prevent importing
712 a dll multiple times.
713
714 2003-01-23 Alan Modra <amodra@bigpond.net.au>
715
716 * emultempl/sh64elf.em: Include elf32-sh64.h.
717 (sh64_elf_${EMULATION_NAME}_before_allocation): Adjust for changed
718 sh64_elf_section_data.
719 (sh64_elf_${EMULATION_NAME}_after_allocation): Likewise.
720
721 2003-01-23 Wu Yongwei <adah@netstd.com>
722
723 * ld.texinfo: Remove an extra "i" in --dll-search-prefix.
724 * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Move a
725 cross-80th-column-margin "an" to the next line.
726
727 2003-01-21 Nick Clifton <nickc@redhat.com>
728
729 * emulparams/tic3xcoff-onchip.sh: Rename to ...z
730 * emulparams/tic3xcoff_onchip.sh: ...this.
731 * Makefile.am (etic3xcoff_onchip.c): Fix name of generated C file.
732 * Makefile.in: Regenerate.
733
734 2003-01-21 Fabio Alemagna <falemagn@aros.org>
735
736 * configure.tgt: Handle i[3456]86-*-aros*
737
738 2003-01-19 Svein E. Seldal <Svein.Seldal@solidas.com>
739
740 * Makefile.am: Added etic3xcoff.o and etic4xcoff_onchip.o
741 * Makefile.in: Regenerate
742 * configure.tgt: Added extra target emulations
743 * emulparams/tic3xcoff.sh: Remove old settings
744 * emulparams/tic4xcoff.sh: Ditto
745 * emulparams/tic3xcoff-onchip.sh: Added new
746 * scripttempl/tic4xcoff.sc: Revise and combine both c3x and c4x
747 * scripttempl/tic3xcoff.sc: Remove
748
749 2003-01-17 Andreas Jaeger <aj@suse.de>
750
751 * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Do not
752 skip ':'.
753
754 2003-01-16 Alan Modra <amodra@bigpond.net.au>
755
756 * Makefile.in: Regenerate.
757
758 2002-01-14 Charles Wilson <cwilson@ece.gatech.edu>
759
760 * ld/ld.texinfo (node WIN32): Some clarifications
761 and formatting fixups.
762
763 2003-01-09 Chris Demetriou <cgd@broadcom.com>
764
765 * ldmain.c (get_emulation): Sort -mipsNN checks in the usual
766 order, and handle (ignore) -mips32r2.
767
768 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
769
770 * ldmain.c (main): Make sure ld_sysroot is initialized.
771
772 2003-01-06 Daniel Jacobowitz <drow@mvista.com>
773
774 * Makefile.am (eelf32iq10.c): Fix tab/whitespace mixup.
775
776 * Makefile.am (ldmain.o): Add @TARGET_SYSTEM_ROOT_DEFINE@.
777 (GENSCRIPTS): Add @use_sysroot@.
778 * Makefile.in: Regenerated.
779 * configure.host: Move setting of NATIVE_LIB_DIRS to...
780 * configure.tgt: ... here. Use ${target} instead of ${host}
781 for NATIVE_LIB_DIRS.
782 * configure.in: Add --with-sysroot.
783 * configure: Regenerated.
784 * genscripts.sh: Accept use_sysroot option. Set new variables
785 NATIVE and USE_LIBPATH. Prepend "=" to directory names if
786 $use_sysroot. Don't search $tool_lib if $use_sysroot.
787 * ldfile.c (ldfile_add_library_path): Handle leading '='.
788 * ldmain.c (TARGET_SYSTEM_ROOT): Define if not defined.
789 (ld_sysroot): New variable.
790 (main): Initialize ld_sysroot.
791 * ldmain.h (ld_sysroot): New extern.
792 * emultempl/elf32.em: Use NATIVE and USE_LIBPATH instead of
793 searching $EMULATION_LIBPATH.
794 (gld${EMULATION_NAME}_add_sysroot): New function.
795 (gld${EMULATION_NAME}_check_ld_so_conf): Use it. Honor ld_sysroot.
796 (gld${EMULATION_NAME}_after_open): Likewise. Only search
797 environment variables if $NATIVE.
798 * ld.texinfo (Options): Mention "=" prefix in the description of -L.
799 * NEWS: Mention --with-sysroot.
800
801 * emulparams/elf32bmipn32-defs.sh: Set NATIVE and LIBPATH_SUFFIX
802 instead of setting LIB_PATH.
803 * emulparams/elf32ppc.sh: Likewise.
804 * emulparams/elf64_s390.sh: Likewise.
805 * emulparams/elf64_sparc.sh: Likewise.
806 * emulparams/elf64ppc.sh: Likewise.
807 * emulparams/elf_x86_64.sh: Likewise.
808
809 * emulparams/elf64_aix.sh: Add "=" prefixes to LIB_PATH.
810 * emulparams/elf64hppa.sh: Add "=" prefixes to LIB_PATH.
811
812 2003-01-03 Charles Wilson <cwilson@ece.gatech.edu>
813
814 * ld/pe-dll.c (autofilter_symbollist): Add cygwin_crt0.
815
816 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
817
818 * Makefile.am (ldmain.o): Pass BINDIR.
819 * Makefile.in: Regenerated.
820 * ldmain.c (set_scripts_dir): Use make_relative_prefix for the first
821 search path.
822
823 2003-01-02 Ben Elliston <bje@redhat.com>
824
825 * Makefile.am (ALL_EMULATIONS): Add eelf32iq2000.o.
826 (eelf32iq2000.c): New target.
827 * Makefile.in: Regenerate.
828 * configure.tgt: Handle iq2000-*-elf.
829 * emulparams/elf32iq10.sh: New file.
830 * emulparams/elf32iq2000.sh: New file.
831 * scripttempl/iq2000.sc: New file.
832
833 2003-01-02 Charles Wilson <cwilson@ece.gatech.edu>
834
835 * pe-dll.c (autofilter_symbollist): Add do_pseudo_reloc
836 and _pei386_runtime_relocator to the exclude list.
837
838 2003-01-01 Kazu Hirata <kazu@cs.umass.edu>
839
840 * ldfile.c: Fix comment typos.
841 * ldlang.c: Likewise.
842 * mri.c: Likewise.
843 * pe-dll.c: Likewise.
844
845 2003-01-01 Daniel Jacobowitz <drow@mvista.com>
846
847 Suggested by Manfred Hollstein <manfred.h@gmx.net>:
848 * Makefile.am (ld.1): Depend on configdoc.texi
849 and ldver.texi.
850 * Makefile.in: Regenerated.
851
852 2002-12-24 Dmitry Diky <diwil@mail.ru>
853
854 * Makefile.am: Add msp430 target.
855 * configure.tgt: Likewise.
856 * Makefile.in: Regenerate.
857 * emulparams/msp430x???.sh: New files. Linker script parameters
858 for various msp430 configurations.
859 * gen-doc.texi: Enable msp430 documenation.
860 * ld.texinfo: Document msp430 sections.
861 * scripttempl/elf32msp430.sc: New file. Linker script for msp430.
862 * scripttempl/elf32msp430_3.sc: New file. Linker script for msp430.
863
864 2002-12-30 Ralf Habacker <Ralf.Habacker@freenet.de>
865 Charles Wilson <cwilson@ece.gatech.edu>
866
867 * ld/config.in (HAVE_REALPATH): New entry.
868 (HAVE_SYS_STAT_H, HAVE_SYS_TYPES_H): Removed: obsolete.
869
870 2002-12-30 Ralf Habacker <ralf.habacker@freenet.de>
871
872 * ld.texinfo: New win32 topics: 'symbol aliasing' and 'export dll
873 symbols'.
874
875 2002-12-23 Alan Modra <amodra@bigpond.net.au>
876
877 * ldmain.c (main): Init "strip_discarded".
878 * lexsup.c (OPTION_STRIP_DISCARDED): Define.
879 (OPTION_NO_STRIP_DISCARDED): Define.
880 (ld_options): Add "strip-discarded" and "no-strip-discarded".
881 (parse_args): Handle them.
882
883 2002-12-23 Nick Clifton <nickc@redhat.com>
884
885 * ld.h (struct args_type): Add new field
886 'accept_unknown_input_architecture'.
887 * ldmain.c (main): Initialise 'accept_unknown_input_architecture'
888 to false.
889 * ldlang.c (lang_check): Pass accept_unknown_input_architecture to
890 bfd_arch_get_compatible.
891 * ldfile.c (ldfile_try_open_bfd): Likewise.
892 * lexsup.c (ld_options): Add new command line switch
893 --accept-unknown-input-architecture and its inverse.
894 (parse_args): Handle --accept-unknown-input-architecture.
895 * ld.texinfo: Document new linker option.
896 * NEWS: Mention new linker option.
897
898 2002-12-20 Alan Modra <amodra@bigpond.net.au>
899
900 * ldmain.c (main): Re-order link_info initialization. Init all
901 fields.
902
903 2002-12-19 Charles Wilson <cwilson@ece.gatech.edu>
904
905 * ld.texinfo: Clarify and extend the documentation
906 in the Machine Dependent, WIN32 section.
907
908 2002-12-18 Ralf Habacker <ralf.habacker@freenet.de>
909
910 * ld.texinfo: Add win32 machine depending section.
911 * gen-doc.texi: Enable win32 machine depending section.
912
913 * configure.host: Add win32 library search path.
914
915 2002-12-17 Ralf Habacker <ralf.habacker@freenet.de>
916
917 * ld/emultempl/pe.em (pe_find_data_imports): Don't search for data
918 import when auto-import is disabled.
919
920 2002-12-17 Danny Smith <dannysmith@users.sourceforge.net>
921
922 * emultempl/pe.em (..._recognized_file): Use LD_PATHMAX+1 to
923 account for trailing '\0'.
924
925 2002-12-17 Nick Clifton <nickc@redhat.com>
926
927 * emultempl/pe.em (longopts): Duplicate entry for --compact-implib
928 so that it is not confused with -c.
929
930 2002-12-13 Ralf Habacker <Ralf.Habacker@freenet.de>
931 Charles Wilson <cwilson@ece.gatech.edu>
932
933 * configure.in: Add check for realpath function.
934 * configure: Regenerate.
935 * config.in: Regenerate.
936 * aclocal.m4: Regenerate.
937 * deffile.h: Add .data field to def_file_import
938 structure.
939 * pe-dll.c (pe_proces_import_defs): Use .data field of
940 def_file_import structure to initialize flag_data field of
941 def_file_export structure.
942 (pe_implied_import_dll): New variables exp_funcbase and
943 [data|bss]_[start|end]. Use DLL's internal name to set dll_name,
944 not filename (which may be a symlink). Scan the sections and
945 initialize [data|bss]_[start|end]. When scanning the export
946 table, skip _nm_ symbols, and mark any symbols whose rva indicates
947 that it is in the .bss or .data sections as data.
948 * sysdep.h: Include limits.h and sys/param.h, and define
949 LD_PATHMAX as appropriate. Also define REALPATH as realpath if it
950 exists, NULL otherwise.
951 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Call
952 pe_process_import_defs before pe_find_data_imports, so that
953 auto-import will check the virtual implib as well as "real"
954 implibs.
955 (gld_${EMULATION_NAME}_recognized_file): Use REALPATH to follow
956 symlinks to their target; check that the target's extension is
957 .dll before calling pe_implied_import_dll(), not the filename
958 itself (which may be a symlink).
959
960 2002-12-10 Alan Modra <amodra@bigpond.net.au>
961
962 * emultempl/elf32.em (struct orphan_save): Add os_tail field.
963 (gld${EMULATION_NAME}_place_orphan): Re-order output_section_statement
964 list too.
965
966 2002-12-08 Alan Modra <amodra@bigpond.net.au>
967
968 * ldlang.h: Formatting.
969
970 2002-12-07 Alan Modra <amodra@bigpond.net.au>
971
972 * ldlang.c (init_os): Ensure sections mentioned in load_base
973 are initialized.
974
975 2002-12-05 Alan Modra <amodra@bigpond.net.au>
976
977 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set
978 load_base for orphans that follow a section with load_base set.
979
980 2002-12-01 H.J. Lu <hjl@gnu.org>
981
982 * ld.texinfo: Remove the extra `;' in sample version script.
983
984 2002-11-30 Alan Modra <amodra@bigpond.net.au>
985
986 * configure.host: Correct dynamic-linker for powerpc64 hosts.
987
988 * Makefile.am (eelf32ppcwindiss.c): Correct dependencies.
989 * Makefile.in: Regenerate.
990
991 * ld.h, ldcref.c, ldctor.c, ldctor.h, ldemul.c, ldemul.h, ldexp.c,
992 ldexp.h, ldfile.c, ldfile.h, ldgram.y, ldlang.c, ldlang.h, ldmain.c,
993 ldmain.h, ldmisc.c, ldwrite.c, lexsup.c, mri.c, pe-dll.c, pe-dll.h,
994 emulparams/elf32b4300.sh, emultempl/aix.em, emultempl/armcoff.em,
995 emultempl/armelf.em, emultempl/armelf_oabi.em, emultempl/beos.em,
996 emultempl/elf32.em, emultempl/generic.em, emultempl/gld960.em,
997 emultempl/gld960c.em, emultempl/hppaelf.em, emultempl/linux.em,
998 emultempl/lnk960.em, emultempl/m68kcoff.em, emultempl/mipsecoff.em,
999 emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em, emultempl/mmo.em,
1000 emultempl/needrelax.em, emultempl/pe.em, emultempl/ppc64elf.em,
1001 emultempl/sh64elf.em, emultempl/sunos.em, emultempl/ticoff.em: Replace
1002 boolean with bfd_boolean, true with TRUE, false with FALSE. Simplify
1003 comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
1004
1005 2002-11-27 David O'Brien <obrien@FreeBSD.org>
1006
1007 * configure.host: Fix generic FreeBSD configuration entry.
1008
1009 2002-11-27 H.J. Lu <hjl@gnu.org>
1010
1011 * ld.texinfo: Add the missing `;' to sample version scripts.
1012
1013 2002-11-20 Alan Modra <amodra@bigpond.net.au>
1014
1015 * emulparams/elf64ppc.sh (SEGMENT_SIZE): Don't define.
1016
1017 2002-11-14 Egor Duda <deo@logos-m.ru>
1018
1019 * ldmain.c (main): Make runtime relocs disabled by default. Remove
1020 assignment which has no effect.
1021 * pe-dll.h (pe_create_import_fixup): Change prototype.
1022 * pe-dll.c (make_runtime_pseudo_reloc): New function.
1023 (pe_create_runtime_relocator_reference): Ditto.
1024 (pe_create_import_fixup): Handle relocations with non-zero addends.
1025 * emultempl/pe.em: Add options --enable-runtime-pseudo-reloc and
1026 --disable-runtime-pseudo-reloc.
1027 (make_import_fixup): Handle relocations with non-zero addends. Create
1028 an external reference to _pei386_runtime_relocator symbol if at least
1029 one pseudo reloc was created.
1030 * ld.texinfo: Document --enable-runtime-pseudo-reloc and
1031 --disable-runtime-pseudo-reloc options.
1032
1033 2002-11-12 Earl Chew <earl_chew@agilent.com>
1034
1035 * ldlang.c (lang_add_section): Discard debugging sections that have
1036 been marked SEC_EXCLUDE.
1037
1038 2002-11-12 Nick Clifton <nickc@redhat.com>
1039
1040 * configure.in (ALL_LINGUAS): Add da.
1041 * configure: Regenerate.
1042 * po/da.po: New Danish translation.
1043
1044 2002-11-12 Alan Modra <amodra@bigpond.net.au>
1045
1046 * emultempl/ppc64elf.em (ppc_before_allocation): New function.
1047 (LDEMUL_BEFORE_ALLOCATION): Define.
1048 (gld${EMULATION_NAME}_finish): Run discard_info for relocatable
1049 linking.
1050 * emultemp/hppaelf.em ((gld${EMULATION_NAME}_finish): Likewise.
1051
1052 2002-11-11 Christopher Faylor <cgf@redhat.com>
1053
1054 * configure.tgt (LIB_PATH): Default to searching w32api directory under
1055 cygwin.
1056
1057 2002-11-11 Charles Wilson <cwilson@ece.gatech.edu>
1058
1059 * pe-dll.c (autofilter_liblist): add libmingwex and libgcj to the list
1060 of restricted auto-export libs.
1061
1062 2002-11-11 Charles Wilson <cwilson@ece.gatech.edu>
1063
1064 * pe-dll.c (autofilter_liblist): Generalize library names to catch more
1065 creative library naming instances like, e.g., libstdc++-2.a.
1066
1067 2002-11-06 Alexandre Oliva <aoliva@redhat.com>
1068
1069 * emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Define.
1070 * emulparams/elf64btsmip.sh (TEXT_DYNAMIC): Likewise.
1071
1072 2002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
1073
1074 * deffilep.y (def_lex): Handle '@' as first character of an ID.
1075 * pe-dll.c (auto-export): Filter on "_imp_" prefix, not "_imp__".
1076 (make_one): Don't prefix decorated fastcall symbols with '_'.
1077 (pe_process_import_defs): Likewise.
1078 * emultempl/pe.em (pe_fixup_stdcalls): Don't fixup fastcall
1079 symbols to cdecl names or vise-versa.
1080
1081 2002-10-13 Eric Kohl <ekohl@rz-online.de>
1082
1083 * pe-dll.c (process_def_file): Handle fastcall symbols when
1084 generating undecorated aliases. Don't prefix decorated fastcall
1085 symbols with '_'.
1086 (fill_exported_offsets): Don't prefix decorated fastcall symbols
1087 with '_'.
1088
1089 2002-10-29 Daniel Jacobowitz <drow@mvista.com>
1090
1091 * emultempl/aix.em: Use include <> for generated headers.
1092 * emultempl/beos.em: Likewise.
1093 * emultempl/elf32.em: Likewise.
1094 * emultempl/pe.em: Likewise.
1095 * ldctor.c: Likewise.
1096 * ldexp.c: Likewise.
1097 * ldfile.c: Likewise.
1098 * ldlang.c: Likewise.
1099 * ldlex.c: Likewise.
1100 * ldlex.l: Likewise.
1101 * ldmain.c: Likewise.
1102 * ldmisc.c: Likewise.
1103 * ldwrite.c: Likewise.
1104 * lexsup.c: Likewise.
1105 * mri.c: Likewise.
1106 * pe-dll.c: Likewise.
1107
1108 2002-10-23 Jakub Jelinek <jakub@redhat.com>
1109
1110 * emultempl/elf32.em (place_orphan): Don't put non-allocated .rel*
1111 sections into .rel{,a}.dyn.
1112
1113 2002-10-23 Nick Clifton <nickc@redhat.com>
1114
1115 * lexsup.c (OPTION_NO_OMAGIC): Define.
1116 (ld_options): Add "no-omagic" option.
1117 (parse_args): Parse --no-omagic.
1118 * ld.texinfo: Document --no-omagic.
1119 * NEWS: Mention new option.
1120
1121 2002-10-21 Danny Smith <dannysmith@users.sourceforeg.net>
1122
1123 * scripttempl/pe.sc (__RUNTIME_PSEUDO_RELOC_LIST__,
1124 __RUNTIME_PSEUDO_RELOC_LIST_END__): Add only when relocating.
1125
1126 2002-10-22 Alexandre Oliva <aoliva@redhat.com>
1127
1128 * emulparams/elf32bmipn32-defs.sh: Set ELFSIZE according to
1129 emulation name. Set LIB_PATH only for native tools, and
1130 search the ABI-specific versions of NATIVE_LIB_DIRS before the
1131 .../lib variants, not instead of them. Mostly copied from...
1132 * emulparams/elf32ppc.sh: ... here. Fixed typo.
1133 * emulparams/elf64bmip-defs.sh: Backed out.
1134 * emulparams/elf64bmip.sh: Import elf32bmipn32-defs.sh again.
1135 * emulparams/elf64btsmip.sh: Likewise.
1136 (DATA_ADDR, NONPAGED_TEXT_START_ADDR, SHLIB_TEXT_START_ADDR,
1137 TEXT_DYNAMIC): Removed.
1138
1139 2002-10-17 Alexandre Oliva <aoliva@redhat.com>
1140
1141 * emulparams/elf32bmipn32-defs.sh (LIB_PATH): Set to /usr/lib32.
1142 (GENERATE_SHLIB_SCRIPT): Set to yes.
1143 (EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Moved to...
1144 * emulparams/elf32bmipn32.sh: here.
1145 (GENERATE_SHLIB_SCRIPT): Deleted as redundant.
1146 * emulparams/elf32btsmipn32.sh: Delete redundant unsets.
1147 * emulparams/elf64bmip-defs.sh: New file. Extend
1148 elf32bmipn32-defs.sh by overiding ELFSIZE and LIB_PATH.
1149 * emulparams/elf64bmip.sh: Bring in definitions from
1150 elf64bmip-defs.sh.
1151 (ELFSIZE, GENERATE_SHLIB_SCRIPT, LIB_PATH): Delete redundant
1152 settings.
1153 (WRITABLE_RODATA): Moved from elf32bmipn32-defs.sh.
1154 * emulparams/elf64btsmip.sh: Bring in definitions from
1155 elf64bmip-defs.sh.
1156 (ELFSIZE, GENERATE_SHLIB_SCRIPT): Delete, redundant.
1157 (EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Delete redundant unsets.
1158
1159 2002-10-16 Jakub Jelinek <jakub@redhat.com>
1160
1161 * configure.tgt (s390x-*-linux*): Add elf_s390 emulation.
1162 (s390-*-linux*): Add elf64_s390 emulation if want64.
1163 * emulparams/elf64_sparc.sh (LIB_PATH): Update to match 2002-05-22
1164 genscript.sh changes.
1165 * emulparams/elf_x86_64.sh (LIB_PATH): Likewise.
1166 * emulparams/elf64_s390.sh (LIB_PATH): Set up native 64 bit dirs.
1167
1168 2002-10-15 Alan Modra <amodra@bigpond.net.au>
1169
1170 * ldlang.c (load_symbols): Revert last change.
1171
1172 2002-10-14 Alan Modra <amodra@bigpond.net.au>
1173
1174 * ldlang.c (load_symbols): Don't call bfd_link_add_symbols when
1175 just_syms_flag.
1176 (lang_reasonable_defaults): Don't compare against false.
1177 (size_input_section): Likewise.
1178 (lang_size_sections_1): Likewise.
1179 (lang_do_assignments): Likewise.
1180 (lang_add_output): Likewise.
1181
1182 * Makefile.am: Run "make dep-am".
1183 * Makefile.in: Regenerate.
1184 * ldver.c: #include "bfdver.h".
1185
1186 2002-10-13 Stephane Carrez <stcarrez@nerim.fr>
1187
1188 * scripttempl/elfm68hc11.sc: Use KEEP for .vectors, .installN,
1189 .finiN section.
1190 * scripttempl/elfm68hc12.sc: Likewise.
1191
1192 2002-10-11 Alan Modra <amodra@bigpond.net.au>
1193
1194 * pe-dll.c (make_import_fixup_mark): Avoid type-punned pointer.
1195
1196 * ldgram.y (memory_spec): Provide empty action.
1197 (section <NAME>): Likewise.
1198
1199 2002-10-10 Jakub Jelinek <jakub@redhat.com>
1200
1201 * ldfile.c (ldfile_try_open_bfd): When searching skip linker scripts if
1202 they have OUTPUT_FORMAT not matching actual output format.
1203 * ldlang.c (lang_get_output_target): New function.
1204 (open_output): Use it.
1205 * ldlang.h (lang_get_output_target): New prototype.
1206
1207 2002-10-10 Alan Modra <amodra@bigpond.net.au>
1208
1209 * emultempl/elf32.em (output_rel_find): Prefer .rel script sections
1210 when orphan is .rel, .rela when orphan is .rela.
1211 (gld${EMULATION_NAME}_place_orphan): Handle combreloc .rel* case
1212 first. Remove outsecname var.
1213
1214 2002-10-09 Richard Shann <richard.shann@superh.com>
1215 Stephen Clarke <stephen.clarke@superh.com>
1216
1217 * Makefile.am: Add eshelf32_linux.o and
1218 eshlelf32_linux.o, new emulations for sh64 Linux.
1219 * Makefile.in: Regenerate.
1220 * configure.tgt: Add sh64eb-*-linux* and sh64-*-linux* emulations.
1221 * emulparams/shelf32_linux.sh: New file.
1222 * emulparams/shlelf32_linux.sh: New file.
1223
1224 2002-10-08 H.J. Lu <hjl@gnu.org>
1225
1226 * ldlang.c (lang_file_exist): Removed.
1227 (new_afile): Revert the last change.
1228 * ldlang.h (lang_file_exist): Removed.
1229 * lexsup.c (parse_args): Revert the last change.
1230
1231 2002-10-07 Ralf Habacker <Ralf.Habacker@freenet.de>
1232
1233 * pe-dll.cc (autofilter_symbolprefixlist): Don't re-export
1234 auto-import symbols.
1235 (make_one): Create _nm_<symbol> for data only.
1236
1237 2002-10-05 Elias Athanasopoulos <eathan@otenet.gr>
1238
1239 * ldlang.c (lang_file_exist): New function.
1240 (new_afile): Abort if the filename to be added matches the linker
1241 output filename.
1242 * ldlang.h: Add prototype for lang_file_exist.
1243 * lexsup.c (parse_args): Abort if the output filename matches
1244 one of the input filenames.
1245
1246 2002-10-02 Alan Modra <amodra@bigpond.net.au>
1247
1248 * emulparams/elf64ppc.sh (MAXPAGESIZE): Set to 0x10000.
1249
1250 2002-09-30 Alan Modra <amodra@bigpond.net.au>
1251
1252 * scripttempl/elfd30v.sc: Order reloc sections placing .plt last.
1253 * scripttempl/elfm68hc11.sc: Likewise.
1254 * scripttempl/elfm68hc12.sc: Likewise.
1255
1256 * emultempl/elf32.em (output_rel_find): Always place orphan loadable
1257 reloc sections just before .rel.plt/.rela.plt.
1258 (gld${EMULATION_NAME}_place_orphan <.rel>): Remove combreloc code.
1259 Only put loadable reloc sections in hold_rel.
1260
1261 2002-09-29 H.J. Lu <hjl@gnu.org>
1262
1263 * emulparams/elf32ppc.sh (OTHER_GOT_RELOC_SECTIONS): New.
1264
1265 2002-09-25 Daniel Jacobowitz <drow@mvista.com>
1266
1267 From "Anita Kulkarni" <AnitaK@kpit.com>
1268 * scripttempl/sh.sc: Handle .eh_frame* and .gcc_exc*
1269 sections.
1270
1271 2002-09-25 Alan Modra <amodra@bigpond.net.au>
1272
1273 * genscripts.sh (SEGMENT_SIZE): Use MAXPAGESIZE before
1274 TARGET_PAGE_SIZE.
1275 * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Incorporate
1276 SEGMENT_SIZE alignment.
1277 * emulparams/elf64ppc.sh (DATA_ADDR): Delete.
1278 (SEGMENT_SIZE): Define.
1279
1280 * ldexp.c (fold_unary): New. Split out from exp_fold_tree.
1281 (fold_binary): Correct abs - non-abs case.
1282 (fold_trinary): New. Split out from exp_fold_tree.
1283
1284 2002-09-24 Alan Modra <amodra@bigpond.net.au>
1285
1286 * emulparams/elf64ppc.sh (DATA_ADDR): Define.
1287 * emulparams/elf64_aix.sh (DATA_ADDR): Don't use a fixed address
1288 for start of .data, instead align up to 256M boundary.
1289 * scripttempl/aix.sc: Likewise.
1290
1291 2002-09-22 Mark Elbrecht <snowball3@softhome.net>
1292
1293 * scripttempl/i386go32.sc: Handle bss unique sections.
1294
1295 2002-09-21 Alan Modra <amodra@bigpond.net.au>
1296
1297 * ldmisc.c (vfinfo <%C,%D,%G>): Always output bfd, section and offset.
1298
1299 2002-09-17 Stan Cox <scox@redhat.com>
1300
1301 * emulparams/elf32bmipn32-defs.sh: New file.
1302 * emulparams/elf32bmipn32.sh: Use elf32bmipn32-defs.sh.
1303 * emulparams/elf32btsmipn32.sh: Likewise.
1304 * emulparams/elf64bmip.sh: Likewise.
1305 * emulparams/elf64btsmip.sh: Likewise.
1306
1307 2002-09-16 Bruno Haible <bruno@clisp.org>
1308
1309 * emulparams/elf_i386_fbsd.sh: Set OUTPUT_FORMAT to
1310 elf32-i386-freebsd.
1311 * emulparams/elf64alpha_fbsd.sh: Set OUTPUT_FORMAT to
1312 elf64-alpha-freebsd.
1313
1314 2002-09-11 Nick Clifton <nickc@redhat.com>
1315
1316 * NEWS: New TI port supports both C4x and C3x series of DSPs.
1317
1318 * po/tr.po: Updated Turkish translation.
1319
1320 2002-09-06 Jeffrey A Law (law@redhat.com)
1321
1322 * configure.tgt (h8300-*-hms*, h8500-*-hms*): Restore.
1323
1324 2002-09-02 Nick Clifton <nickc@redhat.com>
1325
1326 * scripttempl/v850.sc: Add EXTERN references to __ctbpm __gp and
1327 __ep.
1328 * emulparams/v850.sh (TEMPLATE_NAME): Define.
1329
1330 2002-08-30 Nick Clifton <nickc@redhat.com>
1331
1332 * scripttempl/elfd10v.sc (MEMORY): Remove UNIFIED, it is not
1333 used. Change INSN to start at 0x01000000 and extend for
1334 256K (ignoring holes). Start the STACK on a word aligned
1335 boundary.
1336 (.rodata): Start it at the READONLY_START_ADDR.
1337
1338 2002-08-30 Alan Modra <amodra@bigpond.net.au>
1339
1340 * emulparams/elf32ppc.sh (ARCH): Set to "powerpc:common".
1341
1342 2002-08-28 Svein E. Seldal <Svein.Seldal@solidas.com>
1343
1344 * Makefile.am: Add etic4xcoff.o in ALL_EMULATIONS list and
1345 added makefile targets for this file.
1346 * Makefile.in: Regenerate.
1347 * configure.tgt: Added tic4x-coff and c4x-coff emulations.
1348 * NEWS: Mention new port.
1349
1350 2002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1351
1352 * emulparams/tic3xcoff.sh: New file.
1353 * emulparams/tic4xcoff.sh: New file.
1354 * scripttempl/tic3xcoff.sc: New file.
1355 * scripttempl/tic4xcoff.sc: New file.
1356
1357 2002-08-28 Alan Modra <amodra@bigpond.net.au>
1358
1359 * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Replace strtoll,
1360 strtoul and strtoull with bfd_scan_vma.
1361 (gld${EMULATION_NAME}_read_file): Likewise.
1362
1363 2002-08-28 Alan Modra <amodra@bigpond.net.au>
1364
1365 * configure.tgt: Remove h8[35]00-*-hms*. Add h8500-*-rtems*.
1366
1367 2002-08-27 Egor Duda <deo@logos-m.ru>
1368
1369 * scripttempl/pe.sc: Handle .rdata_runtime_pseudo_reloc sections.
1370 Add symbols for application to access them.
1371
1372 2002-08-27 Nick Clifton <nickc@redhat.com>
1373
1374 * emultempl/armelf.em: Revert this patch, it is not needed.
1375
1376 2002-08-22 Adam Nemet <anemet@lnxw.com>
1377
1378 2002-08-20 Dan Kegel <dank@kegel.com>
1379
1380 * configure.in: added --with-lib-path argument to ld's configure
1381 to set LIB_PATH.
1382 * ld/NEWS: Document new switch.
1383 * ld/README: Mention new switch.
1384 * configure: Regenerate.
1385 * Makefile.in: Regenerate.
1386
1387 Based on this patch:
1388 2001-04-25 Christopher Faylor <cgf@cygnus.com>
1389
1390 * Makefile.in (LIB_PATH): Make configurable.
1391 (GENSCRIPTS): Set LIB_PATH in environment.
1392 * configure.in: Substitute LIB_PATH.
1393
1394 2002-08-22 Adam Nemet <anemet@lnxw.com>
1395
1396 * emultempl/armelf.em: Include elf-bfd.h and elf/arm.h.
1397 (arm_elf_finish): Set the last bit of DT_INIT and DT_FINI
1398 depending on the type of the function.
1399 (arm_elf_convert_thumb_symbol_to_address): New function.
1400
1401 2002-08-22 Graeme Peterson <gp@qnx.com>
1402
1403 * Makefile.am: Add esh{l}elf_nto.o files.
1404 * Makefile.in: Regenerate.
1405 * configure.tgt: Add support for sh-**-nto* targets.
1406 * emulparams/shelf_nto.sh: New file.
1407 * emulparams/shlelf_nto.sh: New file.
1408
1409 2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
1410
1411 * ldlang.c (offsetof): Define if not defined.
1412
1413 2002-08-14 H.J. Lu <hjl@gnu.org>
1414
1415 * configure.tgt: Always enable 64bit emulations for 32bit
1416 Linux/mips.
1417
1418 2002-08-13 Alan Modra <amodra@bigpond.net.au>
1419
1420 * emulparams/elf32_dlx.sh (TARGET_PAGE_SIZE): Set to 1.
1421 (MAXPAGESIZE): Set to 1.
1422
1423 * ld.h (ALIGN_N): Delete.
1424 * ldexp.h (align_n): Declare.
1425 * ldexp.c (align_n): New function.
1426 (fold_binary): Use align_n instead of ALIGN_N.
1427 (exp_fold_tree): Likewise.
1428 * ldlang.c (lang_size_sections_1): Likewise.
1429 (lang_one_common): Likewise.
1430 * ld.texinfo (ALIGN): Remove power of 2 restriction.
1431
1432 2002-07-31 Graeme Peterson <gp@qnx.com>
1433
1434 * configure.tgt: Add support for powerpc{le}-*-nto* targets.
1435 * Makefile.am: Add eelf32{l}ppcnto.o files.
1436 * Makefile.in: Regenerate.
1437 * emulparams/elf32lppcnto.sh: New file.
1438 * emulparams/elf32ppcnto.sh: New file.
1439
1440 2002-08-07 H.J. Lu <hjl@gnu.org>
1441
1442 * ld.texinfo: Document --no-undefined-version.
1443
1444 * ldlang.c (lang_new_vers_pattern): Set the `symver' and
1445 `script.' fields to 0.
1446
1447 * ldmain.c (main): Initialize the allow_undefined_version to
1448 true.
1449
1450 * lexsup.c (OPTION_NO_UNDEFINED_VERSION): New.
1451 (ld_options): Add --no-undefined-version.
1452 (parse_args): Support OPTION_NO_UNDEFINED_VERSION.
1453
1454 2002-08-07 Nick Clifton <nickc@redhat.com>
1455
1456 * emultempl/armelf.em (arm_elf_before_allocation): Only search for
1457 an interworking bfd if there are input bfds. (107501)
1458
1459 2002-08-06 Alan Modra <amodra@bigpond.net.au>
1460
1461 * emultempl/aix.em (gld*_before_parse): Set default arch. Reverts
1462 2002-05-10 change.
1463
1464 2002-08-01 Nick Clifton <nickc@redhat.com>
1465
1466 * emulparams/armelf.sh: Revert previous delta.
1467 * scripttempl/elf.sc: Revert previous delta.
1468
1469 2002-07-31 H.J. Lu <hjl@gnu.org>
1470
1471 * configure.tgt (powerpc*-*-linux*): Enable elf64ppc for
1472 --enable-64-bit-bfd.
1473
1474 2002-07-31 H.J. Lu <hjl@gnu.org>
1475
1476 * configure.tgt: Enable x86-64 emulation for Linux/i386 if
1477 64bit BFD is selected.
1478
1479 2002-07-31 H.J. Lu <hjl@gnu.org>
1480
1481 * configure.tgt: Enable 64bit emulations for 32bit Linux/mips
1482 if 64bit BFD is selected.
1483
1484 2002-07-31 Ian Dall <ian@sibyl.beware.dropbear.id.au>
1485
1486 * emultempl/netbsd.em (LDEMUL_BEFORE_PARSE): New file to custom set
1487 link_info.common_skip_ar_aymbols.
1488 * emulparams/ns32knbsd.sh (EXTRA_EM_FILE): Refer to extra file.
1489
1490 * ldmain.c (main): Initialize new field
1491 link_info.common_skip_ar_aymbols.
1492
1493 2002-07-31 Adam Nemet <anemet@lnxw.com>
1494
1495 * emulparams/armelf.sh (OTHER_PLT_SECTIONS): New variable. Set it
1496 to .plt.thumb.
1497 * scripttempl/elf.sc: Comment it. Use the same way as ${PLT} is
1498 used.
1499
1500 2002-07-31 Nick Clifton <nickc@redhat.com>
1501
1502 * NEWS: Retroactively add entry for Lars Brinkhoff's contribution
1503 of the PDP-11 and 2.11BSD a.out support.
1504
1505 2002-07-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1506
1507 * Makefile.am (eelf32btsmipn32.o, eelf32ltsmipn32.o): New emulations
1508 for n32 ABI support.
1509 * Makefile.in: Regenerate.
1510 * configure.tgt (mips64*el-*-linux-gnu*,mips64*-*-linux-gnu*): Add
1511 n32 ABI emulations for these 64 bit targets.
1512 * emulparams/elf32bmipn32.sh: Expand comment.
1513 * emulparams/elf32btsmipn32.sh: New file, for traditional big endian
1514 n32 ABI.
1515 * emulparams/elf32ltsmipn32.sh: Likewise for little endian.
1516
1517 2002-07-30 Graeme Peterson <gp@qnx.com>
1518
1519 * configure.tgt: Add support for arm-*-nto target.
1520 * Makefile.am: Add earmnto.o file.
1521 * Makefile.in: Regenerate.
1522 * NEWS: Mention port of ARM support to QNX.
1523 * emulparams/armnto.sh: New file.
1524
1525 2002-07-30 Jakub Jelinek <jakub@redhat.com>
1526
1527 * ldlang.c (lang_add_section): Don't turn .tbss into normal sections
1528 for relocatable link.
1529 (lang_size_sections_1): Don't make .tbss zero size for relocatable
1530 link.
1531
1532 2002-07-26 Bernd Schmidt <bernds@redhat.com>
1533
1534 * emulparams/elf32frv.sh (OTHER_RELOCATING_SECTIONS): Delete.
1535 (STACK_ADDR): New.
1536
1537 2002-07-25 Nick Clifton <nickc@redhat.com>
1538
1539 * po/sv.po: Updated Swedish translation.
1540 * po/es.po: Updated Spanish translation.
1541 * po/fr.po: Updated French translation.
1542
1543 2002-07-24 Nick Clifton <nickc@redhat.com>
1544
1545 * po/sv.po: Updated Swedish translation.
1546 * po/es.po: Updated Spanish translation.
1547
1548 2002-07-23 Nick Clifton <nickc@redhat.com>
1549
1550 * po/fr.po: Updated French translation.
1551
1552 2002-07-20 Alan Modra <amodra@bigpond.net.au>
1553
1554 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1555 bomb on /DISCARD/ input section.
1556 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1557 * emultempl/mmo.em (mmo_place_orphan): Likewise.
1558
1559 2002-07-19 Hans-Peter Nilsson <hp@bitrange.com>
1560
1561 * emultempl/mmo.em (mmo_place_orphan): Handle case of no .text
1562 output section.
1563
1564 2002-07-16 Denis Chertykov <denisc@overta.ru>
1565 Nick Clifton <nickc@redhat.com>
1566 Frank Ch. Eigler <fche@redhat.com>
1567 John Healy <jhealy@redhat.com>
1568
1569 * configure.tgt: Add support for ip2k-elf.
1570 * Makefile.am: Add support for ip2k-elf.
1571 * Makefile.in: Regenerate.
1572 * emulparams/elf32ip2k.sh: New file.
1573 * scripttempl/ip2k.sc: New file
1574 * NEWS: Mention support for new port.
1575
1576 2002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
1577
1578 * NEWS: Add 'Changes in 2.13'.
1579
1580 2002-07-14 H.J. Lu <hjl@gnu.org>
1581
1582 * ld.texinfo: Document a .symver takes precedence over a
1583 version script.
1584
1585 2002-07-12 Alan Modra <amodra@bigpond.net.au>
1586
1587 * emulparams/elf64ppc.sh (ARCH): Set to powerpc:common64.
1588 (COMMONPAGESIZE): Define.
1589
1590 2002-07-09 Alan Modra <amodra@bigpond.net.au>
1591
1592 * emulparams/hppanbsd.sh: Remark that hppaobsd.sh references this file.
1593
1594 2002-07-09 Federico G. Schwindt <fgsch@olimpo.com.br>
1595
1596 * configure.tgt: Add support for alpha-*-openbsd*, hppa-*-openbsd*,
1597 powerpc-*-openbsd* and sparc64-*-openbsd*.
1598 * Makefile.am (ALL_EMULATIONS): Add ehppaobsd.o.
1599 * Makefile.in: Regenerate.
1600 * emulparams/hppaobsd.sh: New file.
1601
1602 2002-07-05 Alan Modra <amodra@bigpond.net.au>
1603
1604 * ldlang.c (print_wild_statement): Fix output formatting.
1605
1606 2002-07-04 Alan Modra <amodra@bigpond.net.au>
1607
1608 * ldlang.c: (strip_excluded_output_sections): New function.
1609 (lang_process): Call it.
1610 (lang_size_sections_1): Revert 2002-06-10 change.
1611
1612 2002-07-03 Alan Modra <amodra@bigpond.net.au>
1613
1614 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
1615 Run "make dep-am".
1616 * Makefile.in: Regenerate.
1617
1618 2002-07-02 Alan Modra <amodra@bigpond.net.au>
1619
1620 * ldfile.c (ldfile_try_open_bfd): Formatting.
1621
1622 * ldmisc.c (demangle): Move so that it doesn't intrude between
1623 vfinfo comment and body. Add comment.
1624
1625 2002-07-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
1626
1627 * emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format.
1628
1629 2002-07-01 Alan Modra <amodra@bigpond.net.au>
1630
1631 * ldlang.h (entry_sym): Make it a struct bfd_sym_chain.
1632 * ldlang.c (entry_sym): Likewise.
1633 (ldlang_undef_chain_list_type): Likewise.
1634 (lang_finish): Adjust references to entry_symbol.
1635 (lang_add_entry): Likewise.
1636 (lang_gc_sections): Use link_info.gc_sym_list.
1637 (lang_process): Set link_info.gc_sym_list.
1638 * ldlex.l: Include bfdlink.h.
1639 * ldmain.c (main): Init link_info.gc_sym_list.
1640 * emultempl/aix.em: Adjust references to entry_symbol.
1641 * emultempl/armcoff.em: Likewise.
1642 * emultempl/armelf.em: Likewise.
1643 * emultempl/pe.em: Likewise.
1644 * emultempl/ppc64elf.em (ppc_after_open): New function.
1645 (LDEMUL_AFTER_OPEN): Define.
1646 * emulparams/elf64ppc.sh: KEEP .opd sections.
1647
1648 2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
1649
1650 * emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.
1651 * emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define.
1652 * emulparams/m68hc11elf.sh (EEPROM_SIZE): Define.
1653 (EEPROM_START_ADDR): Define.
1654 (EEPROM_MEMORY): Define.
1655 * emulparams/m68hc12elf.sh: Likewise.
1656 * scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs
1657 section to put soft registers in .page0.
1658 * scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss.
1659
1660 2002-06-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
1661
1662 * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
1663 section. Add ${RELOCATING-0}.
1664
1665 2002-06-26 J"orn Rennecke <joern.rennecke@superh.com>
1666
1667 * emulparams/shelf.sh (STACK_ADDR): Don't define.
1668 (OTHER_SECTIONS): Define.
1669 * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef.
1670 (OTHER_SECTIONS): Undef.
1671
1672 2002-06-26 Alan Modra <amodra@bigpond.net.au>
1673
1674 * ldmisc.c (demangle): Restore dots stripped from sym name.
1675
1676 2002-06-25 H.J. Lu <hjl@gnu.org>
1677
1678 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
1679 * Makefile.in: Regenerated.
1680
1681 2002-06-20 Nick Clifton <nickc@cambridge.redhat.com>
1682
1683 * ld.texinfo (Bug Reporting): Update text to suggest a limit on
1684 the size of attached object files, to allow make the object files
1685 available via FTP or HTTP and to mention that the mail will be
1686 sent to a mailing list.
1687
1688 2002-06-20 Nathanael Nerode <neroden@twcny.rr.com>
1689
1690 * ld/configure.host (romp): Drop support.
1691
1692 2002-06-18 Chris Demetriou <cgd@broadcom.com>
1693
1694 * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Check
1695 section flags for SEC_DATA, rather than for SEC_CODE being unset.
1696
1697 2002-06-18 Chris Demetriou <cgd@broadcom.com>
1698
1699 * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Fix
1700 format specifier used to print BFD name.
1701
1702 2002-06-18 Dave Brolley <brolley@redhat.com>
1703
1704 From Catherine Moore, Michael Meissner, Jim Blandy:
1705 * emulparams/elf32frv.sh: New file.
1706 * configure.tgt: Support frv-*-*.
1707 * Makefile.am (ALL_EMULATIONS): Add eelf32frv.o.
1708 (eelf32frv.c): New target.
1709
1710 2002-06-17 Tom Rix <trix@redhat.com>
1711
1712 * emultempl/elf32.em: gld*_get_script: Check for
1713 GENERATE_COMBRELOC_SCRIPT.
1714 * scripttempl/elfd10v.sc : Fix STACK and INSN.
1715 * emulparams/d10velf.sh : Fix TEXT_START_ADDR.
1716
1717 2002-06-13 J"orn Rennecke <joern.rennecke@superh.com>
1718
1719 * configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf.
1720
1721 2002-06-12 H.J. Lu <hjl@gnu.org>
1722
1723 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Return
1724 false if xvec doesn't match.
1725
1726 2002-06-10 Richard Sandiford <rsandifo@redhat.com>
1727
1728 * ldlang.c (lang_size_sections_1): Skip removed output sections.
1729
1730 2002-06-08 Alan Modra <amodra@bigpond.net.au>
1731
1732 * ldexp.c: Replace CONST with const.
1733 * ldfile.c: Likewise.
1734 * ldfile.h: Likewise.
1735 * ldlex.l: Likewise.
1736 * mri.c: Likewise.
1737 * pe-dll.h: Likewise.
1738
1739 2002-06-07 Alan Modra <amodra@bigpond.net.au>
1740
1741 * emultempl/ppc64elf.em (new_vers_pattern): Warning fix.
1742
1743 2002-06-07 Charles Wilson <cwilson@ece.gatech.edu>
1744
1745 * ld/ldmain.c (main): initialize link_info.pei386_auto_import
1746 to -1 == implicit enable.
1747 * ld/emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
1748 initialize link_info.pei386_auto_import to -1 == implicit
1749 enable.
1750 (gld_${EMULATION_NAME}_parse_args): When processing
1751 --enable-auto-import and --disable-auto-import options, use
1752 '1' and '0' instead of 'true' and 'false'.
1753 (pe_find_data_imports): Only issue message about auto-import
1754 when the feature is implicitly enabled. Downgrade message to
1755 informational instead of warning.
1756
1757 2002-06-07 Alan Modra <amodra@bigpond.net.au>
1758
1759 * scripttempl/elf.sc (.tbss): Fix mismatched parentheses/braces.
1760
1761 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
1762
1763 * configure.host (hppa*64*-*-hpux11*): Define NATIVE_LIB_DIRS,
1764 HOSTING_CRT0 and HOSTING_LIBS.
1765
1766 2002-06-05 J"orn Rennecke <joern.rennecke@superh.com>
1767
1768 * configure.tgt (shle*-*-elf*, sh64le-*-elf*): New configurations.
1769
1770 2002-06-05 Jason Thorpe <thorpej@wasabisystems.com>
1771
1772 * emulparams/ns32knbsd.sh (EXECUTABLE_SYMBOLS): Set _DYNAMIC to 0.
1773 (NONPAGED_TEXT_START_ADDR): Set to 0x1000.
1774
1775 2002-06-05 Alan Modra <amodra@bigpond.net.au>
1776
1777 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place
1778 SEC_EXCLUDE sections when doing a relocatable link.
1779
1780 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
1781
1782 * Makefile.am (ALL_EMULATIONS): Add eshelf32_nbsd.o,
1783 eshlelf32_nbsd.o, eshelf64_nbsd.o, and eshlelf64_nbsd.o.
1784 (eshelf32_nbsd.c, eshelf64_nbsd.c, eshlelf32_nbsd.c)
1785 (eshlelf64_nbsd.c): New rules.
1786 * Makefile.in: Regenerate.
1787 * configure.tgt (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*)
1788 (sh64-*-netbsd*): New targets.
1789 * emulparams/shelf32_nbsd.sh: New file.
1790 * emulparams/shelf64_nbsd.sh: New file.
1791 * emulparams/shlelf32_nbsd.sh: New file.
1792 * emulparams/shlelf64_nbsd.sh: New file.
1793
1794 2002-06-04 Alan Modra <amodra@bigpond.net.au>
1795
1796 * ldlang.c (section_already_linked): Call bfd_discard_group. Typo fix.
1797
1798 2002-06-02 Marek Michalkiewicz <marekm@amelek.gda.pl>
1799
1800 * scripttempl/avr.sc: Changes to support current GCC and avr-libc,
1801 C++ constructors/destructors, loosely based on the m68hc11 port.
1802
1803 2002-05-31 Alan Modra <amodra@bigpond.net.au>
1804
1805 * Makefile.in: Regenerate.
1806 * aclocal.m4: Regenerate.
1807 * config.in: Regenerate.
1808 * configure: Regenerate.
1809
1810 2002-05-31 Graeme Peterson <gp@qnx.com>
1811
1812 * Makefile.am (ALL_EMULATIONS): Add ei386nto.o.
1813 (ei386nto.c): Add rule.
1814 * Makefile.in: Regenerate.
1815 * configure.tgt: Add i[3456]86-*-nto-qnx*.
1816 * emulparams/i386nto.sh: New file.
1817
1818 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
1819
1820 * NEWS: Add entry for VAX ELF support.
1821
1822 2002-05-29 Matt Thomas <matt@3am-software.com>
1823 Jason Thorpe <thorpej@wasabisystems.com>
1824
1825 * Makefile.am (ALL_EMULATIONS): Add eelf32vax.o and evaxnbsd.o.
1826 (eelf32vax.c)
1827 (evaxnbsd.c): New rules.
1828 * Makefile.in: Regenerate.
1829 * configure.tgt (vax-*-netbsdelf*)
1830 (vax-*-netbsdaout*)
1831 (vax-*-netbsd*): New targets.
1832 * emulparams/elf32vax.sh: New file.
1833 * emulparams/vaxnbsd.sh: New file.
1834
1835 2002-05-29 Adam Nemet <anemet@lnxw.com>
1836
1837 * emultempl/armelf.em (arm_elf_after_open): Don't determine
1838 bfd_for_interwork, instead add glue sections to each input bfd.
1839 (bfd_for_interwork): New global.
1840 (arm_elf_set_bfd_for_interworking): New function.
1841 (arm_elf_before_allocation): Use it.
1842
1843 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
1844
1845 * Makefile.am: Add DLX make target.
1846 * configure.tgt: Add DLX configuration.
1847 * Makefile.in: Regenerate.
1848 * emulparams/elf32_dlx.sh: New file
1849 * scripttempl/dlx.sc: New file
1850
1851 2002-05-27 Per Lundberg <per@caleb.dnsalias.org>
1852
1853 * Makefile.am (eelf_i386_chaos): Use elf_chaos.sc script.
1854 * Makefile.in: Regenerate.
1855 * emulparams/elf_chaos.sh: Use elf_chaos script.
1856 * scripttempl/elf_chaos.sc: New file.
1857
1858 2002-05-27 Richard Sandiford <rsandifo@redhat.com>
1859
1860 * ldlang.c (lang_size_sections_1): Move check for conflicting load
1861 addresses and regions from here...
1862 (lang_get_regions): ...to this new function.
1863 (lang_leave_output_section_statement): Use lang_get_regions.
1864 (lang_leave_overlay): Likewise.
1865 * mri.c (mri_draw_tree): Pass null as last argument to
1866 lang_leave_output_section_statement.
1867 * emultempl/elf32.em (gld*_place_orphan): Likewise.
1868 * emultempl/mmo.em (mmo_place_orphan): Likewise.
1869 * emultempl/pe.em (gld*_place_orphan): Likewise.
1870
1871 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
1872
1873 * configure.tgt: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
1874
1875 2002-05-25 Kazu Hirata <kazu@cs.umass.edu>
1876
1877 * ldemul.c: Fix formatting.
1878 * ldfile.c: Likewise.
1879 * pe-dll.c: Likewise.
1880 * pe-dll.h: Likewise.
1881
1882 2002-05-25 Alan Modra <amodra@bigpond.net.au>
1883
1884 * ldlang.c (lang_process): Formatting, grammar.
1885
1886 * ldlex.l: Use #include "" instead of <> for local header files.
1887
1888 2002-05-24 TAMURA Kent <kent@netbsd.org>
1889
1890 * configure.tgt: Add a target for i386-netbsdpe.
1891
1892 2002-05-23 Jakub Jelinek <jakub@redhat.com>
1893
1894 * scripttempl/elf.sc: Add .rel{,a}.t{bss,data}, .tdata and .tbss.
1895 * ldlang.c (lang_add_section): Set SEC_THREAD_LOCAL for
1896 output section if necessary. Handle .tbss.
1897 (lang_size_sections): Clear _raw_size for .tbss section
1898 (it allocates space in PT_TLS segment only).
1899 * ldwrite.c (build_link_order): Build link order for .tbss too.
1900
1901 2002-05-23 Alan Modra <amodra@bigpond.net.au>
1902
1903 * configure.in: Correct spelling of AC_PREREQ.
1904
1905 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
1906
1907 * pe-dll.c (autofilter_liblist): Add more system libs excluded by
1908 default.
1909 (autofilter_objlist): Add crtbegin.o, crtend.o.
1910
1911 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
1912
1913 * emultempl/pe.em (OPTION_EXCLUDE_LIBS): Add new define.
1914 (longopts): Add new option --exclude-libs.
1915 (gld_${EMULATION_NAME}_list_options): Give quick help about it.
1916 (gld_${EMULATION_NAME}_parse_args): Use it.
1917 * pe-dll.h (pe_dll_add_excludes): Add second param to prototype.
1918 * pe-dll.c (exclude_list_struct): Add field type to distinguish symbols
1919 from whole archives.
1920 (pe_dll_add_excludes): Set excludes->type.
1921 (auto_export): Add new variable libname and set to archive basename if
1922 abfd. Use it when filtering default and user-specified libarary
1923 excludes. Let string "ALL" mean all libs when filtering user-specified
1924 libs.
1925 * ld.texinfo: Document --exclude-libs.
1926
1927 2002-05-22 Alan Modra <amodra@bigpond.net.au>
1928
1929 * ldemul.c (ldemul_new_vers_pattern): New function.
1930 * ldemul.h (ldemul_new_vers_pattern): Declare.
1931 (struct ld_emulation_xfer_struct): Add new_vers_pattern.
1932 * ldlang.c (lang_new_vers_pattern): Call ldemul_new_vers_pattern.
1933 * emultempl/ppc64elf.em (dotsyms): New static var.
1934 (gld${EMULATION_NAME}_new_vers_pattern): New function.
1935 (LDEMUL_NEW_VERS_PATTERN): Define.
1936 (PARSE_AND_LIST_PROLOGUE): Add OPTION_DOTSYMS, OPTION_NO_DOTSYMS.
1937 (PARSE_AND_LIST_LONGOPTS): Likewise.
1938 (PARSE_AND_LIST_ARGS_CASES): Handle them.
1939 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Update
1940 initialiser.
1941 * emultempl/armcoff.em: Likewise.
1942 * emultempl/armelf_oabi.em: Likewise.
1943 * emultempl/beos.em: Likewise.
1944 * emultempl/elf32.em: Likewise.
1945 * emultempl/generic.em: Likewise.
1946 * emultempl/gld960.em: Likewise.
1947 * emultempl/gld960c.em: Likewise.
1948 * emultempl/linux.em: Likewise.
1949 * emultempl/lnk960.em: Likewise.
1950 * emultempl/m68kcoff.em: Likewise.
1951 * emultempl/mipsecoff.em: Likewise.
1952 * emultempl/pe.em: Likewise.
1953 * emultempl/sunos.em: Likewise.
1954 * emultempl/ticoff.em: Likewise.
1955 * emultempl/vanilla.em: Likewise.
1956
1957 2002-05-22 Alan Modra <amodra@bigpond.net.au>
1958
1959 * genscripts.sh (LIB_PATH): For native targets, concatenate $libdir
1960 and $NATIVE_LIB_DIRS. Add $tool_lib before other libs.
1961 (LIB_SEARCH_DIRS): No need to use "tr".
1962 (COMPILE_IN): Only set for native targets.
1963 * configure.host (NATIVE_LIB_DIRS): Specify all native search dirs
1964 here, rather than adding lib:/usr/lib:/usr/local/lib in genscripts.sh.
1965 * configure.tgt (powerpc*): Set tdir_*.
1966 (powerpcle*): Correct targ_extra_emuls.
1967 * emulparams/elf32ppc.sh (LIB_PATH): Set up native 64 bit dirs.
1968 * emulparams/elf64ppc.sh (LIB_PATH): Likewise.
1969
1970 2002-05-22 Alan Modra <amodra@bigpond.net.au>
1971
1972 * emultempl/pe.em (set_pe_subsystem): Don't set "cmdline" when
1973 calling lang_add_entry.
1974
1975 2002-05-21 H.J. Lu (hjl@gnu.org)
1976
1977 * emultempl/elf32.em (gld${EMULATION_NAME}_parse_args): Handle
1978 "-z muldefs".
1979 (gld${EMULATION_NAME}_list_options): Add "-z muldefs".
1980
1981 * ld.texinfo: Updated for --allow-multiple-definition and
1982 "-z muldefs".
1983
1984 * ldmain.c (main): Initialize the allow_multiple_definition
1985 field to false.
1986
1987 * lexsup.c (OPTION_ALLOW_MULTIPLE_DEFINITION): New.
1988 (ld_options): Add --allow-multiple-definition.
1989 (parse_args): Support OPTION_ALLOW_MULTIPLE_DEFINITION.
1990
1991 2002-05-21 Jason Thorpe <thorpej@wasabisystems.com>
1992
1993 * Makefile.am (ALL_EMULATIONS): Add earmelfb_nbsd.o.
1994 (earmelfb_nbsd.c): New rule.
1995 * Makefile.in: Regenerate.
1996 * configure.tgt (armeb-*-netbsdelf*): New target.
1997 (arm-*-netbsdelf*): Add armelfb_nbsd to targ_extra_emuls.
1998 (arm-*-netbsd*): Likewise.
1999 * emulparams/armelfb_nbsd.sh: New file.
2000
2001 2002-05-18 Tom Rix <trix@redhat.com>
2002
2003 * emultempl/aix.em (gld*_parse_args): Add -bnortl and -bnortllib
2004 support.
2005
2006 2002-05-17 Marek Michalkiewicz <marekm@amelek.gda.pl>
2007
2008 * Makefile.am: Add new emulations avr1, avr2, avr3, avr4, avr5.
2009 * Makefile.in: Regenerate.
2010 * configure.tgt (avr-*-*): Add avr[1-5] to targ_extra_emuls.
2011
2012 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
2013
2014 * emulparams/avr1.sh: New file.
2015 * emulparams/avr2.sh: New file.
2016 * emulparams/avr3.sh: New file.
2017 * emulparams/avr4.sh: New file.
2018 * emulparams/avr5.sh: New file.
2019 * scripttempl/avr.sc: New file.
2020
2021 2002-05-15 Alan Modra <amodra@bigpond.net.au>
2022
2023 * ldlang.c (section_already_linked): Call bfd_link_just_syms.
2024 (lang_place_orphans): Abort if just_syms_flag.
2025
2026 2002-05-10 Tom Rix <trix@redhat.com>
2027
2028 * emultempl/aix.em: (gld*_set_output_arch): New function. Use
2029 architecture and machine information in the output bfd.
2030 (gld*_before_parse): Remove old arch and machine code.
2031 (choose_target): Rename to gld*_choose_target.
2032 (rtld): Change type to int.
2033 * ldfile.c (ldfile_try_open_bfd): Disable compatiblity check for
2034 objects in XCOFF archives.
2035 * ldfile.h: Update copyright date.
2036
2037 2002-05-10 Jakub Jelinek <jakub@redhat.com>
2038
2039 * ldmain.c (main): Enable -z combreloc by default.
2040
2041 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
2042
2043 * Makefile.am: Honour DESTDIR.
2044 * Makefile.in: Regenerate.
2045
2046 2002-05-07 Richard Sandiford <rsandifo@redhat.com>
2047
2048 * ldlang.h (lang_output_section_statement_type): Add update_dot_tree.
2049 (lang_enter_overlay): Remove the last two parameters.
2050 (lang_leave_overlay): Take them here instead.
2051 * ldgram.y (memspec_at_opt): Set $$ to null if no region is given.
2052 (section): Pass LMA and crossref flag to lang_leave_overlay rather
2053 than lang_enter_overlay.
2054 * ldlang.c (lang_memory_region_lookup): Return null for null names.
2055 (lang_output_section_statement_lookup): Initialize update_dot_tree.
2056 (lang_size_sections_1): Evaluate it.
2057 (lang_leave_output_section_statement): Rework LMA lookup.
2058 (overlay_lma, overlay_nocrossrefs): Remove.
2059 (lang_enter_overlay): Remove LMA and crossref arguments.
2060 (lang_enter_overlay_section): Don't set the LMA here.
2061 (lang_leave_overlay): Take LMA and crossref arguments. Move the '.'
2062 assignment to the last section's update_dot_tree. Unconditionally
2063 use the load and run-time regions specified in the OVERLAY statement.
2064 Likewise the first section's LMA. Only set the other sections' LMAs
2065 when no load region is given.
2066
2067 2002-05-06 Nick Clifton <nickc@redhat.com>
2068
2069 * po/sv.po: New translation.
2070
2071 2002-05-04 Alan Modra <amodra@bigpond.net.au>
2072
2073 * emultempl/hppaelf.em (build_section_lists): New function.
2074 (gld${EMULATION_NAME}_finish): Call elf32_hppa_setup_section_lists
2075 and build_section_lists.
2076
2077 2002-05-03 Kazu Hirata <kazu@cs.umass.edu>
2078
2079 * ld.h: Fix formatting.
2080 * ldexp.c: Likewise.
2081 * ldfile.c: Likewise.
2082 * ldlang.c: Likewise.
2083 * ldmain.c: Likewise.
2084 * lexsup.c: Likewise.
2085 * pe-dll.c: Likewise.
2086
2087 2002-05-02 Alan Modra <amodra@bigpond.net.au>
2088
2089 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
2090 Adjust for ppc64_elf_set_toc change. #include libbfd.h.
2091 (build_section_lists): Do output_section tests here.
2092
2093 2002-04-30 Tom Rix <trix@redhat.com>
2094
2095 * emultempl/aix.em : (gld*_parse_arge): Formatting changes.
2096
2097 2002-05-01 Alan Modra <amodra@bigpond.net.au>
2098
2099 Long branch stubs, multiple stub sections.
2100 * emultempl/ppc64elf.em: Include ldctor.h.
2101 (stub_file): New var.
2102 (group_size): New var.
2103 (ppc_create_output_section_statements): New function.
2104 (struct hook_stub_info): New.
2105 (hook_in_stub): New function.
2106 (ppc_add_stub_section): New function.
2107 (ppc_layout_sections_again): New function.
2108 (build_section_lists): New function.
2109 (gld${EMULATION_NAME}_finish): Rewrite.
2110 (real_func): New var.
2111 (ppc_for_each_input_file_wrapper): New function.
2112 (ppc_lang_for_each_input_file): New function.
2113 (lang_for_each_input_file): Define.
2114 (PARSE_AND_LIST_PROLOGUE): Define.
2115 (PARSE_AND_LIST_LONGOPTS): Define.
2116 (PARSE_AND_LIST_OPTIONS): Define.
2117 (PARSE_AND_LIST_ARGS_CASES): Define.
2118 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
2119
2120 2002-04-30 Tom Rix <trix@redhat.com>
2121
2122 * emultempl/aix.em (gld*_parse_arge, gld*_before_allocation): Add
2123 -blibpath, -bnolibpath support.
2124
2125 2002-04-30 Mark Mitchell <mark@codesourcery.com>
2126
2127 * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o.
2128 (eelf32ppcwindiss.c): New target.
2129 * Makefile.in: Regenerated.
2130 * configure.tgt: Add support for powerpc-*-windiss.
2131 * emulparams/elf32ppcwindiss.sh: New file.
2132
2133 2002-04-30 Richard Sandiford <rsandifo@redhat.com>
2134
2135 * ldlang.c (print_assignment): Update print_dot for assignments to ".".
2136 * ldexp.c (exp_print_token): Add "infix_p" argument.
2137 (exp_print_tree): Update accordingly.
2138
2139 2002-04-28 Alan Modra <amodra@bigpond.net.au>
2140
2141 * Makefile.am (mpw): New maintainer mode rule to make mpw-*.c files.
2142 * Makefile.in: Regenerate.
2143 * mpw-elfmips.c: Delete.
2144 * mpw-eppcmac.c: Delete.
2145 * mpw-esh.c: Delete.
2146 * mpw-idtmips.c: Delete.
2147
2148 2002-04-17 J"orn Rennecke <joern.rennecke@superh.com>
2149
2150 * emulparams/shelf32.sh (MACHINE): Now sh5.
2151
2152 2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2153
2154 * ldgram.y: Fix syntax warning.
2155
2156 2002-04-11 Nick Clifton <nickc@cambridge.redhat.com>
2157
2158 * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Add 'n' in order
2159 to prevent "-n" from being taken as an abbreviation for
2160 "--no-pipeline-knowledge".
2161
2162 2002-04-08 Alan Modra <amodra@bigpond.net.au>
2163
2164 * ldlang.c (lang_size_sections_1): Don't complain about
2165 SEC_NEVER_LOAD sections having no memory region specified.
2166
2167 * ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix.
2168
2169 2002-04-07 matthew green <mrg@redhat.com>
2170
2171 * ld/configure.host (*-*-netbsd*): Add support for NetBSD/ELF.
2172
2173 2002-04-04 Alan Modra <amodra@bigpond.net.au>
2174
2175 * dep-in.sed: Cope with absolute paths.
2176 * Makefile.am (dep.sed): Subst TOPDIR and BFDDIR.
2177 Run "make dep-am".
2178 * Makefile.in: Regenerate.
2179
2180 2002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2181
2182 * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options.
2183
2184 2002-04-03 Jakub Jelinek <jakub@redhat.com>
2185
2186 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size
2187 is smaller than maximum, round dot up to common page boundary.
2188
2189 2002-03-28 Alan Modra <amodra@bigpond.net.au>
2190
2191 * configure.host: Set up for generic hosts first, then tweak as
2192 necessary in more specific targets.
2193 (HOSTING_LIBS): Include libgcc_eh.a if found.
2194
2195 2002-03-23 Andreas Jaeger <aj@suse.de>
2196
2197 * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it.
2198
2199 2002-03-21 Alan Modra <amodra@bigpond.net.au>
2200
2201 * Makefile.am: Run "make dep-am".
2202 * Makefile.in: Regenerate.
2203
2204 2002-03-21 Albert Chin-A-Young <china@thewrittenword.com>
2205
2206 * genscripts.sh (LIB_SEARCH_DIRS): Quote path.
2207
2208 2002-03-20 Alan Modra <amodra@bigpond.net.au>
2209
2210 * ldlang.c (ldlang_add_undef): If the output bfd has been opened,
2211 add the symbol to the linker hash table immediately.
2212 (lang_place_undefineds): Split symbol creation out..
2213 (insert_undefined): ..to here.
2214
2215 2002-03-18 David O'Brien <obrien@FreeBSD.org>
2216
2217 * emultempl/elf32.em: Use lbasename vs. basename to fix problem where
2218 the contents of the buffer returned from basename function will are
2219 getting overwritten while still being used.
2220
2221 2002-03-18 Jan Hubicka <jh@suse.cz>
2222 Andreas Jaeger <aj@suse.de>
2223 Andreas Schwab <schwab@suse.de>
2224
2225 * configure.tgt (x86_64-*-linux-gnu*): Configure i386 as native.
2226 * elf_x86_64.sh (ARCH): Set to i386:x86-64
2227 set libraries to default to lib64 paths.
2228
2229 2002-03-18 Tom Rix <trix@redhat.com>
2230
2231 * Makefile.am : Add eaix5ppc and eaix5rs6, AIX 5 support.
2232 * configure.tgt : Same.
2233 * emulparms/aix5ppc.sh : New file. For eaix5ppc.
2234 * emulparms/aix5rs6.sh : New file. For eaix5rs6.
2235 * emulparms/aixppc.sh : OUPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT
2236 emulation parameters for better -b32, -b64 support.
2237 * emulparms/aixrs6.sh : Same.
2238 * emulparms/ppcmacos.sh : Same.
2239 * emultempl/aix.em (choose_target) : Use new emulation parameters
2240 OUTPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT.
2241 * Makefile.in : Regenerate.
2242
2243 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
2244
2245 * po/fr.po: Updated version.
2246
2247 2002-03-18 Alan Modra <amodra@bigpond.net.au>
2248
2249 * ldmain.c (main): Move .text readonly flag fudges from here..
2250 * ldlang.c (lang_process): ..to here.
2251
2252 2002-03-14 Alan Modra <amodra@bigpond.net.au>
2253
2254 * ldlang.c (lang_check): Remove the word size check added in last
2255 change. Treat emitrelocations case as for relocatable links.
2256
2257 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
2258
2259 * po/fr.po: Updated version.
2260
2261 2002-03-13 Alan Modra <amodra@bigpond.net.au>
2262
2263 * ldlang.c (lang_check): Do relocatable link checks first, so that
2264 warn_mismatch can't override. Check compatible and word size too.
2265
2266 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
2267
2268 * ld.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
2269
2270 2002-03-05 Jakub Jelinek <jakub@redhat.com>
2271
2272 * scripttempl/elf.sc: Only use DATA_SEGMENT_END() together with
2273 DATA_SEGMENT_ALIGN.
2274
2275 2002-03-04 H.J. Lu <hjl@gnu.org>
2276
2277 * scripttempl/elf.sc: Put .preinit_array, .init_array and
2278 .fini_array in the data segment.
2279
2280 2002-03-04 Alan Modra <amodra@bigpond.net.au>
2281
2282 * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit.
2283
2284 2002-03-01 David Mosberger <davidm@hpl.hp.com>
2285
2286 * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array,
2287 .init_array, and .fini_array.
2288
2289 2002-02-20 Andreas Schwab <schwab@suse.de>
2290
2291 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold
2292 .IA64_unwind* in a relocatable link.
2293
2294 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
2295
2296 * NEWS: Mark 2.12 branch.
2297
2298 2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
2299
2300 * emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit".
2301 * emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit".
2302
2303 2002-02-18 Tom Rix <trix@redhat.com>
2304
2305 * emultempl/aix.em (gld*_parse_args): Add -brtl support.
2306 (gld*_before_allocation): Same.
2307 (gld*_create_output_section_statements): Generate
2308 __rtinit if run time linking. Add librtl.a to the link.
2309 (gld*_read_file): Clean.
2310
2311 2002-02-18 Alan Modra <amodra@bigpond.net.au>
2312
2313 * emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define.
2314
2315 2002-02-18 David O'Brien <obrien@FreeBSD.org>
2316
2317 * Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd,
2318 eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd,
2319 and eelf64alpha_fbsd.
2320 * Makefile.in: Regenerate.
2321 * configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd,
2322 x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd):
2323 use a FreeBSD-specific emulation rather than the psABI one.
2324 * emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value
2325 for all FreeBSD ELF systems.
2326 * emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI
2327 emulation.
2328 * emulparams/elf32ppc_fbsd.sh: Likewise.
2329 * emulparams/elf64_ia64_fbsd.sh: Likewise.
2330 * emulparams/elf64_sparc_fbsd.sh: Likewise.
2331 * emulparams/elf64alpha_fbsd.sh: Likewise.
2332 * emulparams/elf_i386_fbsd.sh: Likewise.
2333 * emulparams/elf_x86_64_fbsd.sh: Likewise.
2334
2335 2002-02-18 Nick Clifton <nickc@cambridge.redhat.com>
2336
2337 * po/tr.po: Updated version.
2338
2339 2002-02-18 Alan Modra <amodra@bigpond.net.au>
2340
2341 * ld.texinfo (Output Section Fill): Fix amateur texinfo.
2342 (FILL): Likewise.
2343
2344 2002-02-17 Hans-Peter Nilsson <hp@bitrange.com>
2345
2346 * emultempl/mmo.em (mmo_after_open): Don't call
2347 _bfd_mmix_check_all_relocs when producing ELF output.
2348
2349 2002-02-15 Richard Henderson <rth@redhat.com>
2350
2351 * emulparams/elf64alpha.sh (NOP): Adjust for big-endian
2352 definition. Emit a unop+nop pair.
2353
2354 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
2355
2356 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check
2357 for presence of .MMIX.reg_contents.linker_allocated before early
2358 exit.
2359
2360 * NEWS: Mention support for MMIX.
2361
2362 2002-02-15 Alan Modra <amodra@bigpond.net.au>
2363
2364 Support arbitrary length fill patterns.
2365 * ld.texinfo (Output Section Fill): Describe fill expressions.
2366 (FILL): Refer to the above.
2367 * ldexp.h (etree_value_type): Add "str" field.
2368 (union etree_union): Add "str" to "value" struct.
2369 (exp_bigintop): Declare.
2370 (exp_get_fill): Declare.
2371 * ldexp.c: Include "safe-ctype.h".
2372 (exp_intop): Set value.str to NULL.
2373 (exp_bigintop): New function.
2374 (new_rel): Pass in "str", and set new.str from it.
2375 (new_rel_from_section): Set new.str to NULL.
2376 (fold_name): Adjust calls to new_rel.
2377 (exp_fold_tree): Likewise.
2378 (exp_get_fill): New function.
2379 * ldgram.y (struct big_int bigint, fill_type *fill): New.
2380 (INT): Returns a "bigint". Adjust all code handling INTs.
2381 (fill_opt): Returns a "fill".
2382 (fill_exp): Split out of fill_opt, use for FILL.
2383 * ldlang.h (struct _fill_type): New.
2384 (fill_type): Move typedef to ldexp.h.
2385 (lang_output_section_statement_type): "fill" is now a pointer.
2386 (lang_fill_statement_type): Likewise.
2387 (lang_padding_statement_type): Likewise.
2388 (lang_add_fill): Now takes a "fill_type *" param.
2389 (lang_leave_output_section_statement): Likewise.
2390 (lang_do_assignments): Likewise.
2391 (lang_size_sections): Likewise.
2392 (lang_leave_overlay_section): Likewise.
2393 (lang_leave_overlay): Likewise.
2394 * ldlang.c: Include ldgram.h after ldexp.h.
2395 (lang_output_section_statement_lookup): Adjust for fill_type change.
2396 (print_fill_statement): Likewise.
2397 (print_padding_statement): Likewise.
2398 (insert_pad): Now takes a "fill_type *" arg.
2399 (size_input_section): Likewise.
2400 (lang_size_sections_1): Likewise.
2401 (lang_size_sections): Likewise.
2402 (lang_do_assignments): Likewise.
2403 (lang_add_fill): Likewise.
2404 (lang_leave_output_section_statement): Likewise.
2405 (lang_leave_overlay_section): Likewise.
2406 (lang_leave_overlay): Likewise.
2407 Adjust all callers of the above function.
2408 * ldlex.l: Include ldgram.h after ldexp.h. Allow hex numbers
2409 starting with "0X" as well as "0x". Return bigint.str for hex
2410 numbers starting with "0x" or "0X", zero bigint.str otherwise.
2411 Always use base 16 for numbers starting with "$".
2412 * ldmain.c: Include ldgram.h after ldexp.h.
2413 * ldwrite.c (build_link_order): Use bfd_data_link_order in place
2414 of bfd_fill_link_order.
2415 * pe-dll.c: Adjust lang_do_assignments calls.
2416 * emultempl/elf32.em: Likewise.
2417 * emultempl/hppaelf.em: Likewise.
2418 * emultempl/ppc64elf.em: Likewise.
2419 * emultempl/beos.em: Include ldgram.h after ldexp.h, adjust
2420 lang_add_assignment call.
2421 * emultempl/pe.em: Likewise.
2422
2423 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
2424
2425 * ld.texinfo (VERSION scripts): Symbol names are globbing patterns.
2426 * ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern;
2427 the pattern in question is not a regexp.
2428 * ldlang.c: Likewise.
2429 * ldlang.h: Likewise.
2430 * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also.
2431
2432 2002-02-12 Jakub Jelinek <jakub@redhat.com>
2433
2434 * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
2435 * ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
2436 (exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp).
2437 * ldexp.c (exp_data_seg): New variable.
2438 (exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END.
2439 (fold_binary): Handle DATA_SEGMENT_ALIGN.
2440 (exp_fold_tree): Handle DATA_SEGMENT_END.
2441 Pass allocation_done when recursing instead of hardcoding
2442 lang_allocating_phase_enum.
2443 * ldexp.h (exp_data_seg): New.
2444 * ldlang.c (lang_size_sections_1): Renamed from lang_size_sections.
2445 (lang_size_sections): New.
2446 * ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document.
2447 * scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END
2448 if COMMONPAGESIZE is defined.
2449 * emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K.
2450 * emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K.
2451 * emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K.
2452 * emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K.
2453 * emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared
2454 libraries only.
2455
2456 2002-02-11 Alan Modra <amodra@bigpond.net.au>
2457
2458 * Makefile.in: Regenerate.
2459
2460 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
2461
2462 * lexsup.c: Remove strtoul declaration.
2463
2464 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
2465
2466 * ldmain.c: Add prototype for main ().
2467 * lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H.
2468 * emultempl/lnk960.em (lnk960_choose_target): Function should
2469 take two arguments.
2470
2471 2002-02-10 Alan Modra <amodra@bigpond.net.au>
2472
2473 * ldlang.c (entry_section): New initialised variable.
2474 (lang_finish): Use it.
2475 * ldlang.h (entry_section): Declare.
2476 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Set
2477 entry_section to ".opd".
2478
2479 2002-02-09 Chris Demetriou <cgd@broadcom.com>
2480
2481 * ld.texinfo (Options): Add back in -nostdlib documentation,
2482 which had been inadvertently removed.
2483
2484 2002-02-09 Hans-Peter Nilsson <hp@bitrange.com>
2485
2486 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Adjust
2487 register section vma to a sane value after emitting error. Make
2488 fatal conditions cause program exit when emitting message.
2489
2490 2002-02-08 Ivan Guzvinec <ivang@opencores.org>
2491
2492 * configure.tgt: Add or32-*-rtems target.
2493
2494 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
2495
2496 Contribute sh64-elf.
2497 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
2498 * emulparams/shelf32.sh (STACK_ADDR): Define as formerly defined
2499 in OTHER_RELOCATABLE_SECTIONS.
2500 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
2501 * emulparams/shelf32.sh (STACK_ADDR): Define.
2502 (OTHER_RELOCATABLE_SECTIONS): Renamed to...
2503 (OTHER_SECTIONS): this. Removed stack settings.
2504 * emulparams/shelf64.sh (OTHER_RELOCATABLE_SECTIONS): Do not set.
2505 (OTHER_SECTIONS): Reset after sourcing shelf32.sh.
2506 2001-03-12 DJ Delorie <dj@redhat.com>
2507 * emultempl/sh64elf.em (sh64_elf_$_before_allocation): Disable
2508 relaxing if any shmedia or mixed sections are found.
2509 2001-03-07 DJ Delorie <dj@redhat.com>
2510 * emultempl/sh64elf.em (sh64_elf_before_allocation): Pass f to
2511 einfo. Gracefully decline to output to non-elf formats.
2512 2001-03-06 Hans-Peter Nilsson <hpn@redhat.com>
2513 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS) <.stack>:
2514 Default to _end aligned to next multiple of 0x40000, plus 0x40000.
2515 * emulparams/shelf32.sh: Ditto.
2516 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
2517 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Tweak
2518 comment.
2519 2001-01-10 Ben Elliston <bje@redhat.com>
2520 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Avoid
2521 non-portable shell constructs. From Hans-Peter Nilsson.
2522 2001-01-09 Hans-Peter Nilsson <hpn@cygnus.com>
2523 * emulparams/shelf64.sh (EXTRA_EM_FILE): Define empty.
2524 * Makefile.am (eshelf64.c, eshlelf64.c, eshlelf32.c): Adjust
2525 dependencies to the shell script include chain.
2526 * Makefile.in: Regenerate.
2527 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
2528 * emultempl/sh64elf.em: Update and tweak comments.
2529 (sh64_elf_${EMULATION_NAME}_after_allocation): Always allocate and
2530 make a .cranges section SEC_IN_MEMORY.
2531 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
2532 * emultempl/sh64elf.em
2533 (sh64_elf_${EMULATION_NAME}_before_allocation): Don't stop when
2534 .cranges section found to be necessary; continue and set stored
2535 section contents flags for sections with non-mixed contents.
2536 Use a struct sh64_section_data container and sh64_elf_section_data
2537 to store contents-type flags.
2538 Remove unused update of "isec".
2539 (sh64_elf_${EMULATION_NAME}_after_allocation): Only process
2540 sections marked SHF_SH5_ISA32_MIXED. Use sh64_elf_section_data to
2541 access contents-type flags. Assert that the associated container
2542 is initialized. Use that container, not elf_gp_size, to hold size
2543 of linker-generated cranges contents.
2544 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
2545 * emultempl/sh64elf.em
2546 (sh64_elf_${EMULATION_NAME}_before_allocation): Exit early if
2547 there's already a .cranges section. When section flag difference
2548 is found, don't NULL-check cranges a second time. Tweak comments.
2549 (sh64_elf_${EMULATION_NAME}_after_allocation): Use size after
2550 merging, not max size, as size of ld-generated .cranges contents.
2551 Don't set ELF section flags in output section. When checking for
2552 needed .cranges descriptors, don't use a variable; compare
2553 incoming ELF section flags directly to SHF_SH5_ISA32_MIXED. Tweak
2554 comments.
2555 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
2556 * emultempl/sh64elf.em: New file.
2557 * Makefile.am (eshelf32.c, eshlelf32.c): Adjust dependencies.
2558 * Makefile.in: Regenerate.
2559 * emulparams/shelf32.sh (OUTPUT_FORMAT): Only set if not set.
2560 (OTHER_RELOCATING_SECTIONS): Ditto.
2561 (EXTRA_EM_FILE): New, set to sh64elf if not set.
2562 * emulparams/shlelf32.sh: Stub out all settings except
2563 OUTPUT_FORMAT. Source shelf32.sh.
2564 * emulparams/shelf64.sh: Similar, but also keep ELF_SIZE and
2565 OTHER_RELOCATING_SECTIONS.
2566 (OTHER_RELOCATING_SECTIONS): Remove .cranges.
2567 * emulparams/shlelf64.sh: Stub out all settings except
2568 OUTPUT_FORMAT. Source shelf64.sh.
2569 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
2570 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS): Include
2571 .cranges section.
2572 (DATA_START_SYMBOLS): Define, provide ___data.
2573 (OTHER_READONLY_SYMBOLS): Define, provide ___rodata and align to 8
2574 for consecutive .data section.
2575 (OTHER_GOT_SECTIONS): Define, align to 8 for consecutive .bss
2576 section after .data section.
2577 * emulparams/shlelf64.sh: Ditto.
2578 * emulparams/shelf32.sh: Ditto.
2579 (ALIGNMENT): Define to 8.
2580 * emulparams/shelf32.sh: Ditto.
2581 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
2582 * configure.tgt (sh64-*-elf*): Assign targ_extra_libpath to get
2583 built-in linker scripts.
2584 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
2585 * emulparams/shlelf64.sh: New.
2586 * emulparams/shelf64.sh: New.
2587 * configure.tgt (sh64-*-elf*): Add shelf64 and shlelf64 to
2588 targ_extra_emuls.
2589 * Makefile.am: Add support for shlelf64 and shelf64.
2590 * Makefile.in: Regenerate.
2591 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
2592 * configure.tgt (sh64-*-elf*): Add shelf as default.
2593 Add shlelf to targ_extra_emuls.
2594 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
2595 * emulparams/shelf32.sh: New file.
2596 * emulparams/shlelf32.sh: New file.
2597 * Makefile.am: Add support for shlelf32 and shelf32.
2598 * configure.tgt: Map sh64-*-elf* to shlelf32 and shelf32.
2599 * Makefile.in: Regenerate.
2600
2601 2002-02-05 Hans-Peter Nilsson <hp@axis.com>
2602
2603 * ldlang.c (lang_reset_memory_regions): Rename from
2604 reset_memory_regions. Change all callers. Make public.
2605 * ldlang.h (lang_reset_memory_regions): Prototype.
2606 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call
2607 lang_reset_memory_regions before lang_size_sections.
2608 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
2609 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise.
2610
2611 2002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
2612
2613 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signed
2614 arithmetic when checking for too many global registers.
2615
2616 2002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
2617
2618 * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o.
2619 (ehppanbsd.c): New rule.
2620 * Makefile.in: Regenerate.
2621 * configure.tgt (hppa*-*-netbsd*): New target.
2622 * emulparams/hppalinux.sh: Add comment to check other files
2623 that source this file it is modified, and list which
2624 files that do.
2625 * emulparams/hppanbsd.sh: New file.
2626
2627 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
2628
2629 * scripttempl/xstormy16.sc: Don't allocate extra space for the
2630 stack.
2631
2632 2002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
2633
2634 Support on-demand global register allocation from
2635 R_MMIX_BASE_PLUS_OFFSET relocs.
2636 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from
2637 mmix_set_reg_section_vma. Call
2638 _bfd_mmix_finalize_linker_allocated_gregs.
2639 (mmix_before_allocation): New function.
2640 (LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation.
2641 (LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation.
2642 * scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP.
2643 (.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated
2644 before .MMIX.reg_contents.
2645 * emultempl/mmo.em (gldmmo_before_allocation): Define to default.
2646 (mmo_after_open): New function.
2647 (LDEMUL_AFTER_OPEN): Define to mmo_after_open.
2648 * emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting. Add
2649 .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents.
2650
2651 2002-01-31 Ivan Guzvinec <ivang@opencores.org>
2652
2653 * emulparams/or32.sh: New file.
2654 * emulparams/or32elf.sh: New file.
2655 * scripttempl/or32.sc: New file.
2656 * configure.tgt : Add support for or32.
2657 * configure: Regenerate
2658 * Makefile.am: Add support for or32.
2659 * Makefile.in: Regenerate.
2660 * NEWS: Mention support for or32.
2661 * po/ld.pot: Regenerate.
2662
2663 2002-01-29 Chris Demetriou <cgd@broadcom.com>
2664 Mitch Lichtenberg <mpl@broadcom.com>
2665
2666 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself.
2667 * emultempl/mipself.em: New file to handle MIPS ELF embedded
2668 reloc creation (ld --embedded-relocs).
2669
2670 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
2671
2672 * configure: Regenerated.
2673
2674 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
2675
2676 * Makefile.am (install): Depend on install-info.
2677 * Makefile.in: Regenerate.
2678
2679 2002-01-26 Christian Rose <menthos@menthos.com>
2680
2681 * ldmain.c (main): Use full sentences to ease translation.
2682
2683 2002-01-26 Nick Clifton <nickc@cambridge.redhat.com>
2684
2685 * po/fr.po: Updated version.
2686
2687 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
2688
2689 * po/es.po: Updated version.
2690
2691 2002-01-25 Andreas Jaeger <aj@suse.de>
2692
2693 * ldlex.l (yy_input): Correct error check.
2694
2695 2002-01-25 Alan Modra <amodra@bigpond.net.au>
2696
2697 * ldmisc.c (demangle): Put back dots when string not demangled.
2698
2699 2002-01-22 Richard Henderson <rth@redhat.com>
2700
2701 * emulparams/elf64alpha.sh (NOP): Use unop.
2702
2703 2002-01-21 Andreas Jaeger <aj@suse.de>
2704
2705 * ldlex.l: Use fread instead of read.
2706
2707 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
2708
2709 * configure.tgt (ia64-*-netbsd*): New target.
2710
2711 2002-01-21 H.J. Lu <hjl@gnu.org>
2712
2713 * emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to
2714 0.
2715 * emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise.
2716
2717 2002-01-18 Andreas Jaeger <aj@suse.de>
2718
2719 * ldver.c (ldversion): Update year.
2720
2721 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
2722
2723 * po/ld.pot: Regenerate.
2724
2725 2002-01-16 Alan Modra <amodra@bigpond.net.au>
2726
2727 * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em.
2728 * Makefile.in: Regenerate.
2729 * emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define.
2730 * emultempl/ppc64elf.em: New file.
2731
2732 2002-01-15 DJ Delorie <dj@redhat.com>
2733
2734 * scripttempl/pe.sc: Add support for constructor priorities.
2735
2736 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
2737
2738 * emulparams/avr1200.sh (DATA_START): Define as 0x60.
2739 * emulparams/avr23xx.sh: Likewise.
2740 * emulparams/avr4433.sh: Likewise.
2741 * emulparams/avr44x4.sh: Likewise.
2742 * emulparams/avr85xx.sh: Likewise.
2743 * emulparams/avrmega103.sh: Likewise.
2744 * emulparams/avrmega161.sh: Likewise.
2745 * emulparams/avrmega603.sh: Likewise.
2746 * scripttempl/elf32avr.sc: Use DATA_START instead of 0x60.
2747
2748 2002-01-08 Alexandre Oliva <aoliva@redhat.com>
2749
2750 * ldlang.c (walk_wild_section): Exclude object file if enclosing
2751 archive is excluded.
2752
2753 2002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
2754
2755 * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o.
2756 (eshelf_nbsd.c): New rule.
2757 (eshlelf_nbsd.c): New rule.
2758 * Makefile.in: Regenerate.
2759 * configure.tgt (sh*le-*-netbsdelf*): New target.
2760 (sh*-*-netbsdelf*): New target.
2761 * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file.
2762 * ld/emulparams/shelf_nbsd.sh: New emulation.
2763 * ld/emulparams/shlelf_nbsd.sh: New emulation.
2764
2765 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
2766
2767 * po/es.po: New file: Spanish translation.
2768 * configure.in (ALL_LINGUAS): Add es.
2769 * configure: Regenerate.
2770
2771 2002-01-06 John Marshall <jmarshall@acm.org>
2772
2773 * ld.texinfo: Note that --emit-relocs is currently only
2774 implemented for ELF.
2775
2776 2002-01-05 Alan Modra <amodra@bigpond.net.au>
2777
2778 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use
2779 of bfd_section_list_remove and bfd_section_list_insert macros.
2780 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
2781 * emultempl/mmo.em (mmo_place_orphan): Likewise.
2782
2783 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
2784
2785 * configure.tgt (x86_64-*-netbsd*): New target.
2786
2787 2001-12-21 Tom Rix <trix@redhat.com>
2788
2789 (gld*_create_output_section_statements): New function.
2790 For -binitfini support.
2791 * emultempl/aix.em (gld*_before_parse): Fix comment.
2792 * emultempl/aix.em (gld*_parse_args): Fix comment.
2793
2794 2001-12-20 Jason Thorpe <thorpej@wasabisystems.com>
2795
2796 * configure.tgt (mips*-dec-netbsd*): Delete alias for
2797 mips*el-*-netbsd*.
2798 (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls.
2799
2800 * configure.tgt (arm-*-netbsdelf*): Add target.
2801 (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls.
2802 * emulparams/armelf_nbsd.sh: Added.
2803 * Makefile.am: Add rules for earmelf_nbsd.
2804 * Makefile.in: Regenerate.
2805
2806 2001-12-19 Andreas Jaeger <aj@suse.de>,
2807 Susanne Oberhauser <froh@suse.de>
2808
2809 * configure.host: Add rules for x86_64-*linux-gnu. Change
2810 s390x-linux entry to use gcc to report configuration, replace gcc
2811 with $CC in s390-linux
2812
2813 2001-12-19 Andreas Jaeger <aj@suse.de>
2814
2815 * ld.texinfo (VERSION): Fix markup.
2816
2817 2001-12-18 matthew green <mrg@eterna.com.au>
2818
2819 * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o.
2820 (m68kelfnbsd.c): New rule.
2821 * Makefile.in: Regenerate.
2822 * configure.tgt (m68*-hp-netbsd*): Renamed to ..
2823 (m68*-*-netbsd*4k*): .. this.
2824 (m68*-*-netbsdelf*): New target.
2825 (m68*-*-netbsd*): Also include ELF support.
2826 (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*.
2827 * emulparams/m68kelfnbsd.sh: New emulation.
2828
2829 2001-12-18 Jakub Jelinek <jakub@redhat.com>
2830
2831 * ldgram.y (vers_node): Support anonymous version tags.
2832 * ldlang.c (lang_register_vers_node): Ensure anonymous version
2833 tag is not defined together with non-anonymous versions.
2834 * ld.texinfo: Document it.
2835
2836 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
2837
2838 * po/tr.po: New file: Turkish translation.
2839 * configure.in (ALL_LINGUAS): Add tr.
2840 * configure: Regenerate.
2841
2842 2001-12-17 Jason Thorpe <thorpej@wasabisystems.com>
2843
2844 * Makefile.am: Add rules for eelf64alpha_nbsd.
2845 * Makefile.in: Regenerate.
2846 * configure.tgt (alpha*-*-netbsd*): Set
2847 targ_emul to elf64alpha_nbsd.
2848 * emulparams/elf64alpha_nbsd.sh: Added.
2849
2850 2001-12-17 Alan Modra <amodra@bigpond.net.au>
2851
2852 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust
2853 section_tail when fiddling with section list.
2854 (gld${EMULATION_NAME}_list_options): Ensure sentences aren't
2855 broken into separate strings to make translation easier.
2856 * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when
2857 fiddling with section list.
2858 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
2859
2860 2001-12-16 Hans-Peter Nilsson <hp@bitrange.com>
2861
2862 * scripttempl/mmo.sc: Add .debug_ranges to listed sections.
2863
2864 2001-12-15 Alan Modra <amodra@bigpond.net.au>
2865
2866 * ldmain.c (main): Initialise link_info.eh_frame_hdr.
2867
2868 2001-12-13 Jakub Jelinek <jakub@redhat.com>
2869
2870 * emultempl/elf32.em (finish): Supply output_bfd
2871 to bfd_elf*_discard_info.
2872 (OPTION_EH_FRAME_HDR): Define.
2873 (longopts): Add --eh-frame-hdr.
2874 (parse_args): Handle it.
2875 (list_options): Add --eh-frame-hdr to help.
2876 * emultempl/hppaelf.em (finish): Supply output_bfd
2877 to bfd_elf*_discard_info.
2878 * scripttempl/elf.sc (.eh_frame_hdr): Add.
2879
2880 2001-12-13 Alan Modra <amodra@bigpond.net.au>
2881
2882 * lexsup.c (parse_args): Don't pass shortopts to second call to
2883 getopt functions. Restore optind rather than decrementing before
2884 second call. Remove errind as it now duplicates last_optind.
2885
2886 2001-12-11 Christopher Faylor <cgf@redhat.com>
2887
2888 * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo.
2889
2890 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
2891 Richard Henderson <rth@redhat.com>
2892
2893 * Makefile.am: Add support for xstormy16.
2894 * configure.tgt: Add support for xstormy16.
2895 * Makefile.in: Regenerate.
2896 * emulparams/elf32xstormy16.sh: New file.
2897 * scripttempl/xstormy16.sc: New file.
2898
2899 2001-10-01 Christopher Faylor <cgf@cygnus.com>
2900
2901 * Makefile.in (LIB_PATH): Make configurable.
2902 (GENSCRIPTS): Set LIB_PATH in environment.
2903 * configure.in: Substitute LIB_PATH.
2904 * configure: Regenerate.
2905 * configure.tgt (*cygwin): Set LIB_PATH for cross build.
2906 * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS.
2907
2908 2001-12-07 Nick Clifton <nickc@cambridge.redhat.com>
2909
2910 * lexsup.c (ld_options): Insert 'PROGRAM' into the text string
2911 describing the -N option so that it is easier to translate into
2912 foreign languages.
2913
2914 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
2915
2916 * emultempl/pe.em (..._list_options): Replace multiple fprintf
2917 statements describing a single option with a single, newline
2918 escaped fprintf. This allows better translation into other
2919 languages.
2920
2921 * ldmain.c (add_archive_element): Combine multiple strings
2922 into a single string to permit better translation into other
2923 languages.
2924
2925 2001-12-05 Tom Rix <trix@redhat.com>
2926
2927 * Makefile.am: Remove eaixppc64.
2928 * Makefile.in: Regenerate.
2929
2930 2001-12-04 Tom Rix <trix@redhat.com>
2931
2932 * emultempl/aix.em (choose_target): Change default target to
2933 OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler
2934 warning.
2935 (gld*_read_file): Fix typo.
2936 (change_symbol_mode): Add prototype.
2937 (is_syscall): Same.
2938
2939 * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete.
2940 * emulparams/aixrs6.sh : Same.
2941 * emulparams/ppcmacos.sh : Same.
2942 * emulparams/aixppc64.sh : Delete file.
2943 * emultempl/aix.em : Formatting changes.
2944
2945 2001-12-04 Hans-Peter Nilsson <hp@axis.com>
2946
2947 * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes.
2948 (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting
2949 __Sbss.
2950 (OTHER_END_SYMBOLS): Fix formatting.
2951 * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes.
2952 (OTHER_END_SYMBOLS): Fix formatting.
2953
2954 2001-12-04 Alan Modra <amodra@bigpond.net.au>
2955
2956 * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT.
2957
2958 2001-12-02 Tom Rix <trix@redhat.com>
2959
2960 * configure.tgt : Remove eaixppc64 emulations.
2961 * Makefile.in : Remove eaixppc64.c
2962 * ldemul.c (ldemul_choose_target): New parameters argc, argv.
2963 (ldemul_default_target): Same.
2964 * emultempl/gld960.em (gld960_choose_target): Same.
2965 * emultempl/gld960c.em (gld960_choose_target): Same.
2966 * scripttempl/aix.sc: Remove OUTPUT_FORMAT.
2967 * emultempl/aix.em (is_syscall): syscall_mask now a variable.
2968 * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable.
2969 * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation.
2970 * emultempl/aix.em (choose_target): New function. Handle emulation of
2971 -b32 and -b64.
2972
2973 2001-11-27 H.J. Lu <hjl@gnu.org>
2974
2975 * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes.
2976 * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise.
2977 * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise.
2978 * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise.
2979 * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise.
2980 * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise.
2981 * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise.
2982 * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise.
2983
2984 * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA}
2985 is not empty.
2986 (SDATA): Likewise.
2987 (REL_SDATA): Likewise.
2988 (REL_SBSS): Likewise.
2989 (REL_SDATA2): Likewise.
2990 (REL_SBSS2): Likewise.
2991 (SBSS2): Define if ${NO_SMALL_DATA} is not empty.
2992 (SDATA2): Likewise.
2993
2994 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2995
2996 * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
2997 destructor in rom.
2998 * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.
2999
3000 2001-11-22 H.J. Lu <hjl@gnu.org>
3001
3002 * Makefile.in: Regenerated with automake based on automake
3003 1.4-8 in RedHat 7.1.
3004
3005 2001-11-22 Alan Modra <amodra@bigpond.net.au>
3006
3007 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
3008 (config.status): Delete rule.
3009 Add extra dependencies to cover sourced emulparams files.
3010 * Makefile.in: Regenerate.
3011
3012 * scripttempl/elf.sc: Order <section>, <section>.* and
3013 corresponding linkonce sections as seen in input files.
3014 Formatting fixes. Zero vma of all sections if not relocating.
3015 (STACK): Define and insert if STACK_ADDR defined.
3016 (OTHER_RELOCATING_SECTIONS): Delete.
3017 (OTHER_END_SYMBOLS): Define.
3018 (OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
3019 (OTHER_READWRITE_SECTIONS): Likewise.
3020 (OTHER_GOT_SECTIONS): Likewise.
3021 (OTHER_SDATA_SECTIONS): Likewise.
3022 (OTHER_BSS_SECTIONS): Likewise.
3023 * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
3024 (OTHER_READWRITE_SECTIONS): Likewise.
3025 * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
3026 (OTHER_READWRITE_SECTIONS): Likewise
3027
3028 * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
3029 (STACK_ADDR): Define.
3030 * emulparams/armelf_oabi.sh: As for armelf.sh.
3031 * emulparams/elf32mcore.sh: As for armelf.sh.
3032 * emulparams/h8300elf.sh: As for armelf.sh.
3033 * emulparams/mn10200.sh: As for armelf.sh.
3034 * emulparams/shelf.sh: As for armelf.sh.
3035
3036 * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
3037 (OTHER_END_SYMBOLS): Define.
3038 * emulparams/m32relf.sh: As for elf32fr30.sh.
3039 * emulparams/h8300helf.sh: As for elf32fr30.sh.
3040 * emulparams/h8300self.sh: As for elf32fr30.sh.
3041
3042 * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
3043 defines with RELOCATING test.
3044 (OTHER_SDATA_SECTIONS): Likewise.
3045 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
3046 (OTHER_END_SYMBOLS): ..this.
3047 * emulparams/crislinux.sh: As for criself.sh.
3048
3049 * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
3050 if not relocating.
3051 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
3052 (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order
3053 normal and linkonce sections as seen in input files.
3054 * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
3055 (TEXT_DYNAMIC): Likewise.
3056 (INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
3057 (OTHER_SDATA_SECTIONS): Likewise.
3058 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
3059 * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
3060 * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
3061 * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
3062 * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
3063 (OTHER_PLT_RELOC_SECTIONS): Likewise.
3064 (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce
3065 sections as seen in input files.
3066 * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
3067 * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
3068 if not relocating.
3069 (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
3070 (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
3071 * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
3072 (OTHER_SECTIONS): Instead, use this..
3073 (OTHER_END_SYMBOLS): ..and this.
3074
3075 * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
3076 * emulparams/elf32bsmip.sh: Likewise.
3077 * emulparams/elf32btsmip.sh: Likewise.
3078 * emulparams/elf32ebmip.sh: Likewise.
3079 * emulparams/elf32lmip.sh: Likewise.
3080 * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
3081 * emulparams/elf32lsmip.sh: Likewise.
3082 * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
3083 * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
3084 * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
3085 * emulparams/elf64btsmip.sh: Likewise.
3086 * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
3087 * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
3088 * emulparams/elf32ppclinux.sh: Likewise.
3089 * emulparams/elf32ppcsim.sh: Likewise.
3090 * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
3091 * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
3092 * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
3093 * emulparams/h8300self.sh: Likewise.
3094 * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
3095 * emulparams/sh.sh: Comment.
3096 * emulparams/shl.sh: Source sh.sh, remove duplicates.
3097 * emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
3098 * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
3099
3100 2001-11-21 David Heine <dlheine@tensilica.com>
3101 Alan Modra <amodra@bigpond.net.au>
3102
3103 * ldlang.c (map_input_to_output_sections): Replace "break"
3104 accidentally removed with 2001-08-03 change.
3105 (lang_gc_sections_1): Likewise.
3106
3107 2001-11-21 Alan Modra <amodra@bigpond.net.au>
3108
3109 * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
3110
3111 2001-11-20 Angela Marie Thomas <angela@redhat.com>
3112
3113 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
3114 of false when calling lang_size_sections.
3115 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
3116
3117 2001-11-15 Alan Modra <amodra@bigpond.net.au>
3118
3119 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
3120 function when LDEMUL_FINISH isn't set to the same name. Don't
3121 call ${LDEMUL_FINISH}.
3122 (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined.
3123 * emultempl/armelf.em (arm_elf_finish): Call
3124 gld${EMULATION_NAME}_finish.
3125 * emultempl/hppaelf.em (hppaelf_finish): Rename to
3126 gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and
3127 hppaelf_layout_sections_again if necessary.
3128 (need_laying_out): New var.
3129 (hppaelf_layaout_sections_again): Rename to
3130 hppaelf_layout_sections_again. Clear need_laying_out.
3131 (PARSE_AND_LIST_OPTIONS): Format text.
3132
3133 2001-11-14 H.J. Lu <hjl@gnu.org>
3134
3135 * emultempl/armelf.em (arm_elf_finish): Renamed from
3136 gld${EMULATION_NAME}_finish.
3137 (LDEMUL_FINISH): Set to arm_elf_finish.
3138
3139 2001-11-14 Daniel Jacobowitz <drow@mvista.com>
3140
3141 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New.
3142 (struct ld_emulation_xfer_struct): Use it.
3143
3144 2001-11-13 Ross Alexander <ross.alexander@uk.neceur.com>
3145
3146 * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add
3147 additional symbols referenced by newer crt0.o files from HP.
3148
3149 2001-11-12 Anthony Green <green@redhat.com>
3150
3151 * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol.
3152
3153 2001-11-12 Alfred M. Szmidt <ams@kemisten.nu>
3154
3155 * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.
3156 * Makefile.in: Regenerate.
3157
3158 2001-11-02 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3159
3160 * ld.texinfo: Use @command for commands, @option for options.
3161 * Makefile.am (POD2MAN): Use 'GNU Development Tools' for
3162 the page man title.
3163 * Makefile.in: Rebuild.
3164
3165 2001-11-04 Chris Demetriou <cgd@broadcom.com>
3166
3167 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
3168 Add support for targets.
3169
3170 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
3171
3172 * configure.in (ALL_LINGUAS): Add "fr" and "sv"
3173 * configure: Regernate.
3174 * po/fr.po: New file.
3175 * po/sv.po: New file.
3176
3177 2001-11-01 NIIBE Yutaka <gniibe@m17n.org>
3178
3179 * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls
3180 as little endian default and to support big endian.
3181
3182 2001-11-01 Chris Demetriou <cgd@broadcom.com>
3183
3184 * ld.texinfo (Options): Document new option, -nostdlib.
3185 * lexsup.c (OPTION_NOSTDLIB): New definition.
3186 (ld_options): Add entry for "nostdlib".
3187 (parse_args): Handle OPTIONS_NOSTDLIB.
3188 * ldfile.c (ldfile_add_library_path): Don't add directories
3189 to the search path if they weren't specified on the command line
3190 and -nostdlib was specified.
3191 * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
3192
3193 2001-10-31 Nick Clifton <nickc@cambridge.redhat.com>
3194
3195 * lexsup.c (parse_args): Prevent infinite parsing loop when
3196 "-rpath.a" is specified on the command line.
3197 Replace calls to fprintf with calls to einfo.
3198
3199 2001-10-31 John Marshall <jmarshall@acm.org>
3200
3201 * ld.texinfo: A historical requirement that MEMORY and SECTIONS
3202 appear only once across all the linker scripts involved in a link
3203 invocation no longer applies. Make the documentation reflect
3204 that.
3205
3206 2001-10-31 NIIBE Yutaka <gniibe@m17n.org>
3207
3208 * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
3209 targets.
3210 (sh-*-linux*): Added targ_extra_libpath.
3211
3212 2001-10-31 David Heine <dlheine@tensilica.com>
3213
3214 * ldlang.c (lang_size_sections): Keep a valid output_offset field
3215 for padding statements.
3216
3217 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
3218
3219 * configure.tgt (mmix-*-*): New target.
3220 * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o.
3221 Add dependencies to match.
3222 * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em,
3223 emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em,
3224 scripttempl/mmo.sc: New files.
3225 * gen-doc.texi: @set MMIX.
3226 * ld.texinfo: Ditto.
3227 [MMIX] Add MMIX node.
3228 * Makefile.in: Regenerate.
3229
3230 2001-10-29 Kazu Hirata <kazu@hxi.com>
3231
3232 * ldlang.c: Fix a comment typo.
3233
3234 2001-10-23 Alan Modra <amodra@bigpond.net.au>
3235
3236 * configure.host: Move alpha*-*-linux-gnu* entry to generic
3237 entries, and match *-*-linux*.
3238
3239 2001-10-20 Alan Modra <amodra@bigpond.net.au>
3240
3241 * ldgram.y (mri_script_command): Surround processing of INCLUDE
3242 with ldlex_script, ldlex_popstate.
3243 (ifile_p1): Likewise.
3244 * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the
3245 correct slot.
3246 (lex_push_file): Save current lineno to lineno_stack. Set lineno
3247 to 1. Don't BEGIN(SCRIPT).
3248 (lex_redirect): Similarly.
3249 * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
3250
3251 2001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
3252
3253 * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and
3254 __EH_FRAME_END__ and accept eh frames into data section.
3255 Add ctor and dtor sections.
3256
3257 2001-10-19 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3258
3259 * pe-dll.c (autofilter_objectlist): Add gcrt0.o.
3260 (auto-export): Fix indentation.
3261
3262 2001-10-18 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3263
3264 * pe-dll.c (autofilter_objectlist): Add startup objects
3265 for profiling.
3266 (auto-export): Constify char * p.
3267 Extract file basename and use strcmp rather than ststr
3268 for object lookup.
3269
3270 2001-10-18 Chris Demetriou <cgd@broadcom.com>
3271
3272 * ldmain.c (get_emulation): Improve comment about the handling
3273 of -mipsN options.
3274
3275 2001-10-17 Alan Modra <amodra@bigpond.net.au>
3276
3277 * po/POTFILES.in: Regenerate.
3278
3279 2001-10-16 Vassili Karpov <malc@pulsesoft.com>
3280
3281 * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
3282 -z nocopyreloc and -z nocombreloc usage strings.
3283
3284 2001-10-12 Vassili Karpov <malc@pulsesoft.com>
3285
3286 * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc
3287 in usage.
3288
3289 2001-10-11 Aleksey Romanov <aromanov@ennovatenetworks.com>
3290
3291 * scripttempl/armaout.sc: Place .bss section after end of aligned
3292 data section to match behaviour of aout code in constructrion of
3293 header.
3294
3295 2001-10-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3296
3297 * pe-dll.c (autofilter_entry_type autofilter_liblist: Add
3298 startup files for mingw32 dlls to list.
3299
3300 2001-10-10 Chris Demetriou <cgd@broadcom.com>
3301
3302 * emultempl/elf32.em: Fix shell 'if' usage for portability.
3303
3304 2001-10-08 Aldy Hernandez <aldyh@redhat.com>
3305
3306 * configure.tgt (targ): Add arm9e-*-elf.
3307
3308 2001-10-05 H.J. Lu <hjl@gnu.org>
3309
3310 * genscripts.sh: Fix a typo in the last change.
3311
3312 2001-10-05 Jakub Jelinek <jakub@redhat.com>
3313
3314 * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
3315 -z nocombreloc in usage.
3316
3317 2001-10-03 Jim Blandy <jimb@redhat.com>
3318
3319 * genscripts.sh: Include a comment at the top of each generated
3320 script, explaining its purpose.
3321
3322 2001-10-03 Vassili Karpov <malc@pulsesoft.com>
3323
3324 * emultempl/elf32.em (parse_args): Handle -z nocopyreloc.
3325 * NEWS: Mention -z nocopyreloc.
3326 * ld.texinfo (Options): Describe nocopyreloc.
3327
3328 2001-10-03 Alan Modra <amodra@bigpond.net.au>
3329
3330 * configure: Regenerate.
3331
3332 2001-10-02 Alan Modra <amodra@bigpond.net.au>
3333
3334 * ldver.h (ld_program_version): Remove declaration.
3335 * lexsup.c (parse_args): Move printing of copyright message..
3336 * ldver.c (ldversion): .. to here.
3337 Use BFD_VERSION_STRING in place of BFD_VERSION.
3338 (ld_program_version): Remove.
3339 * Makefile.am (Makefile): Depend on bfd/configure.in.
3340 Run "make dep-am".
3341 * Makefile.in: Regenerate.
3342
3343 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
3344
3345 * Makefile.am: Update dependencies with "make dep-am".
3346 * Makefile.in: Regenerate.
3347
3348 2001-09-29 John Reiser <jreiser@BitWagon.com>
3349
3350 * ldlang.c (lang_common): Conditionally inhibit Common allocation.
3351 * lexsup.c: Add --no-define-common commandline option.
3352 * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
3353 * ldlex.l: Likewise.
3354 * ld.h: Add command_line.inhibit_common_definition.
3355 * ldmain.c (main): Initialize.
3356 * ld.texinfo: Document.
3357
3358 2001-09-29 Alan Modra <amodra@bigpond.net.au>
3359
3360 * ldlang.c (section_already_linked): Remove assignment to kept_section.
3361
3362 2001-09-26 Alan Modra <amodra@bigpond.net.au>
3363
3364 * ldmisc.c (USE_STDARG): Remove.
3365 (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
3366 (einfo): Likewise.
3367 (minfo): Likewise.
3368 (lfinfo): Likewise.
3369
3370 * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
3371 declarations. Update copyright.
3372
3373 2001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
3374
3375 * pe-dll.c: Remove obsoleted declaration of
3376 pe_get_data_import_dll_name.
3377 (pe_create_import_fixup): Fix thinko.
3378
3379 * ld.texinfo(enable-auto-import): Clarify the explanation.
3380
3381 2001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
3382
3383 * pe-dll.c (pe_create_import_fixup): Revert previous patch.
3384 * emultemp/pe.em (pe_data_import_dll): Move definition outside of
3385 DLL_SUPPORT controlled code.
3386
3387 2001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
3388
3389 * emultempl/pe.em(pe_data_import_dll): Make static.
3390 (pe_get_data_import_dll_name): New accessor function.
3391 * pe-dll.c(pe_create_import_fixup): call
3392 pe_get_data_import_dll_name() from pe.em, instead of
3393 directly accessing pe_data_import_dll variable from pe.em.
3394
3395 2001-09-18 Bruno Haible <haible@clisp.cons.org>
3396
3397 * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>.
3398 (def_file_add_directive): Use ISSPACE instead of isspace.
3399 (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
3400 isdigit/isxdigit/isalpha/isalnum.
3401 * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>.
3402 (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
3403 * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>.
3404 (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
3405 isalnum.
3406 * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>.
3407 (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
3408 isupper/tolower.
3409 * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>.
3410 (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
3411 * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>.
3412 (ctor_prio): Use ISDIGIT instead of isdigit.
3413 * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>.
3414 (ldfile_open_file_search): Use ISALPHA instead of isalpha.
3415 (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
3416 isupper/tolower.
3417 * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>.
3418 (stricpy): Use TOLOWER instead of isupper/tolower.
3419 (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
3420 * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>.
3421 (lex_warn_invalid): Use ISPRINT instead of isprint.
3422 * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>.
3423 (main): For gettext, also set the LC_CTYPE locate facet.
3424 (add_keepsyms_file): Use ISSPACE instead of isspace.
3425 * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>.
3426 (is_num, parse_args): Use ISDIGIT instead of isdigit.
3427 * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>.
3428 (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
3429 * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>.
3430 (gldppcmacos_read_file): Use ISSPACE instead of isspace.
3431 * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>.
3432 (quoteput): Use ISSPACE instead of isspace.
3433 (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
3434 instead of isalnum.
3435
3436 2001-09-18 Alan Modra <amodra@bigpond.net.au>
3437
3438 * deffilep.y (def_stash_module): Constify "name" param.
3439
3440 * pe-dll.c: Replace CONST with const throughout.
3441 (quick_symbol): Constify "n1", "n2", "n3" params.
3442 (make_singleton_name_thunk): Constify "import" param. Make
3443 "buffer_len" a size_t.
3444 (make_import_fixup_entry): Constify "name", "fixup_name",
3445 "dll_symname" params.
3446 (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread.
3447 (pe_get32): Likewise.
3448 (pe_implied_import_dll): Likewise.
3449
3450 * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
3451 (sort_by_section_name): Likewise.
3452
3453 * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
3454 (make_import_fixup): Cast printf arg, rel->address to long rather
3455 than int.
3456 (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
3457
3458 2001-09-15 Alan Modra <amodra@bigpond.net.au>
3459
3460 * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
3461 defines BufferSize. Increase buffer size by one.
3462
3463 2001-09-14 Ralf Habacker <Ralf.Habacker@freenet.de>
3464
3465 * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
3466
3467 2001-09-14 Kevin Lo <kevlo@openbsd.org>
3468
3469 * configure.tgt: Add arm-openbsd target.
3470
3471 2001-09-12 H.J. Lu <hjl@gnu.org>
3472
3473 * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
3474 eelf64lppc.o to ...
3475 (ALL_64_EMULATIONS): Here.
3476 * Makefile.in: Regenerated.
3477
3478 2001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
3479
3480 * emultempl/pe.em(make_import_fixup): change signature to
3481 take asection as well as arelec; we need this for proper
3482 error reporting. Only call pe_create_import_fixup() if
3483 there is no attempt to add a constant addend to the reloc;
3484 otherwise, report error condition.
3485 * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
3486 since final argument is a pointer to make_import_fixup().
3487 Change call to cb() to match make_import_fixup() signature.
3488 (make_import_fixup_mark): make buffer_len unsigned.
3489 * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
3490
3491 2001-09-12 Charles Wilson <cwilson@ece.gatech.edu>
3492
3493 * ld.texinfo: add verbose documentation for auto-import
3494 direct-addressing workaround, to compliment the terse
3495 error message.
3496
3497 2001-09-12 Andrew MacLeod <amacleod@redhat.com>
3498
3499 * scripttempl/v850.sc: Add gcc_except_table sections.
3500
3501 2001-09-11 Jeffrey A Law (law@cygnus.com)
3502
3503 * emulparams/h8300helf.sh: Move stack to a much higher memory address.
3504 * emulparams/h8300self.sh: Similarly.
3505
3506 2001-09-05 Danny Smith <dannysmith@users.souceforge.net>
3507
3508 * ld.texinfo (Options, --stack): Correct default value for stack
3509 reserve.
3510
3511 2001-09-05 Tom Rix <trix@redhat.com>
3512
3513 * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
3514
3515 2001-09-03 Andreas Jaeger <aj@suse.de>
3516
3517 * emultempl/beos.em: Declare prototypes for comparions functions,
3518 adjust definitions.
3519
3520 2001-09-02 Andreas Jaeger <aj@suse.de>
3521
3522 * emultempl/aix.em: Add missing prototype.
3523 * emultempl/lnk960.em: Likewise.
3524 * emultempl/vanilla.em: Likewise.
3525 * emultempl/armcoff.em: Likewise.
3526 * emultempl/armelf_oabi.em: Likewise.
3527 * emultempl/beos.em: Likewise.
3528 * emultempl/gld960c.em: Likewise.
3529 * emultempl/gld960.em: Likewise.
3530
3531 * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
3532 for prototype declaration.
3533
3534 2001-08-31 Eric Christopher <echristo@redhat.com>
3535 Jason Eckhardt <jle@redhat.com>
3536
3537 * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
3538
3539 2001-08-31 Andreas Jaeger <aj@suse.de>
3540
3541 * emultempl/pe.em: Add missing prototypes.
3542 (gld_${EMULATION_NAME}_after_open): Remove extra args to
3543 pe_find_data_imports.
3544 (pr_sym): Add unused attribute.
3545
3546 2001-08-29 Joel Sherrill <joel@OARcorp.com>
3547
3548 * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
3549 default from coff to elf.
3550
3551 2001-08-29 Jeff Law <law@redhat.com>
3552
3553 * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update
3554 ARCH specification.
3555 * emulparams/h8300self.sh: Similarly.
3556
3557 2001-08-28 J"orn Rennecke <amylaar@redhat.com>
3558
3559 * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
3560 eh8300self.o .
3561 (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
3562 * configure.tgt (h8300-*-elf*): New case.
3563 * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
3564 * emulparams/h8300self.sh: New file.
3565 * Makefile.in: Regenerated.
3566
3567 2001-08-28 Nick Clifton <nickc@cambridge.redhat.com>
3568
3569 * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
3570 with macro name.
3571
3572 2001-08-27 Linus Nordberg <linus@swox.com>
3573 Alan Modra <amodra@bigpond.net.au>
3574
3575 * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
3576 (eelf64ppc.c, eelf64lppc.c): Add make targets.
3577 Run "make dep-am"
3578 * Makefile.in: Regenerate.
3579 * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj
3580 entries to correct alphabetical position.
3581 * emulparams/elf64ppc.sh: New.
3582 * emulparams/elf64lppc.sh: New.
3583
3584 2001-08-27 Nick Clifton <nickc@cambridge.redhat.com>
3585
3586 * ldmain.c (main): Declare BSIZE as static.
3587
3588 2001-08-23 Jakub Jelinek <jakub@redhat.com>
3589
3590 * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
3591 into .rel.dyn resp. .rela.dyn if combreloc.
3592 (get_script): If .x linker script is equal to .xn, only put it
3593 once into the binary.
3594 Add .xc and .xsc scripts.
3595 (parse_args): Handle -z combreloc and -z nocombreloc.
3596 * scripttempl/elf.sc (.rela.sbss): Fix a typo.
3597 For .xc and .xsc scripts put all .rel* or .rela* input sections
3598 but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
3599 * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
3600 is elf.
3601 Strip trailing whitespace from script.
3602 Generate .xc and .xsc scripts if requested.
3603 * ldmain.c (main): Initialize link_info.combreloc and
3604 link_info.spare_dynamic_tags.
3605 * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
3606 (ld_options): Add --spare-dynamic-tags option.
3607 (parse_args): Likewise.
3608 * ld.texinfo: Document -z combreloc and -z nocombreloc.
3609 * ldint.texinfo: Document .xc and .xsc linker scripts.
3610 * NEWS: Add notes about -z combreloc and SHF_MERGE.
3611
3612 2001-08-22 H.J. Lu <hjl@gnu.org>
3613
3614 * emulparams/elf32fr30.sh: Add a newline.
3615
3616 2001-08-21 Andreas Jaeger <aj@suse.de>
3617
3618 * deffilep.y: Add missing prototypes.
3619 * pe-dll.c: Likewise.
3620
3621 2001-08-20 Alan Modra <amodra@bigpond.net.au>
3622
3623 * ldlang.c (insert_pad): Fix typos in last patch.
3624
3625 * ldlang.c: When traversing lang_statement_union_type lists,
3626 consistently use "header.next" rather than "next".
3627 * mpw-eppcmac.c: Likewise.
3628 * emultempl/beos.em: Likewise.
3629 * emultempl/hppaelf.em: Likewise.
3630 * emultempl/pe.em: Likewise.
3631 * ldlang.h (union lang_statement_union): Remove "next" field.
3632
3633 * ldlang.c (insert_pad): Use offsetof macro.
3634 (lang_size_sections): Always neuter padding statements.
3635 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
3636
3637 * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
3638 passed to lang_size_sections.
3639 (pe_exe_fill_sections): Likewise.
3640 * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
3641 (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
3642
3643 2001-08-18 Alan Modra <amodra@bigpond.net.au>
3644
3645 * emultempl/aix.em: Formatting fixes.
3646
3647 2001-08-18 Alan Modra <amodra@bigpond.net.au>
3648
3649 * ldlang.c (insert_pad): Make use of an existing pad statement if
3650 available. Move code calculating alignment, adjusting section
3651 alignment power, and adjusting dot to ..
3652 (size_input_section): .. here. Remove unused relax param.
3653 (lang_size_sections): Change boolean `relax' param to boolean *.
3654 Adjust call to size_input_section. Make use of insert_pad to
3655 place pad after the assignment statement. If relaxing, zap
3656 padding statements.
3657 (reset_memory_regions): Reset output_bfd section sizes too.
3658 (relax_again): Move to..
3659 (lang_process): ..here. Adjust call to lang_size_sections, and
3660 remove duplicated code.
3661 * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
3662
3663 2001-08-17 Alan Modra <amodra@bigpond.net.au>
3664
3665 * ld.texinfo: Document that fill values now use the four least
3666 significant bytes.
3667 * emulparams/elf32fr30.sh (NOP): Update.
3668 * emulparams/elf32mcore.sh: Likewise.
3669 * emulparams/elf64_s390.sh: Likewise.
3670 * emulparams/elf_i386.sh: Likewise.
3671 * emulparams/elf_i386_be.sh: Likewise.
3672 * emulparams/elf_i386_chaos.sh: Likewise.
3673 * emulparams/elf_i386_ldso.sh: Likewise.
3674 * emulparams/elf_s390.sh: Likewise.
3675 * emulparams/elf_x86_64.sh: Likewise.
3676 * emulparams/i386moss.sh: Likewise.
3677 * emulparams/i386nw.sh: Likewise.
3678 * emulparams/m68kelf.sh: Likewise.
3679 * scripttempl/elf.sc: Update NOP comment.
3680 * scripttempl/elfi370.sc: Likewise.
3681 * scripttempl/elfm68hc11.sc: Likewise.
3682 * scripttempl/elfm68hc12.sc: Likewise.
3683 * scripttempl/nw.sc: Likewise.
3684
3685 2001-08-15 Tom Rix <trix@redhat.com>
3686
3687 * ldgram.y (saved_script_handle): Initialize to NULL.
3688 * ldmain.c (main): Change check on saved_script_handle.
3689
3690 2001-08-14 Alan Modra <amodra@bigpond.net.au>
3691
3692 * emultempl/elf32.em: Formatting fixes.
3693 (output_prev_sec_find): Test for bfd_ind_section too; do so by
3694 looking at sec->owner.
3695 (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
3696 (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove
3697 unused code, and reorganize orphan section placement code.
3698
3699 * ldlang.c (wild_doit): Rename to lang_add_section.
3700 * ldlang.h: Here too.
3701 * mpw-elfmips.c: And here.
3702 * emultempl/beos.em: And here.
3703 * emultempl/elf32.em: And here.
3704 * emultempl/hppaelf.em: And here.
3705 * emultempl/pe.em: And here.
3706
3707 2001-08-13 Richard Henderson <rth@redhat.com>
3708
3709 * emultempl/needrelax.em: New file.
3710 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
3711 * Makefile.am (eelf64_ia64.c): Depend on it.
3712 * Makefile.in: Rebuild.
3713
3714 2001-08-13 Alan Modra <amodra@bigpond.net.au>
3715
3716 * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
3717 output_section is set non-NULL.
3718
3719 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
3720 `true' for SEC_EXCLUDE sections so that the generic code doesn't
3721 needlessly create an output_section_statement. Treat a correctly
3722 named output_section_statement with NULL bfd_section as compatible.
3723
3724 2001-08-13 Hans-Peter Nilsson <hp@bitrange.com>
3725
3726 * emultempl/generic.em: Support EXTRA_EM_FILE.
3727 (ld_${EMULATION_NAME}_emulation): Support emulation parameters
3728 LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
3729 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
3730 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
3731 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
3732 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
3733 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
3734 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
3735 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
3736 LDEMUL_FIND_POTENTIAL_LIBRARIES.
3737
3738 2001-08-12 Richard Henderson <rth@redhat.com>
3739
3740 * scripttempl/elf.sc, scripttempl/elfd30v.sc,
3741 scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
3742 scripttempl/v850.sc: Keep .jcr data.
3743
3744 2001-08-12 H.J. Lu <hjl@gnu.org>
3745 Andrew Haley <aph@cambridge.redhat.com>
3746 Nick Clifton <nickc@redhat.com>
3747
3748 * ldgram.y (had_script): Change name to saved_script_handle.
3749 Change type to file handle.
3750 * ld.h (had_script): Rename and retype.
3751 * ldfile.c (ldfile_open_command_file): Save the file handle
3752 used in saved_script_handle.
3753 * lexsup.c (parse_args): Do not allow -c option to alter
3754 saved_script_handle.
3755 * ldmain.c (main): Print out the linker script used if
3756 --verbose is given. Check saved_script_handle to obtain the
3757 external linker script used, or if NULL, dump the builtin
3758 script.
3759 * ld.texinfo: Document that --verbose now dumps the linker
3760 script used, regardless of whether it was an internal or an
3761 external script.
3762
3763 2001-08-10 Andreas Jaeger <aj@suse.de>
3764
3765 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
3766 to build warnings.
3767 * configure: Regenerate.
3768
3769 2001-08-09 Alan Modra <amodra@bigpond.net.au>
3770
3771 * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
3772
3773 * scripttempl/elf.sc: Move non-text .dynamic section before
3774 .plt/.got/.sdata* group.
3775 (OTHER_GOT_SECTIONS): Move to immediately after .got.
3776 (OTHER_SDATA_SECTIONS): Add.
3777 * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
3778 OTHER_GOT_SECTIONS.
3779 * emulparams/crislinux.sh: Likewise.
3780 * emulparams/elf32b4300.sh: Likewise.
3781 * emulparams/elf32bmip.sh: Likewise.
3782 * emulparams/elf32bmipn32.sh: Likewise.
3783 * emulparams/elf32bsmip.sh: Likewise.
3784 * emulparams/elf32btsmip.sh: Likewise.
3785 * emulparams/elf32ebmip.sh: Likewise.
3786 * emulparams/elf32elmip.sh: Likewise.
3787 * emulparams/elf32l4300.sh: Likewise.
3788 * emulparams/elf32lmip.sh: Likewise.
3789 * emulparams/elf32lsmip.sh: Likewise.
3790 * emulparams/elf32ltsmip.sh: Likewise.
3791 * emulparams/elf64bmip.sh: Likewise.
3792 * emulparams/elf64btsmip.sh: Likewise.
3793 * emulparams/elf64ltsmip.sh: Likewise.
3794
3795 2001-08-08 Alan Modra <amodra@bigpond.net.au>
3796
3797 * genscripts.sh: Source the emulparams script before each output
3798 script is generated so that variables like `RELOCATING' may affect
3799 variables defined in the emulparams script.
3800
3801 2001-08-04 Alan Modra <amodra@bigpond.net.au>
3802
3803 * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
3804 order.
3805
3806 * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
3807 ie. iterate over wild_statement.section_list.
3808 (gld${EMULATION_NAME}_place_orphan): Likewise.
3809
3810 2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3811
3812 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
3813 .fini[0-4] sections used by _exit
3814 (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
3815 (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
3816 * scripttempl/elfm68hc11.sc: Likewise.
3817
3818 2001-08-03 H.J. Lu <hjl@gnu.org>
3819
3820 * emultempl/beos.em (init): Add the missing initialization.
3821
3822 2001-08-03 Alan Modra <amodra@bigpond.net.au>
3823
3824 * ld.texinfo (Input Section Basics): Clarify ordering of output
3825 sections.
3826 * ldlang.c (callback_t): Add wildcard_list param.
3827 (walk_wild_section): Remove "section" param. Rewrite for
3828 lang_wild_statement_type change. Remove unique_section_p test.
3829 (walk_wild_file): Remove "section" param.
3830 (walk_wild): Remove "section" and "file" params.
3831 (lang_gc_wild): Likewise.
3832 (wild): Likewise. Modify for lang_wild_statement_type change.
3833 (wild_sort): Likewise. Add "sec" param.
3834 (gc_section_callback): Likewise.
3835 (output_section_callback): Likewise. Do unique_section_p test.
3836 (map_input_to_output_sections): Modify call to wild.
3837 (lang_gc_sections_1): Likewise.
3838 (print_wild_statement): Modify for lang_wild_statement_type
3839 change.
3840 (lang_add_wild): Replace filename, filenames_sorted param with
3841 filespec. Replace section_name, sections_sorted,
3842 exclude_filename_list with section_list.
3843 * ldlang.h (lang_add_wild): Here too.
3844 (lang_wild_statement_type): Replace section_name, sections_sorted,
3845 and exclude_filename_list with section_list.
3846 * ldgram.y (current_file): Delete.
3847 (%union): Add wildcard_list.
3848 (file_NAME_list): Set type to wildcard_list. Build a linked list
3849 rather than calling lang_add_wild for each entry.
3850 (input_section_spec_no_keep): Call lang_add_wild here instead.
3851 * ld.h (struct wildcard_list): Declare.
3852 * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
3853
3854 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
3855
3856 * ldmain.c (main): initialize link_info.pei386_auto_import
3857 * pe-dll.c: new tables for auto-export filtering
3858 (auto_export): change API, pass abfd for contextual filtering.
3859 Loop thru tables of excluded symbols instead of comparing
3860 "by hand".
3861
3862 2001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>
3863
3864 * pe-dll.c: new variable pe_dll_enable_extra_debug. New
3865 static variable current_sec (static struct sec *). Add
3866 forward declaration for add_bfd_to_link.
3867 (process_def_file): Don't export undefined symbols. Do not
3868 export symbols starting with "_imp__". Call auto_export()
3869 with new API.
3870 (pe_walk_relocs_of_symbol): New function.
3871 (generate_reloc): add optional extra debugging
3872 (pe_dll_generate_def_file): eliminate extraneous initial blank
3873 line in output
3874 (make_one): enlarge symtab to make room for __nm__ symbols
3875 (DATA auto-import support).
3876 (make_singleton_name_thunk): New function.
3877 (make_import_fixup_mark): New function.
3878 (make_import_fixup_entry): New function.
3879 (pe_create_import_fixup): New function.
3880 (add_bfd_to_link): Specify that 'name' argument is a CONST
3881 char *.
3882 * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
3883 declare new functions pe_walk_relocs_of_symbol and
3884 pe_create_import_fixup.
3885 * emultempl/pe.em: add new options --enable-auto-import,
3886 --disable-auto-import, and --enable-extra-pe-debug.
3887 (make_import_fixup): New function.
3888 (pe_find_data_imports): New function.
3889 (pr_sym): New function.
3890 (gld_${EMULATION_NAME}_after_open): Add optional extra pe
3891 debugging. Call pe_find_data_imports. Mark .idata as DATA, not
3892 CODE.
3893
3894 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
3895
3896 * ld.texinfo: add additional documentation for
3897 --export-all-symbols. Document --out-implib,
3898 --enable-auto-image-base, --disable-auto-image-base,
3899 --dll-search-prefix, --enable-auto-import, and
3900 --disable-auto-import.
3901 * ldint.texinfo: Add detailed documentation on auto-import
3902 implementation.
3903
3904 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
3905
3906 * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
3907 example.
3908
3909 2001-07-24 Alan Modra <amodra@bigpond.net.au>
3910
3911 * Makefile.am: Update dependencies with "make dep-am".
3912 * Makefile.in: Regenerate
3913
3914 2001-07-23 Alan Modra <amodra@bigpond.net.au>
3915
3916 * ldcref.c (check_section_sym_xref): New function.
3917 (check_nocrossrefs): Call it.
3918 (check_nocrossref): Interate over h->refs here instead of..
3919 (check_refs): ..here. Pass in the symbol name, section, and bfd
3920 rather than hash_entry pointers.
3921 (struct check_refs_info): Keep symbol name rather than hash entry.
3922 Remove "same".
3923 (check_reloc_refs): Tweak for above changes in check_refs_info.
3924 Only report references to section syms when symname is NULL to
3925 prevent duplicate messages for the same reloc.
3926
3927 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
3928
3929 * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
3930 available. Do not print NULL trees.
3931 (exp_print_token): Print unknown tokens with values > 126 as
3932 decimal values not ASCII characters.
3933
3934 * ldlang.c (lang_leave_overlay): If a region is specified assign
3935 it to all sections inside the overlay unless they have been
3936 assigned to the own, non-default, memory region.
3937
3938 * README: Add header for consistency with other README files.
3939
3940 2001-07-14 H.J. Lu <hjl@gnu.org>
3941
3942 * emultempl/elf32.em (output_prev_sec_find): Never return
3943 bfd_abs_section_ptr, bfd_com_section_ptr nor
3944 bfd_und_section_ptr.
3945
3946 2001-07-14 Nick Clifton <nickc@cambridge.redhat.com>
3947
3948 * Makefile.am (em32relf.c): Change dependency from generic.em to
3949 elf32.em.
3950 * Makefile.in: Regenerate.
3951
3952 2001-07-14 matthew green <mrg@eterna.com.au>
3953
3954 * configure.tgt (i386-*-netbsdelf*): New target.
3955 (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
3956
3957 2001-07-13 Jakub Jelinek <jakub@redhat.com>
3958
3959 * emultempl/elf32.em (output_prev_sec_find): New.
3960 (place_orphan): Use it.
3961
3962 2001-07-11 H.J. Lu <hjl@gnu.org>
3963
3964 * ldmain.c (main): Fix typos in the last change.
3965
3966 2001-07-11 Jakub Jelinek <jakub@redhat.com>
3967
3968 * ldmain.c (main): Disallow -F and -f without -shared.
3969
3970 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
3971
3972 * emultempl/pe.em (after_open): Check for the output_bfd not
3973 having any coff_data structure allocated to it.
3974
3975 2001-07-09 David O'Brien <obrien@FreeBSD.org>
3976
3977 * emultempl/elf32.em: Do not assuming that contents of the buffer
3978 returned from basename function will remain unchanged accross other
3979 function calls.
3980
3981 2001-07-03 H.J. Lu <hjl@gnu.org>
3982
3983 * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
3984 2001-07-03. It creates dynamic entries even for static binaries.
3985
3986 2001-07-03 Jakub Jelinek <jakub@redhat.com>
3987
3988 * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
3989 (DYNAMIC): Use it to reserve few dynamic entries for
3990 post-linking tools.
3991
3992 2001-06-27 Alan Modra <amodra@bigpond.net.au>
3993
3994 * emulparams/hppa64linux.sh: New file.
3995 * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
3996 * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
3997 (ehppa64linux.c): Add rule to make it.
3998 Run "make dep-am".
3999 * Makefile.in: Regenerate.
4000
4001 2001-06-21 Hans-Peter Nilsson <hp@axis.com>
4002
4003 * ld.texinfo (Options, -r): Mention restrictions when using
4004 different object formats.
4005
4006 2001-06-19 Hans-Peter Nilsson <hp@axis.com>
4007
4008 * ldlang.c (lang_check): Emit fatal error if relocatable link
4009 between different object flavours with relocations in input.
4010
4011 2001-06-19 H.J. Lu <hjl@gnu.org>
4012
4013 * ld.texinfo (-E, --export-dynamic): Mention --version-script.
4014 (--version-script): Mention the language support.
4015
4016 2001-06-19 H.J. Lu <hjl@gnu.org>
4017
4018 * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
4019
4020 2001-06-18 H.J. Lu <hjl@gnu.org>
4021
4022 * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
4023 (diststuff): Add $(MANS).
4024 * Makefile.in: Regenerated.
4025
4026 * ld.1: Removed.
4027
4028 2001-06-18 Hans-Peter Nilsson <hp@axis.com>
4029
4030 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
4031 Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
4032 * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
4033 * ld.h (args_type): Remove member export_dynamic. All users
4034 changed to use struct bfd_link_info member.
4035
4036 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
4037 $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
4038 * Makefile.in: Regenerate.
4039
4040 2001-06-18 H.J. Lu <hjl@gnu.org>
4041
4042 * ldlang.c (init_os): Add the newline to the einfo call.
4043 (lang_check): Likewise.
4044 (lang_do_version_exports_section): Likewise.
4045
4046 2001-06-15 H.J. Lu <hjl@gnu.org>
4047
4048 * lexsup.c (parse_args); Save optind to report unrecognized
4049 option.
4050
4051 2001-06-15 Hans-Peter Nilsson <hp@axis.com>
4052
4053 * ldlang.c (lang_check): Emit fatal error if relocatable link
4054 between different object flavours.
4055
4056 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
4057 Set new link_info member export_dynamic.
4058 * ldmain.c (main): Initialize new link_info member export_dynamic.
4059
4060 2001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
4061
4062 * ldlang.c (walk_wild): Only call walk_wild_file if
4063 lookup_name returns something.
4064 (lookup_name): If load_symbols fails, return NULL.
4065 (load_symbols): Change to a boolean function.
4066 (open_input_bfds): If load_symbols fails then do not make the
4067 executable.
4068
4069 2001-06-08 Alan Modra <amodra@bigpond.net.au>
4070
4071 * ldlang.c (record_bfd_errors): Remove.
4072
4073 * emultempl/aix.em: Fix copyright dates.
4074
4075 2001-06-07 Andreas Jaeger <aj@suse.de>
4076
4077 * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
4078 (TEXT_START_ADDR): Likewise.
4079
4080 2001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
4081
4082 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
4083
4084 2001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4085
4086 * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
4087
4088 2001-05-31 H.J. Lu <hjl@gnu.org>
4089
4090 * ldlang.c (open_input_bfds): Don't change the bfd error
4091 handler whilst loading symbols.
4092
4093 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
4094
4095 * configure.tgt: Remove i370-mvs architecture, it is not currently
4096 supported.
4097
4098 2001-05-25 H.J. Lu <hjl@gnu.org>
4099
4100 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
4101 like emulparams/aixppc.sh.
4102
4103 2001-05-25 H.J. Lu <hjl@gnu.org>
4104
4105 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
4106 setting of output_filename after bfd_scan_arch.
4107 * emultempl/pe.em: Likewise.
4108
4109 2001-05-25 H.J. Lu <hjl@gnu.org>
4110
4111 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
4112 like emulparams/aixppc.sh.
4113
4114 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
4115 instead of ${srcdir}/emultempl/stringify.sed.
4116
4117 2001-05-25 Timothy Wall <twall@oculustech.com>
4118
4119 * emulparams/elf64_aix.sh: Change settings to match IBM linker
4120 output.
4121
4122 2001-05-25 Alan Modra <amodra@one.net.au>
4123
4124 * configure.host: Replace linuxoldld with linux*oldld.
4125 * configure.tgt: Likewise.
4126
4127 2001-05-24 H.J. Lu <hjl@gnu.org>
4128
4129 * emultempl/stringify.sed: Removed again.
4130
4131 2001-05-24 H.J. Lu <hjl@gnu.org>
4132
4133 * emultempl/aix.em (OUTPUT_ARCH): Defined.
4134 (gld${EMULATION_NAME}_before_parse): Initialize
4135 ldfile_output_architecture, ldfile_output_machine and
4136 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
4137 * emultempl/beos.em: Likewise.
4138 * emultempl/elf32.em: Likewise.
4139 * emultempl/linux.em: Likewise.
4140 * emultempl/mipsecoff.em: Likewise.
4141 * emultempl/pe.em: Likewise.
4142 * emultempl/sunos.em: Likewise.
4143
4144 2001-05-24 Tom Rix <trix@redhat.com>
4145
4146 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
4147 udate import file format.
4148 (change_symbol_mode) New, same
4149 (is_syscall) New, same
4150 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
4151 * emulparams/aixppc64.sh : same
4152 * emulparams/aixrs6.sh : same
4153 * emulparams/ppcmacos.sh : same
4154 * emultempl/aix.em : use strtoull to parse options
4155 * Makefile.am : add eaixppc64 emulation for xcoff64
4156 * Makefile.in : same
4157 * configure.tgt : same
4158
4159 * scripttempl/aix.sc : default text section offset to 0x10000000
4160 default data section offset to 0x20000000
4161 add .sv3264 and .sv64 pseudo sections
4162 loader and debug sections use the currect section offset.
4163
4164 * emultempl/aix.em : Add xcoff64 support
4165 Add -binitfini support
4166 (gld${EMULATION_NAME}_before_parse) -binitfini
4167 (gld${EMULATION_NAME}_parse_args) same
4168 (gld${EMULATION_NAME}_before_allocation) format change for special
4169 sections
4170
4171 * emulparams/aixppc64.sh : New file for xcoff64 support
4172
4173 2001-05-23 Alexandre Oliva <aoliva@redhat.com>
4174
4175 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
4176 variable to avoid non-portable shell construct.
4177
4178 2001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4179
4180 * ldmain.c (get_emulation): Add -mips5 command line argument.
4181
4182 2001-05-22 Alexandre Oliva <aoliva@redhat.com>
4183
4184 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
4185 (ELF_INTERPRETER_NAME): Define it.
4186 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
4187 it.
4188 * configure.tgt (targ_emul, targ_extra_emuls)
4189 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
4190 as primary, elf_i386 as extra.
4191 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
4192 (eelf_i386_ldso.c): New rule.
4193 * Makefile.in: Rebuilt.
4194
4195 2001-05-22 Nick Clifton <nickc@redhat.com>
4196
4197 * lexsup.c (ld_options): Allow -I to be an alias for
4198 --dynamic-linker. This is for Solaris compatability.
4199 * ld.texinfo: Document that -I can be used.
4200 * ld.1: Regenerate.
4201
4202 2001-05-16 Alan Modra <amodra@one.net.au>
4203
4204 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
4205 whether an input section is the first one assigned to an output
4206 section.
4207 Assorted formatting fixes.
4208
4209 2001-05-14 DJ Delorie <dj@delorie.com>
4210
4211 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
4212 * Makefile.in: Ditto.
4213
4214 2001-05-11 Jakub Jelinek <jakub@redhat.com>
4215
4216 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
4217 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
4218 output sections.
4219 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
4220
4221 2001-05-11 Jakub Jelinek <jakub@redhat.com>
4222
4223 * ldlang.c (lang_process): Call bfd_merge_sections.
4224
4225 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4226
4227 * ldgram.y: Fix typo.
4228
4229 2001-05-03 H.J. Lu <hjl@gnu.org>
4230
4231 * emultempl/elf32.em: Include "libiberty.h".
4232 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
4233 basename of the bfd filename.
4234 (gld${EMULATION_NAME}_stat_needed): Likewise.
4235 (gld${EMULATION_NAME}_try_needed): Likewise.
4236 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
4237
4238 2001-05-02 H.J. Lu <hjl@gnu.org>
4239
4240 * emultempl/pe.em: Include <ctype.h>.
4241
4242 2001-05-02 Johan Rydberg <jrydberg@opencores.org>
4243
4244 * emulparams/elf32openrisc.sh: New file.
4245
4246 * Makefile.am: Add OpenRISC target.
4247 * Makefile.in: Regenerated.
4248
4249 * configure.tgt: Add openrisc-*-* mapping.
4250
4251 2001-05-02 Nick Clifton <nickc@redhat.com>
4252
4253 * emultempl/aix.em: Replace buystring with xstrdup.
4254 * emultempl/beos.em: Replace buystring with xstrdup.
4255
4256 2001-05-02 H.J. Lu <hjl@gnu.org>
4257
4258 * ldfile.c: Include "libiberty.h".
4259 * ldlex.l: Likewise.
4260
4261 * ldmisc.c (buystring): Removed.
4262 * ldmisc.h: Likewise.
4263
4264 * ldfile.c: Replace buystring with xstrdup.
4265 * ldlang.c: Likewise.
4266 * ldlex.l: Likewise.
4267 * ldmain.c: Likewise.
4268 * ldmisc.c: Likewise.
4269 * lexsup.c: Likewise.
4270 * mpw-eppcmac.c: Likewise.
4271
4272 2001-04-30 Andreas Jaeger <aj@suse.de>
4273
4274 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
4275
4276 2001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
4277
4278 * ldlang.c (load_symbols): Give emulation a chance
4279 to process unrecognized file before fatal error is
4280 reported, not after.
4281
4282 2001-04-27 Sean McNeil <sean@mcneil.com>
4283
4284 * configure.tgt: Add arm-vxworks target.
4285 * scripttempl/armcoff.sc: Support .text or .data as a section name
4286 prefix.
4287 Define _etext.
4288
4289 2001-04-13 J.T. Conklin <jtc@redback.com>
4290
4291 * ld.texinfo: Document --fatal-warnings.
4292 * ld.1: Regenerate.
4293
4294 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
4295 warnings have been turned into errors.
4296 * lexsup.c (OPTION_WARN_FATAL): Define.
4297 (ld_options): Entry for --fatal-warnings.
4298 (parse_args): Handle OPTION_WARN_FATAL.
4299 * ld.h (ld_config_type): Add fatal_warnings field.
4300
4301 2001-04-13 Jakub Jelinek <jakub@redhat.com>
4302
4303 * ldmain.c (main): Default to discard_sec_merge.
4304 * lexsup.c (OPTION_DISCARD_NONE): Define.
4305 (ld_options): Add --discard-none.
4306 (parse_args): Handle OPTION_DISCARD_NONE.
4307 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
4308 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
4309 all its input sections match.
4310
4311 2001-04-05 Steven J. Hill <sjhill@cotw.com>
4312
4313 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
4314 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
4315 (eelf32ltsmip.c): New target.
4316 (eelf64btsmip.c): Likewise.
4317 (eelf64ltsmip.c): Likewise.
4318 * Makefile.in: Regenerated.
4319
4320 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
4321 target.
4322 (mips*-*-linux-gnu*): Likewise.
4323
4324 * emulparams/elf32ltsmip.sh: New. Traditional little endian
4325 MIPS taget.
4326 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
4327 target.
4328 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
4329 endian target.
4330
4331 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
4332
4333 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
4334 correct value of __Stext here.
4335 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
4336 .startup section.
4337
4338 * emulparams/crislinux.sh: Remove FIXME.
4339
4340 2001-04-02 Alan Modra <alan@linuxcare.com.au>
4341
4342 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
4343 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
4344
4345 2001-03-27 Hans-Peter Nilsson <hp@axis.com>
4346
4347 * configure.tgt (cris-*-*): Change default emulation to criself.
4348 (cris-*-*aout*): New rule.
4349
4350 2001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com>
4351
4352 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
4353 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
4354
4355 2001-03-26 Andreas Jaeger <aj@suse.de>
4356
4357 * ld.texinfo (Overview): Fix syntax in texi code.
4358
4359 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4360
4361 * ld.texinfo: Put @c man indications to generate the ld man page.
4362 When generating man, define all the variables. Define SEEALSO
4363 and SYNOPSIS. Re-organize some lines to avoid the cross references.
4364 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
4365 (ld.1): Generate from ld.texinfo.
4366 * Makefile.in: Regenerate.
4367
4368 2001-03-23 Mark Elbrecht <snowball3@bigfoot.com>
4369
4370 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
4371 and '-fdata-sections'. Set the VMA of STABS sections to zero.
4372
4373 2001-03-17 Ulrich Drepper <drepper@redhat.com>
4374
4375 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
4376 is an absolute path look only for this file and not along the path.
4377
4378 2001-03-17 Ulrich Drepper <drepper@redhat.com>
4379
4380 * emultempl/elf32.em (OPTION_GROUP): New macro.
4381 Add new option Bgroup to longopts.
4382 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
4383 (gld*_list_options): Add -Bgroup and -z defs.
4384 * ld.1: Document -Bgroup and -z defs.
4385 * ld.texinfo: Likewise.
4386
4387 2001-03-07 Michael Meissner <meissner@redhat.com>
4388
4389 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
4390 with sections created by -fdata-sections.
4391 (.dynbss,.bss): Ditto.
4392
4393 2001-03-05 Alan Modra <alan@linuxcare.com.au>
4394
4395 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
4396 after_allocation_default, not gld..._before_allocation.
4397
4398 2001-02-27 Alan Modra <alan@linuxcare.com.au>
4399
4400 * configure.in (BFD_VERSION): New.
4401 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
4402 * configure: Regenerate.
4403 * Makefile.am: Run "make dep-am"
4404 * Makefile.in: Regenerate.
4405
4406 2001-02-26 Timothy Wall <twall@cygnus.com>
4407
4408 * emulparams/elf64_aix.sh: Add additional read-only sections;
4409 uncomment lines which are now required.
4410
4411 2001-02-26 H.J. Lu <hjl@gnu.org>
4412
4413 * ldlang.c (open_input_bfds): Set the bfd error handler so
4414 that problems can be caught whilst loading symbols.
4415 (record_bfd_errors): New function: Report BFD errors and mark
4416 the executable output as being invalid.
4417
4418 2001-02-22 Timothy Wall <twall@cygnus.com>
4419
4420 * configure.host: Add configuration for ia64-*-aix*.
4421 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
4422 Add dependencies for eelf64_aix.c.
4423 * Makefile.in: Regenerate.
4424 * configure.tgt: Add ia64-*-aix* mapping.
4425 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
4426
4427 2001-02-20 H.J. Lu <hjl@gnu.org>
4428
4429 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
4430 false if we found the file.
4431
4432 2001-02-18 David O'Brien <obrien@FreeBSD.org>
4433
4434 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
4435 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
4436
4437 2001-02-18 lars brinkhoff <lars@nocrew.org>
4438
4439 * Makefile.am: Add PDP-11 target.
4440 * configure.tgt: Likewise.
4441 * emulparams/pdp11.sh: New file.
4442
4443 2001-02-17 David O'Brien <obrien@FreeBSD.org>
4444
4445 * configure.host: Add a generic FreeBSD configuration entry such that
4446 all [modern] FreeBSD systems on all platforms will look the same.
4447
4448 2001-02-14 H.J. Lu <hjl@gnu.org>
4449
4450 * configure.tgt: Remove mention of earmelf_linux26.
4451
4452 2001-02-13 Richard Henderson <rth@redhat.com>
4453
4454 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
4455
4456 2001-02-13 H.J. Lu <hjl@gnu.org>
4457
4458 * ldexp.h (node_type): Add etree_provided.
4459 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
4460 type to etree_provided if defined by PROVIDE. Allow updating
4461 for etree_provided.
4462 (exp_print_tree): Handle etree_provided.
4463 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
4464 etree_provided.
4465
4466 2001-02-09 David Mosberger <davidm@hpl.hp.com>
4467
4468 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
4469 .IA_64.unwind.* pattern to unwind table section and
4470 .IA_64.unwind_info* pattern to unwind info section.
4471
4472 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
4473
4474 * Makefile.am: Add linux target for S/390.
4475 * Makefile.in: Likewise.
4476 * configure.host: Likewise.
4477 * configure.tgt: Likewise.
4478 * emulparams/elf64_s390.sh: New file.
4479 * emulparams/elf_s390.sh: New file.
4480
4481 2001-02-09 Jakub Jelinek <jakub@redhat.com>
4482
4483 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
4484 targ_extra_libpath.
4485 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
4486
4487 2001-02-06 Philip Blundell <philb@gnu.org>
4488
4489 * Makefile.am: Remove mention of earmelf_linux26.
4490 * Makefile.in: Regenerate.
4491
4492 2001-02-04 Philip Blundell <philb@gnu.org>
4493
4494 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
4495 * emulparams/armelf_linux26.sh: Delete.
4496 * configure.tgt: Remove mention of armelf_linux26 emulation.
4497
4498 2001-02-01 Nick Clifton <nickc@redhat.com>
4499
4500 * ld.1: Replace occurances of -oformat with --oformat.
4501
4502 2001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
4503
4504 * ldlang.c (lang_leave_overlay): Don't set lma_region when
4505 load_base is specified.
4506
4507 2001-01-24 Hans-Peter Nilsson <hp@axis.com>
4508
4509 * emultempl/elf32.em: Correct spelling in comments and listed
4510 options.
4511
4512 2001-01-23 Alan Modra <alan@linuxcare.com.au>
4513
4514 * ldlang.c (lang_leave_overlay): Only set lma_region from the
4515 default for the first section of a group of overlay sections.
4516
4517 2001-01-22 Alan Modra <alan@linuxcare.com.au>
4518
4519 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
4520 * Makefile.in: Regenerate.
4521 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
4522 Check for null tool_dir.
4523
4524 2001-01-16 Jim Wilson <wilson@redhat.com>
4525
4526 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
4527 and IA_64.unwind.info.
4528
4529 2001-01-16 H.J. Lu <hjl@gnu.org>
4530
4531 * ldlang.c (lang_check): Merge the private data only if the
4532 input file has contents.
4533
4534 2001-01-14 Alan Modra <alan@linuxcare.com.au>
4535
4536 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
4537
4538 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
4539 enabling search for libmilli. On a relocatable link, make .text
4540 sections unique.
4541 (LDEMUL_AFTER_PARSE): Define.
4542 (hppaelf_finish): Correct spelling of relocatable in comments.
4543
4544 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
4545 rummage through the script for sections on the unique list.
4546 Correct length of strncmp for ".note".
4547 (gld${EMULATION_NAME}_check_needed): Rearrange function.
4548
4549 * ldlang.c (unique_section_list): New var.
4550 (unique_section_p): New function.
4551 (walk_wild_section): Don't match sections on unique_section_list.
4552 (lang_add_unique): New function.
4553 Correct spelling of relocatable in comments.
4554
4555 * ldlang.h (struct unique_sections): Declare.
4556 (unique_section_list): Declare.
4557 (unique_section_p): Declare.
4558 (lang_add_unique): Declare.
4559
4560 * lexsup.c (ld_options): Allow --unique to take an optional arg.
4561 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
4562
4563 * ld.texinfo (--unique): Update.
4564
4565 2001-01-13 Nick Clifton <nickc@redhat.com>
4566
4567 * lexsup.c (parse_args): Remove spurious white space.
4568
4569 2001-01-12 Nick Clifton <nickc@redhat.com>
4570
4571 * lexsup.c (parse_args): Update copyright date.
4572
4573 2001-01-12 Philip Blundell <pb@futuretv.com>
4574
4575 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
4576
4577 2001-01-10 Kazu Hirata <kazu@hxi.com>
4578
4579 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
4580 * scripttempl/h8300h.sc: Fix formatting.
4581 * scripttempl/h8300s.sc: Likewise.
4582 * scripttempl/h8500.sc: Likewise.
4583 * scripttempl/h8500b.sc: Likewise.
4584 * scripttempl/h8500c.sc: Likewise.
4585 * scripttempl/h8500m.sc: Likewise.
4586 * scripttempl/h8500s.sc: Likewise.
4587
4588 2000-01-07 David O'Brien <obrien@BSDi.com>
4589
4590 * emultempl/elf32.em: Only perform Linux ld hints processing when
4591 targeting Linux.
4592
4593 2001-01-07 Philip Blundell <philb@gnu.org>
4594
4595 * ld.texinfo (Bug Reporting): Update email address for reports.
4596
4597 2000-12-31 Nick Clifton <nickc@redhat.com>
4598
4599 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
4600 options by checking for a return value of '?' not -1.
4601
4602 2000-12-28 Nick Clifton <nickc@redhat.com>
4603
4604 * lexsup.c (struct ld_option): Add new enum value:
4605 EXACTLY_TWO_DASHES.
4606 (ld_options[]): Change -omagic, -output and -oformat options
4607 to be EXACTLY_TWO_DASHES.
4608 (OUTPUT_COUNT): Use ARRAY_SIZE.
4609 (parse_args): Change parameter 'argc' to unsigned.
4610 Place EXACTLY_TWO_DASHES options into new really_longopts
4611 array.
4612 If getopt_long_only fails, try calling getopt_long using the
4613 really_longopts array.
4614 (help): Print a double dash for both EXACTLY_TWO_DASHES and
4615 TWO_DASHES options.
4616
4617 * ldlex.h: Fix prototype of parse_args.
4618
4619 * ld.texinfo: Document that long options starting with 'o'
4620 must be preceeded by two dashes. Change example of a single
4621 dashed long option from -oformat to -trace-symbol.
4622
4623 2000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4624
4625 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
4626 (longopts[]): New --no-default-excludes option.
4627 (gld_${EMULATION_NAME}_list_options): Document.
4628 (gld_${EMULATION_NAME}_parse_args): Handle.
4629
4630 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4631
4632 * ldlang.c (new_stat): Revert the last beautification with "innocent"
4633 whitespace, it breaks the K&R C preprocessor.
4634
4635 2000-12-11 DJ Delorie <dj@redhat.com>
4636
4637 * ld.texinfo: Add notes about --whole-archive and gcc.
4638
4639 2000-11-18 Fred Fish <fnf@be.com>
4640
4641 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
4642 (ld_options): Entry for --allow-shlib-undefined.
4643 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
4644 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
4645 to false.
4646 * ld.texinfo: Document new command line switch.
4647
4648 2000-12-12 Geoffrey Keating <geoffk@redhat.com>
4649
4650 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
4651 .fixup is actually read/write.
4652 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
4653 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
4654 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
4655
4656 2000-12-11 Jan Hubicka <jh@suse.cz>
4657
4658 * NEWS: Add note about x86_64 architecture.
4659
4660 2000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
4661
4662 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
4663 Set DWARF2 sections to a VMA of zero.
4664
4665 2000-12-01 Joel Sherrill <joel@OARcorp.com>
4666
4667 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
4668 New targets.
4669 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
4670 (sparc*-*-rtems*): Switched from a.out to ELF.
4671
4672 2000-11-30 Jan Hubicka <jh@suse.cz>
4673
4674 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
4675 (eelf_x86_64.c): New.
4676 * Makefile.in: Regenerate.
4677 * configure.tgt: Add support for x86_64-*-linux-gnu*.
4678 * emulparams/elf_x86_64.sh: New.
4679
4680 2000-11-30 Hans-Peter Nilsson <hp@axis.com>
4681
4682 * emulparams/crislinux.sh (ENTRY): Change back to _start.
4683 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
4684
4685 * scripttempl/crisaout.sc: Change all RELOCATING not related to
4686 merging non-a.out sections into CONSTRUCTING.
4687
4688 2000-11-28 Nick Clifton <nickc@redhat.com>
4689
4690 * ld.1 (COPYING): Mention that the GNU Free Documentation
4691 License is present in the sources, but not the output, and
4692 also available from the GNU website.
4693 (GNU Free Documentation License): Comment out this section.
4694
4695 2000-11-28 David O'Brien <obrien@dragon.nuxi.com>
4696
4697 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
4698 does not use them.
4699
4700 2000-11-25 David O'Brien <obrien@FreeBSD.org>
4701
4702 * ld.1: Remove old date so it does not give the impression the manpage
4703 is way out of date.
4704
4705 2000-11-24 Nick Clifton <nickc@redhat.com>
4706
4707 * configure.tgt (xscale-coff): Add target.
4708 (xscale-elf): Add target.
4709
4710 2000-11-24 Fred Fish <fnf@be.com>
4711
4712 * ldmain.c (main): Remove redundant init of config.make_executable
4713 to true.
4714
4715 2000-11-15 Richard Henderson <rth@redhat.com>
4716
4717 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
4718
4719 2000-11-14 Kazu Hirata <kazu@hxi.com>
4720
4721 * scripttempl/h8300.sc: Fix formatting.
4722 * scripttempl/h8300h.sc: Likewise.
4723 * scripttempl/h8300s.sc: Likewise.
4724
4725 2000-11-14 Denis Chertykov <denisc@overta.ru>
4726
4727 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
4728
4729 2000-11-09 Philip Blundell <pb@futuretv.com>
4730
4731 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
4732 around orphan sections whose names can be represented in C.
4733
4734 2000-11-07 Jim Wilson <wilson@redhat.com>
4735
4736 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
4737 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
4738
4739 2000-11-06 Nick Clifton <nickc@redhat.com>
4740
4741 * ld.texinfo: Add GNU Free Documentation License.
4742 * ldint.texinfo: Add GNU Free Documentation License.
4743 * ld.1: Add GNU Free Documentation License.
4744
4745 2000-11-05 Alan Modra <alan@linuxcare.com.au>
4746
4747 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
4748 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
4749
4750 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
4751 Move 2000-11-02 Makefile.in changes to this file.
4752 * Makefile.in: Regenerate.
4753
4754 2000-11-03 Nick Clifton <nickc@redhat.com>
4755
4756 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
4757 constructors and destructors.
4758 * scripttempl/h8300h.sc: Ditto.
4759 * scripttempl/h8300s.sc: Ditto.
4760 * scripttempl/h8500.sc: Ditto.
4761 * scripttempl/h8500b.sc: Ditto.
4762 * scripttempl/h8500c.sc: Ditto.
4763 * scripttempl/h8500m.sc: Ditto.
4764 * scripttempl/h8500s.sc: Ditto.
4765 * scripttempl/v850.sc: Ditto.
4766 * scripttempl/w65.sc: Ditto.
4767 * scripttempl/z8000.sc: Ditto.
4768
4769 2000-11-02 Per Lundberg <plundis@chaosdev.org>
4770
4771 * Makefile.in (e_i386_chaos.c): New rule.
4772 (ALL_EMULATIONS): Added e_i386_chaos.o.
4773 * emulparams/elf_i386_chaos.sh: New file.
4774 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
4775
4776 2000-10-20 Jakub Jelinek <jakub@redhat.com>
4777
4778 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
4779 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
4780 Fix sed invocation, so that it coped with '/' in Solaris 64bit
4781 library path suffix.
4782 Based on patch by Andrew Macleod <amacleod@cygnus.com>.
4783
4784 2000-10-18 Hans-Peter Nilsson <hp@axis.com>
4785
4786 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
4787 for consecutive sections.
4788
4789 2000-10-17 Chandrakala Chavva <cchavva@redhat.com>
4790
4791 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
4792 options.
4793 * ld.texinfo: Added notes about this new option.
4794
4795 2000-10-16 Nick Clifton <nickc@redhat.com>
4796
4797 * emultempl/pe.em (_after_open): Add tests of return values from
4798 bfd functions. Emit appropriate error messages if necessary.
4799
4800 2000-10-13 Nick Clifton <nickc@redhat.com>
4801
4802 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
4803 local variables - they are not used, but leave in the call to
4804 bfd_canonicalize_symtab.
4805 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
4806 pe_dll_search_prefix.
4807
4808 2000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
4809
4810 * emultempl/pe.em (pe_dll_search_prefix): New variable,
4811 (longopts): New --dll-search-prefix option.
4812 (gld_${EMULATION_NAME}_list_options): Document.
4813 (gld_${EMULATION_NAME}_parse_args): Handle.
4814 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
4815 dynamically, search for a dll named '<prefix><basename>.dll'
4816 in preference to 'lib<basename>.dll' if --dll-search-prefix
4817 is specified.
4818
4819 2000-10-12 Alan Modra <alan@linuxcare.com.au>
4820
4821 * ldlang.c (section_already_linked): Set kept_section instead of
4822 sec->comdat->sec.
4823
4824 2000-10-10 Kazu Hirata <kazu@hxi.com>
4825
4826 * deffile.h: Fix formatting.
4827 * lexsup.c: Likewise.
4828 * mri.c: Likewise.
4829
4830 2000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
4831
4832 * pe-dll.c (make_one): Do not generate code thunk for DATA
4833 exports.
4834 (process_def_file): deduce DATA flag for auto-export sumbols.
4835
4836 2000-10-09 Kazu Hirata <kazu@hxi.com>
4837
4838 * ld.h: Fix formatting.
4839 * ldcref.c: Likewise.
4840 * ldctor.h: Likewise.
4841 * ldemul.c: Likewise.
4842 * ldemul.h: Likewise.
4843 * ldexp.c: Likewise.
4844 * ldexp.h: Likewise.
4845 * ldfile.c: Likewise.
4846 * ldfile.h: Likewise.
4847 * ldlang.c: Likewise.
4848 * ldlang.h: Likewise.
4849 * ldmain.c: Likewise.
4850 * pe-dll.c: Likewise.
4851
4852 * pe-dll.c: Revert some formatting fixes.
4853
4854 2000-10-08 Kazu Hirata <kazu@hxi.com>
4855
4856 * pe-dll.c: Fix formatting.
4857
4858 2000-10-05 Kazu Hirata <kazu@hxi.com>
4859
4860 * ldlang.c: Fix formatting.
4861
4862 2000-10-03 DJ Delorie <dj@redhat.com>
4863
4864 * pe-dll.c (fill_edata): initialize entire block
4865 (make_one): fill in correct section.
4866
4867 2000-10-03 Kazu Hirata <kazu@hxi.com>
4868
4869 * ldexp.c: Fix formatting.
4870
4871 2000-10-02 DJ Delorie <dj@redhat.com>
4872
4873 * emultempl/pe.em (gld_*_after_open): detect case where there two
4874 import libraries for same dll; rename one to ensure proper link
4875 order.
4876
4877 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
4878 typo
4879 (generate_edata): fix typo
4880
4881 2000-09-29 Hans-Peter Nilsson <hp@axis.com>
4882
4883 * scripttempl/crisaout.sc (ENTRY): Now __start.
4884 (.text): Add default setting for __start.
4885 Remove CONSTRUCTORS handling.
4886 (/DISCARD/): Add .gnu.warning.*.
4887 * emulparams/crislinux.sh (ENTRY): Now __start.
4888 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
4889 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
4890 (ENTRY): Now __start.
4891 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
4892 (EXECUTABLE_SYMBOLS): Add default setting for __start.
4893
4894 2000-09-29 Kazu Hirata <kazu@hxi.com>
4895
4896 * deffile.h: Fix formatting.
4897 * ld.h: Likewise.
4898 * ldcref.c: Likewise.
4899 * ldctor.c: Likewise.
4900 * ldctor.h: Likewise.
4901 * ldemul.c: Likewise.
4902 * ldemul.h: Likewise.
4903 * ldexp.c: Likewise.
4904 * ldexp.h: Likewise.
4905 * ldfile.c: Likewise.
4906 * ldfile.h: Likewise.
4907 * ldlang.c: Likewise.
4908 * ldlang.h: Likewise.
4909 * lexsup.c: Likewise.
4910 * mri.c: Likewise.
4911 * pe-dll.c: Likewise.
4912
4913 2000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
4914
4915 * pe-dll.c (process_def_file): Uninitialized data wasn't
4916 exported with --export-all-symbols switch.
4917
4918 2000-09-28 DJ Delorie <dj@redhat.com>
4919
4920 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
4921 noname work properly.
4922
4923 2000-09-28 Alan Modra <alan@linuxcare.com.au>
4924
4925 * ld.texinfo (HPPA ELF32): New section.
4926
4927 * emultempl/hppaelf.em (group_size): New.
4928 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
4929 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
4930 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
4931 options to prevent abbreviations matching.
4932 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
4933 (PARSE_AND_LIST_ARGS_CASES): Handle it.
4934
4935 2000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4936
4937 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
4938 on the m68*-*-elf target. Make it support COFF input objects.
4939
4940 2000-09-21 Kazu Hirata <kazu@hxi.com>
4941
4942 * ldmain.c: Fix formatting.
4943 * ldmisc.c: Likewise.
4944 * ldver.c: Likewise.
4945 * ldwrite.c: Likewise.
4946
4947 2000-09-21 Alan Modra <alan@linuxcare.com.au>
4948
4949 * ldwrite.c (clone_section): Silence gcc warnings.
4950
4951 2000-09-20 Alan Modra <alan@linuxcare.com.au>
4952
4953 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
4954 out of memory failure.
4955
4956 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
4957 (clone_section): Handle out of memory failures. Rename var to
4958 avoid c++ reserved word.
4959
4960 2000-09-18 Alan Modra <alan@linuxcare.com.au>
4961
4962 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
4963 stub_name param to stub_sec_name.
4964 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
4965
4966 2000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4967
4968 * emultempl/m68kelf.em: New file.
4969 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
4970 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
4971 * Makefile.in: Regenerate.
4972
4973 2000-09-15 Alan Modra <alan@linuxcare.com.au>
4974
4975 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
4976 only as needed.
4977
4978 2000-09-13 Nick Clifton <nickc@redhat.com>
4979
4980 * ldmain.c (multiple_definition): Disable relaxation if
4981 multiple symbol definitions are encountered - otherwise the
4982 linker could abort with an assertion failure.
4983
4984 2000-09-10 Nick Clifton <nickc@redhat.com>
4985
4986 * mri.c: Fix formatting.
4987
4988 2000-09-07 H.J. Lu <hjl@gnu.org>
4989
4990 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
4991 * configure: Rebuild.
4992
4993 2000-09-07 H.J. Lu <hjl@gnu.org>
4994
4995 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
4996 * Makefile.in: Rebuild.
4997
4998 2000-09-07 Alan Modra <alan@linuxcare.com.au>
4999
5000 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
5001 broken list handling. Create __start_SECNAME and __stop_SECNAME
5002 when no place-holder. Add some comments. Test both SEC_CODE and
5003 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
5004 Handle case where no output section statement created.
5005
5006 2000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
5007
5008 * configure.tgt (sh-*-linux*): Added.
5009 * Makefile.am: Added eshelf_linux and eshlelf_linux.
5010 * Makefile.in: Rebuilt.
5011 * emulparams/shelf_linux.sh: New file.
5012 * emulparams/shlelf_linux.sh: New file.
5013
5014 2000-09-06 Alan Modra <alan@linuxcare.com.au>
5015
5016 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
5017 try shuffling sections when the orphan happens to be the place
5018 holder. Keep count of unique section names generated so we speed
5019 the search for a new name.
5020
5021 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
5022
5023 * configure: Rebuilt with new libtool.m4.
5024
5025 2000-09-05 Nick Clifton <nickc@redhat.com>
5026
5027 * Makefile.in: Regenerate.
5028 * aclocal.m4: Regenerate.
5029 * configure: Regenerate.
5030 * config.in: Regenerate.
5031 * po/ld.pot: Regenerate.
5032
5033 * ldint.texinfo: Remove CVS revision marker - it foils local
5034 comparisons.
5035
5036 * emultempl/ticoff.em: Remove extraneous comma.
5037
5038 2000-09-05 Alan Modra <alan@linuxcare.com.au>
5039
5040 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
5041 to stub section flags.
5042 (hppa_for_each_input_file_wrapper): New.
5043 (hppa_lang_for_each_input_file): New.
5044 (lang_for_each_input_file): Define to call above.
5045 (multi_subspace): New.
5046 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
5047 (PARSE_AND_LIST_PROLOGUE): Define.
5048 (PARSE_AND_LIST_LONGOPTS): Define.
5049 (PARSE_AND_LIST_OPTIONS): Define.
5050 (PARSE_AND_LIST_ARGS_CASES): Define.
5051 (hppaelf_finish): Call elf32_hppa_set_gp.
5052 (hppaelf_set_output_arch): Remove.
5053 (LDEMUL_SET_OUTPUT_ARCH): Remove.
5054
5055 * emulparams/hppalinux.sh (ELFSIZE): Define.
5056 (MACHINE): Define.
5057 (OTHER_READONLY_SECTIONS): Define.
5058 (DATA_PLT): Define.
5059 (GENERATE_SHLIB_SCRIPT): Define.
5060
5061 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
5062 to const throughout. Change `void *' to `PTR' throughout.
5063 (lang_memory_default): Function is local to file, add `static'.
5064
5065 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
5066 (ehppalinux.c): Likewise.
5067 (earmelf.c): Likewise.
5068 (earmelf_linux.c): Likewise.
5069 (earmelf_linux26.c): Likewise.
5070 * Makefile.in: Regenerate.
5071
5072 * ld.h (ld_config_type): Add unique_orphan_sections.
5073 * lexsup.c (OPTION_UNIQUE): Define.
5074 (ld_options): Add "--unique".
5075 (parse_args): Handle it.
5076 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
5077 search for an existing output section if unique_orphan_sections is
5078 set. Make use of bfd_get_unique_section_name rather than
5079 duplicating code here.
5080 * ld.texinfo: Describe --unique.
5081
5082 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
5083 optional arg to split-by-file.
5084 (parse_args): Handle them.
5085 * ld.texinfo: Update description of these options.
5086 * ldwrite.c (clone_section): Pass in the section name. Replace
5087 local code with bfd_get_unique_section_name.
5088 (split_sections): Tidy code and comments. Use a list traversal
5089 more appropriate to the list construction. Handle cooked section
5090 sizes. Split when split_by_reloc reached rather than exceeded.
5091 Track section size and split when split_by_file reached. Fix
5092 link_order_tail (even though it's not used).
5093 (ldwrite): Modify condition for calling split_sections to suit
5094 changed split_by_reloc and split_by_file.
5095 * ldmain.c (main): Init config.split_by_reloc and
5096 config.split_by_file to -1.
5097 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
5098 Change split_by_file to bfd_size_type.
5099
5100 2000-09-02 Nick Clifton <nickc@redhat.com>
5101
5102 * configure.in: Increase version number to 2.10.91.
5103 * NEWS: Mention new ability to support removal of duplicate DWARF2
5104 debug information.
5105 * configure: Regenerate.
5106 * aclocal.m4: Regenerate.
5107 * config.in: Regenerate.
5108
5109 2000-09-02 Daniel Berlin <dberlin@redhat.com>
5110
5111 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
5112 sections.
5113 * scripttempl/elf32avr.sc: Ditto.
5114 * scripttempl/elfd10v.sc: Ditto.
5115 * scripttempl/elfd30v.sc: Ditto.
5116 * scripttempl/elfi370.sc: Ditto.
5117 * scripttempl/elfm68hc11.sc: Ditto.
5118 * scripttempl/elfm68hc12.sc: Ditto.
5119 * scripttempl/elfi386beos.sc: Ditto.
5120 * scripttempl/v850.sc: Ditto.
5121
5122 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
5123
5124 * acinclude.m4: Include libtool and gettext macros from the
5125 top level.
5126 * aclocal.m4, configure: Rebuilt.
5127
5128 2000-08-25 Nick Clifton <nickc@redhat.com>
5129
5130 * ldlang.c (open_output): When choosing the target for a
5131 particular endianness, do nothing if the target is not
5132 supported.
5133
5134 2000-08-25 H.J. Lu <hjl@gnu.org>
5135
5136 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
5137 check -rpath nor LD_RUN_PATH for cross link.
5138 * ld.texinfo: Document the change.
5139
5140 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
5141
5142 * NEWS: Mention support for CRIS.
5143
5144 2000-08-23 H.J. Lu <hjl@gnu.org>
5145
5146 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
5147 the current runpath list from bfd_elf_get_runpath_list ()
5148 before search.
5149
5150 2000-08-22 H.J. Lu <hjl@gnu.org>
5151
5152 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
5153 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
5154 LD_LIBRARY_PATH for native linker. Display the needed DSO if
5155 trace_file_tries is non-zero.
5156 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
5157 if trace_file_tries is non-zero.
5158
5159 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
5160 * NEWS: Mention it.
5161
5162 2000-08-14 Jason Eckhardt <jle@cygnus.com>
5163
5164 * NEWS: Mention i860 support.
5165
5166 2000-08-14 Andreas Schwab <schwab@suse.de>
5167
5168 * scripttempl/elf.sc: Fix last change to use correct comment
5169 syntax.
5170
5171 2000-08-10 Geoff Keating <geoffk@cygnus.com>
5172
5173 * scripttempl/elf.sc: Add a comment giving the correspondence
5174 between sections, per-datum sections, and linkonce sections. Make
5175 the comment true even for .bss, .sdata, .sdata2, .sbss, and
5176 .sbss2.
5177
5178 2000-08-10 Jason Eckhardt <jle@cygnus.com>
5179
5180 * emulparams/elf32_i860.sh: New file.
5181 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
5182 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
5183 (eelf32_i860.c): New rule.
5184 * Makefile.in: Regenerate.
5185
5186 2000-08-10 Nick Clifton <nickc@cygnus.com>
5187
5188 * emulparams/mipspe.sh (ENTRY): Add definition.
5189
5190 2000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
5191
5192 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
5193 in error message.
5194
5195 2000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5196
5197 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
5198 the final size of .bss section.
5199 * scripttempl/elfm68hc12.sc: Likewise.
5200
5201 2000-08-04 Alan Modra <alan@linuxcare.com.au>
5202
5203 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
5204 gld${EMULATION_NAME}_parse_args for consistency. Combine
5205 lastoptind and prevoptind vars, and keep track of last optind.
5206 (gld_${EMULATION_NAME}_list_options): Rename to
5207 gld${EMULATION_NAME}_list_options.
5208
5209 2000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
5210
5211 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
5212 (i586-sco-sysv5uw7.1.0).
5213
5214 2000-07-27 H.J. Lu <hjl@gnu.org>
5215
5216 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
5217 (PARSE_AND_LIST_PROLOGUE): New.
5218 (PARSE_AND_LIST_LONGOPTS): Likewise.
5219 (PARSE_AND_LIST_OPTIONS): Likewise.
5220 (PARSE_AND_LIST_ARGS_CASES): Likewise.
5221 (PARSE_AND_LIST_EPILOGUE): Likewise.
5222
5223 2000-07-28 Alan Modra <alan@linuxcare.com.au>
5224
5225 * emultempl/armelf.em: Elide functions common to elf32.em,
5226 ie. most of the file.
5227 (arm_elf_after_open): New. Do arm specific things then call
5228 gld${EMULATION_NAME}_after_open.
5229 (arm_elf_before_allocation): New. Call
5230 gld${EMULATION_NAME}_before_allocation then do arm specifics.
5231 (PARSE_AND_LIST_PROLOGUE): Define.
5232 (PARSE_AND_LIST_SHORTOPTS): Define.
5233 (PARSE_AND_LIST_LONGOPTS): Define.
5234 (PARSE_AND_LIST_OPTIONS): Define.
5235 (PARSE_AND_LIST_ARGS_CASES): Define.
5236 (LDEMUL_AFTER_OPEN): Define.
5237 (LDEMUL_BEFORE_ALLOCATION): Define.
5238 (LDEMUL_BEFORE_PARSE): Define.
5239 (LDEMUL_FINISH): Define.
5240
5241 * emultempl/hppaelf.em: Similarly zap most of this file.
5242 (hppaelf_add_stub_section): Prototype.
5243 (hppaelf_layaout_sections_again): Prototype.
5244 (hook_in_stub): Prototype.
5245 (LDEMUL_SET_OUTPUT_ARCH): Define.
5246 (LDEMUL_FINISH): Define.
5247 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
5248
5249 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
5250 (EXTRA_EM_FILE): New.
5251 * emulparams/armelf_linux.sh: Likewise.
5252 * emulparams/armelf_linux26.sh: Likewise.
5253 * emulparams/hppalinux.sh: Likewise.
5254 * emulparams/hppaelf.sh: Likewise.
5255 (NOP): Define.
5256
5257 * emultempl/elf32.em: Fix formatting.
5258 (EXTRA_EM_FILE): Source it.
5259 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
5260 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
5261 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
5262 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
5263 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
5264 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
5265 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
5266 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
5267 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
5268 allow functions in this file to be overridden.
5269 (PARSE_AND_LIST_SHORTOPTS): Handle it.
5270
5271 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
5272
5273 * emultempl/elf32.em: Reorganize file.
5274
5275 2000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
5276
5277 * emulparams/elf64alpha.sh: Implement "-taso" emulation
5278 specific option to fit 64-bit executable in the lower
5279 31-bit address range. This is done by changing start
5280 address of .interp (the very first section of executable)
5281 and then setting EF_ALPHA_32BIT elf header flag.
5282
5283 2000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5284
5285 * emultempl/m68kcoff.em: New file.
5286 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
5287 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
5288 generic.em.
5289 * Makefile.in: Regenerate.
5290
5291 2000-07-20 H.J. Lu <hjl@gnu.org>
5292
5293 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
5294 and "disable-new-dtags" to stop getopt from treating -d/-e as
5295 abbreviations for these options.
5296
5297 2000-07-20 H.J. Lu <hjl@gnu.org>
5298
5299 * ld.texinfo: Add documentation for --disable-new-dtags and
5300 --enable-new-dtags.
5301
5302 * ldmain.c (main): Initialize link_info.new_dtags to false.
5303
5304 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
5305 --disable-new-dtags and --enable-new-dtags.
5306 (gld_${EMULATION_NAME}_list_options): Likewise.
5307
5308 2000-07-05 Kenneth Block <krblock@computer.org>
5309
5310 * lexsup.c: Add optional style to demangle switch
5311 * ld.texinfo: Document optional style to demangle switch.
5312
5313 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
5314
5315 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
5316 ecrislinux.o.
5317 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
5318 Regenerate dependencies.
5319 * Makefile.in: Rebuild.
5320 * configure.tgt (cris-*-*): New target.
5321 * emulparams/crisaout.sh, emulparams/criself.sh,
5322 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
5323 * po/POTFILES.in, po/ld.pot: Regenerate.
5324
5325 2000-07-20 H.J. Lu <hjl@gnu.org>
5326
5327 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
5328 Print out ignored -z options.
5329
5330 2000-07-19 H.J. Lu <hjl@gnu.org>
5331
5332 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
5333 (PARSE_AND_LIST_PROLOGUE): New.
5334 (PARSE_AND_LIST_LONGOPTS): Likewise.
5335 (PARSE_AND_LIST_OPTIONS): Likewise.
5336 (PARSE_AND_LIST_ARGS_CASES): Likewise.
5337
5338 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
5339
5340 * lexsup.c (ld_options): Comment out 'z'.
5341 (parse_args): Likewise.
5342
5343 * emultempl/elf32.em: Include "elf/common.h".
5344 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
5345 options.
5346 (gld_${EMULATION_NAME}_list_options): Likewise.
5347
5348 * ld.texinfo: Add documentation for the recognized -z options.
5349
5350 2000-07-19 H.J. Lu <hjl@gnu.org>
5351
5352 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
5353 bfd_elf_set_dt_needed_soname ().
5354
5355 2000-07-18 DJ Delorie <dj@cygnus.com>
5356
5357 * pe-dll.c (pe_dll_id_target): check object target name also
5358
5359 2000-07-18 Hans-Peter Nilsson <hp@axis.com>
5360
5361 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
5362 ${INIT_END} if relocating.
5363 (.fini): Likewise ${FINI_START} and ${FINI_END}.
5364
5365 2000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
5366
5367 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
5368 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
5369 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
5370 errors introduced by the old dynamic lib search order.
5371
5372 2000-07-17 DJ Delorie <dj@cygnus.com>
5373
5374 * pe-dll.c (process_def_file): auto-export data items also
5375 (pe_process_import_defs): also see if _imp_ form needed
5376
5377 2000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
5378
5379 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
5380 for dll import libraries
5381
5382 2000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
5383
5384 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
5385 gcc 2.95.2 and later.
5386
5387 2000-07-11 Kazu Hirata <kazu@hxi.com>
5388
5389 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
5390 message.
5391
5392 2000-07-10 Alan Modra <alan@linuxcare.com.au>
5393
5394 * ldemul.h (struct lang_input_statement_struct): Remove forward
5395 declaration.
5396 (struct search_dirs): Likewise.
5397 * ldfile.h (struct lang_input_statement_struct): Likewise.
5398 Protect file from multiple inclusion.
5399 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
5400 declaration from macro to file scope.
5401
5402 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
5403 * ldgram.y: Likewise here.
5404 * ldlang.c: And here.
5405 * ldmain.c: And here.
5406 * mpw-elfmips.c: And here.
5407 * mpw-eppcmac.c: And here.
5408 * emultempl/aix.em: And here.
5409 * emultempl/armcoff.em: And here.
5410 * emultempl/armelf.em: And here.
5411 * emultempl/armelf_oabi.em: And here.
5412 * emultempl/beos.em: And here.
5413 * emultempl/elf32.em: And here.
5414 * emultempl/hppaelf.em: And here.
5415 * emultempl/linux.em: And here.
5416 * emultempl/lnk960.em: And here.
5417 * emultempl/pe.em: And here.
5418 * emultempl/sunos.em: And here.
5419 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
5420 * mpw-idtmips.c: Ditto.
5421 * emultempl/generic.em: Ditto.
5422 * emultempl/gld960.em: Ditto.
5423 * emultempl/gld960c.em: Ditto.
5424 * emultempl/mipsecoff.em: Ditto.
5425 * emultempl/ticoff.em: Ditto.
5426 * emultempl/vanilla.em: Ditto.
5427
5428 * pe-dll.c: Include ldfile.h
5429 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
5430
5431 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
5432 arguments to bfd_elf32_size_dynamic_sections call.
5433 (gldelf32ebmip_place_orphan): Add missing arguments to
5434 lang_leave_output_section_statement call.
5435
5436 2000-07-10 H.J. Lu <hjl@gnu.org>
5437
5438 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
5439 DLL_SUPPORT.
5440 (strhash): Likewise.
5441 (compute_dll_image_base): Likewise.
5442 (pe_undef_found_sym): Likewise.
5443 (pe_undef_cdecl_match): Likewise.
5444 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
5445 argument "arch" with ATTRIBUTE_UNUSED.
5446
5447 2000-07-10 Alan Modra <alan@linuxcare.com.au>
5448
5449 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
5450
5451 From Ryan Bradetich <rbradetich@uswest.net>
5452 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
5453
5454 2000-07-09 Alan Modra <alan@linuxcare.com.au>
5455
5456 Changes to create multiple linker stubs, positioned immediately
5457 before the section where they are required.
5458 * emultempl/hppaelf.em: Include elf32-hppa.h.
5459 (stub_sec, file_chain): Delete.
5460 (hppaelf_create_output_section_statements): Don't make a stub
5461 section here.
5462 (hook_stub_info): New struct.
5463 (hook_in_stub): New function.
5464 (hppaelf_add_stub_section): New function.
5465 (hppaelf_finish): Do nothing for relocateable links. Modify the
5466 call to elf32_hppa_size_stubs. Move code for updating section
5467 layout from here...
5468 (hppaelf_layaout_sections_again): ..to here, a new function.
5469
5470 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
5471 broken list handling. Pass in a pointer to the list.
5472 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
5473 for above changes.
5474 (hppaelf_before_parse): Prototype.
5475 (hppaelf_set_output_arch): Prototype.
5476 (hppaelf_create_output_section_statements): Prototype.
5477 (hppaelf_delete_padding_statements): Prototype.
5478 (hppaelf_finish): Prototype.
5479
5480 Merge from elf32.em
5481 * emultempl/hppaelf.em: Include ctype.h.
5482 (struct orphan_save): New.
5483 (gld${EMULATION_NAME}_place_orphan): New.
5484 (output_rel_find): New.
5485 (hppaelf_get_script): Update from elf32.em.
5486 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
5487 Change emulation_name field to "${EMULATION_NAME}". Add
5488 gld${EMULATION_NAME}_place_orphan.
5489
5490 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
5491 ehppalinux.o, sort it. Regenerate dependencies.
5492 (ehppalinux.c): Depend on hppaelf.em
5493 * Makefile.in: Regenerate.
5494
5495 * configure.tgt: targ_emul=hppalinux for hppa*linux
5496
5497 * emulparams/hppalinux.sh: New.
5498 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
5499
5500 2000-07-08 Alan Modra <alan@linuxcare.com.au>
5501
5502 * lexsup.c (parse_args): Copy section name.
5503
5504 2000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
5505
5506 * emultempl/pe.em: institute the following search order for
5507 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
5508 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
5509 static lib (libfoo.a) if none of the above are found.
5510
5511 2000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
5512
5513 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
5514 (longopts): New --{enable,disable}-auto-image-base options.
5515 (gld_${EMULATION_NAME}_list_options): Document.
5516 (gld_${EMULATION_NAME}_parse): Handle.
5517 (strhash): New static function.
5518 (compute_dll_image_base): New static function.
5519 (gld_${EMULATION_NAME}_set_symbols): Use.
5520
5521 2000-07-05 DJ Delorie <dj@redhat.com>
5522
5523 * MAINTAINERS: new
5524
5525 2000-07-01 Koundinya K <kk@ddeorg.soft.net>
5526
5527 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
5528 * emulparams/elf32btsmip.sh: New file.
5529 * Makefile.am: Add traditional mips target.
5530 * Makefile.in: Rebuild.
5531
5532 2000-07-01 H.J. Lu <hjl@gnu.org>
5533
5534 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
5535 automake to use YLWRAP.
5536 * Makefile.in: Rebuild.
5537
5538 2000-07-01 Alan Modra <alan@linuxcare.com.au>
5539
5540 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
5541 (CLEANFILES): Add DEPA.
5542 * Makefile.in: Regenerate.
5543
5544 2000-06-30 Timothy Wall <twall@ppc>
5545
5546 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
5547 the page in the upper octet of the address.
5548
5549 2000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
5550
5551 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
5552
5553 2000-06-24 Alan Modra <alan@linuxcare.com.au>
5554
5555 * NEWS: arm-elf does --gc-sections too.
5556
5557 2000-06-22 Alan Modra <alan@linuxcare.com.au>
5558
5559 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
5560 find one.
5561 * Makefile.in: Regenerate.
5562
5563 2000-06-21 H.J. Lu <hjl@gnu.org>
5564
5565 * Makefile.am: Rebuild dependency.
5566 * Makefile.in: Rebuild.
5567
5568 2000-06-20 H.J. Lu <hjl@gnu.org>
5569
5570 * Makefile.am: Rebuild dependency.
5571 * Makefile.in: Rebuild.
5572
5573 2000-06-20 Timothy Wall <twall@cygnus.com>
5574
5575 * scripttempl/tic54xcoff.sc: New.
5576 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
5577 * gen-doc.texi: Add flag for TI COFF.
5578 * ld.texinfo: Add documentation for TI COFF handling switches.
5579 * emultempl/ticoff.em: New. TI COFF handling.
5580 * configure.tgt: Add tic54x target.
5581 * Makefile.am: Add tic54x target.
5582 * Makefile.in: Ditto.
5583
5584 2000-06-20 Alan Modra <alan@linuxcare.com.au>
5585
5586 * ldmain.c (set_scripts_dir): Correct pointer comparison when
5587 checking for backslashes.
5588
5589 2000-06-19 Alan Modra <alan@linuxcare.com.au>
5590
5591 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
5592
5593 2000-06-18 Alan Modra <alan@linuxcare.com.au>
5594
5595 * NEWS: Update list of targets supporting --gc-sections.
5596
5597 * scripttempl/elf.sc: KEEP .eh_frame contents.
5598 * scripttempl/elfd30v.sc: Same here.
5599
5600 2000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
5601
5602 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
5603 and m68hc11 (elf).
5604 * Makefile.in: Rebuild.
5605 * configure.tgt: Recognize m68hc12 and m68hc11.
5606 * scripttempl/elfm68hc12.sc: New file.
5607 * emulparams/m68hc12elfb: New emulation.
5608 * emulparams/m68hc12elf: New emulation.
5609 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
5610 (includes a memory.x script to define the ROM and RAM banks).
5611 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
5612 New configuration files for support of Motorola 68hc11
5613
5614 2000-06-15 Alan Modra <alan@linuxcare.com.au>
5615
5616 * ldmain.c (main): Only change SEC_READONLY for final link.
5617
5618 2000-06-13 H.J. Lu <hjl@gnu.org>
5619
5620 * configure: Regenerate.
5621
5622 2000-06-08 David O'Brien <obrien@FreeBSD.org>
5623
5624 * configure.in (VERSION): Update to show this is the CVS mainline.
5625
5626 2000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5627
5628 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
5629 input objects to be ECOFF.
5630 (check_sections): einfo takes %B, not %P, to print a BFD name.
5631
5632 2000-06-05 Michael Matz <matz@ifh.de>
5633
5634 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
5635 version scripts.
5636
5637 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
5638
5639 2000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
5640
5641 * emulparams/avr1200.sh (STACK): Define as 0.
5642 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
5643 * emulparams/avr4433.sh (STACK): Likewise.
5644 * emulparams/avr44x4.sh (STACK): Likewise.
5645 * emulparams/avr85xx.sh (STACK): Likewise.
5646 * emulparams/avrmega103.sh (STACK): Likewise.
5647 * emulparams/avrmega161.sh (STACK): Likewise.
5648 * emulparams/avrmega603.sh (STACK): Likewise.
5649 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
5650 (__stack): Define from ${STACK} for main().
5651
5652 2000-05-26 Alan Modra <alan@linuxcare.com.au>
5653
5654 * Makefile.am: Update dependencies with "make dep-am"
5655 * Makefile.in: Regenerate.
5656
5657 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
5658
5659 * ldmain.c: Include filenames.h.
5660 (set_scripts_dir): Support backslashes in program name.
5661
5662 2000-05-22 Igor Shevlyakov <igor@windriver.com>
5663
5664 * ldmain.c (main): When deciding if ".text" section should be
5665 read-only, don't forget to reset SEC_READONLY because it
5666 could be already set.
5667
5668 2000-05-22 Thomas de Lellis <tdel@windriver.com>
5669
5670 * ld.1: Add documentation for new command line option:
5671 --section-start <sectionname>=<sectionorg>
5672 This is a generic version of -Ttext etc. which accepts
5673 any section name as a parameter instead of just text/data/
5674 bss.
5675 * ld.texinfo: More docs.
5676 * NEWS: More docs.
5677 * lexsup.c: (parse_args): Recognize new command line option.
5678 (ld_options): Add new option.
5679
5680 2000-05-18 H.J. Lu <hjl@gnu.org>
5681
5682 * lexsup.c (parse_args): `i' == `r', not `q'.
5683
5684 2000-05-18 Jeffrey A Law (law@cygnus.com)
5685
5686 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
5687
5688 2000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
5689 Rick Gorton <gorton@scrugs.lkg.dec.com>
5690
5691 Add support for '-q' == '--emit-relocs' switch.
5692 * ldmain.c (main): Default to false.
5693 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
5694 * NEWS: Describe the emitrelocations switch.
5695 * ld.texinfo: Describe the emitrelocations switch.
5696
5697 2000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
5698
5699 * emultempl/pe.em (_open_dynamic_archive): New function: Search
5700 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
5701 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
5702 link options.
5703
5704 2000-05-15 David O'Brien <obrien@FreeBSD.org>
5705
5706 * lexsup.c (parse_args): Update the year in the copyright notice.
5707
5708 2000-05-13 Alan Modra <alan@linuxcare.com.au>
5709
5710 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
5711 Replace defines with those from intl/libgettext.h to quieten gcc
5712 warnings.
5713
5714 2000-05-10 H.J. Lu <hjl@gnu.org>
5715
5716 * ldlang.c (open_input_bfds): Don't load the same file within
5717 a group again if the whole archive has been loaded already.
5718
5719 2000-05-03 Alan Modra <alan@linuxcare.com.au>
5720
5721 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
5722 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
5723 strtoul.
5724
5725 2000-05-01 Jim Wilson <wilson@cygnus.com>
5726
5727 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
5728
5729 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
5730 host "ia64-*-linux-gnu*".
5731
5732 2000-04-29 Andreas Jaeger <aj@suse.de>
5733
5734 * ld.h: Correctly check GCC version.
5735
5736 2000-04-25 Jeffrey A Law (law@cygnus.com)
5737
5738 * Makefile.am: Add PA64 support. Add missing dependencies for
5739 PA32 elf support.
5740 * Makefile.in: Rebuilt.
5741 * configure.tgt: Add PA64 support (currently disabled).
5742
5743 2000-04-25 Alan Modra <alan@linuxcare.com.au>
5744
5745 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
5746 (output_rel_find): New function.
5747 (hold_section, hold_use): Delete.
5748 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
5749 hold_interp): Make local to place_orphan.
5750 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
5751 rather than place_section to find possible previous use of orphan.
5752 Similarly find the place-holder output sections. Use returned
5753 value from lang_enter_output_section_statement rather than calling
5754 lang_output_section_statement_lookup.
5755 * emultempl/armelf.em: Same here.
5756 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
5757
5758 * ldlang.c (lang_enter_output_section_statement): Return output
5759 section statement.
5760 * ldlang.h (lang_enter_output_section_statement): Change
5761 declaration too.
5762
5763 * ldlang.h (lang_output_section_statement): Export it.
5764 * ldlang.c (lang_output_section_statement): Ditto.
5765
5766 2000-04-24 Nick Clifton <nickc@cygnus.com>
5767
5768 * ld.texinfo (Output Section Data): Add note that section data
5769 commands cannot appear outside of section directives.
5770
5771 2000-04-2 Matthew Green <mrg@cygnus.com>
5772
5773 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
5774
5775 2000-04-21 Richard Henderson <rth@cygnus.com>
5776 David Mosberger <davidm@hpl.hp.com>
5777
5778 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
5779 (eelf64_ia64.c): New rule.
5780 * Makefile.in: Rebuild.
5781 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
5782 * emulparams/elf64_ia64.sh: New file.
5783
5784 2000-04-21 Richard Henderson <rth@cygnus.com>
5785
5786 * scripttempl/elfd30v.sc: Place .gcc_except_table.
5787
5788 2000-04-19 Alan Modra <alan@linuxcare.com.au>
5789
5790 * dep-in.sed: Match space at start of file name, not at end.
5791
5792 2000-04-18 H.J. Lu <hjl@gnu.org>
5793
5794 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
5795 lang_leave_output_section_statement () after calling
5796 lang_enter_output_section_statement ().
5797 * emultempl/armelf.em: Likewise.
5798
5799 2000-04-18 Alan Modra <alan@linuxcare.com.au>
5800
5801 * emultempl/elf32.em (struct orphan_save): Add section field.
5802 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
5803 better order, and place first orphan section as we did before the
5804 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
5805 Don't call make_bfd_section here, let wild_doit do the job for us.
5806 Don't build a statement list when we'll only throw it away.
5807 * emultempl/armelf.em: Ditto.
5808 * emultempl/pe.em: Similarly.
5809
5810 2000-04-14 Geoff Keating <geoffk@cygnus.com>
5811
5812 * scripttempl/elfppc.sc: Remove.
5813 * emulparams/elf32ppc.sh: Use elf.sc.
5814 * emulparams/elf32lppc.sh: Use elf.sc.
5815 * emulparams/elf32ppclinux.sh: Use elf.sc.
5816 * emulparams/elf32ppcsim.sh: New file.
5817 * emulparams/elf32lppcsim.sh: New file.
5818 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
5819 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
5820 * Makefile.in: Regenerate.
5821 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
5822
5823 2000-04-14 Alan Modra <alan@linuxcare.com.au>
5824
5825 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
5826 ~SEC_ALLOC sections too. Init start address of debug sections.
5827 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
5828 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
5829 Also set all relocateable section start addresses.
5830
5831 2000-04-13 Geoff Keating <geoffk@cygnus.com>
5832
5833 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
5834 Add new BSS_PLT variable for when .plt need not be contained in
5835 the file. Move _etext so that it is also after .fini, and provide
5836 both etext and _etext with a leading underscore. Mark the start
5837 and end of .sbss.
5838
5839 2000-04-12 Alan Modra <alan@linuxcare.com.au>
5840
5841 * emultempl/elf32.em (struct orphan_save): New.
5842 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
5843 hold_interp): Make them struct orphan_save.
5844 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
5845 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
5846 the end of the relevant section list. Also add associated section
5847 statements to the end of any previous orphan statements.
5848 * emultempl/armelf.em: Similarly.
5849 * emultempl/pe.em: Similarly.
5850
5851 2000-04-11 Alan Modra <alan@linuxcare.com.au>
5852
5853 * ld.texinfo (Simple Example): Remove extraneous paragraph.
5854
5855 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
5856
5857 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
5858 --enable-build-warnings option.
5859 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
5860 * Makefile.in, configure: Re-generate.
5861
5862 2000-04-04 Alan Modra <alan@linuxcare.com.au>
5863
5864 * po/ld.pot: Regenerate.
5865
5866 * lexsup.c (help): Restore translated part of bug string.
5867
5868 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
5869 (DEP): Quote when passing vars to sub-make. Add warning message
5870 to end.
5871 (DEP1): Rewrite for "gcc -MM".
5872 (CLEANFILES): Add DEP2.
5873 Update dependencies.
5874 * Makefile.in: Regenerate.
5875
5876 2000-04-03 Alan Modra <alan@linuxcare.com.au>
5877
5878 * ld.h: #include "bin-bugs.h"
5879 * lexsup.c (help): Use REPORT_BUGS_TO.
5880
5881 2000-03-27 Denis Chertykov <denisc@overta.ru>
5882
5883 * configure.tgt (avr-*-*): New target support.
5884 * Makefile.am: Likewise.
5885 * scripttempl/elf32avr.sc: New script file.
5886 * emulparams/avr1200.sh: New file.
5887 * emulparams/avr23xx.sh: New file.
5888 * emulparams/avr4433.sh New file.
5889 * emulparams/avr44x4.sh New file.
5890 * emulparams/avr85xx.sh New file.
5891 * emulparams/avrmega103.sh New file.
5892 * emulparams/avrmega161.sh New file.
5893 * emulparams/avrmega603.sh New file.
5894 * Makefile.in: Regenerate.
5895
5896 2000-03-09 Andreas Jaeger <aj@suse.de>
5897
5898 * Makefile.am (check-DEJAGNU): Also unset LANG.
5899 * Makefile.in: Rebuild.
5900
5901 2000-03-06 Ian Lance Taylor <ian@zembu.com>
5902
5903 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
5904 archive.
5905
5906 2000-03-02 H.J. Lu <hjl@gnu.org>
5907
5908 * emulparams/elf32mcore.sh: Include "getopt.h".
5909
5910 2000-03-01 Ian Lance Taylor <ian@zembu.com>
5911
5912 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
5913
5914 2000-03-01 H.J. Lu <hjl@gnu.org>
5915
5916 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
5917 * emulparams/shpe.sh: Likewise.
5918
5919 2000-03-01 Nick Clifton <nickc@cygnus.com>
5920
5921 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
5922 to unused parameters.
5923
5924 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
5925 functions only used by DLL code.
5926 (_place_orphan): Initialise 'dollar'.
5927
5928 2000-03-01 H.J. Lu <hjl@gnu.org>
5929
5930 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
5931 indicate if the undefined symbol is a fatal error or not.
5932 Don't delete the output file if "fatal" is false.
5933
5934 2000-02-29 H.J. Lu <hjl@gnu.org>
5935
5936 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
5937 Set LC_COLLATE and LC_ALL to null and export them. It is for
5938 sort which expects the C locale.
5939 Add $(LIBS) to all $(HOSTING_LIBS).
5940 * Makefile.in: Rebuild.
5941
5942 2000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
5943
5944 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
5945 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
5946 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
5947 (ld_emulation_xfer_struct): Add missing NULL initialiser for
5948 find_potential_libraries.
5949
5950 2000-02-28 Jim Blandy <jimb@redhat.com>
5951
5952 * ldgram.y (exclude_name_list): Don't require a comma to separate
5953 list entries; the lexer considers commas to be valid part of a
5954 filename, so in something like `foo, bar' the comma is considered
5955 part of the first filename, `foo,'.
5956 * ld.texinfo: Update section on EXCLUDE_FILE lists.
5957
5958 2000-02-27 Loren J. Rittle <ljrittle@acm.org>
5959
5960 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
5961 host "i[3456]86-*-freebsdelf*".
5962
5963 2000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
5964
5965 * scripttempl/i386go32.sc: Move misplaced semicolons.
5966
5967 2000-02-25 Ian Lance Taylor <ian@zembu.com>
5968
5969 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
5970 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
5971 (eelf64hppa.c, ehppaelf.c): Remove targets.
5972 * Makefile.in: Rebuild.
5973
5974 2000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5975
5976 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
5977 GNU/Linux/sparc, but keep the default as 32.
5978
5979 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
5980 it default if sparcv9 or sparc64.
5981
5982 2000-02-24 Nick Clifton <nickc@cygnus.com>
5983
5984 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
5985 * Makefile.in: Regenerate.
5986 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
5987
5988 * ldemul.h (ld_emulation_xfer_struct): Add new field:
5989 find_potential_libraries.
5990 * ldemul.c (ldemul_find_potential_libraries): New function.
5991
5992 * ldfile.c (ldfile_open_file_search): Allow function to be
5993 exported.
5994 (ldfile_open_file): Call ldemul_find_potential_libraries.
5995 * ldfile.h: Add prototype for ldfile_open_file_search.
5996
5997 * pe-dll.c: Add support for ARM, MIPS and SH targets.
5998
5999 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
6000 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
6001
6002 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
6003 (gld_X_find_potential_libraries): New function. Search for
6004 libraries called "*.lib".
6005
6006 * scripttempl/pe.sc: Add .pdata section.
6007
6008 2000-02-23 Richard Henderson <rth@cygnus.com>
6009
6010 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
6011 Add and use memory regions.
6012
6013 2000-02-23 Linas Vepstas (linas@linas.org)
6014
6015 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
6016
6017 * Makefile.am: Add support for Linux/IBM 370.
6018 * configure.tgt: Likewise.
6019
6020 * Makefile.in: Regenerate.
6021
6022 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
6023
6024 * ldlang.c (print_input_section, print_data_statement,
6025 print_reloc_statement, print_padding_statement, insert_pad,
6026 size_input_section, lang_check_section_addresses,
6027 lang_size_sections, lang_do_assignments, lang_set_startof,
6028 lang_one_common): Change `opb' to unsigned.
6029 (lang_do_assignments): Also change `size' to unsigned.
6030
6031 2000-02-16 Richard Henderson <rth@cygnus.com>
6032
6033 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
6034
6035 2000-02-16 Timothy Wall <twall@cygnus.com>
6036
6037 * mri.c (mri_draw_tree): Add default LMA region argument to call
6038 to lang_leave_output_section_statement.
6039 * ldlang.h: Update prototypes with LMA region arguments.
6040 * ldlang.c (lang_size_sections): Encapsulate region bounds
6041 checking in os_check_region call.
6042 (os_check_region): New function.
6043 (lang_output_section_statement_lookup): Initialize lma_region.
6044 (lang_leave_output_section_statement): Add LMA region argument.
6045 (lang_leave_overlay): Ditto.
6046 * ldgram.y: Handle LMA region syntax.
6047 * ld.texinfo (Output Section Description): Describe LMA region usage.
6048 * emultempl/armelf.em (gld$place_orphan): Add default value for
6049 lma region in call to lang_leave_output_section_statement.
6050 * emultempl/elf32.em (gld$place_orphan): Add default value for
6051 lma region in call to lang_leave_output_section_statement.
6052 * emultempl/pe.em (gld$place_orphan): Add default value for
6053 lma region in call to lang_leave_output_section_statement.
6054
6055
6056 2000-02-04 Timothy Wall <twall@redhat.com>
6057
6058 * ldlang.c (lang_check_section_addresses): Use bytes instead of
6059 octets when calculating section end addresses.
6060
6061 2000-02-04 Timothy Wall <twall@redhat.com>
6062
6063 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
6064
6065 2000-02-03 Timothy Wall <twall@redhat.com>
6066
6067 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
6068 octet count.
6069 * ldlang.c (print_input_section, print_data_statement,
6070 print_reloc_statement, print_padding_statement): Print target
6071 address values and section sizes as bytes, not octets.
6072 (insert_pad) Calculate padding size in octets, and adjust "dot"
6073 by bytes.
6074 (size_input_section) Always adjust "dot" by bytes, not octets.
6075 (lang_check_section_addresses, lang_do_assignments) Adjust
6076 "dot" by bytes, not octets. Use the larger of the directive size
6077 or octets_per_byte for the number of octets actually allocated in
6078 the output section.
6079 (lang_set_startof) Make sure STARTOF returns a target address.
6080 (lang_one_common) Record size changes in octets.
6081 (lang_abs_symbol_at_end_of) Section end symbol's value is
6082 recorded in target bytes.
6083 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
6084 to be clear about behavior when an octet is smaller than one byte.
6085
6086 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
6087
6088 * ldcref.c (output_cref): Don't pass message strings to printf
6089 as format arg.
6090 Update copyright.
6091
6092 * ldmisc.c (vfinfo): Same here.
6093 Update copyright.
6094
6095 2000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
6096
6097 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
6098 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
6099 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
6100 Add missing NULL initialisers, and comments.
6101
6102 2000-01-21 Nick Clifton <nickc@cygnus.com>
6103
6104 * ldlang.c (lang_size_sections): Fix typo in comment.
6105
6106 2000-01-18 H.J. Lu <hjl@gnu.org>
6107
6108 * ldlang.c (lang_size_sections): Also update the current
6109 address of a region if the SEC_NEVER_LOAD bit is not set.
6110
6111 2000-01-10 Philip Blundell <pb@futuretv.com>
6112
6113 * configure.tgt (arm*-*-conix*): New target.
6114
6115 2000-01-07 Nick Clifton <nickc@cygnus.com>
6116
6117 * ld.texinfo (Options): Remind users to preceed linker command
6118 line switches with -Wl, (or whatever is appropriate) if it is
6119 being invoked by a comnpiler driver program.
6120 Fix description of the behaviour of the -n command line switch.
6121
6122 2000-01-05 Catherine Moore <clm@cygnus.com>
6123
6124 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
6125 (name_list): New.
6126 * ld.texinfo (EXCLUDE_FILE): Update documentation.
6127 * ldgram.y (wildcard_spec): Support a list of excluded_files.
6128 (exclude_name_list): New.
6129 ldlang.c (walk_wild_section): Support list of excluded files.
6130 (print_wild_statement): Likewise.
6131 (lang_add_wild): Likewise.
6132 * ldlang.h (lang_wild_statement_type): Likewise.
6133 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
6134
6135 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
6136
6137 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
6138 (process_def_file): Use.
6139 (pe_dll_compat_implib): New variable.
6140 (make_one): Use.
6141
6142 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
6143 pe_dll_compat_implib.
6144
6145 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
6146 compat-implib options.
6147 (gld_${EMULATION_NAME}_list_options): List new options.
6148 (gld_${EMULATION_NAME}_parse_args): Handle.
6149
6150 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
6151 dll.
6152
6153 * deffilep.y (opt_name): Allow "." in name.
6154
6155 For older changes see ChangeLog-9899
6156 \f
6157 Local Variables:
6158 mode: change-log
6159 left-margin: 8
6160 fill-column: 74
6161 version-control: never
6162 End: