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