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