Duplicate --keep-locals entry in order to prevent it being confused with -k.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
2a8ac465
NC
12002-12-17 Danny Smith <dannysmith@users.sourceforge.net>
2
3 * emultempl/pe.em (..._recognized_file): Use LD_PATHMAX+1 to
4 account for trailing '\0'.
5
a08a0d63
NC
62002-12-17 Nick Clifton <nickc@redhat.com>
7
8 * emultempl/pe.em (longopts): Duplicate entry for --compact-implib
9 so that it is not confused with -c.
10
939ba9d0
NC
112002-12-13 Ralf Habacker <Ralf.Habacker@freenet.de>
12 Charles Wilson <cwilson@ece.gatech.edu>
13
14 * configure.in: Add check for realpath function.
15 * configure: Regenerate.
16 * config.in: Regenerate.
17 * aclocal.m4: Regenerate.
18 * deffile.h: Add .data field to def_file_import
19 structure.
20 * pe-dll.c (pe_proces_import_defs): Use .data field of
21 def_file_import structure to initialize flag_data field of
22 def_file_export structure.
23 (pe_implied_import_dll): New variables exp_funcbase and
24 [data|bss]_[start|end]. Use DLL's internal name to set dll_name,
25 not filename (which may be a symlink). Scan the sections and
26 initialize [data|bss]_[start|end]. When scanning the export
27 table, skip _nm_ symbols, and mark any symbols whose rva indicates
28 that it is in the .bss or .data sections as data.
29 * sysdep.h: Include limits.h and sys/param.h, and define
30 LD_PATHMAX as appropriate. Also define REALPATH as realpath if it
31 exists, NULL otherwise.
32 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Call
33 pe_process_import_defs before pe_find_data_imports, so that
34 auto-import will check the virtual implib as well as "real"
35 implibs.
36 (gld_${EMULATION_NAME}_recognized_file): Use REALPATH to follow
37 symlinks to their target; check that the target's extension is
38 .dll before calling pe_implied_import_dll(), not the filename
39 itself (which may be a symlink).
40
1e5e5400
AM
412002-12-10 Alan Modra <amodra@bigpond.net.au>
42
43 * emultempl/elf32.em (struct orphan_save): Add os_tail field.
44 (gld${EMULATION_NAME}_place_orphan): Re-order output_section_statement
45 list too.
46
f53154de
AM
472002-12-08 Alan Modra <amodra@bigpond.net.au>
48
49 * ldlang.h: Formatting.
50
18794b0c
AM
512002-12-07 Alan Modra <amodra@bigpond.net.au>
52
53 * ldlang.c (init_os): Ensure sections mentioned in load_base
54 are initialized.
55
36478e9d
AM
562002-12-05 Alan Modra <amodra@bigpond.net.au>
57
58 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set
59 load_base for orphans that follow a section with load_base set.
60
a981ed6f
L
612002-12-01 H.J. Lu <hjl@gnu.org>
62
63 * ld.texinfo: Remove the extra `;' in sample version script.
64
b34976b6
AM
652002-11-30 Alan Modra <amodra@bigpond.net.au>
66
08a1b063
AM
67 * configure.host: Correct dynamic-linker for powerpc64 hosts.
68
4a1359d7
AM
69 * Makefile.am (eelf32ppcwindiss.c): Correct dependencies.
70 * Makefile.in: Regenerate.
71
b34976b6
AM
72 * ld.h, ldcref.c, ldctor.c, ldctor.h, ldemul.c, ldemul.h, ldexp.c,
73 ldexp.h, ldfile.c, ldfile.h, ldgram.y, ldlang.c, ldlang.h, ldmain.c,
74 ldmain.h, ldmisc.c, ldwrite.c, lexsup.c, mri.c, pe-dll.c, pe-dll.h,
75 emulparams/elf32b4300.sh, emultempl/aix.em, emultempl/armcoff.em,
76 emultempl/armelf.em, emultempl/armelf_oabi.em, emultempl/beos.em,
77 emultempl/elf32.em, emultempl/generic.em, emultempl/gld960.em,
78 emultempl/gld960c.em, emultempl/hppaelf.em, emultempl/linux.em,
79 emultempl/lnk960.em, emultempl/m68kcoff.em, emultempl/mipsecoff.em,
80 emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em, emultempl/mmo.em,
81 emultempl/needrelax.em, emultempl/pe.em, emultempl/ppc64elf.em,
82 emultempl/sh64elf.em, emultempl/sunos.em, emultempl/ticoff.em: Replace
83 boolean with bfd_boolean, true with TRUE, false with FALSE. Simplify
84 comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
85
3b70b24e
DB
862002-11-27 David O'Brien <obrien@FreeBSD.org>
87
88 * configure.host: Fix generic FreeBSD configuration entry.
89
7c9c73be
L
902002-11-27 H.J. Lu <hjl@gnu.org>
91
92 * ld.texinfo: Add the missing `;' to sample version scripts.
93
1a3fdaa7 942002-11-20 Alan Modra <amodra@bigpond.net.au>
48c5eb8a 95
1a3fdaa7 96 * emulparams/elf64ppc.sh (SEGMENT_SIZE): Don't define.
48c5eb8a 97
2fa9fc65
NC
982002-11-14 Egor Duda <deo@logos-m.ru>
99
100 * ldmain.c (main): Make runtime relocs disabled by default. Remove
101 assignment which has no effect.
102 * pe-dll.h (pe_create_import_fixup): Change prototype.
103 * pe-dll.c (make_runtime_pseudo_reloc): New function.
104 (pe_create_runtime_relocator_reference): Ditto.
105 (pe_create_import_fixup): Handle relocations with non-zero addends.
106 * emultempl/pe.em: Add options --enable-runtime-pseudo-reloc and
107 --disable-runtime-pseudo-reloc.
108 (make_import_fixup): Handle relocations with non-zero addends. Create
109 an external reference to _pei386_runtime_relocator symbol if at least
110 one pseudo reloc was created.
111 * ld.texinfo: Document --enable-runtime-pseudo-reloc and
112 --disable-runtime-pseudo-reloc options.
113
c4c41219
AM
1142002-11-12 Earl Chew <earl_chew@agilent.com>
115
116 * ldlang.c (lang_add_section): Discard debugging sections that have
1a3fdaa7 117 been marked SEC_EXCLUDE.
c4c41219 118
cd24c222
NC
1192002-11-12 Nick Clifton <nickc@redhat.com>
120
121 * configure.in (ALL_LINGUAS): Add da.
122 * configure: Regenerate.
123 * po/da.po: New Danish translation.
124
836c6af1
AM
1252002-11-12 Alan Modra <amodra@bigpond.net.au>
126
127 * emultempl/ppc64elf.em (ppc_before_allocation): New function.
128 (LDEMUL_BEFORE_ALLOCATION): Define.
129 (gld${EMULATION_NAME}_finish): Run discard_info for relocatable
130 linking.
131 * emultemp/hppaelf.em ((gld${EMULATION_NAME}_finish): Likewise.
132
f8b0dbb8
CF
1332002-11-11 Christopher Faylor <cgf@redhat.com>
134
135 * configure.tgt (LIB_PATH): Default to searching w32api directory under
136 cygwin.
137
9e8d33e7
CF
1382002-11-11 Charles Wilson <cwilson@ece.gatech.edu>
139
140 * pe-dll.c (autofilter_liblist): add libmingwex and libgcj to the list
141 of restricted auto-export libs.
142
75c2ea5b
CF
1432002-11-11 Charles Wilson <cwilson@ece.gatech.edu>
144
145 * pe-dll.c (autofilter_liblist): Generalize library names to catch more
146 creative library naming instances like, e.g., libstdc++-2.a.
147
426af4fe
AO
1482002-11-06 Alexandre Oliva <aoliva@redhat.com>
149
150 * emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Define.
151 * emulparams/elf64btsmip.sh (TEXT_DYNAMIC): Likewise.
152
c9e38879
NC
1532002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
154
155 * deffilep.y (def_lex): Handle '@' as first character of an ID.
156 * pe-dll.c (auto-export): Filter on "_imp_" prefix, not "_imp__".
157 (make_one): Don't prefix decorated fastcall symbols with '_'.
158 (pe_process_import_defs): Likewise.
159 * emultempl/pe.em (pe_fixup_stdcalls): Don't fixup fastcall
160 symbols to cdecl names or vise-versa.
161
836c6af1 1622002-10-13 Eric Kohl <ekohl@rz-online.de>
c9e38879
NC
163
164 * pe-dll.c (process_def_file): Handle fastcall symbols when
165 generating undecorated aliases. Don't prefix decorated fastcall
166 symbols with '_'.
167 (fill_exported_offsets): Don't prefix decorated fastcall symbols
168 with '_'.
169
df2a7313
DJ
1702002-10-29 Daniel Jacobowitz <drow@mvista.com>
171
172 * emultempl/aix.em: Use include <> for generated headers.
173 * emultempl/beos.em: Likewise.
174 * emultempl/elf32.em: Likewise.
175 * emultempl/pe.em: Likewise.
176 * ldctor.c: Likewise.
177 * ldexp.c: Likewise.
178 * ldfile.c: Likewise.
179 * ldlang.c: Likewise.
180 * ldlex.c: Likewise.
181 * ldlex.l: Likewise.
182 * ldmain.c: Likewise.
183 * ldmisc.c: Likewise.
184 * ldwrite.c: Likewise.
185 * lexsup.c: Likewise.
186 * mri.c: Likewise.
187 * pe-dll.c: Likewise.
188
a8927cfd
JJ
1892002-10-23 Jakub Jelinek <jakub@redhat.com>
190
191 * emultempl/elf32.em (place_orphan): Don't put non-allocated .rel*
192 sections into .rel{,a}.dyn.
193
63fd3b82
NC
1942002-10-23 Nick Clifton <nickc@redhat.com>
195
196 * lexsup.c (OPTION_NO_OMAGIC): Define.
197 (ld_options): Add "no-omagic" option.
198 (parse_args): Parse --no-omagic.
199 * ld.texinfo: Document --no-omagic.
200 * NEWS: Mention new option.
201
36379167
NC
2022002-10-21 Danny Smith <dannysmith@users.sourceforeg.net>
203
204 * scripttempl/pe.sc (__RUNTIME_PSEUDO_RELOC_LIST__,
205 __RUNTIME_PSEUDO_RELOC_LIST_END__): Add only when relocating.
206
3ffe58d9
AO
2072002-10-22 Alexandre Oliva <aoliva@redhat.com>
208
209 * emulparams/elf32bmipn32-defs.sh: Set ELFSIZE according to
210 emulation name. Set LIB_PATH only for native tools, and
211 search the ABI-specific versions of NATIVE_LIB_DIRS before the
212 .../lib variants, not instead of them. Mostly copied from...
213 * emulparams/elf32ppc.sh: ... here. Fixed typo.
214 * emulparams/elf64bmip-defs.sh: Backed out.
215 * emulparams/elf64bmip.sh: Import elf32bmipn32-defs.sh again.
216 * emulparams/elf64btsmip.sh: Likewise.
217 (DATA_ADDR, NONPAGED_TEXT_START_ADDR, SHLIB_TEXT_START_ADDR,
218 TEXT_DYNAMIC): Removed.
219
e316b3a0
AO
2202002-10-17 Alexandre Oliva <aoliva@redhat.com>
221
222 * emulparams/elf32bmipn32-defs.sh (LIB_PATH): Set to /usr/lib32.
223 (GENERATE_SHLIB_SCRIPT): Set to yes.
224 (EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Moved to...
225 * emulparams/elf32bmipn32.sh: here.
226 (GENERATE_SHLIB_SCRIPT): Deleted as redundant.
227 * emulparams/elf32btsmipn32.sh: Delete redundant unsets.
228 * emulparams/elf64bmip-defs.sh: New file. Extend
229 elf32bmipn32-defs.sh by overiding ELFSIZE and LIB_PATH.
230 * emulparams/elf64bmip.sh: Bring in definitions from
231 elf64bmip-defs.sh.
232 (ELFSIZE, GENERATE_SHLIB_SCRIPT, LIB_PATH): Delete redundant
233 settings.
234 (WRITABLE_RODATA): Moved from elf32bmipn32-defs.sh.
235 * emulparams/elf64btsmip.sh: Bring in definitions from
236 elf64bmip-defs.sh.
237 (ELFSIZE, GENERATE_SHLIB_SCRIPT): Delete, redundant.
238 (EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Delete redundant unsets.
239
f52d1d64
JJ
2402002-10-16 Jakub Jelinek <jakub@redhat.com>
241
242 * configure.tgt (s390x-*-linux*): Add elf_s390 emulation.
243 (s390-*-linux*): Add elf64_s390 emulation if want64.
244 * emulparams/elf64_sparc.sh (LIB_PATH): Update to match 2002-05-22
245 genscript.sh changes.
246 * emulparams/elf_x86_64.sh (LIB_PATH): Likewise.
247 * emulparams/elf64_s390.sh (LIB_PATH): Set up native 64 bit dirs.
248
03bdc404
AM
2492002-10-15 Alan Modra <amodra@bigpond.net.au>
250
251 * ldlang.c (load_symbols): Revert last change.
252
c6db2f05
AM
2532002-10-14 Alan Modra <amodra@bigpond.net.au>
254
7c519c12
AM
255 * ldlang.c (load_symbols): Don't call bfd_link_add_symbols when
256 just_syms_flag.
257 (lang_reasonable_defaults): Don't compare against false.
258 (size_input_section): Likewise.
259 (lang_size_sections_1): Likewise.
260 (lang_do_assignments): Likewise.
261 (lang_add_output): Likewise.
262
c6db2f05
AM
263 * Makefile.am: Run "make dep-am".
264 * Makefile.in: Regenerate.
265 * ldver.c: #include "bfdver.h".
266
e1026ffb
SC
2672002-10-13 Stephane Carrez <stcarrez@nerim.fr>
268
269 * scripttempl/elfm68hc11.sc: Use KEEP for .vectors, .installN,
270 .finiN section.
271 * scripttempl/elfm68hc12.sc: Likewise.
272
2d801b0f
AM
2732002-10-11 Alan Modra <amodra@bigpond.net.au>
274
fe213ce2
AM
275 * pe-dll.c (make_import_fixup_mark): Avoid type-punned pointer.
276
2d801b0f
AM
277 * ldgram.y (memory_spec): Provide empty action.
278 (section <NAME>): Likewise.
279
599917b8
JJ
2802002-10-10 Jakub Jelinek <jakub@redhat.com>
281
282 * ldfile.c (ldfile_try_open_bfd): When searching skip linker scripts if
283 they have OUTPUT_FORMAT not matching actual output format.
284 * ldlang.c (lang_get_output_target): New function.
285 (open_output): Use it.
286 * ldlang.h (lang_get_output_target): New prototype.
287
24cdb50a
AM
2882002-10-10 Alan Modra <amodra@bigpond.net.au>
289
290 * emultempl/elf32.em (output_rel_find): Prefer .rel script sections
291 when orphan is .rel, .rela when orphan is .rela.
292 (gld${EMULATION_NAME}_place_orphan): Handle combreloc .rel* case
293 first. Remove outsecname var.
294
a2b3c630
SC
2952002-10-09 Richard Shann <richard.shann@superh.com>
296 Stephen Clarke <stephen.clarke@superh.com>
297
298 * Makefile.am: Add eshelf32_linux.o and
299 eshlelf32_linux.o, new emulations for sh64 Linux.
300 * Makefile.in: Regenerate.
301 * configure.tgt: Add sh64eb-*-linux* and sh64-*-linux* emulations.
302 * emulparams/shelf32_linux.sh: New file.
303 * emulparams/shlelf32_linux.sh: New file.
7c519c12 304
c04c9586
L
3052002-10-08 H.J. Lu <hjl@gnu.org>
306
307 * ldlang.c (lang_file_exist): Removed.
308 (new_afile): Revert the last change.
309 * ldlang.h (lang_file_exist): Removed.
310 * lexsup.c (parse_args): Revert the last change.
311
39cebe23
NC
3122002-10-07 Ralf Habacker <Ralf.Habacker@freenet.de>
313
314 * pe-dll.cc (autofilter_symbolprefixlist): Don't re-export
315 auto-import symbols.
316 (make_one): Create _nm_<symbol> for data only.
317
53b2a62f
NC
3182002-10-05 Elias Athanasopoulos <eathan@otenet.gr>
319
320 * ldlang.c (lang_file_exist): New function.
7c519c12 321 (new_afile): Abort if the filename to be added matches the linker
53b2a62f
NC
322 output filename.
323 * ldlang.h: Add prototype for lang_file_exist.
324 * lexsup.c (parse_args): Abort if the output filename matches
325 one of the input filenames.
326
a86a09cc
AM
3272002-10-02 Alan Modra <amodra@bigpond.net.au>
328
329 * emulparams/elf64ppc.sh (MAXPAGESIZE): Set to 0x10000.
330
ba493122
AM
3312002-09-30 Alan Modra <amodra@bigpond.net.au>
332
1bf0a4d9
AM
333 * scripttempl/elfd30v.sc: Order reloc sections placing .plt last.
334 * scripttempl/elfm68hc11.sc: Likewise.
335 * scripttempl/elfm68hc12.sc: Likewise.
336
ba493122
AM
337 * emultempl/elf32.em (output_rel_find): Always place orphan loadable
338 reloc sections just before .rel.plt/.rela.plt.
339 (gld${EMULATION_NAME}_place_orphan <.rel>): Remove combreloc code.
340 Only put loadable reloc sections in hold_rel.
341
fdb9132d
L
3422002-09-29 H.J. Lu <hjl@gnu.org>
343
42f98619 344 * emulparams/elf32ppc.sh (OTHER_GOT_RELOC_SECTIONS): New.
fdb9132d 345
ff326826
DJ
3462002-09-25 Daniel Jacobowitz <drow@mvista.com>
347
348 From "Anita Kulkarni" <AnitaK@kpit.com>
349 * scripttempl/sh.sc: Handle .eh_frame* and .gcc_exc*
350 sections.
351
0ae1cf52
AM
3522002-09-25 Alan Modra <amodra@bigpond.net.au>
353
1ddd7b13
AM
354 * genscripts.sh (SEGMENT_SIZE): Use MAXPAGESIZE before
355 TARGET_PAGE_SIZE.
356 * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Incorporate
357 SEGMENT_SIZE alignment.
358 * emulparams/elf64ppc.sh (DATA_ADDR): Delete.
359 (SEGMENT_SIZE): Define.
360
0ae1cf52
AM
361 * ldexp.c (fold_unary): New. Split out from exp_fold_tree.
362 (fold_binary): Correct abs - non-abs case.
363 (fold_trinary): New. Split out from exp_fold_tree.
364
06143382
AM
3652002-09-24 Alan Modra <amodra@bigpond.net.au>
366
367 * emulparams/elf64ppc.sh (DATA_ADDR): Define.
368 * emulparams/elf64_aix.sh (DATA_ADDR): Don't use a fixed address
369 for start of .data, instead align up to 256M boundary.
370 * scripttempl/aix.sc: Likewise.
371
8e616ecc
DD
3722002-09-22 Mark Elbrecht <snowball3@softhome.net>
373
374 * scripttempl/i386go32.sc: Handle bss unique sections.
375
5cfb2bb2
AM
3762002-09-21 Alan Modra <amodra@bigpond.net.au>
377
378 * ldmisc.c (vfinfo <%C,%D,%G>): Always output bfd, section and offset.
379
dd2e0905
SC
3802002-09-17 Stan Cox <scox@redhat.com>
381
382 * emulparams/elf32bmipn32-defs.sh: New file.
383 * emulparams/elf32bmipn32.sh: Use elf32bmipn32-defs.sh.
384 * emulparams/elf32btsmipn32.sh: Likewise.
385 * emulparams/elf64bmip.sh: Likewise.
386 * emulparams/elf64btsmip.sh: Likewise.
387
4ada7262
DB
3882002-09-16 Bruno Haible <bruno@clisp.org>
389
390 * emulparams/elf_i386_fbsd.sh: Set OUTPUT_FORMAT to
391 elf32-i386-freebsd.
392 * emulparams/elf64alpha_fbsd.sh: Set OUTPUT_FORMAT to
393 elf64-alpha-freebsd.
394
e09f4395
NC
3952002-09-11 Nick Clifton <nickc@redhat.com>
396
004d9caf
NC
397 * NEWS: New TI port supports both C4x and C3x series of DSPs.
398
e09f4395
NC
399 * po/tr.po: Updated Turkish translation.
400
004d9caf 4012002-09-06 Jeffrey A Law (law@redhat.com)
0b3a6a28 402
7c519c12 403 * configure.tgt (h8300-*-hms*, h8500-*-hms*): Restore.
0b3a6a28 404
3e369e96
NC
4052002-09-02 Nick Clifton <nickc@redhat.com>
406
67010b46
NC
407 * scripttempl/v850.sc: Add EXTERN references to __ctbpm __gp and
408 __ep.
409 * emulparams/v850.sh (TEMPLATE_NAME): Define.
3e369e96 410
5435462c
NC
4112002-08-30 Nick Clifton <nickc@redhat.com>
412
413 * scripttempl/elfd10v.sc (MEMORY): Remove UNIFIED, it is not
414 used. Change INSN to start at 0x01000000 and extend for
415 256K (ignoring holes). Start the STACK on a word aligned
416 boundary.
7c519c12 417 (.rodata): Start it at the READONLY_START_ADDR.
5435462c 418
5c368657
AM
4192002-08-30 Alan Modra <amodra@bigpond.net.au>
420
421 * emulparams/elf32ppc.sh (ARCH): Set to "powerpc:common".
422
026df7c5
NC
4232002-08-28 Svein E. Seldal <Svein.Seldal@solidas.com>
424
425 * Makefile.am: Add etic4xcoff.o in ALL_EMULATIONS list and
426 added makefile targets for this file.
427 * Makefile.in: Regenerate.
428 * configure.tgt: Added tic4x-coff and c4x-coff emulations.
429 * NEWS: Mention new port.
430
4312002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
432
433 * emulparams/tic3xcoff.sh: New file.
434 * emulparams/tic4xcoff.sh: New file.
435 * scripttempl/tic3xcoff.sc: New file.
436 * scripttempl/tic4xcoff.sc: New file.
437
c89e8944
AM
4382002-08-28 Alan Modra <amodra@bigpond.net.au>
439
440 * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Replace strtoll,
441 strtoul and strtoull with bfd_scan_vma.
442 (gld${EMULATION_NAME}_read_file): Likewise.
443
6459ecfa
AM
4442002-08-28 Alan Modra <amodra@bigpond.net.au>
445
446 * configure.tgt: Remove h8[35]00-*-hms*. Add h8500-*-rtems*.
447
ad5211be
NC
4482002-08-27 Egor Duda <deo@logos-m.ru>
449
450 * scripttempl/pe.sc: Handle .rdata_runtime_pseudo_reloc sections.
451 Add symbols for application to access them.
452
88f7bcd5
NC
4532002-08-27 Nick Clifton <nickc@redhat.com>
454
455 * emultempl/armelf.em: Revert this patch, it is not needed.
7c519c12 456
88f7bcd5
NC
457 2002-08-22 Adam Nemet <anemet@lnxw.com>
458
8e523c23 4592002-08-20 Dan Kegel <dank@kegel.com>
7c519c12 460
8e523c23
NC
461 * configure.in: added --with-lib-path argument to ld's configure
462 to set LIB_PATH.
463 * ld/NEWS: Document new switch.
464 * ld/README: Mention new switch.
465 * configure: Regenerate.
466 * Makefile.in: Regenerate.
7c519c12 467
8e523c23
NC
468 Based on this patch:
469 2001-04-25 Christopher Faylor <cgf@cygnus.com>
470
471 * Makefile.in (LIB_PATH): Make configurable.
472 (GENSCRIPTS): Set LIB_PATH in environment.
473 * configure.in: Substitute LIB_PATH.
474
d9a7f7ab
NC
4752002-08-22 Adam Nemet <anemet@lnxw.com>
476
477 * emultempl/armelf.em: Include elf-bfd.h and elf/arm.h.
478 (arm_elf_finish): Set the last bit of DT_INIT and DT_FINI
479 depending on the type of the function.
480 (arm_elf_convert_thumb_symbol_to_address): New function.
481
ed71e111
NC
4822002-08-22 Graeme Peterson <gp@qnx.com>
483
484 * Makefile.am: Add esh{l}elf_nto.o files.
485 * Makefile.in: Regenerate.
486 * configure.tgt: Add support for sh-**-nto* targets.
487 * emulparams/shelf_nto.sh: New file.
488 * emulparams/shlelf_nto.sh: New file.
489
7abb6dea
AM
4902002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
491
492 * ldlang.c (offsetof): Define if not defined.
493
e9229007
L
4942002-08-14 H.J. Lu <hjl@gnu.org>
495
496 * configure.tgt: Always enable 64bit emulations for 32bit
497 Linux/mips.
498
c553bb91
AM
4992002-08-13 Alan Modra <amodra@bigpond.net.au>
500
501 * emulparams/elf32_dlx.sh (TARGET_PAGE_SIZE): Set to 1.
502 (MAXPAGESIZE): Set to 1.
503
504 * ld.h (ALIGN_N): Delete.
505 * ldexp.h (align_n): Declare.
506 * ldexp.c (align_n): New function.
507 (fold_binary): Use align_n instead of ALIGN_N.
508 (exp_fold_tree): Likewise.
509 * ldlang.c (lang_size_sections_1): Likewise.
510 (lang_one_common): Likewise.
3c6706bb 511 * ld.texinfo (ALIGN): Remove power of 2 restriction.
c553bb91 512
59bc061d
NC
5132002-07-31 Graeme Peterson <gp@qnx.com>
514
515 * configure.tgt: Add support for powerpc{le}-*-nto* targets.
516 * Makefile.am: Add eelf32{l}ppcnto.o files.
517 * Makefile.in: Regenerate.
518 * emulparams/elf32lppcnto.sh: New file.
519 * emulparams/elf32ppcnto.sh: New file.
520
31941635
L
5212002-08-07 H.J. Lu <hjl@gnu.org>
522
523 * ld.texinfo: Document --no-undefined-version.
524
525 * ldlang.c (lang_new_vers_pattern): Set the `symver' and
526 `script.' fields to 0.
527
528 * ldmain.c (main): Initialize the allow_undefined_version to
529 true.
530
531 * lexsup.c (OPTION_NO_UNDEFINED_VERSION): New.
532 (ld_options): Add --no-undefined-version.
533 (parse_args): Support OPTION_NO_UNDEFINED_VERSION.
534
2004afbc
NC
5352002-08-07 Nick Clifton <nickc@redhat.com>
536
537 * emultempl/armelf.em (arm_elf_before_allocation): Only search for
538 an interworking bfd if there are input bfds. (107501)
539
7fc44b9c
AM
5402002-08-06 Alan Modra <amodra@bigpond.net.au>
541
542 * emultempl/aix.em (gld*_before_parse): Set default arch. Reverts
543 2002-05-10 change.
544
24a1ba0f
NC
5452002-08-01 Nick Clifton <nickc@redhat.com>
546
547 * emulparams/armelf.sh: Revert previous delta.
548 * scripttempl/elf.sc: Revert previous delta.
549
ebc6e014
L
5502002-07-31 H.J. Lu <hjl@gnu.org>
551
552 * configure.tgt (powerpc*-*-linux*): Enable elf64ppc for
553 --enable-64-bit-bfd.
554
39a2a3eb
L
5552002-07-31 H.J. Lu <hjl@gnu.org>
556
557 * configure.tgt: Enable x86-64 emulation for Linux/i386 if
558 64bit BFD is selected.
559
a0dfa6a8
L
5602002-07-31 H.J. Lu <hjl@gnu.org>
561
562 * configure.tgt: Enable 64bit emulations for 32bit Linux/mips
563 if 64bit BFD is selected.
564
f7c33884
NC
5652002-07-31 Ian Dall <ian@sibyl.beware.dropbear.id.au>
566
567 * emultempl/netbsd.em (LDEMUL_BEFORE_PARSE): New file to custom set
568 link_info.common_skip_ar_aymbols.
569 * emulparams/ns32knbsd.sh (EXTRA_EM_FILE): Refer to extra file.
570
571 * ldmain.c (main): Initialize new field
572 link_info.common_skip_ar_aymbols.
573
8f64befb
NC
5742002-07-31 Adam Nemet <anemet@lnxw.com>
575
576 * emulparams/armelf.sh (OTHER_PLT_SECTIONS): New variable. Set it
577 to .plt.thumb.
578 * scripttempl/elf.sc: Comment it. Use the same way as ${PLT} is
579 used.
580
500800ca
NC
5812002-07-31 Nick Clifton <nickc@redhat.com>
582
583 * NEWS: Retroactively add entry for Lars Brinkhoff's contribution
584 of the PDP-11 and 2.11BSD a.out support.
585
7808a785
TS
5862002-07-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
587
588 * Makefile.am (eelf32btsmipn32.o, eelf32ltsmipn32.o): New emulations
589 for n32 ABI support.
590 * Makefile.in: Regenerate.
591 * configure.tgt (mips64*el-*-linux-gnu*,mips64*-*-linux-gnu*): Add
592 n32 ABI emulations for these 64 bit targets.
593 * emulparams/elf32bmipn32.sh: Expand comment.
594 * emulparams/elf32btsmipn32.sh: New file, for traditional big endian
595 n32 ABI.
596 * emulparams/elf32ltsmipn32.sh: Likewise for little endian.
597
7e392df6
NC
5982002-07-30 Graeme Peterson <gp@qnx.com>
599
600 * configure.tgt: Add support for arm-*-nto target.
601 * Makefile.am: Add earmnto.o file.
602 * Makefile.in: Regenerate.
603 * NEWS: Mention port of ARM support to QNX.
604 * emulparams/armnto.sh: New file.
605
704afa60
JJ
6062002-07-30 Jakub Jelinek <jakub@redhat.com>
607
608 * ldlang.c (lang_add_section): Don't turn .tbss into normal sections
609 for relocatable link.
610 (lang_size_sections_1): Don't make .tbss zero size for relocatable
611 link.
612
7dcd22c2
BS
6132002-07-26 Bernd Schmidt <bernds@redhat.com>
614
615 * emulparams/elf32frv.sh (OTHER_RELOCATING_SECTIONS): Delete.
616 (STACK_ADDR): New.
617
219576a4
NC
6182002-07-25 Nick Clifton <nickc@redhat.com>
619
620 * po/sv.po: Updated Swedish translation.
621 * po/es.po: Updated Spanish translation.
622 * po/fr.po: Updated French translation.
623
ff3063f5
NC
6242002-07-24 Nick Clifton <nickc@redhat.com>
625
626 * po/sv.po: Updated Swedish translation.
627 * po/es.po: Updated Spanish translation.
628
0461a601
NC
6292002-07-23 Nick Clifton <nickc@redhat.com>
630
ff3063f5 631 * po/fr.po: Updated French translation.
0461a601 632
25844aae
AM
6332002-07-20 Alan Modra <amodra@bigpond.net.au>
634
635 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
636 bomb on /DISCARD/ input section.
637 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
638 * emultempl/mmo.em (mmo_place_orphan): Likewise.
639
3595bd6e
HPN
6402002-07-19 Hans-Peter Nilsson <hp@bitrange.com>
641
642 * emultempl/mmo.em (mmo_place_orphan): Handle case of no .text
643 output section.
644
cf88bb9f
NC
6452002-07-16 Denis Chertykov <denisc@overta.ru>
646 Nick Clifton <nickc@redhat.com>
647 Frank Ch. Eigler <fche@redhat.com>
648 John Healy <jhealy@redhat.com>
649
650 * configure.tgt: Add support for ip2k-elf.
651 * Makefile.am: Add support for ip2k-elf.
652 * Makefile.in: Regenerate.
653 * emulparams/elf32ip2k.sh: New file.
654 * scripttempl/ip2k.sc: New file
655 * NEWS: Mention support for new port.
656
2cbb2eef
NC
6572002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
658
659 * NEWS: Add 'Changes in 2.13'.
660
96a94295
L
6612002-07-14 H.J. Lu <hjl@gnu.org>
662
663 * ld.texinfo: Document a .symver takes precedence over a
664 version script.
665
120d20f2
AM
6662002-07-12 Alan Modra <amodra@bigpond.net.au>
667
668 * emulparams/elf64ppc.sh (ARCH): Set to powerpc:common64.
669 (COMMONPAGESIZE): Define.
670
0d2ddeb2
AM
6712002-07-09 Alan Modra <amodra@bigpond.net.au>
672
673 * emulparams/hppanbsd.sh: Remark that hppaobsd.sh references this file.
674
554690ed
AM
6752002-07-09 Federico G. Schwindt <fgsch@olimpo.com.br>
676
677 * configure.tgt: Add support for alpha-*-openbsd*, hppa-*-openbsd*,
678 powerpc-*-openbsd* and sparc64-*-openbsd*.
679 * Makefile.am (ALL_EMULATIONS): Add ehppaobsd.o.
680 * Makefile.in: Regenerate.
681 * emulparams/hppaobsd.sh: New file.
682
34786259
AM
6832002-07-05 Alan Modra <amodra@bigpond.net.au>
684
685 * ldlang.c (print_wild_statement): Fix output formatting.
686
4bd5a393
AM
6872002-07-04 Alan Modra <amodra@bigpond.net.au>
688
689 * ldlang.c: (strip_excluded_output_sections): New function.
690 (lang_process): Call it.
691 (lang_size_sections_1): Revert 2002-06-10 change.
692
ce4f7385
AM
6932002-07-03 Alan Modra <amodra@bigpond.net.au>
694
695 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
696 Run "make dep-am".
697 * Makefile.in: Regenerate.
698
b7b482a3
AM
6992002-07-02 Alan Modra <amodra@bigpond.net.au>
700
71daf8b4
AM
701 * ldfile.c (ldfile_try_open_bfd): Formatting.
702
b7b482a3
AM
703 * ldmisc.c (demangle): Move so that it doesn't intrude between
704 vfinfo comment and body. Add comment.
705
29e2951e
AM
7062002-07-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
707
708 * emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format.
709
e3e942e9
AM
7102002-07-01 Alan Modra <amodra@bigpond.net.au>
711
712 * ldlang.h (entry_sym): Make it a struct bfd_sym_chain.
713 * ldlang.c (entry_sym): Likewise.
714 (ldlang_undef_chain_list_type): Likewise.
715 (lang_finish): Adjust references to entry_symbol.
716 (lang_add_entry): Likewise.
717 (lang_gc_sections): Use link_info.gc_sym_list.
718 (lang_process): Set link_info.gc_sym_list.
719 * ldlex.l: Include bfdlink.h.
720 * ldmain.c (main): Init link_info.gc_sym_list.
721 * emultempl/aix.em: Adjust references to entry_symbol.
722 * emultempl/armcoff.em: Likewise.
723 * emultempl/armelf.em: Likewise.
724 * emultempl/pe.em: Likewise.
725 * emultempl/ppc64elf.em (ppc_after_open): New function.
726 (LDEMUL_AFTER_OPEN): Define.
727 * emulparams/elf64ppc.sh: KEEP .opd sections.
728
a66c0f2c
SC
7292002-06-29 Stephane Carrez <stcarrez@nerim.fr>
730
731 * emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.
732 * emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define.
733 * emulparams/m68hc11elf.sh (EEPROM_SIZE): Define.
734 (EEPROM_START_ADDR): Define.
735 (EEPROM_MEMORY): Define.
736 * emulparams/m68hc12elf.sh: Likewise.
737 * scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs
738 section to put soft registers in .page0.
739 * scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss.
740
2b67cf00
JL
7412002-06-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
742
743 * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
744 section. Add ${RELOCATING-0}.
745
219576a4 7462002-06-26 J"orn Rennecke <joern.rennecke@superh.com>
164c4054
JR
747
748 * emulparams/shelf.sh (STACK_ADDR): Don't define.
749 (OTHER_SECTIONS): Define.
750 * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef.
751 (OTHER_SECTIONS): Undef.
752
fc28fbc2
AM
7532002-06-26 Alan Modra <amodra@bigpond.net.au>
754
755 * ldmisc.c (demangle): Restore dots stripped from sym name.
756
a13a0de8
L
7572002-06-25 H.J. Lu <hjl@gnu.org>
758
759 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
760 * Makefile.in: Regenerated.
761
b553b183
NC
7622002-06-20 Nick Clifton <nickc@cambridge.redhat.com>
763
764 * ld.texinfo (Bug Reporting): Update text to suggest a limit on
765 the size of attached object files, to allow make the object files
766 available via FTP or HTTP and to mention that the mail will be
767 sent to a mailing list.
768
2755afba
NC
7692002-06-20 Nathanael Nerode <neroden@twcny.rr.com>
770
771 * ld/configure.host (romp): Drop support.
772
7d0a848e
CD
7732002-06-18 Chris Demetriou <cgd@broadcom.com>
774
775 * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Check
776 section flags for SEC_DATA, rather than for SEC_CODE being unset.
777
8505f884
CD
7782002-06-18 Chris Demetriou <cgd@broadcom.com>
779
780 * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Fix
781 format specifier used to print BFD name.
782
7d553a40
DB
7832002-06-18 Dave Brolley <brolley@redhat.com>
784
785 From Catherine Moore, Michael Meissner, Jim Blandy:
786 * emulparams/elf32frv.sh: New file.
787 * configure.tgt: Support frv-*-*.
788 * Makefile.am (ALL_EMULATIONS): Add eelf32frv.o.
789 (eelf32frv.c): New target.
790
82434356
TR
7912002-06-17 Tom Rix <trix@redhat.com>
792
a59f3d35 793 * emultempl/elf32.em: gld*_get_script: Check for
82434356
TR
794 GENERATE_COMBRELOC_SCRIPT.
795 * scripttempl/elfd10v.sc : Fix STACK and INSN.
796 * emulparams/d10velf.sh : Fix TEXT_START_ADDR.
797
219576a4 7982002-06-13 J"orn Rennecke <joern.rennecke@superh.com>
5d9b5481
JR
799
800 * configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf.
801
c4bb8067
L
8022002-06-12 H.J. Lu <hjl@gnu.org>
803
804 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Return
805 false if xvec doesn't match.
806
e052cfbe
RS
8072002-06-10 Richard Sandiford <rsandifo@redhat.com>
808
809 * ldlang.c (lang_size_sections_1): Skip removed output sections.
810
4da711b1
AM
8112002-06-08 Alan Modra <amodra@bigpond.net.au>
812
813 * ldexp.c: Replace CONST with const.
814 * ldfile.c: Likewise.
815 * ldfile.h: Likewise.
816 * ldlex.l: Likewise.
817 * mri.c: Likewise.
818 * pe-dll.h: Likewise.
819
eb95bb9a
AM
8202002-06-07 Alan Modra <amodra@bigpond.net.au>
821
822 * emultempl/ppc64elf.em (new_vers_pattern): Warning fix.
823
e0076ab3
NC
8242002-06-07 Charles Wilson <cwilson@ece.gatech.edu>
825
826 * ld/ldmain.c (main): initialize link_info.pei386_auto_import
827 to -1 == implicit enable.
828 * ld/emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
829 initialize link_info.pei386_auto_import to -1 == implicit
830 enable.
831 (gld_${EMULATION_NAME}_parse_args): When processing
832 --enable-auto-import and --disable-auto-import options, use
833 '1' and '0' instead of 'true' and 'false'.
834 (pe_find_data_imports): Only issue message about auto-import
835 when the feature is implicitly enabled. Downgrade message to
836 informational instead of warning.
837
f13a5424
AM
8382002-06-07 Alan Modra <amodra@bigpond.net.au>
839
840 * scripttempl/elf.sc (.tbss): Fix mismatched parentheses/braces.
841
1abffd82
JL
8422002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
843
844 * configure.host (hppa*64*-*-hpux11*): Define NATIVE_LIB_DIRS,
845 HOSTING_CRT0 and HOSTING_LIBS.
846
e0076ab3 8472002-06-05 J"orn Rennecke <joern.rennecke@superh.com>
7a33bc10
JR
848
849 * configure.tgt (shle*-*-elf*, sh64le-*-elf*): New configurations.
850
4a5e698d
JT
8512002-06-05 Jason Thorpe <thorpej@wasabisystems.com>
852
853 * emulparams/ns32knbsd.sh (EXECUTABLE_SYMBOLS): Set _DYNAMIC to 0.
854 (NONPAGED_TEXT_START_ADDR): Set to 0x1000.
855
1d475d82
AM
8562002-06-05 Alan Modra <amodra@bigpond.net.au>
857
858 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place
859 SEC_EXCLUDE sections when doing a relocatable link.
860
5b0e55b6
JT
8612002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
862
863 * Makefile.am (ALL_EMULATIONS): Add eshelf32_nbsd.o,
864 eshlelf32_nbsd.o, eshelf64_nbsd.o, and eshlelf64_nbsd.o.
865 (eshelf32_nbsd.c, eshelf64_nbsd.c, eshlelf32_nbsd.c)
866 (eshlelf64_nbsd.c): New rules.
867 * Makefile.in: Regenerate.
868 * configure.tgt (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*)
869 (sh64-*-netbsd*): New targets.
870 * emulparams/shelf32_nbsd.sh: New file.
871 * emulparams/shelf64_nbsd.sh: New file.
872 * emulparams/shlelf32_nbsd.sh: New file.
873 * emulparams/shlelf64_nbsd.sh: New file.
874
9ad85d9b
AM
8752002-06-04 Alan Modra <amodra@bigpond.net.au>
876
877 * ldlang.c (section_already_linked): Call bfd_discard_group. Typo fix.
878
0c9b4fee
MM
8792002-06-02 Marek Michalkiewicz <marekm@amelek.gda.pl>
880
881 * scripttempl/avr.sc: Changes to support current GCC and avr-libc,
882 C++ constructors/destructors, loosely based on the m68hc11 port.
883
2c538bde
AM
8842002-05-31 Alan Modra <amodra@bigpond.net.au>
885
886 * Makefile.in: Regenerate.
887 * aclocal.m4: Regenerate.
888 * config.in: Regenerate.
889 * configure: Regenerate.
890
a0cb91c6
AM
8912002-05-31 Graeme Peterson <gp@qnx.com>
892
893 * Makefile.am (ALL_EMULATIONS): Add ei386nto.o.
894 (ei386nto.c): Add rule.
895 * Makefile.in: Regenerate.
896 * configure.tgt: Add i[3456]86-*-nto-qnx*.
897 * emulparams/i386nto.sh: New file.
898
37020578
JT
8992002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
900
901 * NEWS: Add entry for VAX ELF support.
902
ab68f3e0 9032002-05-29 Matt Thomas <matt@3am-software.com>
a59f3d35 904 Jason Thorpe <thorpej@wasabisystems.com>
ab68f3e0
JT
905
906 * Makefile.am (ALL_EMULATIONS): Add eelf32vax.o and evaxnbsd.o.
907 (eelf32vax.c)
908 (evaxnbsd.c): New rules.
909 * Makefile.in: Regenerate.
910 * configure.tgt (vax-*-netbsdelf*)
911 (vax-*-netbsdaout*)
912 (vax-*-netbsd*): New targets.
913 * emulparams/elf32vax.sh: New file.
914 * emulparams/vaxnbsd.sh: New file.
915
8afb0e02
NC
9162002-05-29 Adam Nemet <anemet@lnxw.com>
917
918 * emultempl/armelf.em (arm_elf_after_open): Don't determine
919 bfd_for_interwork, instead add glue sections to each input bfd.
920 (bfd_for_interwork): New global.
921 (arm_elf_set_bfd_for_interworking): New function.
922 (arm_elf_before_allocation): Use it.
923
d172d4ba
NC
9242002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
925
926 * Makefile.am: Add DLX make target.
927 * configure.tgt: Add DLX configuration.
928 * Makefile.in: Regenerate.
929 * emulparams/elf32_dlx.sh: New file
930 * scripttempl/dlx.sc: New file
931
b4477fa8
NC
9322002-05-27 Per Lundberg <per@caleb.dnsalias.org>
933
934 * Makefile.am (eelf_i386_chaos): Use elf_chaos.sc script.
935 * Makefile.in: Regenerate.
936 * emulparams/elf_chaos.sh: Use elf_chaos script.
937 * scripttempl/elf_chaos.sc: New file.
938
ee3cc2e2
RS
9392002-05-27 Richard Sandiford <rsandifo@redhat.com>
940
941 * ldlang.c (lang_size_sections_1): Move check for conflicting load
942 addresses and regions from here...
943 (lang_get_regions): ...to this new function.
944 (lang_leave_output_section_statement): Use lang_get_regions.
945 (lang_leave_overlay): Likewise.
946 * mri.c (mri_draw_tree): Pass null as last argument to
947 lang_leave_output_section_statement.
948 * emultempl/elf32.em (gld*_place_orphan): Likewise.
949 * emultempl/mmo.em (mmo_place_orphan): Likewise.
950 * emultempl/pe.em (gld*_place_orphan): Likewise.
951
aa501e5c
JT
9522002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
953
954 * configure.tgt: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
955
658957db
KH
9562002-05-25 Kazu Hirata <kazu@cs.umass.edu>
957
958 * ldemul.c: Fix formatting.
959 * ldfile.c: Likewise.
960 * pe-dll.c: Likewise.
961 * pe-dll.h: Likewise.
962
3511b595
AM
9632002-05-25 Alan Modra <amodra@bigpond.net.au>
964
0d6d936f
AM
965 * ldlang.c (lang_process): Formatting, grammar.
966
3511b595
AM
967 * ldlex.l: Use #include "" instead of <> for local header files.
968
436e8db0
NC
9692002-05-24 TAMURA Kent <kent@netbsd.org>
970
971 * configure.tgt: Add a target for i386-netbsdpe.
972
13ae64f3
JJ
9732002-05-23 Jakub Jelinek <jakub@redhat.com>
974
975 * scripttempl/elf.sc: Add .rel{,a}.t{bss,data}, .tdata and .tbss.
976 * ldlang.c (lang_add_section): Set SEC_THREAD_LOCAL for
977 output section if necessary. Handle .tbss.
978 (lang_size_sections): Clear _raw_size for .tbss section
979 (it allocates space in PT_TLS segment only).
980 * ldwrite.c (build_link_order): Build link order for .tbss too.
981
68b2fc7a
AM
9822002-05-23 Alan Modra <amodra@bigpond.net.au>
983
984 * configure.in: Correct spelling of AC_PREREQ.
985
70b0be79
CF
9862002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
987
988 * pe-dll.c (autofilter_liblist): Add more system libs excluded by
989 default.
990 (autofilter_objlist): Add crtbegin.o, crtend.o.
991
9922002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
993
994 * emultempl/pe.em (OPTION_EXCLUDE_LIBS): Add new define.
995 (longopts): Add new option --exclude-libs.
996 (gld_${EMULATION_NAME}_list_options): Give quick help about it.
997 (gld_${EMULATION_NAME}_parse_args): Use it.
998 * pe-dll.h (pe_dll_add_excludes): Add second param to prototype.
999 * pe-dll.c (exclude_list_struct): Add field type to distinguish symbols
1000 from whole archives.
1001 (pe_dll_add_excludes): Set excludes->type.
1002 (auto_export): Add new variable libname and set to archive basename if
1003 abfd. Use it when filtering default and user-specified libarary
1004 excludes. Let string "ALL" mean all libs when filtering user-specified
1005 libs.
1006 * ld.texinfo: Document --exclude-libs.
1007
fac1652d
AM
10082002-05-22 Alan Modra <amodra@bigpond.net.au>
1009
1010 * ldemul.c (ldemul_new_vers_pattern): New function.
1011 * ldemul.h (ldemul_new_vers_pattern): Declare.
1012 (struct ld_emulation_xfer_struct): Add new_vers_pattern.
1013 * ldlang.c (lang_new_vers_pattern): Call ldemul_new_vers_pattern.
1014 * emultempl/ppc64elf.em (dotsyms): New static var.
1015 (gld${EMULATION_NAME}_new_vers_pattern): New function.
1016 (LDEMUL_NEW_VERS_PATTERN): Define.
1017 (PARSE_AND_LIST_PROLOGUE): Add OPTION_DOTSYMS, OPTION_NO_DOTSYMS.
1018 (PARSE_AND_LIST_LONGOPTS): Likewise.
1019 (PARSE_AND_LIST_ARGS_CASES): Handle them.
1020 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Update
1021 initialiser.
1022 * emultempl/armcoff.em: Likewise.
1023 * emultempl/armelf_oabi.em: Likewise.
1024 * emultempl/beos.em: Likewise.
1025 * emultempl/elf32.em: Likewise.
1026 * emultempl/generic.em: Likewise.
1027 * emultempl/gld960.em: Likewise.
1028 * emultempl/gld960c.em: Likewise.
1029 * emultempl/linux.em: Likewise.
1030 * emultempl/lnk960.em: Likewise.
1031 * emultempl/m68kcoff.em: Likewise.
1032 * emultempl/mipsecoff.em: Likewise.
1033 * emultempl/pe.em: Likewise.
1034 * emultempl/sunos.em: Likewise.
1035 * emultempl/ticoff.em: Likewise.
1036 * emultempl/vanilla.em: Likewise.
1037
eb3d6bb8
AM
10382002-05-22 Alan Modra <amodra@bigpond.net.au>
1039
1040 * genscripts.sh (LIB_PATH): For native targets, concatenate $libdir
1041 and $NATIVE_LIB_DIRS. Add $tool_lib before other libs.
1042 (LIB_SEARCH_DIRS): No need to use "tr".
1043 (COMPILE_IN): Only set for native targets.
1044 * configure.host (NATIVE_LIB_DIRS): Specify all native search dirs
1045 here, rather than adding lib:/usr/lib:/usr/local/lib in genscripts.sh.
1046 * configure.tgt (powerpc*): Set tdir_*.
1047 (powerpcle*): Correct targ_extra_emuls.
1048 * emulparams/elf32ppc.sh (LIB_PATH): Set up native 64 bit dirs.
1049 * emulparams/elf64ppc.sh (LIB_PATH): Likewise.
1050
54f24647
AM
10512002-05-22 Alan Modra <amodra@bigpond.net.au>
1052
1053 * emultempl/pe.em (set_pe_subsystem): Don't set "cmdline" when
1054 calling lang_add_entry.
1055
aa713662
L
10562002-05-21 H.J. Lu (hjl@gnu.org)
1057
1058 * emultempl/elf32.em (gld${EMULATION_NAME}_parse_args): Handle
1059 "-z muldefs".
1060 (gld${EMULATION_NAME}_list_options): Add "-z muldefs".
1061
1062 * ld.texinfo: Updated for --allow-multiple-definition and
1063 "-z muldefs".
1064
1065 * ldmain.c (main): Initialize the allow_multiple_definition
1066 field to false.
1067
1068 * lexsup.c (OPTION_ALLOW_MULTIPLE_DEFINITION): New.
1069 (ld_options): Add --allow-multiple-definition.
1070 (parse_args): Support OPTION_ALLOW_MULTIPLE_DEFINITION.
1071
658f2588
JT
10722002-05-21 Jason Thorpe <thorpej@wasabisystems.com>
1073
1074 * Makefile.am (ALL_EMULATIONS): Add earmelfb_nbsd.o.
1075 (earmelfb_nbsd.c): New rule.
a59f3d35 1076 * Makefile.in: Regenerate.
658f2588 1077 * configure.tgt (armeb-*-netbsdelf*): New target.
a59f3d35 1078 (arm-*-netbsdelf*): Add armelfb_nbsd to targ_extra_emuls.
658f2588
JT
1079 (arm-*-netbsd*): Likewise.
1080 * emulparams/armelfb_nbsd.sh: New file.
1081
ca10c62d
TR
10822002-05-18 Tom Rix <trix@redhat.com>
1083
a59f3d35 1084 * emultempl/aix.em (gld*_parse_args): Add -bnortl and -bnortllib
ca10c62d
TR
1085 support.
1086
fae1e84f
MM
10872002-05-17 Marek Michalkiewicz <marekm@amelek.gda.pl>
1088
1089 * Makefile.am: Add new emulations avr1, avr2, avr3, avr4, avr5.
1090 * Makefile.in: Regenerate.
1091 * configure.tgt (avr-*-*): Add avr[1-5] to targ_extra_emuls.
1092
7c8bf1e8
MM
10932002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
1094
1095 * emulparams/avr1.sh: New file.
1096 * emulparams/avr2.sh: New file.
1097 * emulparams/avr3.sh: New file.
1098 * emulparams/avr4.sh: New file.
1099 * emulparams/avr5.sh: New file.
1100 * scripttempl/avr.sc: New file.
1101
c2c01aa7
AM
11022002-05-15 Alan Modra <amodra@bigpond.net.au>
1103
1104 * ldlang.c (section_already_linked): Call bfd_link_just_syms.
1105 (lang_place_orphans): Abort if just_syms_flag.
1106
f1f0d9ab
TR
11072002-05-10 Tom Rix <trix@redhat.com>
1108
a59f3d35 1109 * emultempl/aix.em: (gld*_set_output_arch): New function. Use
f1f0d9ab
TR
1110 architecture and machine information in the output bfd.
1111 (gld*_before_parse): Remove old arch and machine code.
1112 (choose_target): Rename to gld*_choose_target.
a59f3d35
AM
1113 (rtld): Change type to int.
1114 * ldfile.c (ldfile_try_open_bfd): Disable compatiblity check for
f1f0d9ab
TR
1115 objects in XCOFF archives.
1116 * ldfile.h: Update copyright date.
1117
f4d73366
JJ
11182002-05-10 Jakub Jelinek <jakub@redhat.com>
1119
1120 * ldmain.c (main): Enable -z combreloc by default.
1121
d3d8a9ee
NC
11222002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
1123
1124 * Makefile.am: Honour DESTDIR.
1125 * Makefile.in: Regenerate.
1126
9f88b410
RS
11272002-05-07 Richard Sandiford <rsandifo@redhat.com>
1128
1129 * ldlang.h (lang_output_section_statement_type): Add update_dot_tree.
1130 (lang_enter_overlay): Remove the last two parameters.
1131 (lang_leave_overlay): Take them here instead.
1132 * ldgram.y (memspec_at_opt): Set $$ to null if no region is given.
1133 (section): Pass LMA and crossref flag to lang_leave_overlay rather
1134 than lang_enter_overlay.
1135 * ldlang.c (lang_memory_region_lookup): Return null for null names.
1136 (lang_output_section_statement_lookup): Initialize update_dot_tree.
1137 (lang_size_sections_1): Evaluate it.
1138 (lang_leave_output_section_statement): Rework LMA lookup.
1139 (overlay_lma, overlay_nocrossrefs): Remove.
3511b595 1140 (lang_enter_overlay): Remove LMA and crossref arguments.
9f88b410
RS
1141 (lang_enter_overlay_section): Don't set the LMA here.
1142 (lang_leave_overlay): Take LMA and crossref arguments. Move the '.'
1143 assignment to the last section's update_dot_tree. Unconditionally
1144 use the load and run-time regions specified in the OVERLAY statement.
1145 Likewise the first section's LMA. Only set the other sections' LMAs
1146 when no load region is given.
1147
b9a743c8
NC
11482002-05-06 Nick Clifton <nickc@redhat.com>
1149
1150 * po/sv.po: New translation.
1151
a3d60be3
AM
11522002-05-04 Alan Modra <amodra@bigpond.net.au>
1153
1154 * emultempl/hppaelf.em (build_section_lists): New function.
1155 (gld${EMULATION_NAME}_finish): Call elf32_hppa_setup_section_lists
1156 and build_section_lists.
1157
b7a26f91
KH
11582002-05-03 Kazu Hirata <kazu@cs.umass.edu>
1159
1160 * ld.h: Fix formatting.
1161 * ldexp.c: Likewise.
1162 * ldfile.c: Likewise.
1163 * ldlang.c: Likewise.
1164 * ldmain.c: Likewise.
1165 * lexsup.c: Likewise.
1166 * pe-dll.c: Likewise.
1167
805fc799
AM
11682002-05-02 Alan Modra <amodra@bigpond.net.au>
1169
1170 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
1171 Adjust for ppc64_elf_set_toc change. #include libbfd.h.
1172 (build_section_lists): Do output_section tests here.
1173
cc7e59b2
TR
11742002-04-30 Tom Rix <trix@redhat.com>
1175
1176 * emultempl/aix.em : (gld*_parse_arge): Formatting changes.
1177
9c1d81c1
AM
11782002-05-01 Alan Modra <amodra@bigpond.net.au>
1179
1180 Long branch stubs, multiple stub sections.
1181 * emultempl/ppc64elf.em: Include ldctor.h.
1182 (stub_file): New var.
1183 (group_size): New var.
1184 (ppc_create_output_section_statements): New function.
1185 (struct hook_stub_info): New.
1186 (hook_in_stub): New function.
1187 (ppc_add_stub_section): New function.
1188 (ppc_layout_sections_again): New function.
1189 (build_section_lists): New function.
1190 (gld${EMULATION_NAME}_finish): Rewrite.
1191 (real_func): New var.
1192 (ppc_for_each_input_file_wrapper): New function.
1193 (ppc_lang_for_each_input_file): New function.
1194 (lang_for_each_input_file): Define.
1195 (PARSE_AND_LIST_PROLOGUE): Define.
1196 (PARSE_AND_LIST_LONGOPTS): Define.
1197 (PARSE_AND_LIST_OPTIONS): Define.
1198 (PARSE_AND_LIST_ARGS_CASES): Define.
1199 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
1200
aa67bccf
TR
12012002-04-30 Tom Rix <trix@redhat.com>
1202
a59f3d35
AM
1203 * emultempl/aix.em (gld*_parse_arge, gld*_before_allocation): Add
1204 -blibpath, -bnolibpath support.
1205
94349e12
MM
12062002-04-30 Mark Mitchell <mark@codesourcery.com>
1207
1208 * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o.
1209 (eelf32ppcwindiss.c): New target.
1210 * Makefile.in: Regenerated.
1211 * configure.tgt: Add support for powerpc-*-windiss.
1212 * emulparams/elf32ppcwindiss.sh: New file.
a59f3d35 1213
7b17f854
RS
12142002-04-30 Richard Sandiford <rsandifo@redhat.com>
1215
1216 * ldlang.c (print_assignment): Update print_dot for assignments to ".".
1217 * ldexp.c (exp_print_token): Add "infix_p" argument.
1218 (exp_print_tree): Update accordingly.
1219
596dafeb
AM
12202002-04-28 Alan Modra <amodra@bigpond.net.au>
1221
1222 * Makefile.am (mpw): New maintainer mode rule to make mpw-*.c files.
1223 * Makefile.in: Regenerate.
1224 * mpw-elfmips.c: Delete.
1225 * mpw-eppcmac.c: Delete.
1226 * mpw-esh.c: Delete.
1227 * mpw-idtmips.c: Delete.
1228
219576a4 12292002-04-17 J"orn Rennecke <joern.rennecke@superh.com>
a44d7f9c
JR
1230
1231 * emulparams/shelf32.sh (MACHINE): Now sh5.
1232
944cd72c
TS
12332002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1234
1235 * ldgram.y: Fix syntax warning.
1236
5835c212
NC
12372002-04-11 Nick Clifton <nickc@cambridge.redhat.com>
1238
1239 * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Add 'n' in order
1240 to prevent "-n" from being taken as an abbreviation for
1241 "--no-pipeline-knowledge".
1242
024531e2
AM
12432002-04-08 Alan Modra <amodra@bigpond.net.au>
1244
d08a14c3
AM
1245 * ldlang.c (lang_size_sections_1): Don't complain about
1246 SEC_NEVER_LOAD sections having no memory region specified.
1247
024531e2
AM
1248 * ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix.
1249
c657a1f0
MG
12502002-04-07 matthew green <mrg@redhat.com>
1251
1252 * ld/configure.host (*-*-netbsd*): Add support for NetBSD/ELF.
1253
61bef6f1
AM
12542002-04-04 Alan Modra <amodra@bigpond.net.au>
1255
1256 * dep-in.sed: Cope with absolute paths.
1257 * Makefile.am (dep.sed): Subst TOPDIR and BFDDIR.
1258 Run "make dep-am".
1259 * Makefile.in: Regenerate.
1260
49ba2791
TS
12612002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1262
1263 * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options.
1264
50e60fb5
JJ
12652002-04-03 Jakub Jelinek <jakub@redhat.com>
1266
1267 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size
1268 is smaller than maximum, round dot up to common page boundary.
1269
6f12f4ca
AM
12702002-03-28 Alan Modra <amodra@bigpond.net.au>
1271
1272 * configure.host: Set up for generic hosts first, then tweak as
1273 necessary in more specific targets.
1274 (HOSTING_LIBS): Include libgcc_eh.a if found.
1275
a8f1f017
AJ
12762002-03-23 Andreas Jaeger <aj@suse.de>
1277
1278 * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it.
1279
1d3fdf38
AM
12802002-03-21 Alan Modra <amodra@bigpond.net.au>
1281
1282 * Makefile.am: Run "make dep-am".
1283 * Makefile.in: Regenerate.
1284
79b1faa8
AM
12852002-03-21 Albert Chin-A-Young <china@thewrittenword.com>
1286
1287 * genscripts.sh (LIB_SEARCH_DIRS): Quote path.
1288
fcf0e35b
AM
12892002-03-20 Alan Modra <amodra@bigpond.net.au>
1290
1291 * ldlang.c (ldlang_add_undef): If the output bfd has been opened,
1292 add the symbol to the linker hash table immediately.
1293 (lang_place_undefineds): Split symbol creation out..
1294 (insert_undefined): ..to here.
1295
fed2999d
DB
12962002-03-18 David O'Brien <obrien@FreeBSD.org>
1297
1298 * emultempl/elf32.em: Use lbasename vs. basename to fix problem where
1299 the contents of the buffer returned from basename function will are
1300 getting overwritten while still being used.
1301
219576a4
NC
13022002-03-18 Jan Hubicka <jh@suse.cz>
1303 Andreas Jaeger <aj@suse.de>
1304 Andreas Schwab <schwab@suse.de>
beb43bb9
JH
1305
1306 * configure.tgt (x86_64-*-linux-gnu*): Configure i386 as native.
1307 * elf_x86_64.sh (ARCH): Set to i386:x86-64
1308 set libraries to default to lib64 paths.
1309
eb1e0e80
NC
13102002-03-18 Tom Rix <trix@redhat.com>
1311
1312 * Makefile.am : Add eaix5ppc and eaix5rs6, AIX 5 support.
1313 * configure.tgt : Same.
1314 * emulparms/aix5ppc.sh : New file. For eaix5ppc.
1315 * emulparms/aix5rs6.sh : New file. For eaix5rs6.
1316 * emulparms/aixppc.sh : OUPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT
1317 emulation parameters for better -b32, -b64 support.
1318 * emulparms/aixrs6.sh : Same.
1319 * emulparms/ppcmacos.sh : Same.
1320 * emultempl/aix.em (choose_target) : Use new emulation parameters
1321 OUTPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT.
1322 * Makefile.in : Regenerate.
1323
a1c259a1
NC
13242002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
1325
1326 * po/fr.po: Updated version.
1327
862120bd
AM
13282002-03-18 Alan Modra <amodra@bigpond.net.au>
1329
1330 * ldmain.c (main): Move .text readonly flag fudges from here..
1331 * ldlang.c (lang_process): ..to here.
1332
d35a52e2
AM
13332002-03-14 Alan Modra <amodra@bigpond.net.au>
1334
1335 * ldlang.c (lang_check): Remove the word size check added in last
1336 change. Treat emitrelocations case as for relocatable links.
1337
9ce88e60
NC
13382002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1339
1340 * po/fr.po: Updated version.
1341
30cba025
AM
13422002-03-13 Alan Modra <amodra@bigpond.net.au>
1343
1344 * ldlang.c (lang_check): Do relocatable link checks first, so that
1345 warn_mismatch can't override. Check compatible and word size too.
1346
84ec0e6d
DJ
13472002-03-07 Daniel Jacobowitz <drow@mvista.com>
1348
1349 * ld.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
1350
2d13d8c5
JJ
13512002-03-05 Jakub Jelinek <jakub@redhat.com>
1352
1353 * scripttempl/elf.sc: Only use DATA_SEGMENT_END() together with
1354 DATA_SEGMENT_ALIGN.
1355
b5090659
L
13562002-03-04 H.J. Lu <hjl@gnu.org>
1357
1358 * scripttempl/elf.sc: Put .preinit_array, .init_array and
1359 .fini_array in the data segment.
1360
f42ce16e
AM
13612002-03-04 Alan Modra <amodra@bigpond.net.au>
1362
1363 * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit.
1364
de77b6ac
RH
13652002-03-01 David Mosberger <davidm@hpl.hp.com>
1366
1367 * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array,
1368 .init_array, and .fini_array.
1369
997e08c0
AS
13702002-02-20 Andreas Schwab <schwab@suse.de>
1371
1372 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold
1373 .IA64_unwind* in a relocatable link.
1374
9a66911f
NC
13752002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1376
1377 * NEWS: Mark 2.12 branch.
1378
d86bcc10
MS
13792002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
1380
1381 * emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit".
1382 * emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit".
1383
69f284c7
TR
13842002-02-18 Tom Rix <trix@redhat.com>
1385
1386 * emultempl/aix.em (gld*_parse_args): Add -brtl support.
1387 (gld*_before_allocation): Same.
a8f1f017 1388 (gld*_create_output_section_statements): Generate
69f284c7
TR
1389 __rtinit if run time linking. Add librtl.a to the link.
1390 (gld*_read_file): Clean.
1391
82bd7b59
AM
13922002-02-18 Alan Modra <amodra@bigpond.net.au>
1393
1394 * emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define.
1395
ac3e50bf
DB
13962002-02-18 David O'Brien <obrien@FreeBSD.org>
1397
6a7f963b 1398 * Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd,
ac3e50bf
DB
1399 eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd,
1400 and eelf64alpha_fbsd.
6a7f963b 1401 * Makefile.in: Regenerate.
ac3e50bf
DB
1402 * configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd,
1403 x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd):
1404 use a FreeBSD-specific emulation rather than the psABI one.
1405 * emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value
1406 for all FreeBSD ELF systems.
1407 * emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI
1408 emulation.
1409 * emulparams/elf32ppc_fbsd.sh: Likewise.
1410 * emulparams/elf64_ia64_fbsd.sh: Likewise.
1411 * emulparams/elf64_sparc_fbsd.sh: Likewise.
1412 * emulparams/elf64alpha_fbsd.sh: Likewise.
1413 * emulparams/elf_i386_fbsd.sh: Likewise.
1414 * emulparams/elf_x86_64_fbsd.sh: Likewise.
1415
6ad738c5
NC
14162002-02-18 Nick Clifton <nickc@cambridge.redhat.com>
1417
1418 * po/tr.po: Updated version.
1419
9673c93c
AM
14202002-02-18 Alan Modra <amodra@bigpond.net.au>
1421
1422 * ld.texinfo (Output Section Fill): Fix amateur texinfo.
1423 (FILL): Likewise.
1424
1c5e6447
HPN
14252002-02-17 Hans-Peter Nilsson <hp@bitrange.com>
1426
1427 * emultempl/mmo.em (mmo_after_open): Don't call
1428 _bfd_mmix_check_all_relocs when producing ELF output.
1429
8bb57516
RH
14302002-02-15 Richard Henderson <rth@redhat.com>
1431
de77b6ac 1432 * emulparams/elf64alpha.sh (NOP): Adjust for big-endian
8bb57516
RH
1433 definition. Emit a unop+nop pair.
1434
49fda6c8
HPN
14352002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1436
83c2d653
HPN
1437 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check
1438 for presence of .MMIX.reg_contents.linker_allocated before early
1439 exit.
1440
49fda6c8
HPN
1441 * NEWS: Mention support for MMIX.
1442
2c382fb6
AM
14432002-02-15 Alan Modra <amodra@bigpond.net.au>
1444
1445 Support arbitrary length fill patterns.
a139d329
AM
1446 * ld.texinfo (Output Section Fill): Describe fill expressions.
1447 (FILL): Refer to the above.
2c382fb6
AM
1448 * ldexp.h (etree_value_type): Add "str" field.
1449 (union etree_union): Add "str" to "value" struct.
1450 (exp_bigintop): Declare.
1451 (exp_get_fill): Declare.
1452 * ldexp.c: Include "safe-ctype.h".
1453 (exp_intop): Set value.str to NULL.
1454 (exp_bigintop): New function.
1455 (new_rel): Pass in "str", and set new.str from it.
1456 (new_rel_from_section): Set new.str to NULL.
1457 (fold_name): Adjust calls to new_rel.
1458 (exp_fold_tree): Likewise.
1459 (exp_get_fill): New function.
1460 * ldgram.y (struct big_int bigint, fill_type *fill): New.
1461 (INT): Returns a "bigint". Adjust all code handling INTs.
1462 (fill_opt): Returns a "fill".
1463 (fill_exp): Split out of fill_opt, use for FILL.
1464 * ldlang.h (struct _fill_type): New.
1465 (fill_type): Move typedef to ldexp.h.
1466 (lang_output_section_statement_type): "fill" is now a pointer.
1467 (lang_fill_statement_type): Likewise.
1468 (lang_padding_statement_type): Likewise.
1469 (lang_add_fill): Now takes a "fill_type *" param.
1470 (lang_leave_output_section_statement): Likewise.
1471 (lang_do_assignments): Likewise.
1472 (lang_size_sections): Likewise.
1473 (lang_leave_overlay_section): Likewise.
1474 (lang_leave_overlay): Likewise.
1475 * ldlang.c: Include ldgram.h after ldexp.h.
1476 (lang_output_section_statement_lookup): Adjust for fill_type change.
1477 (print_fill_statement): Likewise.
1478 (print_padding_statement): Likewise.
1479 (insert_pad): Now takes a "fill_type *" arg.
1480 (size_input_section): Likewise.
1481 (lang_size_sections_1): Likewise.
1482 (lang_size_sections): Likewise.
1483 (lang_do_assignments): Likewise.
1484 (lang_add_fill): Likewise.
1485 (lang_leave_output_section_statement): Likewise.
1486 (lang_leave_overlay_section): Likewise.
1487 (lang_leave_overlay): Likewise.
1488 Adjust all callers of the above function.
1489 * ldlex.l: Include ldgram.h after ldexp.h. Allow hex numbers
1490 starting with "0X" as well as "0x". Return bigint.str for hex
1491 numbers starting with "0x" or "0X", zero bigint.str otherwise.
1492 Always use base 16 for numbers starting with "$".
1493 * ldmain.c: Include ldgram.h after ldexp.h.
1494 * ldwrite.c (build_link_order): Use bfd_data_link_order in place
1495 of bfd_fill_link_order.
1496 * pe-dll.c: Adjust lang_do_assignments calls.
1497 * emultempl/elf32.em: Likewise.
1498 * emultempl/hppaelf.em: Likewise.
1499 * emultempl/ppc64elf.em: Likewise.
1500 * emultempl/beos.em: Include ldgram.h after ldexp.h, adjust
1501 lang_add_assignment call.
1502 * emultempl/pe.em: Likewise.
1503
313e35ee
AM
15042002-02-14 Phil Edwards <pme@gcc.gnu.org>
1505
a139d329 1506 * ld.texinfo (VERSION scripts): Symbol names are globbing patterns.
313e35ee
AM
1507 * ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern;
1508 the pattern in question is not a regexp.
1509 * ldlang.c: Likewise.
1510 * ldlang.h: Likewise.
1511 * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also.
1512
2d20f7bf
JJ
15132002-02-12 Jakub Jelinek <jakub@redhat.com>
1514
1515 * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
1516 * ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
1517 (exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp).
1518 * ldexp.c (exp_data_seg): New variable.
1519 (exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END.
1520 (fold_binary): Handle DATA_SEGMENT_ALIGN.
1521 (exp_fold_tree): Handle DATA_SEGMENT_END.
1522 Pass allocation_done when recursing instead of hardcoding
1523 lang_allocating_phase_enum.
1524 * ldexp.h (exp_data_seg): New.
1525 * ldlang.c (lang_size_sections_1): Renamed from lang_size_sections.
1526 (lang_size_sections): New.
1527 * ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document.
1528 * scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END
1529 if COMMONPAGESIZE is defined.
1530 * emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K.
1531 * emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K.
1532 * emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K.
1533 * emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K.
1534 * emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared
1535 libraries only.
1536
06880219
AM
15372002-02-11 Alan Modra <amodra@bigpond.net.au>
1538
1539 * Makefile.in: Regenerate.
1540
37b0ac0f
DJ
15412002-02-10 Daniel Jacobowitz <drow@mvista.com>
1542
1543 * lexsup.c: Remove strtoul declaration.
1544
4e5bae56
DJ
15452002-02-10 Daniel Jacobowitz <drow@mvista.com>
1546
1547 * ldmain.c: Add prototype for main ().
1548 * lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H.
1549 * emultempl/lnk960.em (lnk960_choose_target): Function should
1550 take two arguments.
1551
1e281515
AM
15522002-02-10 Alan Modra <amodra@bigpond.net.au>
1553
1554 * ldlang.c (entry_section): New initialised variable.
1555 (lang_finish): Use it.
1556 * ldlang.h (entry_section): Declare.
1557 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Set
1558 entry_section to ".opd".
1559
f92d92ff 15602002-02-09 Chris Demetriou <cgd@broadcom.com>
0a9c1c8e
CD
1561
1562 * ld.texinfo (Options): Add back in -nostdlib documentation,
1563 which had been inadvertently removed.
1564
74c44237
HPN
15652002-02-09 Hans-Peter Nilsson <hp@bitrange.com>
1566
1567 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Adjust
1568 register section vma to a sane value after emitting error. Make
1569 fatal conditions cause program exit when emitting message.
1570
5e37cc46
NC
15712002-02-08 Ivan Guzvinec <ivang@opencores.org>
1572
1573 * configure.tgt: Add or32-*-rtems target.
1574
2d92cb7d
AO
15752002-02-08 Alexandre Oliva <aoliva@redhat.com>
1576
1577 Contribute sh64-elf.
1578 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1579 * emulparams/shelf32.sh (STACK_ADDR): Define as formerly defined
1580 in OTHER_RELOCATABLE_SECTIONS.
1581 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
1582 * emulparams/shelf32.sh (STACK_ADDR): Define.
1583 (OTHER_RELOCATABLE_SECTIONS): Renamed to...
1584 (OTHER_SECTIONS): this. Removed stack settings.
1585 * emulparams/shelf64.sh (OTHER_RELOCATABLE_SECTIONS): Do not set.
1586 (OTHER_SECTIONS): Reset after sourcing shelf32.sh.
1587 2001-03-12 DJ Delorie <dj@redhat.com>
1588 * emultempl/sh64elf.em (sh64_elf_$_before_allocation): Disable
1589 relaxing if any shmedia or mixed sections are found.
1590 2001-03-07 DJ Delorie <dj@redhat.com>
1591 * emultempl/sh64elf.em (sh64_elf_before_allocation): Pass f to
1592 einfo. Gracefully decline to output to non-elf formats.
1593 2001-03-06 Hans-Peter Nilsson <hpn@redhat.com>
1594 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS) <.stack>:
1595 Default to _end aligned to next multiple of 0x40000, plus 0x40000.
1596 * emulparams/shelf32.sh: Ditto.
1597 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
1598 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Tweak
1599 comment.
1600 2001-01-10 Ben Elliston <bje@redhat.com>
1601 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Avoid
1602 non-portable shell constructs. From Hans-Peter Nilsson.
1603 2001-01-09 Hans-Peter Nilsson <hpn@cygnus.com>
1604 * emulparams/shelf64.sh (EXTRA_EM_FILE): Define empty.
1605 * Makefile.am (eshelf64.c, eshlelf64.c, eshlelf32.c): Adjust
1606 dependencies to the shell script include chain.
1607 * Makefile.in: Regenerate.
1608 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
1609 * emultempl/sh64elf.em: Update and tweak comments.
1610 (sh64_elf_${EMULATION_NAME}_after_allocation): Always allocate and
1611 make a .cranges section SEC_IN_MEMORY.
1612 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
1613 * emultempl/sh64elf.em
1614 (sh64_elf_${EMULATION_NAME}_before_allocation): Don't stop when
1615 .cranges section found to be necessary; continue and set stored
1616 section contents flags for sections with non-mixed contents.
1617 Use a struct sh64_section_data container and sh64_elf_section_data
1618 to store contents-type flags.
1619 Remove unused update of "isec".
1620 (sh64_elf_${EMULATION_NAME}_after_allocation): Only process
1621 sections marked SHF_SH5_ISA32_MIXED. Use sh64_elf_section_data to
1622 access contents-type flags. Assert that the associated container
1623 is initialized. Use that container, not elf_gp_size, to hold size
1624 of linker-generated cranges contents.
1625 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
1626 * emultempl/sh64elf.em
1627 (sh64_elf_${EMULATION_NAME}_before_allocation): Exit early if
1628 there's already a .cranges section. When section flag difference
1629 is found, don't NULL-check cranges a second time. Tweak comments.
1630 (sh64_elf_${EMULATION_NAME}_after_allocation): Use size after
1631 merging, not max size, as size of ld-generated .cranges contents.
1632 Don't set ELF section flags in output section. When checking for
1633 needed .cranges descriptors, don't use a variable; compare
1634 incoming ELF section flags directly to SHF_SH5_ISA32_MIXED. Tweak
1635 comments.
1636 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
1637 * emultempl/sh64elf.em: New file.
1638 * Makefile.am (eshelf32.c, eshlelf32.c): Adjust dependencies.
1639 * Makefile.in: Regenerate.
1640 * emulparams/shelf32.sh (OUTPUT_FORMAT): Only set if not set.
1641 (OTHER_RELOCATING_SECTIONS): Ditto.
1642 (EXTRA_EM_FILE): New, set to sh64elf if not set.
1643 * emulparams/shlelf32.sh: Stub out all settings except
1644 OUTPUT_FORMAT. Source shelf32.sh.
1645 * emulparams/shelf64.sh: Similar, but also keep ELF_SIZE and
1646 OTHER_RELOCATING_SECTIONS.
1647 (OTHER_RELOCATING_SECTIONS): Remove .cranges.
1648 * emulparams/shlelf64.sh: Stub out all settings except
1649 OUTPUT_FORMAT. Source shelf64.sh.
1650 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
1651 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS): Include
1652 .cranges section.
1653 (DATA_START_SYMBOLS): Define, provide ___data.
1654 (OTHER_READONLY_SYMBOLS): Define, provide ___rodata and align to 8
1655 for consecutive .data section.
1656 (OTHER_GOT_SECTIONS): Define, align to 8 for consecutive .bss
1657 section after .data section.
1658 * emulparams/shlelf64.sh: Ditto.
1659 * emulparams/shelf32.sh: Ditto.
1660 (ALIGNMENT): Define to 8.
1661 * emulparams/shelf32.sh: Ditto.
1662 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
1663 * configure.tgt (sh64-*-elf*): Assign targ_extra_libpath to get
1664 built-in linker scripts.
1665 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
1666 * emulparams/shlelf64.sh: New.
1667 * emulparams/shelf64.sh: New.
1668 * configure.tgt (sh64-*-elf*): Add shelf64 and shlelf64 to
1669 targ_extra_emuls.
1670 * Makefile.am: Add support for shlelf64 and shelf64.
1671 * Makefile.in: Regenerate.
1672 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
1673 * configure.tgt (sh64-*-elf*): Add shelf as default.
1674 Add shlelf to targ_extra_emuls.
1675 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
1676 * emulparams/shelf32.sh: New file.
1677 * emulparams/shlelf32.sh: New file.
1678 * Makefile.am: Add support for shlelf32 and shelf32.
1679 * configure.tgt: Map sh64-*-elf* to shlelf32 and shelf32.
1680 * Makefile.in: Regenerate.
1681
e3dc8847
HPN
16822002-02-05 Hans-Peter Nilsson <hp@axis.com>
1683
1684 * ldlang.c (lang_reset_memory_regions): Rename from
1685 reset_memory_regions. Change all callers. Make public.
1686 * ldlang.h (lang_reset_memory_regions): Prototype.
1687 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call
1688 lang_reset_memory_regions before lang_size_sections.
126730bd
HPN
1689 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
1690 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise.
e3dc8847 1691
8017dbcb
HPN
16922002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
1693
1694 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signed
1695 arithmetic when checking for too many global registers.
1696
006336b8
JT
16972002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
1698
1699 * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o.
1700 (ehppanbsd.c): New rule.
1701 * Makefile.in: Regenerate.
1702 * configure.tgt (hppa*-*-netbsd*): New target.
1703 * emulparams/hppalinux.sh: Add comment to check other files
1704 that source this file it is modified, and list which
1705 files that do.
1706 * emulparams/hppanbsd.sh: New file.
1707
da1f2fec
GK
17082002-02-01 Geoffrey Keating <geoffk@redhat.com>
1709
1710 * scripttempl/xstormy16.sc: Don't allocate extra space for the
1711 stack.
1712
48fa4a5d
HPN
17132002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
1714
1715 Support on-demand global register allocation from
1716 R_MMIX_BASE_PLUS_OFFSET relocs.
1717 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from
1718 mmix_set_reg_section_vma. Call
1719 _bfd_mmix_finalize_linker_allocated_gregs.
1720 (mmix_before_allocation): New function.
1721 (LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation.
1722 (LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation.
1723 * scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP.
1724 (.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated
1725 before .MMIX.reg_contents.
1726 * emultempl/mmo.em (gldmmo_before_allocation): Define to default.
1727 (mmo_after_open): New function.
1728 (LDEMUL_AFTER_OPEN): Define to mmo_after_open.
1729 * emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting. Add
1730 .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents.
1731
3b16e843
NC
17322002-01-31 Ivan Guzvinec <ivang@opencores.org>
1733
1734 * emulparams/or32.sh: New file.
1735 * emulparams/or32elf.sh: New file.
1736 * scripttempl/or32.sc: New file.
1737 * configure.tgt : Add support for or32.
1738 * configure: Regenerate
1739 * Makefile.am: Add support for or32.
1740 * Makefile.in: Regenerate.
1741 * NEWS: Mention support for or32.
1742 * po/ld.pot: Regenerate.
1743
f744d540 17442002-01-29 Chris Demetriou <cgd@broadcom.com>
313e35ee 1745 Mitch Lichtenberg <mpl@broadcom.com>
f744d540
CD
1746
1747 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself.
1748 * emultempl/mipself.em: New file to handle MIPS ELF embedded
1749 reloc creation (ld --embedded-relocs).
1750
4867be41
DJ
17512002-01-27 Daniel Jacobowitz <drow@mvista.com>
1752
1753 * configure: Regenerated.
1754
cd8e197b
HPN
17552002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1756
1757 * Makefile.am (install): Depend on install-info.
1758 * Makefile.in: Regenerate.
1759
9cb61eab
AM
17602002-01-26 Christian Rose <menthos@menthos.com>
1761
1762 * ldmain.c (main): Use full sentences to ease translation.
1763
1caa7b23
NC
17642002-01-26 Nick Clifton <nickc@cambridge.redhat.com>
1765
1766 * po/fr.po: Updated version.
1767
1ddbd152
NC
17682002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
1769
1770 * po/es.po: Updated version.
1771
1e84433f
AJ
17722002-01-25 Andreas Jaeger <aj@suse.de>
1773
1774 * ldlex.l (yy_input): Correct error check.
1775
6d39955e
AM
17762002-01-25 Alan Modra <amodra@bigpond.net.au>
1777
1778 * ldmisc.c (demangle): Put back dots when string not demangled.
1779
a9ed1e1b
RH
17802002-01-22 Richard Henderson <rth@redhat.com>
1781
1782 * emulparams/elf64alpha.sh (NOP): Use unop.
1783
968ec2b9
AJ
17842002-01-21 Andreas Jaeger <aj@suse.de>
1785
1786 * ldlex.l: Use fread instead of read.
1787
9596feea
JT
17882002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
1789
1790 * configure.tgt (ia64-*-netbsd*): New target.
1791
493a6d47
L
17922002-01-21 H.J. Lu <hjl@gnu.org>
1793
1794 * emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to
1795 0.
1796 * emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise.
1797
2a538ba5
AJ
17982002-01-18 Andreas Jaeger <aj@suse.de>
1799
1800 * ldver.c (ldversion): Update year.
1801
328577ad
NC
18022002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1803
1804 * po/ld.pot: Regenerate.
1805
1f808cd5
AM
18062002-01-16 Alan Modra <amodra@bigpond.net.au>
1807
1808 * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em.
1809 * Makefile.in: Regenerate.
1810 * emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define.
1811 * emultempl/ppc64elf.em: New file.
1812
335c5610
DD
18132002-01-15 DJ Delorie <dj@redhat.com>
1814
1815 * scripttempl/pe.sc: Add support for constructor priorities.
1816
c40bbade
DC
18172002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
1818
1819 * emulparams/avr1200.sh (DATA_START): Define as 0x60.
1820 * emulparams/avr23xx.sh: Likewise.
1821 * emulparams/avr4433.sh: Likewise.
1822 * emulparams/avr44x4.sh: Likewise.
1823 * emulparams/avr85xx.sh: Likewise.
1824 * emulparams/avrmega103.sh: Likewise.
1825 * emulparams/avrmega161.sh: Likewise.
1826 * emulparams/avrmega603.sh: Likewise.
1827 * scripttempl/elf32avr.sc: Use DATA_START instead of 0x60.
1828
34efb449
AO
18292002-01-08 Alexandre Oliva <aoliva@redhat.com>
1830
1831 * ldlang.c (walk_wild_section): Exclude object file if enclosing
1832 archive is excluded.
1833
8d05742f
JT
18342002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
1835
1836 * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o.
2a538ba5 1837 (eshelf_nbsd.c): New rule.
8d05742f
JT
1838 (eshlelf_nbsd.c): New rule.
1839 * Makefile.in: Regenerate.
1840 * configure.tgt (sh*le-*-netbsdelf*): New target.
1841 (sh*-*-netbsdelf*): New target.
1842 * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file.
1843 * ld/emulparams/shelf_nbsd.sh: New emulation.
1844 * ld/emulparams/shlelf_nbsd.sh: New emulation.
1845
be2d1673
NC
18462002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
1847
1848 * po/es.po: New file: Spanish translation.
1849 * configure.in (ALL_LINGUAS): Add es.
1850 * configure: Regenerate.
1851
dbab7a7b
NC
18522002-01-06 John Marshall <jmarshall@acm.org>
1853
1854 * ld.texinfo: Note that --emit-relocs is currently only
1855 implemented for ELF.
1856
3dfe7a8c
AM
18572002-01-05 Alan Modra <amodra@bigpond.net.au>
1858
1859 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use
1860 of bfd_section_list_remove and bfd_section_list_insert macros.
1861 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1862 * emultempl/mmo.em (mmo_place_orphan): Likewise.
1863
8a8b2d4b
AJ
18642002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
1865
1866 * configure.tgt (x86_64-*-netbsd*): New target.
1867
9a4c7f16
TR
18682001-12-21 Tom Rix <trix@redhat.com>
1869
8a8b2d4b 1870 (gld*_create_output_section_statements): New function.
9a4c7f16
TR
1871 For -binitfini support.
1872 * emultempl/aix.em (gld*_before_parse): Fix comment.
1873 * emultempl/aix.em (gld*_parse_args): Fix comment.
1874
3695c299
AM
18752001-12-20 Jason Thorpe <thorpej@wasabisystems.com>
1876
cf86e6df
AM
1877 * configure.tgt (mips*-dec-netbsd*): Delete alias for
1878 mips*el-*-netbsd*.
1879 (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls.
1880
3695c299
AM
1881 * configure.tgt (arm-*-netbsdelf*): Add target.
1882 (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls.
1883 * emulparams/armelf_nbsd.sh: Added.
1884 * Makefile.am: Add rules for earmelf_nbsd.
1885 * Makefile.in: Regenerate.
1886
97cb79ae
AJ
18872001-12-19 Andreas Jaeger <aj@suse.de>,
1888 Susanne Oberhauser <froh@suse.de>
1889
1890 * configure.host: Add rules for x86_64-*linux-gnu. Change
1891 s390x-linux entry to use gcc to report configuration, replace gcc
1892 with $CC in s390-linux
1893
9d201f2f
AJ
18942001-12-19 Andreas Jaeger <aj@suse.de>
1895
1896 * ld.texinfo (VERSION): Fix markup.
1897
0b69cd08
MG
18982001-12-18 matthew green <mrg@eterna.com.au>
1899
1900 * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o.
1901 (m68kelfnbsd.c): New rule.
1902 * Makefile.in: Regenerate.
1903 * configure.tgt (m68*-hp-netbsd*): Renamed to ..
1904 (m68*-*-netbsd*4k*): .. this.
1905 (m68*-*-netbsdelf*): New target.
1906 (m68*-*-netbsd*): Also include ELF support.
1907 (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*.
1908 * emulparams/m68kelfnbsd.sh: New emulation.
1909
6b9b879a
JJ
19102001-12-18 Jakub Jelinek <jakub@redhat.com>
1911
1912 * ldgram.y (vers_node): Support anonymous version tags.
1913 * ldlang.c (lang_register_vers_node): Ensure anonymous version
1914 tag is not defined together with non-anonymous versions.
1915 * ld.texinfo: Document it.
1916
9fc877ed
NC
19172001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1918
1919 * po/tr.po: New file: Turkish translation.
1920 * configure.in (ALL_LINGUAS): Add tr.
1921 * configure: Regenerate.
1922
fc18a3f3
RH
19232001-12-17 Jason Thorpe <thorpej@wasabisystems.com>
1924
1925 * Makefile.am: Add rules for eelf64alpha_nbsd.
1926 * Makefile.in: Regenerate.
1927 * configure.tgt (alpha*-*-netbsd*): Set
1928 targ_emul to elf64alpha_nbsd.
1929 * emulparams/elf64alpha_nbsd.sh: Added.
1930
76f63e91
AM
19312001-12-17 Alan Modra <amodra@bigpond.net.au>
1932
1933 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust
1934 section_tail when fiddling with section list.
1935 (gld${EMULATION_NAME}_list_options): Ensure sentences aren't
1936 broken into separate strings to make translation easier.
1937 * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when
1938 fiddling with section list.
1939 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1940
d03b89bd
HPN
19412001-12-16 Hans-Peter Nilsson <hp@bitrange.com>
1942
1943 * scripttempl/mmo.sc: Add .debug_ranges to listed sections.
1944
320fec9a
AM
19452001-12-15 Alan Modra <amodra@bigpond.net.au>
1946
1947 * ldmain.c (main): Initialise link_info.eh_frame_hdr.
1948
65765700
JJ
19492001-12-13 Jakub Jelinek <jakub@redhat.com>
1950
1951 * emultempl/elf32.em (finish): Supply output_bfd
1952 to bfd_elf*_discard_info.
1953 (OPTION_EH_FRAME_HDR): Define.
1954 (longopts): Add --eh-frame-hdr.
1955 (parse_args): Handle it.
1956 (list_options): Add --eh-frame-hdr to help.
1957 * emultempl/hppaelf.em (finish): Supply output_bfd
1958 to bfd_elf*_discard_info.
1959 * scripttempl/elf.sc (.eh_frame_hdr): Add.
1960
89894c62
AM
19612001-12-13 Alan Modra <amodra@bigpond.net.au>
1962
1963 * lexsup.c (parse_args): Don't pass shortopts to second call to
1964 getopt functions. Restore optind rather than decrementing before
1965 second call. Remove errind as it now duplicates last_optind.
1966
583f1926
CF
19672001-12-11 Christopher Faylor <cgf@redhat.com>
1968
1969 * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo.
1970
93fbbb04
GK
19712001-12-07 Geoffrey Keating <geoffk@redhat.com>
1972 Richard Henderson <rth@redhat.com>
1973
1974 * Makefile.am: Add support for xstormy16.
1975 * configure.tgt: Add support for xstormy16.
1976 * Makefile.in: Regenerate.
1977 * emulparams/elf32xstormy16.sh: New file.
1978 * scripttempl/xstormy16.sc: New file.
1979
583f1926
CF
19802001-10-01 Christopher Faylor <cgf@cygnus.com>
1981
fc18a3f3
RH
1982 * Makefile.in (LIB_PATH): Make configurable.
1983 (GENSCRIPTS): Set LIB_PATH in environment.
1984 * configure.in: Substitute LIB_PATH.
1985 * configure: Regenerate.
1986 * configure.tgt (*cygwin): Set LIB_PATH for cross build.
1987 * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS.
583f1926 1988
ff291a48
NC
19892001-12-07 Nick Clifton <nickc@cambridge.redhat.com>
1990
1991 * lexsup.c (ld_options): Insert 'PROGRAM' into the text string
1992 describing the -N option so that it is easier to translate into
1993 foreign languages.
1994
e3c8793a
NC
19952001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1996
1997 * emultempl/pe.em (..._list_options): Replace multiple fprintf
1998 statements describing a single option with a single, newline
1999 escaped fprintf. This allows better translation into other
2000 languages.
9d201f2f 2001
fc18a3f3
RH
2002 * ldmain.c (add_archive_element): Combine multiple strings
2003 into a single string to permit better translation into other
2004 languages.
e3c8793a 2005
f2eab0af
TR
20062001-12-05 Tom Rix <trix@redhat.com>
2007
2008 * Makefile.am: Remove eaixppc64.
9d201f2f 2009 * Makefile.in: Regenerate.
f2eab0af 2010
249172c3
TR
20112001-12-04 Tom Rix <trix@redhat.com>
2012
9d201f2f 2013 * emultempl/aix.em (choose_target): Change default target to
249172c3
TR
2014 OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler
2015 warning.
2016 (gld*_read_file): Fix typo.
2017 (change_symbol_mode): Add prototype.
2018 (is_syscall): Same.
9d201f2f 2019
249172c3
TR
2020 * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete.
2021 * emulparams/aixrs6.sh : Same.
2022 * emulparams/ppcmacos.sh : Same.
2023 * emulparams/aixppc64.sh : Delete file.
2024 * emultempl/aix.em : Formatting changes.
2025
5b5cd1b0
HPN
20262001-12-04 Hans-Peter Nilsson <hp@axis.com>
2027
2028 * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes.
2029 (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting
2030 __Sbss.
2031 (OTHER_END_SYMBOLS): Fix formatting.
2032 * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes.
2033 (OTHER_END_SYMBOLS): Fix formatting.
2034
7cecdbff
AM
20352001-12-04 Alan Modra <amodra@bigpond.net.au>
2036
2037 * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT.
2038
742aeb63 20392001-12-02 Tom Rix <trix@redhat.com>
7cecdbff 2040
742aeb63 2041 * configure.tgt : Remove eaixppc64 emulations.
7cecdbff 2042 * Makefile.in : Remove eaixppc64.c
742aeb63
TR
2043 * ldemul.c (ldemul_choose_target): New parameters argc, argv.
2044 (ldemul_default_target): Same.
2045 * emultempl/gld960.em (gld960_choose_target): Same.
7cecdbff
AM
2046 * emultempl/gld960c.em (gld960_choose_target): Same.
2047 * scripttempl/aix.sc: Remove OUTPUT_FORMAT.
742aeb63
TR
2048 * emultempl/aix.em (is_syscall): syscall_mask now a variable.
2049 * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable.
2050 * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation.
7cecdbff 2051 * emultempl/aix.em (choose_target): New function. Handle emulation of
742aeb63
TR
2052 -b32 and -b64.
2053
48459341
L
20542001-11-27 H.J. Lu <hjl@gnu.org>
2055
2056 * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes.
2057 * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise.
2058 * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise.
2059 * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise.
2060 * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise.
2061 * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise.
2062 * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise.
2063 * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise.
2064
7cecdbff 2065 * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA}
48459341
L
2066 is not empty.
2067 (SDATA): Likewise.
2068 (REL_SDATA): Likewise.
2069 (REL_SBSS): Likewise.
2070 (REL_SDATA2): Likewise.
2071 (REL_SBSS2): Likewise.
2072 (SBSS2): Define if ${NO_SMALL_DATA} is not empty.
2073 (SDATA2): Likewise.
2074
ecfdd20c
SC
20752001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2076
2077 * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
2078 destructor in rom.
7cecdbff 2079 * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.
ecfdd20c 2080
da54c6eb
L
20812001-11-22 H.J. Lu <hjl@gnu.org>
2082
2083 * Makefile.in: Regenerated with automake based on automake
2084 1.4-8 in RedHat 7.1.
2085
465bc359
AM
20862001-11-22 Alan Modra <amodra@bigpond.net.au>
2087
2088 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
2089 (config.status): Delete rule.
2090 Add extra dependencies to cover sourced emulparams files.
2091 * Makefile.in: Regenerate.
2092
2093 * scripttempl/elf.sc: Order <section>, <section>.* and
2094 corresponding linkonce sections as seen in input files.
2095 Formatting fixes. Zero vma of all sections if not relocating.
2096 (STACK): Define and insert if STACK_ADDR defined.
2097 (OTHER_RELOCATING_SECTIONS): Delete.
2098 (OTHER_END_SYMBOLS): Define.
2099 (OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
2100 (OTHER_READWRITE_SECTIONS): Likewise.
2101 (OTHER_GOT_SECTIONS): Likewise.
2102 (OTHER_SDATA_SECTIONS): Likewise.
2103 (OTHER_BSS_SECTIONS): Likewise.
2104 * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
2105 (OTHER_READWRITE_SECTIONS): Likewise.
2106 * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
2107 (OTHER_READWRITE_SECTIONS): Likewise
2108
2109 * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
2110 (STACK_ADDR): Define.
2111 * emulparams/armelf_oabi.sh: As for armelf.sh.
2112 * emulparams/elf32mcore.sh: As for armelf.sh.
2113 * emulparams/h8300elf.sh: As for armelf.sh.
2114 * emulparams/mn10200.sh: As for armelf.sh.
2115 * emulparams/shelf.sh: As for armelf.sh.
2116
2117 * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
2118 (OTHER_END_SYMBOLS): Define.
2119 * emulparams/m32relf.sh: As for elf32fr30.sh.
2120 * emulparams/h8300helf.sh: As for elf32fr30.sh.
2121 * emulparams/h8300self.sh: As for elf32fr30.sh.
2122
2123 * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
2124 defines with RELOCATING test.
2125 (OTHER_SDATA_SECTIONS): Likewise.
2126 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
2127 (OTHER_END_SYMBOLS): ..this.
2128 * emulparams/crislinux.sh: As for criself.sh.
2129
2130 * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
2131 if not relocating.
2132 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
2133 (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order
2134 normal and linkonce sections as seen in input files.
2135 * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
2136 (TEXT_DYNAMIC): Likewise.
2137 (INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
2138 (OTHER_SDATA_SECTIONS): Likewise.
2139 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
2140 * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
2141 * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
2142 * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
2143 * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
2144 (OTHER_PLT_RELOC_SECTIONS): Likewise.
2145 (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce
2146 sections as seen in input files.
2147 * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
2148 * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
2149 if not relocating.
2150 (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
2151 (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
2152 * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
2153 (OTHER_SECTIONS): Instead, use this..
2154 (OTHER_END_SYMBOLS): ..and this.
2155
2156 * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
2157 * emulparams/elf32bsmip.sh: Likewise.
2158 * emulparams/elf32btsmip.sh: Likewise.
2159 * emulparams/elf32ebmip.sh: Likewise.
2160 * emulparams/elf32lmip.sh: Likewise.
2161 * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
2162 * emulparams/elf32lsmip.sh: Likewise.
2163 * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
2164 * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
2165 * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
2166 * emulparams/elf64btsmip.sh: Likewise.
2167 * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
2168 * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
2169 * emulparams/elf32ppclinux.sh: Likewise.
2170 * emulparams/elf32ppcsim.sh: Likewise.
2171 * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
2172 * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
2173 * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
2174 * emulparams/h8300self.sh: Likewise.
2175 * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
2176 * emulparams/sh.sh: Comment.
2177 * emulparams/shl.sh: Source sh.sh, remove duplicates.
2178 * emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
2179 * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
2180
abc6ab0a
AM
21812001-11-21 David Heine <dlheine@tensilica.com>
2182 Alan Modra <amodra@bigpond.net.au>
2183
2184 * ldlang.c (map_input_to_output_sections): Replace "break"
2185 accidentally removed with 2001-08-03 change.
2186 (lang_gc_sections_1): Likewise.
2187
2181f54f
AM
21882001-11-21 Alan Modra <amodra@bigpond.net.au>
2189
2190 * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
2191
ca0b5847
AM
21922001-11-20 Angela Marie Thomas <angela@redhat.com>
2193
2194 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
2181f54f
AM
2195 of false when calling lang_size_sections.
2196 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
ca0b5847 2197
c56feb2b
AM
21982001-11-15 Alan Modra <amodra@bigpond.net.au>
2199
2200 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
2201 function when LDEMUL_FINISH isn't set to the same name. Don't
2202 call ${LDEMUL_FINISH}.
2203 (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined.
2204 * emultempl/armelf.em (arm_elf_finish): Call
2205 gld${EMULATION_NAME}_finish.
2206 * emultempl/hppaelf.em (hppaelf_finish): Rename to
2207 gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and
2208 hppaelf_layout_sections_again if necessary.
2209 (need_laying_out): New var.
2210 (hppaelf_layaout_sections_again): Rename to
2211 hppaelf_layout_sections_again. Clear need_laying_out.
2212 (PARSE_AND_LIST_OPTIONS): Format text.
2213
a48ca7f2
L
22142001-11-14 H.J. Lu <hjl@gnu.org>
2215
2216 * emultempl/armelf.em (arm_elf_finish): Renamed from
2217 gld${EMULATION_NAME}_finish.
2218 (LDEMUL_FINISH): Set to arm_elf_finish.
2219
73d074b4
DJ
22202001-11-14 Daniel Jacobowitz <drow@mvista.com>
2221
2222 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New.
2223 (struct ld_emulation_xfer_struct): Use it.
2224
3b16e843 22252001-11-13 Ross Alexander <ross.alexander@uk.neceur.com>
fc65c602 2226
465bc359 2227 * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add
fc65c602
JL
2228 additional symbols referenced by newer crt0.o files from HP.
2229
f11b7027
NC
22302001-11-12 Anthony Green <green@redhat.com>
2231
2232 * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol.
2233
3bf2994f
AM
22342001-11-12 Alfred M. Szmidt <ams@kemisten.nu>
2235
2236 * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.
2237 * Makefile.in: Regenerate.
2238
ff5dcc92
SC
22392001-11-02 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2240
2241 * ld.texinfo: Use @command for commands, @option for options.
2242 * Makefile.am (POD2MAN): Use 'GNU Development Tools' for
2243 the page man title.
2244 * Makefile.in: Rebuild.
2245
9fb9af6e
CD
22462001-11-04 Chris Demetriou <cgd@broadcom.com>
2247
2248 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
2249 Add support for targets.
2181f54f 2250
3c62831e
NC
22512001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
2252
2253 * configure.in (ALL_LINGUAS): Add "fr" and "sv"
2254 * configure: Regernate.
2255 * po/fr.po: New file.
2256 * po/sv.po: New file.
2257
3a9091c4
NC
22582001-11-01 NIIBE Yutaka <gniibe@m17n.org>
2259
2260 * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls
2261 as little endian default and to support big endian.
2181f54f 2262
361b220e
CD
22632001-11-01 Chris Demetriou <cgd@broadcom.com>
2264
2265 * ld.texinfo (Options): Document new option, -nostdlib.
2266 * lexsup.c (OPTION_NOSTDLIB): New definition.
2267 (ld_options): Add entry for "nostdlib".
2268 (parse_args): Handle OPTIONS_NOSTDLIB.
2269 * ldfile.c (ldfile_add_library_path): Don't add directories
2270 to the search path if they weren't specified on the command line
2271 and -nostdlib was specified.
2272 * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
2273
210a7bd1
NC
22742001-10-31 Nick Clifton <nickc@cambridge.redhat.com>
2275
2276 * lexsup.c (parse_args): Prevent infinite parsing loop when
2277 "-rpath.a" is specified on the command line.
2278 Replace calls to fprintf with calls to einfo.
2279
114283d8
NC
22802001-10-31 John Marshall <jmarshall@acm.org>
2281
2282 * ld.texinfo: A historical requirement that MEMORY and SECTIONS
2283 appear only once across all the linker scripts involved in a link
2284 invocation no longer applies. Make the documentation reflect
2285 that.
2286
7649aa50
NC
22872001-10-31 NIIBE Yutaka <gniibe@m17n.org>
2288
2289 * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
2290 targets.
2291 (sh-*-linux*): Added targ_extra_libpath.
2292
6e814ff8
AM
22932001-10-31 David Heine <dlheine@tensilica.com>
2294
2295 * ldlang.c (lang_size_sections): Keep a valid output_offset field
2296 for padding statements.
2297
3c3bdf30
NC
22982001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
2299
2300 * configure.tgt (mmix-*-*): New target.
2301 * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o.
2302 Add dependencies to match.
2303 * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em,
2304 emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em,
2305 scripttempl/mmo.sc: New files.
2306 * gen-doc.texi: @set MMIX.
2307 * ld.texinfo: Ditto.
6e814ff8 2308 [MMIX] Add MMIX node.
3c3bdf30
NC
2309 * Makefile.in: Regenerate.
2310
ca0c1d3e
KH
23112001-10-29 Kazu Hirata <kazu@hxi.com>
2312
2313 * ldlang.c: Fix a comment typo.
2314
1a3d33ce
AM
23152001-10-23 Alan Modra <amodra@bigpond.net.au>
2316
2317 * configure.host: Move alpha*-*-linux-gnu* entry to generic
2318 entries, and match *-*-linux*.
2319
b47c4208
AM
23202001-10-20 Alan Modra <amodra@bigpond.net.au>
2321
2322 * ldgram.y (mri_script_command): Surround processing of INCLUDE
2323 with ldlex_script, ldlex_popstate.
2324 (ifile_p1): Likewise.
2325 * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the
2326 correct slot.
2327 (lex_push_file): Save current lineno to lineno_stack. Set lineno
2328 to 1. Don't BEGIN(SCRIPT).
2329 (lex_redirect): Similarly.
2330 * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
2331
fd521b47
NC
23322001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
2333
2334 * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and
2335 __EH_FRAME_END__ and accept eh frames into data section.
2336 Add ctor and dtor sections.
2337
59d28a94
DD
23382001-10-19 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2339
2340 * pe-dll.c (autofilter_objectlist): Add gcrt0.o.
2341 (auto-export): Fix indentation.
2342
663dd378
DD
23432001-10-18 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2344
2345 * pe-dll.c (autofilter_objectlist): Add startup objects
2346 for profiling.
2347 (auto-export): Constify char * p.
6e814ff8 2348 Extract file basename and use strcmp rather than ststr
663dd378
DD
2349 for object lookup.
2350
31d677f9
CD
23512001-10-18 Chris Demetriou <cgd@broadcom.com>
2352
2353 * ldmain.c (get_emulation): Improve comment about the handling
2354 of -mipsN options.
2355
aa200fe8
AM
23562001-10-17 Alan Modra <amodra@bigpond.net.au>
2357
2358 * po/POTFILES.in: Regenerate.
2359
146e7110
AM
23602001-10-16 Vassili Karpov <malc@pulsesoft.com>
2361
2362 * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
2363 -z nocopyreloc and -z nocombreloc usage strings.
2364
b4330e85
NC
23652001-10-12 Vassili Karpov <malc@pulsesoft.com>
2366
146e7110 2367 * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc
b4330e85
NC
2368 in usage.
2369
5af8a2fb
NC
23702001-10-11 Aleksey Romanov <aromanov@ennovatenetworks.com>
2371
2372 * scripttempl/armaout.sc: Place .bss section after end of aligned
2373 data section to match behaviour of aout code in constructrion of
2374 header.
2375
5b784096
DD
23762001-10-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2377
2378 * pe-dll.c (autofilter_entry_type autofilter_liblist: Add
2379 startup files for mingw32 dlls to list.
2380
61585df2
CD
23812001-10-10 Chris Demetriou <cgd@broadcom.com>
2382
2383 * emultempl/elf32.em: Fix shell 'if' usage for portability.
2384
45cf6f3e
AH
23852001-10-08 Aldy Hernandez <aldyh@redhat.com>
2386
2387 * configure.tgt (targ): Add arm9e-*-elf.
2388
e24d7c12
L
23892001-10-05 H.J. Lu <hjl@gnu.org>
2390
2391 * genscripts.sh: Fix a typo in the last change.
2392
ec38dd05
JJ
23932001-10-05 Jakub Jelinek <jakub@redhat.com>
2394
2395 * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
2396 -z nocombreloc in usage.
2397
cedd6b0d
JB
23982001-10-03 Jim Blandy <jimb@redhat.com>
2399
2400 * genscripts.sh: Include a comment at the top of each generated
2401 script, explaining its purpose.
2402
8bd621d8
AM
24032001-10-03 Vassili Karpov <malc@pulsesoft.com>
2404
2405 * emultempl/elf32.em (parse_args): Handle -z nocopyreloc.
2406 * NEWS: Mention -z nocopyreloc.
2407 * ld.texinfo (Options): Describe nocopyreloc.
2408
fcd8210c
AM
24092001-10-03 Alan Modra <amodra@bigpond.net.au>
2410
2411 * configure: Regenerate.
2412
d32820f2
AM
24132001-10-02 Alan Modra <amodra@bigpond.net.au>
2414
2415 * ldver.h (ld_program_version): Remove declaration.
2416 * lexsup.c (parse_args): Move printing of copyright message..
2417 * ldver.c (ldversion): .. to here.
2418 Use BFD_VERSION_STRING in place of BFD_VERSION.
2419 (ld_program_version): Remove.
2420 * Makefile.am (Makefile): Depend on bfd/configure.in.
2421 Run "make dep-am".
2422 * Makefile.in: Regenerate.
2423
af46bcdc
HPN
24242001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
2425
2426 * Makefile.am: Update dependencies with "make dep-am".
2427 * Makefile.in: Regenerate.
2428
4818e05f 24292001-09-29 John Reiser <jreiser@BitWagon.com>
862517b6 2430
4818e05f
AM
2431 * ldlang.c (lang_common): Conditionally inhibit Common allocation.
2432 * lexsup.c: Add --no-define-common commandline option.
2433 * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
2434 * ldlex.l: Likewise.
2435 * ld.h: Add command_line.inhibit_common_definition.
2436 * ldmain.c (main): Initialize.
2437 * ld.texinfo: Document.
862517b6 2438
a59f3d35
AM
24392001-09-29 Alan Modra <amodra@bigpond.net.au>
2440
2441 * ldlang.c (section_already_linked): Remove assignment to kept_section.
2442
d5e0ebeb
AM
24432001-09-26 Alan Modra <amodra@bigpond.net.au>
2444
2445 * ldmisc.c (USE_STDARG): Remove.
2446 (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
2447 (einfo): Likewise.
2448 (minfo): Likewise.
2449 (lfinfo): Likewise.
2450
2451 * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
2452 declarations. Update copyright.
2453
2f8d8971
NC
24542001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
2455
85c77458
NC
2456 * pe-dll.c: Remove obsoleted declaration of
2457 pe_get_data_import_dll_name.
2458 (pe_create_import_fixup): Fix thinko.
2459
2f8d8971
NC
2460 * ld.texinfo(enable-auto-import): Clarify the explanation.
2461
24622001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
2463
2464 * pe-dll.c (pe_create_import_fixup): Revert previous patch.
2465 * emultemp/pe.em (pe_data_import_dll): Move definition outside of
2466 DLL_SUPPORT controlled code.
2467
72358f65 24682001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
146e7110 2469
72358f65
NC
2470 * emultempl/pe.em(pe_data_import_dll): Make static.
2471 (pe_get_data_import_dll_name): New accessor function.
146e7110 2472 * pe-dll.c(pe_create_import_fixup): call
72358f65
NC
2473 pe_get_data_import_dll_name() from pe.em, instead of
2474 directly accessing pe_data_import_dll variable from pe.em.
2475
3882b010
L
24762001-09-18 Bruno Haible <haible@clisp.cons.org>
2477
2478 * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>.
2479 (def_file_add_directive): Use ISSPACE instead of isspace.
2480 (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
2481 isdigit/isxdigit/isalpha/isalnum.
2482 * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>.
2483 (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
2484 * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>.
2485 (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
2486 isalnum.
2487 * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>.
2488 (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
2489 isupper/tolower.
2490 * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>.
2491 (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
2492 * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>.
2493 (ctor_prio): Use ISDIGIT instead of isdigit.
2494 * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>.
2495 (ldfile_open_file_search): Use ISALPHA instead of isalpha.
2496 (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
2497 isupper/tolower.
2498 * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>.
2499 (stricpy): Use TOLOWER instead of isupper/tolower.
2500 (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
2501 * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>.
2502 (lex_warn_invalid): Use ISPRINT instead of isprint.
2503 * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>.
2504 (main): For gettext, also set the LC_CTYPE locate facet.
2505 (add_keepsyms_file): Use ISSPACE instead of isspace.
2506 * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>.
2507 (is_num, parse_args): Use ISDIGIT instead of isdigit.
2508 * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>.
2509 (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
2510 * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>.
2511 (gldppcmacos_read_file): Use ISSPACE instead of isspace.
2512 * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>.
2513 (quoteput): Use ISSPACE instead of isspace.
2514 (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
2515 instead of isalnum.
2516
db09f25b
AM
25172001-09-18 Alan Modra <amodra@bigpond.net.au>
2518
2519 * deffilep.y (def_stash_module): Constify "name" param.
2520
2521 * pe-dll.c: Replace CONST with const throughout.
2522 (quick_symbol): Constify "n1", "n2", "n3" params.
2523 (make_singleton_name_thunk): Constify "import" param. Make
2524 "buffer_len" a size_t.
2525 (make_import_fixup_entry): Constify "name", "fixup_name",
2526 "dll_symname" params.
2527 (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread.
2528 (pe_get32): Likewise.
2529 (pe_implied_import_dll): Likewise.
2530
2531 * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
2532 (sort_by_section_name): Likewise.
2533
2534 * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
2535 (make_import_fixup): Cast printf arg, rel->address to long rather
2536 than int.
2537 (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
2538
74699268
AM
25392001-09-15 Alan Modra <amodra@bigpond.net.au>
2540
2541 * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
2542 defines BufferSize. Increase buffer size by one.
2543
775cabad
NC
25442001-09-14 Ralf Habacker <Ralf.Habacker@freenet.de>
2545
2546 * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
2547
056a1d49
NC
25482001-09-14 Kevin Lo <kevlo@openbsd.org>
2549
2550 * configure.tgt: Add arm-openbsd target.
2551
a7d792bb
L
25522001-09-12 H.J. Lu <hjl@gnu.org>
2553
2554 * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
2555 eelf64lppc.o to ...
2556 (ALL_64_EMULATIONS): Here.
2557 * Makefile.in: Regenerated.
2558
0d888aac
CW
25592001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
2560
2561 * emultempl/pe.em(make_import_fixup): change signature to
2562 take asection as well as arelec; we need this for proper
146e7110 2563 error reporting. Only call pe_create_import_fixup() if
0d888aac
CW
2564 there is no attempt to add a constant addend to the reloc;
2565 otherwise, report error condition.
2566 * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
2567 since final argument is a pointer to make_import_fixup().
2568 Change call to cb() to match make_import_fixup() signature.
2569 (make_import_fixup_mark): make buffer_len unsigned.
2570 * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
2571
25722001-09-12 Charles Wilson <cwilson@ece.gatech.edu>
2573
2574 * ld.texinfo: add verbose documentation for auto-import
146e7110 2575 direct-addressing workaround, to compliment the terse
0d888aac
CW
2576 error message.
2577
cedacdc0
CM
25782001-09-12 Andrew MacLeod <amacleod@redhat.com>
2579
146e7110 2580 * scripttempl/v850.sc: Add gcc_except_table sections.
cedacdc0 2581
3b16e843 25822001-09-11 Jeffrey A Law (law@cygnus.com)
38be0bb1
JL
2583
2584 * emulparams/h8300helf.sh: Move stack to a much higher memory address.
2585 * emulparams/h8300self.sh: Similarly.
2586
559e4713
NC
25872001-09-05 Danny Smith <dannysmith@users.souceforge.net>
2588
2589 * ld.texinfo (Options, --stack): Correct default value for stack
2590 reserve.
2591
1fdf0249
TR
25922001-09-05 Tom Rix <trix@redhat.com>
2593
2594 * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
146e7110 2595
9b5799b8
AJ
25962001-09-03 Andreas Jaeger <aj@suse.de>
2597
2598 * emultempl/beos.em: Declare prototypes for comparions functions,
2599 adjust definitions.
2600
48f6162b
AJ
26012001-09-02 Andreas Jaeger <aj@suse.de>
2602
2603 * emultempl/aix.em: Add missing prototype.
2604 * emultempl/lnk960.em: Likewise.
2605 * emultempl/vanilla.em: Likewise.
2606 * emultempl/armcoff.em: Likewise.
2607 * emultempl/armelf_oabi.em: Likewise.
2608 * emultempl/beos.em: Likewise.
2609 * emultempl/gld960c.em: Likewise.
2610 * emultempl/gld960.em: Likewise.
2611
2612 * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
2613 for prototype declaration.
2614
39e5585e
EC
26152001-08-31 Eric Christopher <echristo@redhat.com>
2616 Jason Eckhardt <jle@redhat.com>
2617
2618 * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
2619
3fc90ddb
AJ
26202001-08-31 Andreas Jaeger <aj@suse.de>
2621
2622 * emultempl/pe.em: Add missing prototypes.
2623 (gld_${EMULATION_NAME}_after_open): Remove extra args to
2624 pe_find_data_imports.
2625 (pr_sym): Add unused attribute.
2626
d43ded80
PB
26272001-08-29 Joel Sherrill <joel@OARcorp.com>
2628
39e5585e 2629 * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
d43ded80
PB
2630 default from coff to elf.
2631
3946dd2f
JL
26322001-08-29 Jeff Law <law@redhat.com>
2633
2634 * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update
2635 ARCH specification.
2636 * emulparams/h8300self.sh: Similarly.
2637
3b16e843 26382001-08-28 J"orn Rennecke <amylaar@redhat.com>
8af6dd41
JR
2639
2640 * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
2641 eh8300self.o .
2642 (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
2643 * configure.tgt (h8300-*-elf*): New case.
2644 * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
2645 * emulparams/h8300self.sh: New file.
2646 * Makefile.in: Regenerated.
2647
70d0c6e9
NC
26482001-08-28 Nick Clifton <nickc@cambridge.redhat.com>
2649
2650 * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
2651 with macro name.
2652
5c67d4bb
AM
26532001-08-27 Linus Nordberg <linus@swox.com>
2654 Alan Modra <amodra@bigpond.net.au>
2655
2656 * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
2657 (eelf64ppc.c, eelf64lppc.c): Add make targets.
2658 Run "make dep-am"
2659 * Makefile.in: Regenerate.
2660 * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj
2661 entries to correct alphabetical position.
2662 * emulparams/elf64ppc.sh: New.
2663 * emulparams/elf64lppc.sh: New.
2664
08131015
NC
26652001-08-27 Nick Clifton <nickc@cambridge.redhat.com>
2666
2667 * ldmain.c (main): Declare BSIZE as static.
2668
db6751f2
JJ
26692001-08-23 Jakub Jelinek <jakub@redhat.com>
2670
2671 * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
2672 into .rel.dyn resp. .rela.dyn if combreloc.
2673 (get_script): If .x linker script is equal to .xn, only put it
2674 once into the binary.
2675 Add .xc and .xsc scripts.
2676 (parse_args): Handle -z combreloc and -z nocombreloc.
2677 * scripttempl/elf.sc (.rela.sbss): Fix a typo.
2678 For .xc and .xsc scripts put all .rel* or .rela* input sections
2679 but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
2680 * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
2681 is elf.
2682 Strip trailing whitespace from script.
2683 Generate .xc and .xsc scripts if requested.
2684 * ldmain.c (main): Initialize link_info.combreloc and
2685 link_info.spare_dynamic_tags.
2686 * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
2687 (ld_options): Add --spare-dynamic-tags option.
2688 (parse_args): Likewise.
2689 * ld.texinfo: Document -z combreloc and -z nocombreloc.
2690 * ldint.texinfo: Document .xc and .xsc linker scripts.
2691 * NEWS: Add notes about -z combreloc and SHF_MERGE.
2692
63d069c0
L
26932001-08-22 H.J. Lu <hjl@gnu.org>
2694
2695 * emulparams/elf32fr30.sh: Add a newline.
2696
948f9114
AJ
26972001-08-21 Andreas Jaeger <aj@suse.de>
2698
2699 * deffilep.y: Add missing prototypes.
2700 * pe-dll.c: Likewise.
2701
ae7fb08f
AM
27022001-08-20 Alan Modra <amodra@bigpond.net.au>
2703
2af02257
AM
2704 * ldlang.c (insert_pad): Fix typos in last patch.
2705
2706 * ldlang.c: When traversing lang_statement_union_type lists,
2707 consistently use "header.next" rather than "next".
2708 * mpw-eppcmac.c: Likewise.
2709 * emultempl/beos.em: Likewise.
2710 * emultempl/hppaelf.em: Likewise.
2711 * emultempl/pe.em: Likewise.
2712 * ldlang.h (union lang_statement_union): Remove "next" field.
2713
c0c330a7
AM
2714 * ldlang.c (insert_pad): Use offsetof macro.
2715 (lang_size_sections): Always neuter padding statements.
2716 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
2717
ae7fb08f
AM
2718 * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
2719 passed to lang_size_sections.
2720 (pe_exe_fill_sections): Likewise.
2721 * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
2722 (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
2723
fab80407
AM
27242001-08-18 Alan Modra <amodra@bigpond.net.au>
2725
2726 * emultempl/aix.em: Formatting fixes.
2727
b3327aad
AM
27282001-08-18 Alan Modra <amodra@bigpond.net.au>
2729
2730 * ldlang.c (insert_pad): Make use of an existing pad statement if
2731 available. Move code calculating alignment, adjusting section
2732 alignment power, and adjusting dot to ..
2733 (size_input_section): .. here. Remove unused relax param.
2734 (lang_size_sections): Change boolean `relax' param to boolean *.
2735 Adjust call to size_input_section. Make use of insert_pad to
2736 place pad after the assignment statement. If relaxing, zap
2737 padding statements.
2738 (reset_memory_regions): Reset output_bfd section sizes too.
2739 (relax_again): Move to..
2740 (lang_process): ..here. Adjust call to lang_size_sections, and
2741 remove duplicated code.
2742 * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
2743
563e308f
AM
27442001-08-17 Alan Modra <amodra@bigpond.net.au>
2745
2746 * ld.texinfo: Document that fill values now use the four least
2747 significant bytes.
2748 * emulparams/elf32fr30.sh (NOP): Update.
2749 * emulparams/elf32mcore.sh: Likewise.
2750 * emulparams/elf64_s390.sh: Likewise.
2751 * emulparams/elf_i386.sh: Likewise.
2752 * emulparams/elf_i386_be.sh: Likewise.
2753 * emulparams/elf_i386_chaos.sh: Likewise.
2754 * emulparams/elf_i386_ldso.sh: Likewise.
2755 * emulparams/elf_s390.sh: Likewise.
2756 * emulparams/elf_x86_64.sh: Likewise.
2757 * emulparams/i386moss.sh: Likewise.
2758 * emulparams/i386nw.sh: Likewise.
2759 * emulparams/m68kelf.sh: Likewise.
2760 * scripttempl/elf.sc: Update NOP comment.
2761 * scripttempl/elfi370.sc: Likewise.
2762 * scripttempl/elfm68hc11.sc: Likewise.
2763 * scripttempl/elfm68hc12.sc: Likewise.
2764 * scripttempl/nw.sc: Likewise.
2765
b90e1c6f
TR
27662001-08-15 Tom Rix <trix@redhat.com>
2767
2768 * ldgram.y (saved_script_handle): Initialize to NULL.
2769 * ldmain.c (main): Change check on saved_script_handle.
948f9114 2770
39dcfe18
AM
27712001-08-14 Alan Modra <amodra@bigpond.net.au>
2772
cde43e70
AM
2773 * emultempl/elf32.em: Formatting fixes.
2774 (output_prev_sec_find): Test for bfd_ind_section too; do so by
2775 looking at sec->owner.
2776 (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
2777 (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove
2778 unused code, and reorganize orphan section placement code.
2779
39dcfe18
AM
2780 * ldlang.c (wild_doit): Rename to lang_add_section.
2781 * ldlang.h: Here too.
2782 * mpw-elfmips.c: And here.
2783 * emultempl/beos.em: And here.
2784 * emultempl/elf32.em: And here.
2785 * emultempl/hppaelf.em: And here.
2786 * emultempl/pe.em: And here.
2787
908d20b3
RH
27882001-08-13 Richard Henderson <rth@redhat.com>
2789
2790 * emultempl/needrelax.em: New file.
2791 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
2792 * Makefile.am (eelf64_ia64.c): Depend on it.
2793 * Makefile.in: Rebuild.
2794
0f33d40b
AM
27952001-08-13 Alan Modra <amodra@bigpond.net.au>
2796
22af9fd3
AM
2797 * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
2798 output_section is set non-NULL.
2799
0f33d40b
AM
2800 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
2801 `true' for SEC_EXCLUDE sections so that the generic code doesn't
2802 needlessly create an output_section_statement. Treat a correctly
2803 named output_section_statement with NULL bfd_section as compatible.
2804
55ab6103
HPN
28052001-08-13 Hans-Peter Nilsson <hp@bitrange.com>
2806
2807 * emultempl/generic.em: Support EXTRA_EM_FILE.
2808 (ld_${EMULATION_NAME}_emulation): Support emulation parameters
2809 LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
2810 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
2811 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
2812 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
2813 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
2814 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
2815 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
2816 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
2817 LDEMUL_FIND_POTENTIAL_LIBRARIES.
2818
24098abb
RH
28192001-08-12 Richard Henderson <rth@redhat.com>
2820
2821 * scripttempl/elf.sc, scripttempl/elfd30v.sc,
2822 scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
2823 scripttempl/v850.sc: Keep .jcr data.
2824
b9a8de1e 28252001-08-12 H.J. Lu <hjl@gnu.org>
146e7110
AM
2826 Andrew Haley <aph@cambridge.redhat.com>
2827 Nick Clifton <nickc@redhat.com>
b9a8de1e 2828
146e7110 2829 * ldgram.y (had_script): Change name to saved_script_handle.
b9a8de1e
NC
2830 Change type to file handle.
2831 * ld.h (had_script): Rename and retype.
2832 * ldfile.c (ldfile_open_command_file): Save the file handle
2833 used in saved_script_handle.
2834 * lexsup.c (parse_args): Do not allow -c option to alter
2835 saved_script_handle.
2836 * ldmain.c (main): Print out the linker script used if
2837 --verbose is given. Check saved_script_handle to obtain the
2838 external linker script used, or if NULL, dump the builtin
2839 script.
2840 * ld.texinfo: Document that --verbose now dumps the linker
2841 script used, regardless of whether it was an internal or an
2842 external script.
2843
0218d1e4
AJ
28442001-08-10 Andreas Jaeger <aj@suse.de>
2845
2846 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2847 to build warnings.
2848 * configure: Regenerate.
2849
5253f23b
AM
28502001-08-09 Alan Modra <amodra@bigpond.net.au>
2851
73810896
AM
2852 * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
2853
5253f23b
AM
2854 * scripttempl/elf.sc: Move non-text .dynamic section before
2855 .plt/.got/.sdata* group.
2856 (OTHER_GOT_SECTIONS): Move to immediately after .got.
2857 (OTHER_SDATA_SECTIONS): Add.
2858 * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
2859 OTHER_GOT_SECTIONS.
2860 * emulparams/crislinux.sh: Likewise.
2861 * emulparams/elf32b4300.sh: Likewise.
2862 * emulparams/elf32bmip.sh: Likewise.
2863 * emulparams/elf32bmipn32.sh: Likewise.
2864 * emulparams/elf32bsmip.sh: Likewise.
2865 * emulparams/elf32btsmip.sh: Likewise.
2866 * emulparams/elf32ebmip.sh: Likewise.
2867 * emulparams/elf32elmip.sh: Likewise.
2868 * emulparams/elf32l4300.sh: Likewise.
2869 * emulparams/elf32lmip.sh: Likewise.
2870 * emulparams/elf32lsmip.sh: Likewise.
2871 * emulparams/elf32ltsmip.sh: Likewise.
2872 * emulparams/elf64bmip.sh: Likewise.
2873 * emulparams/elf64btsmip.sh: Likewise.
2874 * emulparams/elf64ltsmip.sh: Likewise.
2875
179c732c
AM
28762001-08-08 Alan Modra <amodra@bigpond.net.au>
2877
2878 * genscripts.sh: Source the emulparams script before each output
2879 script is generated so that variables like `RELOCATING' may affect
2880 variables defined in the emulparams script.
2881
3fd36710
AM
28822001-08-04 Alan Modra <amodra@bigpond.net.au>
2883
20713691
AM
2884 * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
2885 order.
2886
3fd36710
AM
2887 * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
2888 ie. iterate over wild_statement.section_list.
2889 (gld${EMULATION_NAME}_place_orphan): Likewise.
2890
de0b1853
SC
28912001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2892
2893 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
2894 .fini[0-4] sections used by _exit
2895 (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
2896 (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
2897 * scripttempl/elfm68hc11.sc: Likewise.
2898
ff7e6f88
L
28992001-08-03 H.J. Lu <hjl@gnu.org>
2900
2901 * emultempl/beos.em (init): Add the missing initialization.
2902
b6bf44ba
AM
29032001-08-03 Alan Modra <amodra@bigpond.net.au>
2904
2905 * ld.texinfo (Input Section Basics): Clarify ordering of output
2906 sections.
2907 * ldlang.c (callback_t): Add wildcard_list param.
2908 (walk_wild_section): Remove "section" param. Rewrite for
2909 lang_wild_statement_type change. Remove unique_section_p test.
2910 (walk_wild_file): Remove "section" param.
2911 (walk_wild): Remove "section" and "file" params.
2912 (lang_gc_wild): Likewise.
2913 (wild): Likewise. Modify for lang_wild_statement_type change.
2914 (wild_sort): Likewise. Add "sec" param.
2915 (gc_section_callback): Likewise.
2916 (output_section_callback): Likewise. Do unique_section_p test.
2917 (map_input_to_output_sections): Modify call to wild.
2918 (lang_gc_sections_1): Likewise.
2919 (print_wild_statement): Modify for lang_wild_statement_type
2920 change.
2921 (lang_add_wild): Replace filename, filenames_sorted param with
2922 filespec. Replace section_name, sections_sorted,
2923 exclude_filename_list with section_list.
2924 * ldlang.h (lang_add_wild): Here too.
2925 (lang_wild_statement_type): Replace section_name, sections_sorted,
2926 and exclude_filename_list with section_list.
2927 * ldgram.y (current_file): Delete.
2928 (%union): Add wildcard_list.
2929 (file_NAME_list): Set type to wildcard_list. Build a linked list
2930 rather than calling lang_add_wild for each entry.
2931 (input_section_spec_no_keep): Call lang_add_wild here instead.
2932 * ld.h (struct wildcard_list): Declare.
2933 * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
2934
b044cda1
CW
29352001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
2936
2937 * ldmain.c (main): initialize link_info.pei386_auto_import
2938 * pe-dll.c: new tables for auto-export filtering
2939 (auto_export): change API, pass abfd for contextual filtering.
b6bf44ba 2940 Loop thru tables of excluded symbols instead of comparing
b044cda1
CW
2941 "by hand".
2942
29432001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>
2944
b6bf44ba
AM
2945 * pe-dll.c: new variable pe_dll_enable_extra_debug. New
2946 static variable current_sec (static struct sec *). Add
b044cda1 2947 forward declaration for add_bfd_to_link.
b6bf44ba
AM
2948 (process_def_file): Don't export undefined symbols. Do not
2949 export symbols starting with "_imp__". Call auto_export()
b044cda1
CW
2950 with new API.
2951 (pe_walk_relocs_of_symbol): New function.
2952 (generate_reloc): add optional extra debugging
b6bf44ba 2953 (pe_dll_generate_def_file): eliminate extraneous initial blank
b044cda1 2954 line in output
b6bf44ba 2955 (make_one): enlarge symtab to make room for __nm__ symbols
b044cda1
CW
2956 (DATA auto-import support).
2957 (make_singleton_name_thunk): New function.
2958 (make_import_fixup_mark): New function.
2959 (make_import_fixup_entry): New function.
2960 (pe_create_import_fixup): New function.
b6bf44ba 2961 (add_bfd_to_link): Specify that 'name' argument is a CONST
b044cda1 2962 char *.
b6bf44ba
AM
2963 * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
2964 declare new functions pe_walk_relocs_of_symbol and
b044cda1
CW
2965 pe_create_import_fixup.
2966 * emultempl/pe.em: add new options --enable-auto-import,
2967 --disable-auto-import, and --enable-extra-pe-debug.
2968 (make_import_fixup): New function.
2969 (pe_find_data_imports): New function.
2970 (pr_sym): New function.
b6bf44ba 2971 (gld_${EMULATION_NAME}_after_open): Add optional extra pe
b044cda1
CW
2972 debugging. Call pe_find_data_imports. Mark .idata as DATA, not
2973 CODE.
2974
29752001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
b6bf44ba 2976
b044cda1
CW
2977 * ld.texinfo: add additional documentation for
2978 --export-all-symbols. Document --out-implib,
2979 --enable-auto-image-base, --disable-auto-image-base,
b6bf44ba
AM
2980 --dll-search-prefix, --enable-auto-import, and
2981 --disable-auto-import.
b044cda1
CW
2982 * ldint.texinfo: Add detailed documentation on auto-import
2983 implementation.
2984
156e34dd
NC
29852001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2986
2987 * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
2988 example.
2989
d6231427
AM
29902001-07-24 Alan Modra <amodra@bigpond.net.au>
2991
2992 * Makefile.am: Update dependencies with "make dep-am".
2993 * Makefile.in: Regenerate
2994
e14ec88b
AM
29952001-07-23 Alan Modra <amodra@bigpond.net.au>
2996
2997 * ldcref.c (check_section_sym_xref): New function.
2998 (check_nocrossrefs): Call it.
2999 (check_nocrossref): Interate over h->refs here instead of..
3000 (check_refs): ..here. Pass in the symbol name, section, and bfd
3001 rather than hash_entry pointers.
3002 (struct check_refs_info): Keep symbol name rather than hash entry.
3003 Remove "same".
3004 (check_reloc_refs): Tweak for above changes in check_refs_info.
3005 Only report references to section syms when symname is NULL to
3006 prevent duplicate messages for the same reloc.
3007
1b577b00
NC
30082001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
3009
c7d701b0
NC
3010 * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
3011 available. Do not print NULL trees.
3012 (exp_print_token): Print unknown tokens with values > 126 as
3013 decimal values not ASCII characters.
3014
1545243b
NC
3015 * ldlang.c (lang_leave_overlay): If a region is specified assign
3016 it to all sections inside the overlay unless they have been
3017 assigned to the own, non-default, memory region.
3018
1b577b00
NC
3019 * README: Add header for consistency with other README files.
3020
5030876b
L
30212001-07-14 H.J. Lu <hjl@gnu.org>
3022
3023 * emultempl/elf32.em (output_prev_sec_find): Never return
3024 bfd_abs_section_ptr, bfd_com_section_ptr nor
3025 bfd_und_section_ptr.
3026
18c7a9a5
NC
30272001-07-14 Nick Clifton <nickc@cambridge.redhat.com>
3028
22af9fd3 3029 * Makefile.am (em32relf.c): Change dependency from generic.em to
18c7a9a5
NC
3030 elf32.em.
3031 * Makefile.in: Regenerate.
3032
9ffecff1
MG
30332001-07-14 matthew green <mrg@eterna.com.au>
3034
3035 * configure.tgt (i386-*-netbsdelf*): New target.
3036 (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
3037
95500e1c
JJ
30382001-07-13 Jakub Jelinek <jakub@redhat.com>
3039
3040 * emultempl/elf32.em (output_prev_sec_find): New.
3041 (place_orphan): Use it.
3042
e97cb84f
L
30432001-07-11 H.J. Lu <hjl@gnu.org>
3044
3045 * ldmain.c (main): Fix typos in the last change.
3046
7333607e
JJ
30472001-07-11 Jakub Jelinek <jakub@redhat.com>
3048
3049 * ldmain.c (main): Disallow -F and -f without -shared.
3050
d29d80f2
NC
30512001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
3052
3053 * emultempl/pe.em (after_open): Check for the output_bfd not
3054 having any coff_data structure allocated to it.
3055
c2a1a436
DB
30562001-07-09 David O'Brien <obrien@FreeBSD.org>
3057
3058 * emultempl/elf32.em: Do not assuming that contents of the buffer
3059 returned from basename function will remain unchanged accross other
3060 function calls.
3061
63653551
L
30622001-07-03 H.J. Lu <hjl@gnu.org>
3063
3064 * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
3065 2001-07-03. It creates dynamic entries even for static binaries.
3066
d303a449
L
30672001-07-03 Jakub Jelinek <jakub@redhat.com>
3068
3069 * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
3070 (DYNAMIC): Use it to reserve few dynamic entries for
3071 post-linking tools.
3072
9f22353f
AM
30732001-06-27 Alan Modra <amodra@bigpond.net.au>
3074
3075 * emulparams/hppa64linux.sh: New file.
3076 * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
3077 * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
3078 (ehppa64linux.c): Add rule to make it.
3079 Run "make dep-am".
3080 * Makefile.in: Regenerate.
3081
62bf86b4
HPN
30822001-06-21 Hans-Peter Nilsson <hp@axis.com>
3083
3084 * ld.texinfo (Options, -r): Mention restrictions when using
3085 different object formats.
3086
429d935d
HPN
30872001-06-19 Hans-Peter Nilsson <hp@axis.com>
3088
3089 * ldlang.c (lang_check): Emit fatal error if relocatable link
3090 between different object flavours with relocations in input.
3091
cb840a31
L
30922001-06-19 H.J. Lu <hjl@gnu.org>
3093
3094 * ld.texinfo (-E, --export-dynamic): Mention --version-script.
3095 (--version-script): Mention the language support.
3096
9bf03acc
L
30972001-06-19 H.J. Lu <hjl@gnu.org>
3098
3099 * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
3100
c45021f2
NC
31012001-06-18 H.J. Lu <hjl@gnu.org>
3102
b6bf44ba
AM
3103 * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
3104 (diststuff): Add $(MANS).
3105 * Makefile.in: Regenerated.
c45021f2 3106
b6bf44ba 3107 * ld.1: Removed.
c45021f2 3108
6caa99ab
HPN
31092001-06-18 Hans-Peter Nilsson <hp@axis.com>
3110
605d9b3a
HPN
3111 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
3112 Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
3113 * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
3114 * ld.h (args_type): Remove member export_dynamic. All users
3115 changed to use struct bfd_link_info member.
3116
6caa99ab
HPN
3117 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
3118 $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
3119 * Makefile.in: Regenerate.
3120
6f9efd97
L
31212001-06-18 H.J. Lu <hjl@gnu.org>
3122
3123 * ldlang.c (init_os): Add the newline to the einfo call.
3124 (lang_check): Likewise.
3125 (lang_do_version_exports_section): Likewise.
3126
5af9fd8b
L
31272001-06-15 H.J. Lu <hjl@gnu.org>
3128
3129 * lexsup.c (parse_args); Save optind to report unrecognized
3130 option.
3131
2a096f04
HPN
31322001-06-15 Hans-Peter Nilsson <hp@axis.com>
3133
7e66c3f5
HPN
3134 * ldlang.c (lang_check): Emit fatal error if relocatable link
3135 between different object flavours.
3136
2a096f04
HPN
3137 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
3138 Set new link_info member export_dynamic.
3139 * ldmain.c (main): Initialize new link_info member export_dynamic.
3140
6770ec8c
NC
31412001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
3142
3143 * ldlang.c (walk_wild): Only call walk_wild_file if
3144 lookup_name returns something.
b6bf44ba 3145 (lookup_name): If load_symbols fails, return NULL.
22af9fd3 3146 (load_symbols): Change to a boolean function.
b6bf44ba 3147 (open_input_bfds): If load_symbols fails then do not make the
6770ec8c
NC
3148 executable.
3149
8529105a
AM
31502001-06-08 Alan Modra <amodra@bigpond.net.au>
3151
3152 * ldlang.c (record_bfd_errors): Remove.
3153
3154 * emultempl/aix.em: Fix copyright dates.
3155
8f3aa7a0
AJ
31562001-06-07 Andreas Jaeger <aj@suse.de>
3157
3158 * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
3159 (TEXT_START_ADDR): Likewise.
3160
3277f888
AM
31612001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
3162
3163 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
3164
3763134d
DD
31652001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3166
3167 * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
3168
5929ebc0
L
31692001-05-31 H.J. Lu <hjl@gnu.org>
3170
3171 * ldlang.c (open_input_bfds): Don't change the bfd error
3172 handler whilst loading symbols.
3173
c04a062d
NC
31742001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
3175
3176 * configure.tgt: Remove i370-mvs architecture, it is not currently
3177 supported.
3178
96fcab3e
L
31792001-05-25 H.J. Lu <hjl@gnu.org>
3180
3181 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
3182 like emulparams/aixppc.sh.
3183
db8d4f23
L
31842001-05-25 H.J. Lu <hjl@gnu.org>
3185
3186 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
3187 setting of output_filename after bfd_scan_arch.
3188 * emultempl/pe.em: Likewise.
3189
5f642101
L
31902001-05-25 H.J. Lu <hjl@gnu.org>
3191
3192 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
3193 like emulparams/aixppc.sh.
3194
3195 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
3196 instead of ${srcdir}/emultempl/stringify.sed.
3197
64e9ece0
TW
31982001-05-25 Timothy Wall <twall@oculustech.com>
3199
3200 * emulparams/elf64_aix.sh: Change settings to match IBM linker
8f3aa7a0 3201 output.
64e9ece0 3202
c709b096
AM
32032001-05-25 Alan Modra <amodra@one.net.au>
3204
3205 * configure.host: Replace linuxoldld with linux*oldld.
3206 * configure.tgt: Likewise.
3207
6cbdcc6f
L
32082001-05-24 H.J. Lu <hjl@gnu.org>
3209
3210 * emultempl/stringify.sed: Removed again.
3211
86af25fe
L
32122001-05-24 H.J. Lu <hjl@gnu.org>
3213
3214 * emultempl/aix.em (OUTPUT_ARCH): Defined.
3215 (gld${EMULATION_NAME}_before_parse): Initialize
3216 ldfile_output_architecture, ldfile_output_machine and
3217 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
3218 * emultempl/beos.em: Likewise.
3219 * emultempl/elf32.em: Likewise.
3220 * emultempl/linux.em: Likewise.
3221 * emultempl/mipsecoff.em: Likewise.
3222 * emultempl/pe.em: Likewise.
3223 * emultempl/sunos.em: Likewise.
3224
3b1b01cf
TR
32252001-05-24 Tom Rix <trix@redhat.com>
3226
8f3aa7a0 3227 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
3b1b01cf
TR
3228 udate import file format.
3229 (change_symbol_mode) New, same
3230 (is_syscall) New, same
3231 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
3232 * emulparams/aixppc64.sh : same
3233 * emulparams/aixrs6.sh : same
3234 * emulparams/ppcmacos.sh : same
3235 * emultempl/aix.em : use strtoull to parse options
3236 * Makefile.am : add eaixppc64 emulation for xcoff64
3237 * Makefile.in : same
3238 * configure.tgt : same
3239
3240 * scripttempl/aix.sc : default text section offset to 0x10000000
146e7110 3241 default data section offset to 0x20000000
3b1b01cf 3242 add .sv3264 and .sv64 pseudo sections
8f3aa7a0 3243 loader and debug sections use the currect section offset.
3b1b01cf
TR
3244
3245 * emultempl/aix.em : Add xcoff64 support
3246 Add -binitfini support
8f3aa7a0 3247 (gld${EMULATION_NAME}_before_parse) -binitfini
3b1b01cf 3248 (gld${EMULATION_NAME}_parse_args) same
8f3aa7a0 3249 (gld${EMULATION_NAME}_before_allocation) format change for special
3b1b01cf
TR
3250 sections
3251
3252 * emulparams/aixppc64.sh : New file for xcoff64 support
8f3aa7a0 3253
57e6abd2
AO
32542001-05-23 Alexandre Oliva <aoliva@redhat.com>
3255
3256 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
3257 variable to avoid non-portable shell construct.
3258
d1cf510e
NC
32592001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3260
3261 * ldmain.c (get_emulation): Add -mips5 command line argument.
3262
506eee22
NC
32632001-05-22 Alexandre Oliva <aoliva@redhat.com>
3264
3265 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
3266 (ELF_INTERPRETER_NAME): Define it.
3267 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
3268 it.
3269 * configure.tgt (targ_emul, targ_extra_emuls)
3270 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
3271 as primary, elf_i386 as extra.
3272 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
3273 (eelf_i386_ldso.c): New rule.
3274 * Makefile.in: Rebuilt.
3275
32762001-05-22 Nick Clifton <nickc@redhat.com>
3277
3278 * lexsup.c (ld_options): Allow -I to be an alias for
3279 --dynamic-linker. This is for Solaris compatability.
3280 * ld.texinfo: Document that -I can be used.
3281 * ld.1: Regenerate.
3282
d1778b88
AM
32832001-05-16 Alan Modra <amodra@one.net.au>
3284
3285 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
3286 whether an input section is the first one assigned to an output
3287 section.
3288 Assorted formatting fixes.
3289
02649152
DD
32902001-05-14 DJ Delorie <dj@delorie.com>
3291
3292 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
3293 * Makefile.in: Ditto.
3294
579f31ac
JJ
32952001-05-11 Jakub Jelinek <jakub@redhat.com>
3296
3297 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
3298 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
3299 output sections.
3300 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
3301
8550eb6e
JJ
33022001-05-11 Jakub Jelinek <jakub@redhat.com>
3303
3304 * ldlang.c (lang_process): Call bfd_merge_sections.
3305
8e5a525c
AM
33062001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3307
3308 * ldgram.y: Fix typo.
3309
1c9acd94
L
33102001-05-03 H.J. Lu <hjl@gnu.org>
3311
3312 * emultempl/elf32.em: Include "libiberty.h".
3313 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
3314 basename of the bfd filename.
3315 (gld${EMULATION_NAME}_stat_needed): Likewise.
3316 (gld${EMULATION_NAME}_try_needed): Likewise.
3317 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
3318
14fe918e
L
33192001-05-02 H.J. Lu <hjl@gnu.org>
3320
3321 * emultempl/pe.em: Include <ctype.h>.
3322
c7e40348
NC
33232001-05-02 Johan Rydberg <jrydberg@opencores.org>
3324
b6bf44ba 3325 * emulparams/elf32openrisc.sh: New file.
c7e40348 3326
b6bf44ba
AM
3327 * Makefile.am: Add OpenRISC target.
3328 * Makefile.in: Regenerated.
c7e40348 3329
b6bf44ba 3330 * configure.tgt: Add openrisc-*-* mapping.
c7e40348
NC
3331
33322001-05-02 Nick Clifton <nickc@redhat.com>
3333
3334 * emultempl/aix.em: Replace buystring with xstrdup.
3335 * emultempl/beos.em: Replace buystring with xstrdup.
8f3aa7a0 3336
d1b2b2dc
L
33372001-05-02 H.J. Lu <hjl@gnu.org>
3338
3339 * ldfile.c: Include "libiberty.h".
3340 * ldlex.l: Likewise.
3341
3342 * ldmisc.c (buystring): Removed.
3343 * ldmisc.h: Likewise.
3344
3345 * ldfile.c: Replace buystring with xstrdup.
3346 * ldlang.c: Likewise.
3347 * ldlex.l: Likewise.
3348 * ldmain.c: Likewise.
3349 * ldmisc.c: Likewise.
3350 * lexsup.c: Likewise.
3351 * mpw-eppcmac.c: Likewise.
3352
35714f2a
AJ
33532001-04-30 Andreas Jaeger <aj@suse.de>
3354
3355 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
3356
884fb58e
NC
33572001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
3358
b6bf44ba
AM
3359 * ldlang.c (load_symbols): Give emulation a chance
3360 to process unrecognized file before fatal error is
3361 reported, not after.
884fb58e 3362
87748b32
NC
33632001-04-27 Sean McNeil <sean@mcneil.com>
3364
3365 * configure.tgt: Add arm-vxworks target.
3366 * scripttempl/armcoff.sc: Support .text or .data as a section name
3367 prefix.
3368 Define _etext.
35714f2a 3369
7ce691ae
C
33702001-04-13 J.T. Conklin <jtc@redback.com>
3371
3372 * ld.texinfo: Document --fatal-warnings.
3373 * ld.1: Regenerate.
3374
3375 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
35714f2a 3376 warnings have been turned into errors.
7ce691ae
C
3377 * lexsup.c (OPTION_WARN_FATAL): Define.
3378 (ld_options): Entry for --fatal-warnings.
3379 (parse_args): Handle OPTION_WARN_FATAL.
3380 * ld.h (ld_config_type): Add fatal_warnings field.
3381
f5fa8ca2
JJ
33822001-04-13 Jakub Jelinek <jakub@redhat.com>
3383
3384 * ldmain.c (main): Default to discard_sec_merge.
3385 * lexsup.c (OPTION_DISCARD_NONE): Define.
3386 (ld_options): Add --discard-none.
3387 (parse_args): Handle OPTION_DISCARD_NONE.
3388 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
3389 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
3390 all its input sections match.
3391
fdec3cfc
L
33922001-04-05 Steven J. Hill <sjhill@cotw.com>
3393
3394 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
3395 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
3396 (eelf32ltsmip.c): New target.
3397 (eelf64btsmip.c): Likewise.
3398 (eelf64ltsmip.c): Likewise.
3399 * Makefile.in: Regenerated.
3400
3401 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
3402 target.
3403 (mips*-*-linux-gnu*): Likewise.
3404
3405 * emulparams/elf32ltsmip.sh: New. Traditional little endian
3406 MIPS taget.
35714f2a 3407 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
fdec3cfc
L
3408 target.
3409 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
3410 endian target.
3411
589bad82
HPN
34122001-04-05 Hans-Peter Nilsson <hp@axis.com>
3413
3414 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
3415 correct value of __Stext here.
3416 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
3417 .startup section.
3418
3419 * emulparams/crislinux.sh: Remove FIXME.
3420
94202e16
AM
34212001-04-02 Alan Modra <alan@linuxcare.com.au>
3422
3423 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
3424 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
3425
1268a053
HPN
34262001-03-27 Hans-Peter Nilsson <hp@axis.com>
3427
3428 * configure.tgt (cris-*-*): Change default emulation to criself.
3429 (cris-*-*aout*): New rule.
3430
d85e9ff7
AM
34312001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com>
3432
3433 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
3434 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
3435
0879a67a
AJ
34362001-03-26 Andreas Jaeger <aj@suse.de>
3437
3438 * ld.texinfo (Overview): Fix syntax in texi code.
3439
0285c67d
NC
34402001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3441
3442 * ld.texinfo: Put @c man indications to generate the ld man page.
3443 When generating man, define all the variables. Define SEEALSO
3444 and SYNOPSIS. Re-organize some lines to avoid the cross references.
3445 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
3446 (ld.1): Generate from ld.texinfo.
3447 * Makefile.in: Regenerate.
3448
c20ec07b
NC
34492001-03-23 Mark Elbrecht <snowball3@bigfoot.com>
3450
3451 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
146e7110 3452 and '-fdata-sections'. Set the VMA of STABS sections to zero.
c20ec07b 3453
cc5ce052
UD
34542001-03-17 Ulrich Drepper <drepper@redhat.com>
3455
3456 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
3457 is an absolute path look only for this file and not along the path.
3458
a1ab1d2a
UD
34592001-03-17 Ulrich Drepper <drepper@redhat.com>
3460
3461 * emultempl/elf32.em (OPTION_GROUP): New macro.
3462 Add new option Bgroup to longopts.
3463 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
3464 (gld*_list_options): Add -Bgroup and -z defs.
3465 * ld.1: Document -Bgroup and -z defs.
3466 * ld.texinfo: Likewise.
3467
788fca5a
MM
34682001-03-07 Michael Meissner <meissner@redhat.com>
3469
3470 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
3471 with sections created by -fdata-sections.
3472 (.dynbss,.bss): Ditto.
3473
1c7566d1
AM
34742001-03-05 Alan Modra <alan@linuxcare.com.au>
3475
3476 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
3477 after_allocation_default, not gld..._before_allocation.
3478
27b7e12d
AM
34792001-02-27 Alan Modra <alan@linuxcare.com.au>
3480
3481 * configure.in (BFD_VERSION): New.
3482 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
3483 * configure: Regenerate.
3484 * Makefile.am: Run "make dep-am"
3485 * Makefile.in: Regenerate.
3486
2bc551c7
TW
34872001-02-26 Timothy Wall <twall@cygnus.com>
3488
3489 * emulparams/elf64_aix.sh: Add additional read-only sections;
3490 uncomment lines which are now required.
3491
1276aefa
NC
34922001-02-26 H.J. Lu <hjl@gnu.org>
3493
3494 * ldlang.c (open_input_bfds): Set the bfd error handler so
b6bf44ba
AM
3495 that problems can be caught whilst loading symbols.
3496 (record_bfd_errors): New function: Report BFD errors and mark
3497 the executable output as being invalid.
1276aefa 3498
41c49998
TW
34992001-02-22 Timothy Wall <twall@cygnus.com>
3500
3501 * configure.host: Add configuration for ia64-*-aix*.
3502 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
3503 Add dependencies for eelf64_aix.c.
3504 * Makefile.in: Regenerate.
3505 * configure.tgt: Add ia64-*-aix* mapping.
3506 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
0879a67a 3507
78f85fd7
L
35082001-02-20 H.J. Lu <hjl@gnu.org>
3509
3510 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
3511 false if we found the file.
3512
1ac7e077 35132001-02-18 David O'Brien <obrien@FreeBSD.org>
fb33b906
DB
3514
3515 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
3516 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
3517
e135f41b
NC
35182001-02-18 lars brinkhoff <lars@nocrew.org>
3519
3520 * Makefile.am: Add PDP-11 target.
3521 * configure.tgt: Likewise.
3522 * emulparams/pdp11.sh: New file.
3523
a842aceb
DB
35242001-02-17 David O'Brien <obrien@FreeBSD.org>
3525
3526 * configure.host: Add a generic FreeBSD configuration entry such that
3527 all [modern] FreeBSD systems on all platforms will look the same.
3528
24174db0
L
35292001-02-14 H.J. Lu <hjl@gnu.org>
3530
3531 * configure.tgt: Remove mention of earmelf_linux26.
3532
30c3c13a
RH
35332001-02-13 Richard Henderson <rth@redhat.com>
3534
3535 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
3536
b46a87b1
L
35372001-02-13 H.J. Lu <hjl@gnu.org>
3538
3539 * ldexp.h (node_type): Add etree_provided.
3540 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
3541 type to etree_provided if defined by PROVIDE. Allow updating
0879a67a 3542 for etree_provided.
b46a87b1
L
3543 (exp_print_tree): Handle etree_provided.
3544 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
3545 etree_provided.
3546
f3988fd9
RH
35472001-02-09 David Mosberger <davidm@hpl.hp.com>
3548
3549 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
3550 .IA_64.unwind.* pattern to unwind table section and
3551 .IA_64.unwind_info* pattern to unwind info section.
3552
a85d7ed0
NC
35532001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
3554
3555 * Makefile.am: Add linux target for S/390.
3556 * Makefile.in: Likewise.
3557 * configure.host: Likewise.
3558 * configure.tgt: Likewise.
3559 * emulparams/elf64_s390.sh: New file.
3560 * emulparams/elf_s390.sh: New file.
3561
780248c4
JJ
35622001-02-09 Jakub Jelinek <jakub@redhat.com>
3563
3564 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
3565 targ_extra_libpath.
3566 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
3567
0e2534bd
PB
35682001-02-06 Philip Blundell <philb@gnu.org>
3569
3570 * Makefile.am: Remove mention of earmelf_linux26.
3571 * Makefile.in: Regenerate.
3572
46c1ea57
PB
35732001-02-04 Philip Blundell <philb@gnu.org>
3574
3575 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
3576 * emulparams/armelf_linux26.sh: Delete.
3577 * configure.tgt: Remove mention of armelf_linux26 emulation.
3578
0088edd2
NC
35792001-02-01 Nick Clifton <nickc@redhat.com>
3580
3581 * ld.1: Replace occurances of -oformat with --oformat.
3582
02aa14fb
AM
35832001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
3584
3585 * ldlang.c (lang_leave_overlay): Don't set lma_region when
3586 load_base is specified.
3587
f813923c
HPN
35882001-01-24 Hans-Peter Nilsson <hp@axis.com>
3589
3590 * emultempl/elf32.em: Correct spelling in comments and listed
3591 options.
3592
c1eb1488
AM
35932001-01-23 Alan Modra <alan@linuxcare.com.au>
3594
3595 * ldlang.c (lang_leave_overlay): Only set lma_region from the
3596 default for the first section of a group of overlay sections.
3597
d9fc3714
AM
35982001-01-22 Alan Modra <alan@linuxcare.com.au>
3599
3600 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
3601 * Makefile.in: Regenerate.
3602 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
3603 Check for null tool_dir.
3604
6be0ca94
JW
36052001-01-16 Jim Wilson <wilson@redhat.com>
3606
3607 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
3608 and IA_64.unwind.info.
3609
b9247304
L
36102001-01-16 H.J. Lu <hjl@gnu.org>
3611
3612 * ldlang.c (lang_check): Merge the private data only if the
3613 input file has contents.
3614
577a0623
AM
36152001-01-14 Alan Modra <alan@linuxcare.com.au>
3616
d952f17a
AM
3617 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
3618
ffd6e9de
AM
3619 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
3620 enabling search for libmilli. On a relocatable link, make .text
3621 sections unique.
3622 (LDEMUL_AFTER_PARSE): Define.
3623 (hppaelf_finish): Correct spelling of relocatable in comments.
3624
577a0623
AM
3625 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3626 rummage through the script for sections on the unique list.
3627 Correct length of strncmp for ".note".
3628 (gld${EMULATION_NAME}_check_needed): Rearrange function.
3629
3630 * ldlang.c (unique_section_list): New var.
3631 (unique_section_p): New function.
3632 (walk_wild_section): Don't match sections on unique_section_list.
3633 (lang_add_unique): New function.
ffd6e9de 3634 Correct spelling of relocatable in comments.
577a0623
AM
3635
3636 * ldlang.h (struct unique_sections): Declare.
3637 (unique_section_list): Declare.
3638 (unique_section_p): Declare.
3639 (lang_add_unique): Declare.
3640
3641 * lexsup.c (ld_options): Allow --unique to take an optional arg.
3642 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
3643
3644 * ld.texinfo (--unique): Update.
3645
b7ed8fad
NC
36462001-01-13 Nick Clifton <nickc@redhat.com>
3647
3648 * lexsup.c (parse_args): Remove spurious white space.
3649
d0398d6a
NC
36502001-01-12 Nick Clifton <nickc@redhat.com>
3651
3652 * lexsup.c (parse_args): Update copyright date.
3653
350fdb00
PB
36542001-01-12 Philip Blundell <pb@futuretv.com>
3655
3656 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
3657
60c6797e
KH
36582001-01-10 Kazu Hirata <kazu@hxi.com>
3659
3660 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
3661 * scripttempl/h8300h.sc: Fix formatting.
3662 * scripttempl/h8300s.sc: Likewise.
69f06969
KH
3663 * scripttempl/h8500.sc: Likewise.
3664 * scripttempl/h8500b.sc: Likewise.
3665 * scripttempl/h8500c.sc: Likewise.
3666 * scripttempl/h8500m.sc: Likewise.
3667 * scripttempl/h8500s.sc: Likewise.
60c6797e 3668
482e8b32
DB
36692000-01-07 David O'Brien <obrien@BSDi.com>
3670
3671 * emultempl/elf32.em: Only perform Linux ld hints processing when
3672 targeting Linux.
3673
d7ed7ca6
PB
36742001-01-07 Philip Blundell <philb@gnu.org>
3675
3676 * ld.texinfo (Bug Reporting): Update email address for reports.
3677
0fc3347a
NC
36782000-12-31 Nick Clifton <nickc@redhat.com>
3679
3680 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
3681 options by checking for a return value of '?' not -1.
3682
e4897a32
NC
36832000-12-28 Nick Clifton <nickc@redhat.com>
3684
3685 * lexsup.c (struct ld_option): Add new enum value:
3686 EXACTLY_TWO_DASHES.
3687 (ld_options[]): Change -omagic, -output and -oformat options
3688 to be EXACTLY_TWO_DASHES.
3689 (OUTPUT_COUNT): Use ARRAY_SIZE.
3690 (parse_args): Change parameter 'argc' to unsigned.
3691 Place EXACTLY_TWO_DASHES options into new really_longopts
3692 array.
3693 If getopt_long_only fails, try calling getopt_long using the
3694 really_longopts array.
3695 (help): Print a double dash for both EXACTLY_TWO_DASHES and
3696 TWO_DASHES options.
3697
3698 * ldlex.h: Fix prototype of parse_args.
3699
3700 * ld.texinfo: Document that long options starting with 'o'
3701 must be preceeded by two dashes. Change example of a single
3702 dashed long option from -oformat to -trace-symbol.
3703
1122a5fc
NC
37042000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3705
3706 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
3707 (longopts[]): New --no-default-excludes option.
3708 (gld_${EMULATION_NAME}_list_options): Document.
3709 (gld_${EMULATION_NAME}_parse_args): Handle.
3710
037849a9
NC
37112000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3712
3713 * ldlang.c (new_stat): Revert the last beautification with "innocent"
3714 whitespace, it breaks the K&R C preprocessor.
3715
7ec229ce
DD
37162000-12-11 DJ Delorie <dj@redhat.com>
3717
3718 * ld.texinfo: Add notes about --whole-archive and gcc.
3719
b79e8c78
NC
37202000-11-18 Fred Fish <fnf@be.com>
3721
3722 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
3723 (ld_options): Entry for --allow-shlib-undefined.
3724 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
3725 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
3726 to false.
3727 * ld.texinfo: Document new command line switch.
d952f17a 3728
9a8e2505
GK
37292000-12-12 Geoffrey Keating <geoffk@redhat.com>
3730
3731 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
3732 .fixup is actually read/write.
3733 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
3734 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
3735 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
3736
3b16e843 37372000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
3738
3739 * NEWS: Add note about x86_64 architecture.
3740
93b63cd3
DD
37412000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
3742
3743 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
3744 Set DWARF2 sections to a VMA of zero.
3745
68b2fc7a 37462000-12-01 Joel Sherrill <joel@OARcorp.com>
24f6971a 3747
d952f17a 3748 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
24f6971a
NC
3749 New targets.
3750 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
3751 (sparc*-*-rtems*): Switched from a.out to ELF.
3752
2be3aa03
NC
37532000-11-30 Jan Hubicka <jh@suse.cz>
3754
3755 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
3756 (eelf_x86_64.c): New.
3757 * Makefile.in: Regenerate.
3758 * configure.tgt: Add support for x86_64-*-linux-gnu*.
3759 * emulparams/elf_x86_64.sh: New.
3760
8c899858
HPN
37612000-11-30 Hans-Peter Nilsson <hp@axis.com>
3762
3763 * emulparams/crislinux.sh (ENTRY): Change back to _start.
3764 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
3765
3766 * scripttempl/crisaout.sc: Change all RELOCATING not related to
3767 merging non-a.out sections into CONSTRUCTING.
3768
e47b9e39
NC
37692000-11-28 Nick Clifton <nickc@redhat.com>
3770
3771 * ld.1 (COPYING): Mention that the GNU Free Documentation
3772 License is present in the sources, but not the output, and
3773 also available from the GNU website.
3774 (GNU Free Documentation License): Comment out this section.
3775
ad95f82a
DB
37762000-11-28 David O'Brien <obrien@dragon.nuxi.com>
3777
3778 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
3779 does not use them.
3780
fd89e65f
DB
37812000-11-25 David O'Brien <obrien@FreeBSD.org>
3782
3783 * ld.1: Remove old date so it does not give the impression the manpage
3784 is way out of date.
3785
077b8428
NC
37862000-11-24 Nick Clifton <nickc@redhat.com>
3787
3788 * configure.tgt (xscale-coff): Add target.
3789 (xscale-elf): Add target.
3790
49425d28
NC
37912000-11-24 Fred Fish <fnf@be.com>
3792
d952f17a
AM
3793 * ldmain.c (main): Remove redundant init of config.make_executable
3794 to true.
49425d28 3795
d3480244
RH
37962000-11-15 Richard Henderson <rth@redhat.com>
3797
3798 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
3799
1ce7de8b
KH
38002000-11-14 Kazu Hirata <kazu@hxi.com>
3801
3802 * scripttempl/h8300.sc: Fix formatting.
3803 * scripttempl/h8300h.sc: Likewise.
3804 * scripttempl/h8300s.sc: Likewise.
3805
3b16e843 38062000-11-14 Denis Chertykov <denisc@overta.ru>
208d5cd0
DC
3807
3808 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
3809
2e418547
PB
38102000-11-09 Philip Blundell <pb@futuretv.com>
3811
3812 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
3813 around orphan sections whose names can be represented in C.
3814
c940e6fc
JW
38152000-11-07 Jim Wilson <wilson@redhat.com>
3816
3817 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
3818 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
3819
704c465c
NC
38202000-11-06 Nick Clifton <nickc@redhat.com>
3821
3822 * ld.texinfo: Add GNU Free Documentation License.
3823 * ldint.texinfo: Add GNU Free Documentation License.
cf055d54 3824 * ld.1: Add GNU Free Documentation License.
704c465c 3825
dca7760f
AM
38262000-11-05 Alan Modra <alan@linuxcare.com.au>
3827
3828 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
3829 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
3830
3831 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
3832 Move 2000-11-02 Makefile.in changes to this file.
3833 * Makefile.in: Regenerate.
3834
40a633d5
NC
38352000-11-03 Nick Clifton <nickc@redhat.com>
3836
3837 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
3838 constructors and destructors.
3839 * scripttempl/h8300h.sc: Ditto.
3840 * scripttempl/h8300s.sc: Ditto.
3841 * scripttempl/h8500.sc: Ditto.
3842 * scripttempl/h8500b.sc: Ditto.
3843 * scripttempl/h8500c.sc: Ditto.
3844 * scripttempl/h8500m.sc: Ditto.
3845 * scripttempl/h8500s.sc: Ditto.
3846 * scripttempl/v850.sc: Ditto.
3847 * scripttempl/w65.sc: Ditto.
3848 * scripttempl/z8000.sc: Ditto.
3849
59ff2774
NC
38502000-11-02 Per Lundberg <plundis@chaosdev.org>
3851
3852 * Makefile.in (e_i386_chaos.c): New rule.
3853 (ALL_EMULATIONS): Added e_i386_chaos.o.
3854 * emulparams/elf_i386_chaos.sh: New file.
3855 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
3856
645571e1
JJ
38572000-10-20 Jakub Jelinek <jakub@redhat.com>
3858
3859 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
3860 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
3861 Fix sed invocation, so that it coped with '/' in Solaris 64bit
3862 library path suffix.
3863 Based on patch by Andrew Macleod <amacleod@cygnus.com>.
3864
c5975a45
HPN
38652000-10-18 Hans-Peter Nilsson <hp@axis.com>
3866
3867 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
3868 for consecutive sections.
3869
ea20a7da
CC
38702000-10-17 Chandrakala Chavva <cchavva@redhat.com>
3871
d952f17a
AM
3872 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
3873 options.
3874 * ld.texinfo: Added notes about this new option.
ea20a7da 3875
6e45556a
NC
38762000-10-16 Nick Clifton <nickc@redhat.com>
3877
3878 * emultempl/pe.em (_after_open): Add tests of return values from
3879 bfd functions. Emit appropriate error messages if necessary.
3880
b9a69188
NC
38812000-10-13 Nick Clifton <nickc@redhat.com>
3882
3883 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
102c86f8
NC
3884 local variables - they are not used, but leave in the call to
3885 bfd_canonicalize_symtab.
b9a69188
NC
3886 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
3887 pe_dll_search_prefix.
3888
627427de 38892000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
d952f17a 3890
627427de
DD
3891 * emultempl/pe.em (pe_dll_search_prefix): New variable,
3892 (longopts): New --dll-search-prefix option.
3893 (gld_${EMULATION_NAME}_list_options): Document.
3894 (gld_${EMULATION_NAME}_parse_args): Handle.
3895 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
3896 dynamically, search for a dll named '<prefix><basename>.dll'
3897 in preference to 'lib<basename>.dll' if --dll-search-prefix
3898 is specified.
3899
24376d1b
AM
39002000-10-12 Alan Modra <alan@linuxcare.com.au>
3901
3902 * ldlang.c (section_already_linked): Set kept_section instead of
3903 sec->comdat->sec.
3904
e47d05ad
KH
39052000-10-10 Kazu Hirata <kazu@hxi.com>
3906
3907 * deffile.h: Fix formatting.
3908 * lexsup.c: Likewise.
3909 * mri.c: Likewise.
3910
23a87948
DD
39112000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
3912
3913 * pe-dll.c (make_one): Do not generate code thunk for DATA
3914 exports.
3915 (process_def_file): deduce DATA flag for auto-export sumbols.
3916
86b1cc60
KH
39172000-10-09 Kazu Hirata <kazu@hxi.com>
3918
89cdebba
KH
3919 * ld.h: Fix formatting.
3920 * ldcref.c: Likewise.
3921 * ldctor.h: Likewise.
3922 * ldemul.c: Likewise.
3923 * ldemul.h: Likewise.
3924 * ldexp.c: Likewise.
3925 * ldexp.h: Likewise.
3926 * ldfile.c: Likewise.
3927 * ldfile.h: Likewise.
3928 * ldlang.c: Likewise.
3929 * ldlang.h: Likewise.
3930 * ldmain.c: Likewise.
7bfd51a3
KH
3931 * pe-dll.c: Likewise.
3932
3933 * pe-dll.c: Revert some formatting fixes.
86b1cc60 3934
d643799d
KH
39352000-10-08 Kazu Hirata <kazu@hxi.com>
3936
3937 * pe-dll.c: Fix formatting.
3938
08da4cac
KH
39392000-10-05 Kazu Hirata <kazu@hxi.com>
3940
3941 * ldlang.c: Fix formatting.
3942
c2a94a7a
DD
39432000-10-03 DJ Delorie <dj@redhat.com>
3944
3945 * pe-dll.c (fill_edata): initialize entire block
3946 (make_one): fill in correct section.
3947
8c95a62e
KH
39482000-10-03 Kazu Hirata <kazu@hxi.com>
3949
3950 * ldexp.c: Fix formatting.
3951
486e80e2
DD
39522000-10-02 DJ Delorie <dj@redhat.com>
3953
3954 * emultempl/pe.em (gld_*_after_open): detect case where there two
3955 import libraries for same dll; rename one to ensure proper link
3956 order.
3957
3958 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
3959 typo
3960 (generate_edata): fix typo
3961
24dd9f75
HPN
39622000-09-29 Hans-Peter Nilsson <hp@axis.com>
3963
3964 * scripttempl/crisaout.sc (ENTRY): Now __start.
3965 (.text): Add default setting for __start.
3966 Remove CONSTRUCTORS handling.
3967 (/DISCARD/): Add .gnu.warning.*.
3968 * emulparams/crislinux.sh (ENTRY): Now __start.
3969 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
3970 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
3971 (ENTRY): Now __start.
3972 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
3973 (EXECUTABLE_SYMBOLS): Add default setting for __start.
3974
4de2d33d
KH
39752000-09-29 Kazu Hirata <kazu@hxi.com>
3976
5cc18311
KH
3977 * deffile.h: Fix formatting.
3978 * ld.h: Likewise.
3979 * ldcref.c: Likewise.
4de2d33d 3980 * ldctor.c: Likewise.
5cc18311 3981 * ldctor.h: Likewise.
4de2d33d 3982 * ldemul.c: Likewise.
5cc18311 3983 * ldemul.h: Likewise.
4de2d33d 3984 * ldexp.c: Likewise.
5cc18311 3985 * ldexp.h: Likewise.
4de2d33d 3986 * ldfile.c: Likewise.
5cc18311 3987 * ldfile.h: Likewise.
4de2d33d 3988 * ldlang.c: Likewise.
5cc18311
KH
3989 * ldlang.h: Likewise.
3990 * lexsup.c: Likewise.
3991 * mri.c: Likewise.
3992 * pe-dll.c: Likewise.
4de2d33d 3993
45b1f63c
DD
39942000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
3995
3996 * pe-dll.c (process_def_file): Uninitialized data wasn't
3997 exported with --export-all-symbols switch.
d952f17a 3998
45b1f63c
DD
39992000-09-28 DJ Delorie <dj@redhat.com>
4000
4001 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
4002 noname work properly.
4003
47d89dba
AM
40042000-09-28 Alan Modra <alan@linuxcare.com.au>
4005
4006 * ld.texinfo (HPPA ELF32): New section.
4007
4008 * emultempl/hppaelf.em (group_size): New.
4009 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
4010 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
4011 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
4012 options to prevent abbreviations matching.
4013 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
4014 (PARSE_AND_LIST_ARGS_CASES): Handle it.
4015
36bdbeec
NC
40162000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4017
4018 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
4019 on the m68*-*-elf target. Make it support COFF input objects.
4020
6d5e62f8
KH
40212000-09-21 Kazu Hirata <kazu@hxi.com>
4022
4023 * ldmain.c: Fix formatting.
4024 * ldmisc.c: Likewise.
4025 * ldver.c: Likewise.
4026 * ldwrite.c: Likewise.
4027
e2eb67d9
AM
40282000-09-21 Alan Modra <alan@linuxcare.com.au>
4029
4030 * ldwrite.c (clone_section): Silence gcc warnings.
4031
b3ea3584
AM
40322000-09-20 Alan Modra <alan@linuxcare.com.au>
4033
4034 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
4035 out of memory failure.
4036
4037 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
4038 (clone_section): Handle out of memory failures. Rename var to
4039 avoid c++ reserved word.
4040
25f72752
AM
40412000-09-18 Alan Modra <alan@linuxcare.com.au>
4042
4043 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
4044 stub_name param to stub_sec_name.
4045 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
4046
0752970e
NC
40472000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4048
4049 * emultempl/m68kelf.em: New file.
4050 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
4051 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
4052 * Makefile.in: Regenerate.
4053
92b7e9d8
AM
40542000-09-15 Alan Modra <alan@linuxcare.com.au>
4055
4056 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
4057 only as needed.
4058
9b14b192
NC
40592000-09-13 Nick Clifton <nickc@redhat.com>
4060
4061 * ldmain.c (multiple_definition): Disable relaxation if
4062 multiple symbol definitions are encountered - otherwise the
4063 linker could abort with an assertion failure.
4064
891fa266
NC
40652000-09-10 Nick Clifton <nickc@redhat.com>
4066
4067 * mri.c: Fix formatting.
4068
5d64ca4e
L
40692000-09-07 H.J. Lu <hjl@gnu.org>
4070
4071 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
4072 * configure: Rebuild.
4073
dd94604f
L
40742000-09-07 H.J. Lu <hjl@gnu.org>
4075
4076 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
4077 * Makefile.in: Rebuild.
4078
71bfc0ae
AM
40792000-09-07 Alan Modra <alan@linuxcare.com.au>
4080
4081 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
4082 broken list handling. Create __start_SECNAME and __stop_SECNAME
4083 when no place-holder. Add some comments. Test both SEC_CODE and
4084 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
ed15ac6a 4085 Handle case where no output section statement created.
71bfc0ae 4086
4a428502
AO
40872000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
4088
4089 * configure.tgt (sh-*-linux*): Added.
4090 * Makefile.am: Added eshelf_linux and eshlelf_linux.
4091 * Makefile.in: Rebuilt.
4092 * emulparams/shelf_linux.sh: New file.
4093 * emulparams/shlelf_linux.sh: New file.
4094
f9989030
AM
40952000-09-06 Alan Modra <alan@linuxcare.com.au>
4096
4097 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
4098 try shuffling sections when the orphan happens to be the place
4099 holder. Keep count of unique section names generated so we speed
4100 the search for a new name.
4101
58cccadb
AO
41022000-09-06 Alexandre Oliva <aoliva@redhat.com>
4103
4104 * configure: Rebuilt with new libtool.m4.
4105
5b343f5a
NC
41062000-09-05 Nick Clifton <nickc@redhat.com>
4107
4108 * Makefile.in: Regenerate.
4109 * aclocal.m4: Regenerate.
4110 * configure: Regenerate.
4111 * config.in: Regenerate.
4112 * po/ld.pot: Regenerate.
4113
4114 * ldint.texinfo: Remove CVS revision marker - it foils local
4115 comparisons.
4116
4117 * emultempl/ticoff.em: Remove extraneous comma.
50bbae35 4118
a854a4a7
AM
41192000-09-05 Alan Modra <alan@linuxcare.com.au>
4120
3231d22e
AM
4121 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
4122 to stub section flags.
4123 (hppa_for_each_input_file_wrapper): New.
4124 (hppa_lang_for_each_input_file): New.
4125 (lang_for_each_input_file): Define to call above.
4126 (multi_subspace): New.
4127 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
4128 (PARSE_AND_LIST_PROLOGUE): Define.
4129 (PARSE_AND_LIST_LONGOPTS): Define.
4130 (PARSE_AND_LIST_OPTIONS): Define.
4131 (PARSE_AND_LIST_ARGS_CASES): Define.
4132 (hppaelf_finish): Call elf32_hppa_set_gp.
4133 (hppaelf_set_output_arch): Remove.
4134 (LDEMUL_SET_OUTPUT_ARCH): Remove.
4135
4136 * emulparams/hppalinux.sh (ELFSIZE): Define.
4137 (MACHINE): Define.
4138 (OTHER_READONLY_SECTIONS): Define.
4139 (DATA_PLT): Define.
4140 (GENERATE_SHLIB_SCRIPT): Define.
4141
5f992e62
AM
4142 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
4143 to const throughout. Change `void *' to `PTR' throughout.
4144 (lang_memory_default): Function is local to file, add `static'.
4145
4146 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
4147 (ehppalinux.c): Likewise.
4148 (earmelf.c): Likewise.
4149 (earmelf_linux.c): Likewise.
4150 (earmelf_linux26.c): Likewise.
4151 * Makefile.in: Regenerate.
4152
a854a4a7
AM
4153 * ld.h (ld_config_type): Add unique_orphan_sections.
4154 * lexsup.c (OPTION_UNIQUE): Define.
4155 (ld_options): Add "--unique".
4156 (parse_args): Handle it.
4157 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
4158 search for an existing output section if unique_orphan_sections is
4159 set. Make use of bfd_get_unique_section_name rather than
4160 duplicating code here.
4161 * ld.texinfo: Describe --unique.
4162
4163 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
4164 optional arg to split-by-file.
4165 (parse_args): Handle them.
4166 * ld.texinfo: Update description of these options.
4167 * ldwrite.c (clone_section): Pass in the section name. Replace
4168 local code with bfd_get_unique_section_name.
4169 (split_sections): Tidy code and comments. Use a list traversal
4170 more appropriate to the list construction. Handle cooked section
4171 sizes. Split when split_by_reloc reached rather than exceeded.
4172 Track section size and split when split_by_file reached. Fix
4173 link_order_tail (even though it's not used).
4174 (ldwrite): Modify condition for calling split_sections to suit
4175 changed split_by_reloc and split_by_file.
4176 * ldmain.c (main): Init config.split_by_reloc and
4177 config.split_by_file to -1.
4178 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
4179 Change split_by_file to bfd_size_type.
4180
18e03609
NC
41812000-09-02 Nick Clifton <nickc@redhat.com>
4182
4183 * configure.in: Increase version number to 2.10.91.
4184 * NEWS: Mention new ability to support removal of duplicate DWARF2
4185 debug information.
4186 * configure: Regenerate.
4187 * aclocal.m4: Regenerate.
4188 * config.in: Regenerate.
4189
3a9d486c
NC
41902000-09-02 Daniel Berlin <dberlin@redhat.com>
4191
4192 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
4193 sections.
a2b64bed 4194 * scripttempl/elf32avr.sc: Ditto.
3a9d486c
NC
4195 * scripttempl/elfd10v.sc: Ditto.
4196 * scripttempl/elfd30v.sc: Ditto.
4197 * scripttempl/elfi370.sc: Ditto.
4198 * scripttempl/elfm68hc11.sc: Ditto.
4199 * scripttempl/elfm68hc12.sc: Ditto.
4200 * scripttempl/elfi386beos.sc: Ditto.
4201 * scripttempl/v850.sc: Ditto.
50bbae35 4202
ac48eca1
AO
42032000-08-31 Alexandre Oliva <aoliva@redhat.com>
4204
4205 * acinclude.m4: Include libtool and gettext macros from the
4206 top level.
4207 * aclocal.m4, configure: Rebuilt.
4208
c13b1b77
NC
42092000-08-25 Nick Clifton <nickc@redhat.com>
4210
4211 * ldlang.c (open_output): When choosing the target for a
4212 particular endianness, do nothing if the target is not
4213 supported.
4214
dcb0bd0e
L
42152000-08-25 H.J. Lu <hjl@gnu.org>
4216
4217 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
4218 check -rpath nor LD_RUN_PATH for cross link.
4219 * ld.texinfo: Document the change.
4220
5bcac8a4
HPN
42212000-08-24 Hans-Peter Nilsson <hp@axis.com>
4222
4223 * NEWS: Mention support for CRIS.
4224
6dd8c765
L
42252000-08-23 H.J. Lu <hjl@gnu.org>
4226
4227 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
4228 the current runpath list from bfd_elf_get_runpath_list ()
4229 before search.
4230
ec4eb78a
L
42312000-08-22 H.J. Lu <hjl@gnu.org>
4232
4233 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
4234 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
4235 LD_LIBRARY_PATH for native linker. Display the needed DSO if
4236 trace_file_tries is non-zero.
4237 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
4238 if trace_file_tries is non-zero.
4239
4240 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
a8175964 4241 * NEWS: Mention it.
ec4eb78a 4242
22b36938
JE
42432000-08-14 Jason Eckhardt <jle@cygnus.com>
4244
4245 * NEWS: Mention i860 support.
4246
d73e9da0
AS
42472000-08-14 Andreas Schwab <schwab@suse.de>
4248
4249 * scripttempl/elf.sc: Fix last change to use correct comment
50bbae35 4250 syntax.
d73e9da0 4251
9ac4db9c
GK
42522000-08-10 Geoff Keating <geoffk@cygnus.com>
4253
4254 * scripttempl/elf.sc: Add a comment giving the correspondence
4255 between sections, per-datum sections, and linkonce sections. Make
4256 the comment true even for .bss, .sdata, .sdata2, .sbss, and
4257 .sbss2.
4258
165589e4
JE
42592000-08-10 Jason Eckhardt <jle@cygnus.com>
4260
4261 * emulparams/elf32_i860.sh: New file.
4262 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
4263 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
4264 (eelf32_i860.c): New rule.
4265 * Makefile.in: Regenerate.
4266
345a835d
NC
42672000-08-10 Nick Clifton <nickc@cygnus.com>
4268
4269 * emulparams/mipspe.sh (ENTRY): Add definition.
4270
e374f1d9
NC
42712000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
4272
4273 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
4274 in error message.
4275
236d5abf
NC
42762000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4277
4278 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
4279 the final size of .bss section.
4280 * scripttempl/elfm68hc12.sc: Likewise.
4281
4b209b22
AM
42822000-08-04 Alan Modra <alan@linuxcare.com.au>
4283
4284 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
4285 gld${EMULATION_NAME}_parse_args for consistency. Combine
4286 lastoptind and prevoptind vars, and keep track of last optind.
4287 (gld_${EMULATION_NAME}_list_options): Rename to
4288 gld${EMULATION_NAME}_list_options.
4289
28423a68
AM
42902000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
4291
4292 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
4293 (i586-sco-sysv5uw7.1.0).
4294
b2009ff7
L
42952000-07-27 H.J. Lu <hjl@gnu.org>
4296
4297 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
4298 (PARSE_AND_LIST_PROLOGUE): New.
4299 (PARSE_AND_LIST_LONGOPTS): Likewise.
4300 (PARSE_AND_LIST_OPTIONS): Likewise.
4301 (PARSE_AND_LIST_ARGS_CASES): Likewise.
4302 (PARSE_AND_LIST_EPILOGUE): Likewise.
4303
04925e1e
AM
43042000-07-28 Alan Modra <alan@linuxcare.com.au>
4305
41392f03
AM
4306 * emultempl/armelf.em: Elide functions common to elf32.em,
4307 ie. most of the file.
4308 (arm_elf_after_open): New. Do arm specific things then call
4309 gld${EMULATION_NAME}_after_open.
4310 (arm_elf_before_allocation): New. Call
4311 gld${EMULATION_NAME}_before_allocation then do arm specifics.
4312 (PARSE_AND_LIST_PROLOGUE): Define.
4313 (PARSE_AND_LIST_SHORTOPTS): Define.
4314 (PARSE_AND_LIST_LONGOPTS): Define.
4315 (PARSE_AND_LIST_OPTIONS): Define.
4316 (PARSE_AND_LIST_ARGS_CASES): Define.
4317 (LDEMUL_AFTER_OPEN): Define.
4318 (LDEMUL_BEFORE_ALLOCATION): Define.
4319 (LDEMUL_BEFORE_PARSE): Define.
4320 (LDEMUL_FINISH): Define.
4321
4322 * emultempl/hppaelf.em: Similarly zap most of this file.
4323 (hppaelf_add_stub_section): Prototype.
4324 (hppaelf_layaout_sections_again): Prototype.
4325 (hook_in_stub): Prototype.
4326 (LDEMUL_SET_OUTPUT_ARCH): Define.
4327 (LDEMUL_FINISH): Define.
4328 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
4329
4330 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
4331 (EXTRA_EM_FILE): New.
4332 * emulparams/armelf_linux.sh: Likewise.
4333 * emulparams/armelf_linux26.sh: Likewise.
4334 * emulparams/hppalinux.sh: Likewise.
4335 * emulparams/hppaelf.sh: Likewise.
4336 (NOP): Define.
4337
4338 * emultempl/elf32.em: Fix formatting.
4339 (EXTRA_EM_FILE): Source it.
4340 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
4341 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
4342 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
4343 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
4344 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
4345 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
4346 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
4347 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
4348 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
4349 allow functions in this file to be overridden.
4350 (PARSE_AND_LIST_SHORTOPTS): Handle it.
4351
4352 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
4353
04925e1e
AM
4354 * emultempl/elf32.em: Reorganize file.
4355
88cdf297
NC
43562000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
4357
4358 * emulparams/elf64alpha.sh: Implement "-taso" emulation
4359 specific option to fit 64-bit executable in the lower
4360 31-bit address range. This is done by changing start
4361 address of .interp (the very first section of executable)
4362 and then setting EF_ALPHA_32BIT elf header flag.
4363
20bccb34
NC
43642000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4365
4366 * emultempl/m68kcoff.em: New file.
4367 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
4368 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
4369 generic.em.
4370 * Makefile.in: Regenerate.
4371
699845ef
L
43722000-07-20 H.J. Lu <hjl@gnu.org>
4373
4374 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
4375 and "disable-new-dtags" to stop getopt from treating -d/-e as
4376 abbreviations for these options.
4377
6c1439be
L
43782000-07-20 H.J. Lu <hjl@gnu.org>
4379
4380 * ld.texinfo: Add documentation for --disable-new-dtags and
4381 --enable-new-dtags.
4382
4383 * ldmain.c (main): Initialize link_info.new_dtags to false.
4384
4385 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
4386 --disable-new-dtags and --enable-new-dtags.
4387 (gld_${EMULATION_NAME}_list_options): Likewise.
4388
28c309a2
NC
43892000-07-05 Kenneth Block <krblock@computer.org>
4390
a2b64bed
NC
4391 * lexsup.c: Add optional style to demangle switch
4392 * ld.texinfo: Document optional style to demangle switch.
50bbae35 4393
9d06555c
HPN
43942000-07-20 Hans-Peter Nilsson <hp@axis.com>
4395
4396 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
4397 ecrislinux.o.
4398 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
4399 Regenerate dependencies.
4400 * Makefile.in: Rebuild.
4401 * configure.tgt (cris-*-*): New target.
4402 * emulparams/crisaout.sh, emulparams/criself.sh,
4403 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
4404 * po/POTFILES.in, po/ld.pot: Regenerate.
4405
19e3be22
L
44062000-07-20 H.J. Lu <hjl@gnu.org>
4407
4408 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
4409 Print out ignored -z options.
4410
e0ee487b
L
44112000-07-19 H.J. Lu <hjl@gnu.org>
4412
19e3be22
L
4413 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
4414 (PARSE_AND_LIST_PROLOGUE): New.
4415 (PARSE_AND_LIST_LONGOPTS): Likewise.
4416 (PARSE_AND_LIST_OPTIONS): Likewise.
4417 (PARSE_AND_LIST_ARGS_CASES): Likewise.
4418
4419 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
4420
4421 * lexsup.c (ld_options): Comment out 'z'.
4422 (parse_args): Likewise.
4423
4424 * emultempl/elf32.em: Include "elf/common.h".
4425 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
4426 options.
4427 (gld_${EMULATION_NAME}_list_options): Likewise.
4428
4429 * ld.texinfo: Add documentation for the recognized -z options.
e0ee487b 4430
49e56c49
L
44312000-07-19 H.J. Lu <hjl@gnu.org>
4432
4433 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
4434 bfd_elf_set_dt_needed_soname ().
4435
9d68bc82
DD
44362000-07-18 DJ Delorie <dj@cygnus.com>
4437
4438 * pe-dll.c (pe_dll_id_target): check object target name also
4439
53db15ed
HPN
44402000-07-18 Hans-Peter Nilsson <hp@axis.com>
4441
4442 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
4443 ${INIT_END} if relocating.
4444 (.fini): Likewise ${FINI_START} and ${FINI_END}.
4445
0ad8cf4c
DD
44462000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
4447
a2b64bed 4448 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
0ad8cf4c
DD
4449 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
4450 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
4451 errors introduced by the old dynamic lib search order.
4452
874c8c99
DD
44532000-07-17 DJ Delorie <dj@cygnus.com>
4454
4455 * pe-dll.c (process_def_file): auto-export data items also
4456 (pe_process_import_defs): also see if _imp_ form needed
4457
5b4cf3f4
DD
44582000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
4459
4460 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
4461 for dll import libraries
4462
062739d1
NC
44632000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
4464
4465 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
d952f17a 4466 gcc 2.95.2 and later.
062739d1 4467
1c64c4ed
NC
44682000-07-11 Kazu Hirata <kazu@hxi.com>
4469
50bbae35
AM
4470 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
4471 message.
1c64c4ed 4472
b71e2778
AM
44732000-07-10 Alan Modra <alan@linuxcare.com.au>
4474
4475 * ldemul.h (struct lang_input_statement_struct): Remove forward
4476 declaration.
4477 (struct search_dirs): Likewise.
4478 * ldfile.h (struct lang_input_statement_struct): Likewise.
4479 Protect file from multiple inclusion.
4480 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
4481 declaration from macro to file scope.
4482
4483 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
4484 * ldgram.y: Likewise here.
4485 * ldlang.c: And here.
4486 * ldmain.c: And here.
4487 * mpw-elfmips.c: And here.
4488 * mpw-eppcmac.c: And here.
4489 * emultempl/aix.em: And here.
4490 * emultempl/armcoff.em: And here.
4491 * emultempl/armelf.em: And here.
4492 * emultempl/armelf_oabi.em: And here.
4493 * emultempl/beos.em: And here.
4494 * emultempl/elf32.em: And here.
4495 * emultempl/hppaelf.em: And here.
4496 * emultempl/linux.em: And here.
4497 * emultempl/lnk960.em: And here.
4498 * emultempl/pe.em: And here.
4499 * emultempl/sunos.em: And here.
4500 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
4501 * mpw-idtmips.c: Ditto.
4502 * emultempl/generic.em: Ditto.
4503 * emultempl/gld960.em: Ditto.
4504 * emultempl/gld960c.em: Ditto.
4505 * emultempl/mipsecoff.em: Ditto.
4506 * emultempl/ticoff.em: Ditto.
4507 * emultempl/vanilla.em: Ditto.
4508
4509 * pe-dll.c: Include ldfile.h
4510 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
4511
4512 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
4513 arguments to bfd_elf32_size_dynamic_sections call.
4514 (gldelf32ebmip_place_orphan): Add missing arguments to
4515 lang_leave_output_section_statement call.
4516
2ef53d66
L
45172000-07-10 H.J. Lu <hjl@gnu.org>
4518
4519 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
4520 DLL_SUPPORT.
4521 (strhash): Likewise.
4522 (compute_dll_image_base): Likewise.
4523 (pe_undef_found_sym): Likewise.
4524 (pe_undef_cdecl_match): Likewise.
4525 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
4526 argument "arch" with ATTRIBUTE_UNUSED.
4527
9a8cbb09
AM
45282000-07-10 Alan Modra <alan@linuxcare.com.au>
4529
4530 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
4531
4532 From Ryan Bradetich <rbradetich@uswest.net>
4533 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
50bbae35 4534
4900fc06
AM
45352000-07-09 Alan Modra <alan@linuxcare.com.au>
4536
4537 Changes to create multiple linker stubs, positioned immediately
4538 before the section where they are required.
4539 * emultempl/hppaelf.em: Include elf32-hppa.h.
4540 (stub_sec, file_chain): Delete.
4541 (hppaelf_create_output_section_statements): Don't make a stub
4542 section here.
4543 (hook_stub_info): New struct.
4544 (hook_in_stub): New function.
4545 (hppaelf_add_stub_section): New function.
4546 (hppaelf_finish): Do nothing for relocateable links. Modify the
4547 call to elf32_hppa_size_stubs. Move code for updating section
4548 layout from here...
4549 (hppaelf_layaout_sections_again): ..to here, a new function.
4550
4551 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
4552 broken list handling. Pass in a pointer to the list.
4553 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
4554 for above changes.
4555 (hppaelf_before_parse): Prototype.
4556 (hppaelf_set_output_arch): Prototype.
4557 (hppaelf_create_output_section_statements): Prototype.
4558 (hppaelf_delete_padding_statements): Prototype.
4559 (hppaelf_finish): Prototype.
4560
4561 Merge from elf32.em
4562 * emultempl/hppaelf.em: Include ctype.h.
4563 (struct orphan_save): New.
4564 (gld${EMULATION_NAME}_place_orphan): New.
4565 (output_rel_find): New.
4566 (hppaelf_get_script): Update from elf32.em.
4567 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
4568 Change emulation_name field to "${EMULATION_NAME}". Add
50bbae35 4569 gld${EMULATION_NAME}_place_orphan.
4900fc06
AM
4570
4571 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
4572 ehppalinux.o, sort it. Regenerate dependencies.
4573 (ehppalinux.c): Depend on hppaelf.em
4574 * Makefile.in: Regenerate.
4575
4576 * configure.tgt: targ_emul=hppalinux for hppa*linux
4577
4578 * emulparams/hppalinux.sh: New.
4579 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
4580
227aeb07
AM
45812000-07-08 Alan Modra <alan@linuxcare.com.au>
4582
4583 * lexsup.c (parse_args): Copy section name.
4584
28609fd4 45852000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
602e90d3 4586
2ef53d66 4587 * emultempl/pe.em: institute the following search order for
602e90d3
DD
4588 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
4589 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
4590 static lib (libfoo.a) if none of the above are found.
4591
5f577f7d
DD
45922000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
4593
50bbae35 4594 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
5f577f7d 4595 (longopts): New --{enable,disable}-auto-image-base options.
50bbae35 4596 (gld_${EMULATION_NAME}_list_options): Document.
5f577f7d
DD
4597 (gld_${EMULATION_NAME}_parse): Handle.
4598 (strhash): New static function.
50bbae35 4599 (compute_dll_image_base): New static function.
5f577f7d
DD
4600 (gld_${EMULATION_NAME}_set_symbols): Use.
4601
9a8cbb09 46022000-07-05 DJ Delorie <dj@redhat.com>
302ab118
DD
4603
4604 * MAINTAINERS: new
4605
3548145d 46062000-07-01 Koundinya K <kk@ddeorg.soft.net>
50bbae35
AM
4607
4608 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
4609 * emulparams/elf32btsmip.sh: New file.
4610 * Makefile.am: Add traditional mips target.
4611 * Makefile.in: Rebuild.
4612
67798033
L
46132000-07-01 H.J. Lu <hjl@gnu.org>
4614
4615 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
4616 automake to use YLWRAP.
4617 * Makefile.in: Rebuild.
4618
0bdaf48b
AM
46192000-07-01 Alan Modra <alan@linuxcare.com.au>
4620
4621 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
4622 (CLEANFILES): Add DEPA.
4623 * Makefile.in: Regenerate.
4624
c9e769c2
TW
46252000-06-30 Timothy Wall <twall@ppc>
4626
4627 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
4628 the page in the upper octet of the address.
4629
65aa24b6
NC
46302000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
4631
4632 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
4633
4667035e
AM
46342000-06-24 Alan Modra <alan@linuxcare.com.au>
4635
4636 * NEWS: arm-elf does --gc-sections too.
4637
1581f8c9
AM
46382000-06-22 Alan Modra <alan@linuxcare.com.au>
4639
4640 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
4641 find one.
4642 * Makefile.in: Regenerate.
4643
01580992
L
46442000-06-21 H.J. Lu <hjl@gnu.org>
4645
4646 * Makefile.am: Rebuild dependency.
4647 * Makefile.in: Rebuild.
4648
bbeb2e03
L
46492000-06-20 H.J. Lu <hjl@gnu.org>
4650
4651 * Makefile.am: Rebuild dependency.
4652 * Makefile.in: Rebuild.
4653
74459f0e
TW
46542000-06-20 Timothy Wall <twall@cygnus.com>
4655
4656 * scripttempl/tic54xcoff.sc: New.
4657 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
4658 * gen-doc.texi: Add flag for TI COFF.
4659 * ld.texinfo: Add documentation for TI COFF handling switches.
4660 * emultempl/ticoff.em: New. TI COFF handling.
4661 * configure.tgt: Add tic54x target.
4662 * Makefile.am: Add tic54x target.
4663 * Makefile.in: Ditto.
4664
2ab47eed
AM
46652000-06-20 Alan Modra <alan@linuxcare.com.au>
4666
4667 * ldmain.c (set_scripts_dir): Correct pointer comparison when
4668 checking for backslashes.
4669
919e4093
AM
46702000-06-19 Alan Modra <alan@linuxcare.com.au>
4671
4672 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
4673
987fd5b4
AM
46742000-06-18 Alan Modra <alan@linuxcare.com.au>
4675
4676 * NEWS: Update list of targets supporting --gc-sections.
4677
4678 * scripttempl/elf.sc: KEEP .eh_frame contents.
4679 * scripttempl/elfd30v.sc: Same here.
4680
60bcf0fa
NC
46812000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
4682
4683 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
4684 and m68hc11 (elf).
4685 * Makefile.in: Rebuild.
4686 * configure.tgt: Recognize m68hc12 and m68hc11.
4687 * scripttempl/elfm68hc12.sc: New file.
4688 * emulparams/m68hc12elfb: New emulation.
4689 * emulparams/m68hc12elf: New emulation.
4690 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
4691 (includes a memory.x script to define the ROM and RAM banks).
4692 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
4693 New configuration files for support of Motorola 68hc11
4694
c7c54483
AM
46952000-06-15 Alan Modra <alan@linuxcare.com.au>
4696
4697 * ldmain.c (main): Only change SEC_READONLY for final link.
4698
bcef29e6
L
46992000-06-13 H.J. Lu <hjl@gnu.org>
4700
4701 * configure: Regenerate.
4702
946efd95
DB
47032000-06-08 David O'Brien <obrien@FreeBSD.org>
4704
4705 * configure.in (VERSION): Update to show this is the CVS mainline.
4706
57a6fd07
DB
47072000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4708
4709 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
4710 input objects to be ECOFF.
4711 (check_sections): einfo takes %B, not %P, to print a BFD name.
4712
e06cae36
L
47132000-06-05 Michael Matz <matz@ifh.de>
4714
4715 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
d952f17a 4716 version scripts.
e06cae36 4717
d952f17a 4718 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
e06cae36 4719
2f0b56c0
DC
47202000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
4721
4722 * emulparams/avr1200.sh (STACK): Define as 0.
4723 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
4724 * emulparams/avr4433.sh (STACK): Likewise.
4725 * emulparams/avr44x4.sh (STACK): Likewise.
4726 * emulparams/avr85xx.sh (STACK): Likewise.
4727 * emulparams/avrmega103.sh (STACK): Likewise.
4728 * emulparams/avrmega161.sh (STACK): Likewise.
4729 * emulparams/avrmega603.sh (STACK): Likewise.
4730 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
4731 (__stack): Define from ${STACK} for main().
4732
2114f57b
AM
47332000-05-26 Alan Modra <alan@linuxcare.com.au>
4734
4735 * Makefile.am: Update dependencies with "make dep-am"
4736 * Makefile.in: Regenerate.
4737
5af11cab
AM
47382000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
4739
4740 * ldmain.c: Include filenames.h.
4741 (set_scripts_dir): Support backslashes in program name.
4742
1f0df59a
NC
47432000-05-22 Igor Shevlyakov <igor@windriver.com>
4744
4745 * ldmain.c (main): When deciding if ".text" section should be
50bbae35
AM
4746 read-only, don't forget to reset SEC_READONLY because it
4747 could be already set.
1f0df59a 4748
176355da
NC
47492000-05-22 Thomas de Lellis <tdel@windriver.com>
4750
50bbae35
AM
4751 * ld.1: Add documentation for new command line option:
4752 --section-start <sectionname>=<sectionorg>
4753 This is a generic version of -Ttext etc. which accepts
4754 any section name as a parameter instead of just text/data/
4755 bss.
4756 * ld.texinfo: More docs.
4757 * NEWS: More docs.
4758 * lexsup.c: (parse_args): Recognize new command line option.
176355da 4759 (ld_options): Add new option.
50bbae35 4760
8c5ff972
L
47612000-05-18 H.J. Lu <hjl@gnu.org>
4762
4763 * lexsup.c (parse_args): `i' == `r', not `q'.
4764
3b16e843 47652000-05-18 Jeffrey A Law (law@cygnus.com)
0b76fe77
JL
4766
4767 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
4768
a712da20
NC
47692000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
4770 Rick Gorton <gorton@scrugs.lkg.dec.com>
50bbae35 4771
a712da20
NC
4772 Add support for '-q' == '--emit-relocs' switch.
4773 * ldmain.c (main): Default to false.
4774 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
4775 * NEWS: Describe the emitrelocations switch.
4776 * ld.texinfo: Describe the emitrelocations switch.
4777
690a460e
NC
47782000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
4779
a2b64bed 4780 * emultempl/pe.em (_open_dynamic_archive): New function: Search
690a460e
NC
4781 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
4782 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
4783 link options.
50bbae35 4784
c2f1343c
AM
47852000-05-15 David O'Brien <obrien@FreeBSD.org>
4786
4787 * lexsup.c (parse_args): Update the year in the copyright notice.
4788
897083bd
AM
47892000-05-13 Alan Modra <alan@linuxcare.com.au>
4790
4791 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
4792 Replace defines with those from intl/libgettext.h to quieten gcc
4793 warnings.
4794
cd4c806a
L
47952000-05-10 H.J. Lu <hjl@gnu.org>
4796
4797 * ldlang.c (open_input_bfds): Don't load the same file within
4798 a group again if the whole archive has been loaded already.
4799
93697284
AM
48002000-05-03 Alan Modra <alan@linuxcare.com.au>
4801
4802 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
4803 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
4804 strtoul.
4805
3b16e843 48062000-05-01 Jim Wilson <wilson@cygnus.com>
ebd6fc29 4807
99a4150f 4808 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
50bbae35 4809
ebd6fc29
JW
4810 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
4811 host "ia64-*-linux-gnu*".
4812
a1934524
AM
48132000-04-29 Andreas Jaeger <aj@suse.de>
4814
4815 * ld.h: Correctly check GCC version.
4816
3b16e843 48172000-04-25 Jeffrey A Law (law@cygnus.com)
730a39a0
JL
4818
4819 * Makefile.am: Add PA64 support. Add missing dependencies for
4820 PA32 elf support.
4821 * Makefile.in: Rebuilt.
4822 * configure.tgt: Add PA64 support (currently disabled).
4823
aea4bd9d
AM
48242000-04-25 Alan Modra <alan@linuxcare.com.au>
4825
4826 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
4827 (output_rel_find): New function.
4828 (hold_section, hold_use): Delete.
4829 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
4830 hold_interp): Make local to place_orphan.
4831 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
4832 rather than place_section to find possible previous use of orphan.
4833 Similarly find the place-holder output sections. Use returned
4834 value from lang_enter_output_section_statement rather than calling
4835 lang_output_section_statement_lookup.
4836 * emultempl/armelf.em: Same here.
4837 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
4838
4839 * ldlang.c (lang_enter_output_section_statement): Return output
4840 section statement.
4841 * ldlang.h (lang_enter_output_section_statement): Change
4842 declaration too.
4843
4844 * ldlang.h (lang_output_section_statement): Export it.
4845 * ldlang.c (lang_output_section_statement): Ditto.
4846
2b5fc1f5
NC
48472000-04-24 Nick Clifton <nickc@cygnus.com>
4848
4849 * ld.texinfo (Output Section Data): Add note that section data
4850 commands cannot appear outside of section directives.
4851
d8475ff6
JL
48522000-04-2 Matthew Green <mrg@cygnus.com>
4853
4854 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
4855
3b16e843
NC
48562000-04-21 Richard Henderson <rth@cygnus.com>
4857 David Mosberger <davidm@hpl.hp.com>
800eeca4
JW
4858
4859 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
4860 (eelf64_ia64.c): New rule.
4861 * Makefile.in: Rebuild.
4862 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
4863 * emulparams/elf64_ia64.sh: New file.
50bbae35 4864
c9637625
RH
48652000-04-21 Richard Henderson <rth@cygnus.com>
4866
4867 * scripttempl/elfd30v.sc: Place .gcc_except_table.
4868
28ea9521
AM
48692000-04-19 Alan Modra <alan@linuxcare.com.au>
4870
4871 * dep-in.sed: Match space at start of file name, not at end.
4872
20d04697
L
48732000-04-18 H.J. Lu <hjl@gnu.org>
4874
4875 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
4876 lang_leave_output_section_statement () after calling
4877 lang_enter_output_section_statement ().
4878 * emultempl/armelf.em: Likewise.
4879
5ba47421
AM
48802000-04-18 Alan Modra <alan@linuxcare.com.au>
4881
4882 * emultempl/elf32.em (struct orphan_save): Add section field.
4883 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
4884 better order, and place first orphan section as we did before the
4885 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
4886 Don't call make_bfd_section here, let wild_doit do the job for us.
4887 Don't build a statement list when we'll only throw it away.
4888 * emultempl/armelf.em: Ditto.
4889 * emultempl/pe.em: Similarly.
4890
bdbe5705
GK
48912000-04-14 Geoff Keating <geoffk@cygnus.com>
4892
4893 * scripttempl/elfppc.sc: Remove.
4894 * emulparams/elf32ppc.sh: Use elf.sc.
4895 * emulparams/elf32lppc.sh: Use elf.sc.
4896 * emulparams/elf32ppclinux.sh: Use elf.sc.
4897 * emulparams/elf32ppcsim.sh: New file.
4898 * emulparams/elf32lppcsim.sh: New file.
4899 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
4900 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
4901 * Makefile.in: Regenerate.
4902 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
4903
01cc8ff8
AM
49042000-04-14 Alan Modra <alan@linuxcare.com.au>
4905
5ba47421 4906 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
01cc8ff8 4907 ~SEC_ALLOC sections too. Init start address of debug sections.
5ba47421
AM
4908 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
4909 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
01cc8ff8
AM
4910 Also set all relocateable section start addresses.
4911
6c86c541
GK
49122000-04-13 Geoff Keating <geoffk@cygnus.com>
4913
4914 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
4915 Add new BSS_PLT variable for when .plt need not be contained in
4916 the file. Move _etext so that it is also after .fini, and provide
4917 both etext and _etext with a leading underscore. Mark the start
4918 and end of .sbss.
4919
6a345e87
AM
49202000-04-12 Alan Modra <alan@linuxcare.com.au>
4921
4922 * emultempl/elf32.em (struct orphan_save): New.
4923 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
4924 hold_interp): Make them struct orphan_save.
4925 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
4926 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
4927 the end of the relevant section list. Also add associated section
4928 statements to the end of any previous orphan statements.
4929 * emultempl/armelf.em: Similarly.
4930 * emultempl/pe.em: Similarly.
4931
8be86746
AM
49322000-04-11 Alan Modra <alan@linuxcare.com.au>
4933
4934 * ld.texinfo (Simple Example): Remove extraneous paragraph.
4935
3b16e843 49362000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
50bbae35 4937
a2d91340 4938 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
50bbae35 4939 --enable-build-warnings option.
a2d91340
AC
4940 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
4941 * Makefile.in, configure: Re-generate.
4942
41b49281
AM
49432000-04-04 Alan Modra <alan@linuxcare.com.au>
4944
8ad3436c
AM
4945 * po/ld.pot: Regenerate.
4946
4947 * lexsup.c (help): Restore translated part of bug string.
4948
41b49281
AM
4949 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
4950 (DEP): Quote when passing vars to sub-make. Add warning message
4951 to end.
4952 (DEP1): Rewrite for "gcc -MM".
4953 (CLEANFILES): Add DEP2.
4954 Update dependencies.
4955 * Makefile.in: Regenerate.
4956
c20f4f8c
AM
49572000-04-03 Alan Modra <alan@linuxcare.com.au>
4958
4959 * ld.h: #include "bin-bugs.h"
4960 * lexsup.c (help): Use REPORT_BUGS_TO.
4961
adde6300
AM
49622000-03-27 Denis Chertykov <denisc@overta.ru>
4963
4964 * configure.tgt (avr-*-*): New target support.
4965 * Makefile.am: Likewise.
4966 * scripttempl/elf32avr.sc: New script file.
4967 * emulparams/avr1200.sh: New file.
4968 * emulparams/avr23xx.sh: New file.
4969 * emulparams/avr4433.sh New file.
4970 * emulparams/avr44x4.sh New file.
4971 * emulparams/avr85xx.sh New file.
4972 * emulparams/avrmega103.sh New file.
4973 * emulparams/avrmega161.sh New file.
4974 * emulparams/avrmega603.sh New file.
4975 * Makefile.in: Regenerate.
4976
9282ff41
L
49772000-03-09 Andreas Jaeger <aj@suse.de>
4978
4979 * Makefile.am (check-DEJAGNU): Also unset LANG.
4980 * Makefile.in: Rebuild.
4981
a9998805
ILT
49822000-03-06 Ian Lance Taylor <ian@zembu.com>
4983
4984 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
4985 archive.
4986
f9bc20e7
NC
49872000-03-02 H.J. Lu <hjl@gnu.org>
4988
4989 * emulparams/elf32mcore.sh: Include "getopt.h".
4990
4e277b38
ILT
49912000-03-01 Ian Lance Taylor <ian@zembu.com>
4992
4993 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
4994
f0c87f88
NC
49952000-03-01 H.J. Lu <hjl@gnu.org>
4996
4997 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
4998 * emulparams/shpe.sh: Likewise.
4999
50002000-03-01 Nick Clifton <nickc@cygnus.com>
5001
5002 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
5003 to unused parameters.
5004
5005 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
5006 functions only used by DLL code.
5007 (_place_orphan): Initialise 'dollar'.
5008
b6f29aaa
L
50092000-03-01 H.J. Lu <hjl@gnu.org>
5010
5011 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
5012 indicate if the undefined symbol is a fatal error or not.
5013 Don't delete the output file if "fatal" is false.
5014
af28fce3
L
50152000-02-29 H.J. Lu <hjl@gnu.org>
5016
50bbae35 5017 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
af28fce3
L
5018 Set LC_COLLATE and LC_ALL to null and export them. It is for
5019 sort which expects the C locale.
5020 Add $(LIBS) to all $(HOSTING_LIBS).
5021 * Makefile.in: Rebuild.
5022
40d109bf
AM
50232000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
5024
5025 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
5026 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
5027 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
5028 (ld_emulation_xfer_struct): Add missing NULL initialiser for
5029 find_potential_libraries.
5030
db5be682
JB
50312000-02-28 Jim Blandy <jimb@redhat.com>
5032
5033 * ldgram.y (exclude_name_list): Don't require a comma to separate
50bbae35 5034 list entries; the lexer considers commas to be valid part of a
db5be682
JB
5035 filename, so in something like `foo, bar' the comma is considered
5036 part of the first filename, `foo,'.
5037 * ld.texinfo: Update section on EXCLUDE_FILE lists.
5038
3558ff4c
ILT
50392000-02-27 Loren J. Rittle <ljrittle@acm.org>
5040
5041 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
5042 host "i[3456]86-*-freebsdelf*".
5043
4eee2681
ILT
50442000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
5045
5046 * scripttempl/i386go32.sc: Move misplaced semicolons.
5047
8d75d12d
ILT
50482000-02-25 Ian Lance Taylor <ian@zembu.com>
5049
5050 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
5051 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
5052 (eelf64hppa.c, ehppaelf.c): Remove targets.
5053 * Makefile.in: Rebuild.
5054
a1836d49
AO
50552000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5056
ad51fb57
AO
5057 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
5058 GNU/Linux/sparc, but keep the default as 32.
5059
a1836d49
AO
5060 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
5061 it default if sparcv9 or sparc64.
5062
344a211f
NC
50632000-02-24 Nick Clifton <nickc@cygnus.com>
5064
5065 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
5066 * Makefile.in: Regenerate.
5067 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
5068
5069 * ldemul.h (ld_emulation_xfer_struct): Add new field:
5070 find_potential_libraries.
5071 * ldemul.c (ldemul_find_potential_libraries): New function.
5072
5073 * ldfile.c (ldfile_open_file_search): Allow function to be
50bbae35 5074 exported.
344a211f
NC
5075 (ldfile_open_file): Call ldemul_find_potential_libraries.
5076 * ldfile.h: Add prototype for ldfile_open_file_search.
5077
5078 * pe-dll.c: Add support for ARM, MIPS and SH targets.
5079
5080 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
5081 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
5082
5083 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
5084 (gld_X_find_potential_libraries): New function. Search for
5085 libraries called "*.lib".
5086
a2b64bed 5087 * scripttempl/pe.sc: Add .pdata section.
344a211f 5088
eaba1dd3
RH
50892000-02-23 Richard Henderson <rth@cygnus.com>
5090
5091 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
5092 Add and use memory regions.
5093
5b93d8bb
AM
50942000-02-23 Linas Vepstas (linas@linas.org)
5095
5096 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
5097
5098 * Makefile.am: Add support for Linux/IBM 370.
5099 * configure.tgt: Likewise.
5100
5101 * Makefile.in: Regenerate.
5102
f6af82bd
AM
51032000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
5104
5105 * ldlang.c (print_input_section, print_data_statement,
5106 print_reloc_statement, print_padding_statement, insert_pad,
5107 size_input_section, lang_check_section_addresses,
5108 lang_size_sections, lang_do_assignments, lang_set_startof,
50bbae35 5109 lang_one_common): Change `opb' to unsigned.
f6af82bd
AM
5110 (lang_do_assignments): Also change `size' to unsigned.
5111
9e673ad1
RH
51122000-02-16 Richard Henderson <rth@cygnus.com>
5113
5114 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
5115
562d3460
TW
51162000-02-16 Timothy Wall <twall@cygnus.com>
5117
5118 * mri.c (mri_draw_tree): Add default LMA region argument to call
5119 to lang_leave_output_section_statement.
5120 * ldlang.h: Update prototypes with LMA region arguments.
5121 * ldlang.c (lang_size_sections): Encapsulate region bounds
5122 checking in os_check_region call.
5123 (os_check_region): New function.
5124 (lang_output_section_statement_lookup): Initialize lma_region.
5125 (lang_leave_output_section_statement): Add LMA region argument.
5126 (lang_leave_overlay): Ditto.
5127 * ldgram.y: Handle LMA region syntax.
5128 * ld.texinfo (Output Section Description): Describe LMA region usage.
5129 * emultempl/armelf.em (gld$place_orphan): Add default value for
01cc8ff8 5130 lma region in call to lang_leave_output_section_statement.
562d3460 5131 * emultempl/elf32.em (gld$place_orphan): Add default value for
01cc8ff8 5132 lma region in call to lang_leave_output_section_statement.
562d3460 5133 * emultempl/pe.em (gld$place_orphan): Add default value for
01cc8ff8 5134 lma region in call to lang_leave_output_section_statement.
50bbae35
AM
5135
5136
9e4ed18c
TW
51372000-02-04 Timothy Wall <twall@redhat.com>
5138
5139 * ldlang.c (lang_check_section_addresses): Use bytes instead of
5140 octets when calculating section end addresses.
5141
32edc927
TW
51422000-02-04 Timothy Wall <twall@redhat.com>
5143
5144 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
5145
4cbfc3ac
TW
51462000-02-03 Timothy Wall <twall@redhat.com>
5147
a2b64bed 5148 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
4cbfc3ac 5149 octet count.
a2b64bed 5150 * ldlang.c (print_input_section, print_data_statement,
4cbfc3ac
TW
5151 print_reloc_statement, print_padding_statement): Print target
5152 address values and section sizes as bytes, not octets.
5153 (insert_pad) Calculate padding size in octets, and adjust "dot"
5154 by bytes.
5155 (size_input_section) Always adjust "dot" by bytes, not octets.
5156 (lang_check_section_addresses, lang_do_assignments) Adjust
5157 "dot" by bytes, not octets. Use the larger of the directive size
5158 or octets_per_byte for the number of octets actually allocated in
5159 the output section.
5160 (lang_set_startof) Make sure STARTOF returns a target address.
5161 (lang_one_common) Record size changes in octets.
5162 (lang_abs_symbol_at_end_of) Section end symbol's value is
5163 recorded in target bytes.
68b2fc7a 5164 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
4cbfc3ac 5165 to be clear about behavior when an octet is smaller than one byte.
50bbae35 5166
305c7206
AM
51672000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
5168
5169 * ldcref.c (output_cref): Don't pass message strings to printf
5170 as format arg.
5171 Update copyright.
5172
5173 * ldmisc.c (vfinfo): Same here.
5174 Update copyright.
5175
e1c47aa4
AM
51762000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
5177
5178 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
5179 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
5180 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
5181 Add missing NULL initialisers, and comments.
5182
13392b77
NC
51832000-01-21 Nick Clifton <nickc@cygnus.com>
5184
5185 * ldlang.c (lang_size_sections): Fix typo in comment.
5186
cce4c4c5
NC
51872000-01-18 H.J. Lu <hjl@gnu.org>
5188
5189 * ldlang.c (lang_size_sections): Also update the current
5190 address of a region if the SEC_NEVER_LOAD bit is not set.
5191
0decc840
NC
51922000-01-10 Philip Blundell <pb@futuretv.com>
5193
5194 * configure.tgt (arm*-*-conix*): New target.
5195
4e53152f
NC
51962000-01-07 Nick Clifton <nickc@cygnus.com>
5197
5198 * ld.texinfo (Options): Remind users to preceed linker command
fa19fce0
NC
5199 line switches with -Wl, (or whatever is appropriate) if it is
5200 being invoked by a comnpiler driver program.
50bbae35 5201 Fix description of the behaviour of the -n command line switch.
4e53152f 5202
3b16e843 52032000-01-05 Catherine Moore <clm@cygnus.com>
18625d54
CM
5204
5205 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
5206 (name_list): New.
5207 * ld.texinfo (EXCLUDE_FILE): Update documentation.
5208 * ldgram.y (wildcard_spec): Support a list of excluded_files.
5209 (exclude_name_list): New.
5210 ldlang.c (walk_wild_section): Support list of excluded files.
5211 (print_wild_statement): Likewise.
5212 (lang_add_wild): Likewise.
5213 * ldlang.h (lang_wild_statement_type): Likewise.
5214 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
6ddeca85 5215
5aaace27
NC
52162000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
5217
870df5dc
NC
5218 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
5219 (process_def_file): Use.
5220 (pe_dll_compat_implib): New variable.
5221 (make_one): Use.
50bbae35 5222
870df5dc
NC
5223 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
5224 pe_dll_compat_implib.
50bbae35
AM
5225
5226 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
870df5dc
NC
5227 compat-implib options.
5228 (gld_${EMULATION_NAME}_list_options): List new options.
5229 (gld_${EMULATION_NAME}_parse_args): Handle.
5230
50bbae35 5231 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
5aaace27 5232 dll.
50bbae35
AM
5233
5234 * deffilep.y (opt_name): Allow "." in name.
5aaace27 5235
2f6d2f85 5236For older changes see ChangeLog-9899
252b5132
RH
5237\f
5238Local Variables:
5239mode: change-log
5240left-margin: 8
5241fill-column: 74
5242version-control: never
5243End:
This page took 0.487052 seconds and 4 git commands to generate.