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