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