Fix numerous occurrences of
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
2d801b0f
AM
12002-10-11 Alan Modra <amodra@bigpond.net.au>
2
3 * ldgram.y (memory_spec): Provide empty action.
4 (section <NAME>): Likewise.
5
599917b8
JJ
62002-10-10 Jakub Jelinek <jakub@redhat.com>
7
8 * ldfile.c (ldfile_try_open_bfd): When searching skip linker scripts if
9 they have OUTPUT_FORMAT not matching actual output format.
10 * ldlang.c (lang_get_output_target): New function.
11 (open_output): Use it.
12 * ldlang.h (lang_get_output_target): New prototype.
13
24cdb50a
AM
142002-10-10 Alan Modra <amodra@bigpond.net.au>
15
16 * emultempl/elf32.em (output_rel_find): Prefer .rel script sections
17 when orphan is .rel, .rela when orphan is .rela.
18 (gld${EMULATION_NAME}_place_orphan): Handle combreloc .rel* case
19 first. Remove outsecname var.
20
a2b3c630
SC
212002-10-09 Richard Shann <richard.shann@superh.com>
22 Stephen Clarke <stephen.clarke@superh.com>
23
24 * Makefile.am: Add eshelf32_linux.o and
25 eshlelf32_linux.o, new emulations for sh64 Linux.
26 * Makefile.in: Regenerate.
27 * configure.tgt: Add sh64eb-*-linux* and sh64-*-linux* emulations.
28 * emulparams/shelf32_linux.sh: New file.
29 * emulparams/shlelf32_linux.sh: New file.
30
c04c9586
L
312002-10-08 H.J. Lu <hjl@gnu.org>
32
33 * ldlang.c (lang_file_exist): Removed.
34 (new_afile): Revert the last change.
35 * ldlang.h (lang_file_exist): Removed.
36 * lexsup.c (parse_args): Revert the last change.
37
39cebe23
NC
382002-10-07 Ralf Habacker <Ralf.Habacker@freenet.de>
39
40 * pe-dll.cc (autofilter_symbolprefixlist): Don't re-export
41 auto-import symbols.
42 (make_one): Create _nm_<symbol> for data only.
43
53b2a62f
NC
442002-10-05 Elias Athanasopoulos <eathan@otenet.gr>
45
46 * ldlang.c (lang_file_exist): New function.
47 (new_afile): Abort if the filename to be added matches the linker
48 output filename.
49 * ldlang.h: Add prototype for lang_file_exist.
50 * lexsup.c (parse_args): Abort if the output filename matches
51 one of the input filenames.
52
a86a09cc
AM
532002-10-02 Alan Modra <amodra@bigpond.net.au>
54
55 * emulparams/elf64ppc.sh (MAXPAGESIZE): Set to 0x10000.
56
ba493122
AM
572002-09-30 Alan Modra <amodra@bigpond.net.au>
58
1bf0a4d9
AM
59 * scripttempl/elfd30v.sc: Order reloc sections placing .plt last.
60 * scripttempl/elfm68hc11.sc: Likewise.
61 * scripttempl/elfm68hc12.sc: Likewise.
62
ba493122
AM
63 * emultempl/elf32.em (output_rel_find): Always place orphan loadable
64 reloc sections just before .rel.plt/.rela.plt.
65 (gld${EMULATION_NAME}_place_orphan <.rel>): Remove combreloc code.
66 Only put loadable reloc sections in hold_rel.
67
fdb9132d
L
682002-09-29 H.J. Lu <hjl@gnu.org>
69
42f98619 70 * emulparams/elf32ppc.sh (OTHER_GOT_RELOC_SECTIONS): New.
fdb9132d 71
ff326826
DJ
722002-09-25 Daniel Jacobowitz <drow@mvista.com>
73
74 From "Anita Kulkarni" <AnitaK@kpit.com>
75 * scripttempl/sh.sc: Handle .eh_frame* and .gcc_exc*
76 sections.
77
0ae1cf52
AM
782002-09-25 Alan Modra <amodra@bigpond.net.au>
79
1ddd7b13
AM
80 * genscripts.sh (SEGMENT_SIZE): Use MAXPAGESIZE before
81 TARGET_PAGE_SIZE.
82 * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Incorporate
83 SEGMENT_SIZE alignment.
84 * emulparams/elf64ppc.sh (DATA_ADDR): Delete.
85 (SEGMENT_SIZE): Define.
86
0ae1cf52
AM
87 * ldexp.c (fold_unary): New. Split out from exp_fold_tree.
88 (fold_binary): Correct abs - non-abs case.
89 (fold_trinary): New. Split out from exp_fold_tree.
90
06143382
AM
912002-09-24 Alan Modra <amodra@bigpond.net.au>
92
93 * emulparams/elf64ppc.sh (DATA_ADDR): Define.
94 * emulparams/elf64_aix.sh (DATA_ADDR): Don't use a fixed address
95 for start of .data, instead align up to 256M boundary.
96 * scripttempl/aix.sc: Likewise.
97
8e616ecc
DD
982002-09-22 Mark Elbrecht <snowball3@softhome.net>
99
100 * scripttempl/i386go32.sc: Handle bss unique sections.
101
5cfb2bb2
AM
1022002-09-21 Alan Modra <amodra@bigpond.net.au>
103
104 * ldmisc.c (vfinfo <%C,%D,%G>): Always output bfd, section and offset.
105
dd2e0905
SC
1062002-09-17 Stan Cox <scox@redhat.com>
107
108 * emulparams/elf32bmipn32-defs.sh: New file.
109 * emulparams/elf32bmipn32.sh: Use elf32bmipn32-defs.sh.
110 * emulparams/elf32btsmipn32.sh: Likewise.
111 * emulparams/elf64bmip.sh: Likewise.
112 * emulparams/elf64btsmip.sh: Likewise.
113
4ada7262
DB
1142002-09-16 Bruno Haible <bruno@clisp.org>
115
116 * emulparams/elf_i386_fbsd.sh: Set OUTPUT_FORMAT to
117 elf32-i386-freebsd.
118 * emulparams/elf64alpha_fbsd.sh: Set OUTPUT_FORMAT to
119 elf64-alpha-freebsd.
120
e09f4395
NC
1212002-09-11 Nick Clifton <nickc@redhat.com>
122
004d9caf
NC
123 * NEWS: New TI port supports both C4x and C3x series of DSPs.
124
e09f4395
NC
125 * po/tr.po: Updated Turkish translation.
126
004d9caf 1272002-09-06 Jeffrey A Law (law@redhat.com)
0b3a6a28
JL
128
129 * configure.tgt (h8300-*-hms*, h8500-*-hms*): Restore.
130
3e369e96
NC
1312002-09-02 Nick Clifton <nickc@redhat.com>
132
67010b46
NC
133 * scripttempl/v850.sc: Add EXTERN references to __ctbpm __gp and
134 __ep.
135 * emulparams/v850.sh (TEMPLATE_NAME): Define.
3e369e96 136
5435462c
NC
1372002-08-30 Nick Clifton <nickc@redhat.com>
138
139 * scripttempl/elfd10v.sc (MEMORY): Remove UNIFIED, it is not
140 used. Change INSN to start at 0x01000000 and extend for
141 256K (ignoring holes). Start the STACK on a word aligned
142 boundary.
143 (.rodata): Start it at the READONLY_START_ADDR.
144
5c368657
AM
1452002-08-30 Alan Modra <amodra@bigpond.net.au>
146
147 * emulparams/elf32ppc.sh (ARCH): Set to "powerpc:common".
148
026df7c5
NC
1492002-08-28 Svein E. Seldal <Svein.Seldal@solidas.com>
150
151 * Makefile.am: Add etic4xcoff.o in ALL_EMULATIONS list and
152 added makefile targets for this file.
153 * Makefile.in: Regenerate.
154 * configure.tgt: Added tic4x-coff and c4x-coff emulations.
155 * NEWS: Mention new port.
156
1572002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
158
159 * emulparams/tic3xcoff.sh: New file.
160 * emulparams/tic4xcoff.sh: New file.
161 * scripttempl/tic3xcoff.sc: New file.
162 * scripttempl/tic4xcoff.sc: New file.
163
c89e8944
AM
1642002-08-28 Alan Modra <amodra@bigpond.net.au>
165
166 * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Replace strtoll,
167 strtoul and strtoull with bfd_scan_vma.
168 (gld${EMULATION_NAME}_read_file): Likewise.
169
6459ecfa
AM
1702002-08-28 Alan Modra <amodra@bigpond.net.au>
171
172 * configure.tgt: Remove h8[35]00-*-hms*. Add h8500-*-rtems*.
173
ad5211be
NC
1742002-08-27 Egor Duda <deo@logos-m.ru>
175
176 * scripttempl/pe.sc: Handle .rdata_runtime_pseudo_reloc sections.
177 Add symbols for application to access them.
178
88f7bcd5
NC
1792002-08-27 Nick Clifton <nickc@redhat.com>
180
181 * emultempl/armelf.em: Revert this patch, it is not needed.
182
183 2002-08-22 Adam Nemet <anemet@lnxw.com>
184
8e523c23
NC
1852002-08-20 Dan Kegel <dank@kegel.com>
186
187 * configure.in: added --with-lib-path argument to ld's configure
188 to set LIB_PATH.
189 * ld/NEWS: Document new switch.
190 * ld/README: Mention new switch.
191 * configure: Regenerate.
192 * Makefile.in: Regenerate.
193
194 Based on this patch:
195 2001-04-25 Christopher Faylor <cgf@cygnus.com>
196
197 * Makefile.in (LIB_PATH): Make configurable.
198 (GENSCRIPTS): Set LIB_PATH in environment.
199 * configure.in: Substitute LIB_PATH.
200
d9a7f7ab
NC
2012002-08-22 Adam Nemet <anemet@lnxw.com>
202
203 * emultempl/armelf.em: Include elf-bfd.h and elf/arm.h.
204 (arm_elf_finish): Set the last bit of DT_INIT and DT_FINI
205 depending on the type of the function.
206 (arm_elf_convert_thumb_symbol_to_address): New function.
207
ed71e111
NC
2082002-08-22 Graeme Peterson <gp@qnx.com>
209
210 * Makefile.am: Add esh{l}elf_nto.o files.
211 * Makefile.in: Regenerate.
212 * configure.tgt: Add support for sh-**-nto* targets.
213 * emulparams/shelf_nto.sh: New file.
214 * emulparams/shlelf_nto.sh: New file.
215
7abb6dea
AM
2162002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
217
218 * ldlang.c (offsetof): Define if not defined.
219
e9229007
L
2202002-08-14 H.J. Lu <hjl@gnu.org>
221
222 * configure.tgt: Always enable 64bit emulations for 32bit
223 Linux/mips.
224
c553bb91
AM
2252002-08-13 Alan Modra <amodra@bigpond.net.au>
226
227 * emulparams/elf32_dlx.sh (TARGET_PAGE_SIZE): Set to 1.
228 (MAXPAGESIZE): Set to 1.
229
230 * ld.h (ALIGN_N): Delete.
231 * ldexp.h (align_n): Declare.
232 * ldexp.c (align_n): New function.
233 (fold_binary): Use align_n instead of ALIGN_N.
234 (exp_fold_tree): Likewise.
235 * ldlang.c (lang_size_sections_1): Likewise.
236 (lang_one_common): Likewise.
3c6706bb 237 * ld.texinfo (ALIGN): Remove power of 2 restriction.
c553bb91 238
59bc061d
NC
2392002-07-31 Graeme Peterson <gp@qnx.com>
240
241 * configure.tgt: Add support for powerpc{le}-*-nto* targets.
242 * Makefile.am: Add eelf32{l}ppcnto.o files.
243 * Makefile.in: Regenerate.
244 * emulparams/elf32lppcnto.sh: New file.
245 * emulparams/elf32ppcnto.sh: New file.
246
31941635
L
2472002-08-07 H.J. Lu <hjl@gnu.org>
248
249 * ld.texinfo: Document --no-undefined-version.
250
251 * ldlang.c (lang_new_vers_pattern): Set the `symver' and
252 `script.' fields to 0.
253
254 * ldmain.c (main): Initialize the allow_undefined_version to
255 true.
256
257 * lexsup.c (OPTION_NO_UNDEFINED_VERSION): New.
258 (ld_options): Add --no-undefined-version.
259 (parse_args): Support OPTION_NO_UNDEFINED_VERSION.
260
2004afbc
NC
2612002-08-07 Nick Clifton <nickc@redhat.com>
262
263 * emultempl/armelf.em (arm_elf_before_allocation): Only search for
264 an interworking bfd if there are input bfds. (107501)
265
7fc44b9c
AM
2662002-08-06 Alan Modra <amodra@bigpond.net.au>
267
268 * emultempl/aix.em (gld*_before_parse): Set default arch. Reverts
269 2002-05-10 change.
270
24a1ba0f
NC
2712002-08-01 Nick Clifton <nickc@redhat.com>
272
273 * emulparams/armelf.sh: Revert previous delta.
274 * scripttempl/elf.sc: Revert previous delta.
275
ebc6e014
L
2762002-07-31 H.J. Lu <hjl@gnu.org>
277
278 * configure.tgt (powerpc*-*-linux*): Enable elf64ppc for
279 --enable-64-bit-bfd.
280
39a2a3eb
L
2812002-07-31 H.J. Lu <hjl@gnu.org>
282
283 * configure.tgt: Enable x86-64 emulation for Linux/i386 if
284 64bit BFD is selected.
285
a0dfa6a8
L
2862002-07-31 H.J. Lu <hjl@gnu.org>
287
288 * configure.tgt: Enable 64bit emulations for 32bit Linux/mips
289 if 64bit BFD is selected.
290
f7c33884
NC
2912002-07-31 Ian Dall <ian@sibyl.beware.dropbear.id.au>
292
293 * emultempl/netbsd.em (LDEMUL_BEFORE_PARSE): New file to custom set
294 link_info.common_skip_ar_aymbols.
295 * emulparams/ns32knbsd.sh (EXTRA_EM_FILE): Refer to extra file.
296
297 * ldmain.c (main): Initialize new field
298 link_info.common_skip_ar_aymbols.
299
8f64befb
NC
3002002-07-31 Adam Nemet <anemet@lnxw.com>
301
302 * emulparams/armelf.sh (OTHER_PLT_SECTIONS): New variable. Set it
303 to .plt.thumb.
304 * scripttempl/elf.sc: Comment it. Use the same way as ${PLT} is
305 used.
306
500800ca
NC
3072002-07-31 Nick Clifton <nickc@redhat.com>
308
309 * NEWS: Retroactively add entry for Lars Brinkhoff's contribution
310 of the PDP-11 and 2.11BSD a.out support.
311
7808a785
TS
3122002-07-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
313
314 * Makefile.am (eelf32btsmipn32.o, eelf32ltsmipn32.o): New emulations
315 for n32 ABI support.
316 * Makefile.in: Regenerate.
317 * configure.tgt (mips64*el-*-linux-gnu*,mips64*-*-linux-gnu*): Add
318 n32 ABI emulations for these 64 bit targets.
319 * emulparams/elf32bmipn32.sh: Expand comment.
320 * emulparams/elf32btsmipn32.sh: New file, for traditional big endian
321 n32 ABI.
322 * emulparams/elf32ltsmipn32.sh: Likewise for little endian.
323
7e392df6
NC
3242002-07-30 Graeme Peterson <gp@qnx.com>
325
326 * configure.tgt: Add support for arm-*-nto target.
327 * Makefile.am: Add earmnto.o file.
328 * Makefile.in: Regenerate.
329 * NEWS: Mention port of ARM support to QNX.
330 * emulparams/armnto.sh: New file.
331
704afa60
JJ
3322002-07-30 Jakub Jelinek <jakub@redhat.com>
333
334 * ldlang.c (lang_add_section): Don't turn .tbss into normal sections
335 for relocatable link.
336 (lang_size_sections_1): Don't make .tbss zero size for relocatable
337 link.
338
7dcd22c2
BS
3392002-07-26 Bernd Schmidt <bernds@redhat.com>
340
341 * emulparams/elf32frv.sh (OTHER_RELOCATING_SECTIONS): Delete.
342 (STACK_ADDR): New.
343
219576a4
NC
3442002-07-25 Nick Clifton <nickc@redhat.com>
345
346 * po/sv.po: Updated Swedish translation.
347 * po/es.po: Updated Spanish translation.
348 * po/fr.po: Updated French translation.
349
ff3063f5
NC
3502002-07-24 Nick Clifton <nickc@redhat.com>
351
352 * po/sv.po: Updated Swedish translation.
353 * po/es.po: Updated Spanish translation.
354
0461a601
NC
3552002-07-23 Nick Clifton <nickc@redhat.com>
356
ff3063f5 357 * po/fr.po: Updated French translation.
0461a601 358
25844aae
AM
3592002-07-20 Alan Modra <amodra@bigpond.net.au>
360
361 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
362 bomb on /DISCARD/ input section.
363 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
364 * emultempl/mmo.em (mmo_place_orphan): Likewise.
365
3595bd6e
HPN
3662002-07-19 Hans-Peter Nilsson <hp@bitrange.com>
367
368 * emultempl/mmo.em (mmo_place_orphan): Handle case of no .text
369 output section.
370
cf88bb9f
NC
3712002-07-16 Denis Chertykov <denisc@overta.ru>
372 Nick Clifton <nickc@redhat.com>
373 Frank Ch. Eigler <fche@redhat.com>
374 John Healy <jhealy@redhat.com>
375
376 * configure.tgt: Add support for ip2k-elf.
377 * Makefile.am: Add support for ip2k-elf.
378 * Makefile.in: Regenerate.
379 * emulparams/elf32ip2k.sh: New file.
380 * scripttempl/ip2k.sc: New file
381 * NEWS: Mention support for new port.
382
2cbb2eef
NC
3832002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
384
385 * NEWS: Add 'Changes in 2.13'.
386
96a94295
L
3872002-07-14 H.J. Lu <hjl@gnu.org>
388
389 * ld.texinfo: Document a .symver takes precedence over a
390 version script.
391
120d20f2
AM
3922002-07-12 Alan Modra <amodra@bigpond.net.au>
393
394 * emulparams/elf64ppc.sh (ARCH): Set to powerpc:common64.
395 (COMMONPAGESIZE): Define.
396
0d2ddeb2
AM
3972002-07-09 Alan Modra <amodra@bigpond.net.au>
398
399 * emulparams/hppanbsd.sh: Remark that hppaobsd.sh references this file.
400
554690ed
AM
4012002-07-09 Federico G. Schwindt <fgsch@olimpo.com.br>
402
403 * configure.tgt: Add support for alpha-*-openbsd*, hppa-*-openbsd*,
404 powerpc-*-openbsd* and sparc64-*-openbsd*.
405 * Makefile.am (ALL_EMULATIONS): Add ehppaobsd.o.
406 * Makefile.in: Regenerate.
407 * emulparams/hppaobsd.sh: New file.
408
34786259
AM
4092002-07-05 Alan Modra <amodra@bigpond.net.au>
410
411 * ldlang.c (print_wild_statement): Fix output formatting.
412
4bd5a393
AM
4132002-07-04 Alan Modra <amodra@bigpond.net.au>
414
415 * ldlang.c: (strip_excluded_output_sections): New function.
416 (lang_process): Call it.
417 (lang_size_sections_1): Revert 2002-06-10 change.
418
ce4f7385
AM
4192002-07-03 Alan Modra <amodra@bigpond.net.au>
420
421 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
422 Run "make dep-am".
423 * Makefile.in: Regenerate.
424
b7b482a3
AM
4252002-07-02 Alan Modra <amodra@bigpond.net.au>
426
71daf8b4
AM
427 * ldfile.c (ldfile_try_open_bfd): Formatting.
428
b7b482a3
AM
429 * ldmisc.c (demangle): Move so that it doesn't intrude between
430 vfinfo comment and body. Add comment.
431
29e2951e
AM
4322002-07-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
433
434 * emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format.
435
e3e942e9
AM
4362002-07-01 Alan Modra <amodra@bigpond.net.au>
437
438 * ldlang.h (entry_sym): Make it a struct bfd_sym_chain.
439 * ldlang.c (entry_sym): Likewise.
440 (ldlang_undef_chain_list_type): Likewise.
441 (lang_finish): Adjust references to entry_symbol.
442 (lang_add_entry): Likewise.
443 (lang_gc_sections): Use link_info.gc_sym_list.
444 (lang_process): Set link_info.gc_sym_list.
445 * ldlex.l: Include bfdlink.h.
446 * ldmain.c (main): Init link_info.gc_sym_list.
447 * emultempl/aix.em: Adjust references to entry_symbol.
448 * emultempl/armcoff.em: Likewise.
449 * emultempl/armelf.em: Likewise.
450 * emultempl/pe.em: Likewise.
451 * emultempl/ppc64elf.em (ppc_after_open): New function.
452 (LDEMUL_AFTER_OPEN): Define.
453 * emulparams/elf64ppc.sh: KEEP .opd sections.
454
a66c0f2c
SC
4552002-06-29 Stephane Carrez <stcarrez@nerim.fr>
456
457 * emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.
458 * emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define.
459 * emulparams/m68hc11elf.sh (EEPROM_SIZE): Define.
460 (EEPROM_START_ADDR): Define.
461 (EEPROM_MEMORY): Define.
462 * emulparams/m68hc12elf.sh: Likewise.
463 * scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs
464 section to put soft registers in .page0.
465 * scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss.
466
2b67cf00
JL
4672002-06-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
468
469 * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
470 section. Add ${RELOCATING-0}.
471
219576a4 4722002-06-26 J"orn Rennecke <joern.rennecke@superh.com>
164c4054
JR
473
474 * emulparams/shelf.sh (STACK_ADDR): Don't define.
475 (OTHER_SECTIONS): Define.
476 * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef.
477 (OTHER_SECTIONS): Undef.
478
fc28fbc2
AM
4792002-06-26 Alan Modra <amodra@bigpond.net.au>
480
481 * ldmisc.c (demangle): Restore dots stripped from sym name.
482
a13a0de8
L
4832002-06-25 H.J. Lu <hjl@gnu.org>
484
485 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
486 * Makefile.in: Regenerated.
487
b553b183
NC
4882002-06-20 Nick Clifton <nickc@cambridge.redhat.com>
489
490 * ld.texinfo (Bug Reporting): Update text to suggest a limit on
491 the size of attached object files, to allow make the object files
492 available via FTP or HTTP and to mention that the mail will be
493 sent to a mailing list.
494
2755afba
NC
4952002-06-20 Nathanael Nerode <neroden@twcny.rr.com>
496
497 * ld/configure.host (romp): Drop support.
498
7d0a848e
CD
4992002-06-18 Chris Demetriou <cgd@broadcom.com>
500
501 * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Check
502 section flags for SEC_DATA, rather than for SEC_CODE being unset.
503
8505f884
CD
5042002-06-18 Chris Demetriou <cgd@broadcom.com>
505
506 * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Fix
507 format specifier used to print BFD name.
508
7d553a40
DB
5092002-06-18 Dave Brolley <brolley@redhat.com>
510
511 From Catherine Moore, Michael Meissner, Jim Blandy:
512 * emulparams/elf32frv.sh: New file.
513 * configure.tgt: Support frv-*-*.
514 * Makefile.am (ALL_EMULATIONS): Add eelf32frv.o.
515 (eelf32frv.c): New target.
516
82434356
TR
5172002-06-17 Tom Rix <trix@redhat.com>
518
a59f3d35 519 * emultempl/elf32.em: gld*_get_script: Check for
82434356
TR
520 GENERATE_COMBRELOC_SCRIPT.
521 * scripttempl/elfd10v.sc : Fix STACK and INSN.
522 * emulparams/d10velf.sh : Fix TEXT_START_ADDR.
523
219576a4 5242002-06-13 J"orn Rennecke <joern.rennecke@superh.com>
5d9b5481
JR
525
526 * configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf.
527
c4bb8067
L
5282002-06-12 H.J. Lu <hjl@gnu.org>
529
530 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Return
531 false if xvec doesn't match.
532
e052cfbe
RS
5332002-06-10 Richard Sandiford <rsandifo@redhat.com>
534
535 * ldlang.c (lang_size_sections_1): Skip removed output sections.
536
4da711b1
AM
5372002-06-08 Alan Modra <amodra@bigpond.net.au>
538
539 * ldexp.c: Replace CONST with const.
540 * ldfile.c: Likewise.
541 * ldfile.h: Likewise.
542 * ldlex.l: Likewise.
543 * mri.c: Likewise.
544 * pe-dll.h: Likewise.
545
eb95bb9a
AM
5462002-06-07 Alan Modra <amodra@bigpond.net.au>
547
548 * emultempl/ppc64elf.em (new_vers_pattern): Warning fix.
549
e0076ab3
NC
5502002-06-07 Charles Wilson <cwilson@ece.gatech.edu>
551
552 * ld/ldmain.c (main): initialize link_info.pei386_auto_import
553 to -1 == implicit enable.
554 * ld/emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
555 initialize link_info.pei386_auto_import to -1 == implicit
556 enable.
557 (gld_${EMULATION_NAME}_parse_args): When processing
558 --enable-auto-import and --disable-auto-import options, use
559 '1' and '0' instead of 'true' and 'false'.
560 (pe_find_data_imports): Only issue message about auto-import
561 when the feature is implicitly enabled. Downgrade message to
562 informational instead of warning.
563
f13a5424
AM
5642002-06-07 Alan Modra <amodra@bigpond.net.au>
565
566 * scripttempl/elf.sc (.tbss): Fix mismatched parentheses/braces.
567
1abffd82
JL
5682002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
569
570 * configure.host (hppa*64*-*-hpux11*): Define NATIVE_LIB_DIRS,
571 HOSTING_CRT0 and HOSTING_LIBS.
572
e0076ab3 5732002-06-05 J"orn Rennecke <joern.rennecke@superh.com>
7a33bc10
JR
574
575 * configure.tgt (shle*-*-elf*, sh64le-*-elf*): New configurations.
576
4a5e698d
JT
5772002-06-05 Jason Thorpe <thorpej@wasabisystems.com>
578
579 * emulparams/ns32knbsd.sh (EXECUTABLE_SYMBOLS): Set _DYNAMIC to 0.
580 (NONPAGED_TEXT_START_ADDR): Set to 0x1000.
581
1d475d82
AM
5822002-06-05 Alan Modra <amodra@bigpond.net.au>
583
584 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place
585 SEC_EXCLUDE sections when doing a relocatable link.
586
5b0e55b6
JT
5872002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
588
589 * Makefile.am (ALL_EMULATIONS): Add eshelf32_nbsd.o,
590 eshlelf32_nbsd.o, eshelf64_nbsd.o, and eshlelf64_nbsd.o.
591 (eshelf32_nbsd.c, eshelf64_nbsd.c, eshlelf32_nbsd.c)
592 (eshlelf64_nbsd.c): New rules.
593 * Makefile.in: Regenerate.
594 * configure.tgt (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*)
595 (sh64-*-netbsd*): New targets.
596 * emulparams/shelf32_nbsd.sh: New file.
597 * emulparams/shelf64_nbsd.sh: New file.
598 * emulparams/shlelf32_nbsd.sh: New file.
599 * emulparams/shlelf64_nbsd.sh: New file.
600
9ad85d9b
AM
6012002-06-04 Alan Modra <amodra@bigpond.net.au>
602
603 * ldlang.c (section_already_linked): Call bfd_discard_group. Typo fix.
604
0c9b4fee
MM
6052002-06-02 Marek Michalkiewicz <marekm@amelek.gda.pl>
606
607 * scripttempl/avr.sc: Changes to support current GCC and avr-libc,
608 C++ constructors/destructors, loosely based on the m68hc11 port.
609
2c538bde
AM
6102002-05-31 Alan Modra <amodra@bigpond.net.au>
611
612 * Makefile.in: Regenerate.
613 * aclocal.m4: Regenerate.
614 * config.in: Regenerate.
615 * configure: Regenerate.
616
a0cb91c6
AM
6172002-05-31 Graeme Peterson <gp@qnx.com>
618
619 * Makefile.am (ALL_EMULATIONS): Add ei386nto.o.
620 (ei386nto.c): Add rule.
621 * Makefile.in: Regenerate.
622 * configure.tgt: Add i[3456]86-*-nto-qnx*.
623 * emulparams/i386nto.sh: New file.
624
37020578
JT
6252002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
626
627 * NEWS: Add entry for VAX ELF support.
628
ab68f3e0 6292002-05-29 Matt Thomas <matt@3am-software.com>
a59f3d35 630 Jason Thorpe <thorpej@wasabisystems.com>
ab68f3e0
JT
631
632 * Makefile.am (ALL_EMULATIONS): Add eelf32vax.o and evaxnbsd.o.
633 (eelf32vax.c)
634 (evaxnbsd.c): New rules.
635 * Makefile.in: Regenerate.
636 * configure.tgt (vax-*-netbsdelf*)
637 (vax-*-netbsdaout*)
638 (vax-*-netbsd*): New targets.
639 * emulparams/elf32vax.sh: New file.
640 * emulparams/vaxnbsd.sh: New file.
641
8afb0e02
NC
6422002-05-29 Adam Nemet <anemet@lnxw.com>
643
644 * emultempl/armelf.em (arm_elf_after_open): Don't determine
645 bfd_for_interwork, instead add glue sections to each input bfd.
646 (bfd_for_interwork): New global.
647 (arm_elf_set_bfd_for_interworking): New function.
648 (arm_elf_before_allocation): Use it.
649
d172d4ba
NC
6502002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
651
652 * Makefile.am: Add DLX make target.
653 * configure.tgt: Add DLX configuration.
654 * Makefile.in: Regenerate.
655 * emulparams/elf32_dlx.sh: New file
656 * scripttempl/dlx.sc: New file
657
b4477fa8
NC
6582002-05-27 Per Lundberg <per@caleb.dnsalias.org>
659
660 * Makefile.am (eelf_i386_chaos): Use elf_chaos.sc script.
661 * Makefile.in: Regenerate.
662 * emulparams/elf_chaos.sh: Use elf_chaos script.
663 * scripttempl/elf_chaos.sc: New file.
664
ee3cc2e2
RS
6652002-05-27 Richard Sandiford <rsandifo@redhat.com>
666
667 * ldlang.c (lang_size_sections_1): Move check for conflicting load
668 addresses and regions from here...
669 (lang_get_regions): ...to this new function.
670 (lang_leave_output_section_statement): Use lang_get_regions.
671 (lang_leave_overlay): Likewise.
672 * mri.c (mri_draw_tree): Pass null as last argument to
673 lang_leave_output_section_statement.
674 * emultempl/elf32.em (gld*_place_orphan): Likewise.
675 * emultempl/mmo.em (mmo_place_orphan): Likewise.
676 * emultempl/pe.em (gld*_place_orphan): Likewise.
677
aa501e5c
JT
6782002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
679
680 * configure.tgt: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
681
658957db
KH
6822002-05-25 Kazu Hirata <kazu@cs.umass.edu>
683
684 * ldemul.c: Fix formatting.
685 * ldfile.c: Likewise.
686 * pe-dll.c: Likewise.
687 * pe-dll.h: Likewise.
688
3511b595
AM
6892002-05-25 Alan Modra <amodra@bigpond.net.au>
690
0d6d936f
AM
691 * ldlang.c (lang_process): Formatting, grammar.
692
3511b595
AM
693 * ldlex.l: Use #include "" instead of <> for local header files.
694
436e8db0
NC
6952002-05-24 TAMURA Kent <kent@netbsd.org>
696
697 * configure.tgt: Add a target for i386-netbsdpe.
698
13ae64f3
JJ
6992002-05-23 Jakub Jelinek <jakub@redhat.com>
700
701 * scripttempl/elf.sc: Add .rel{,a}.t{bss,data}, .tdata and .tbss.
702 * ldlang.c (lang_add_section): Set SEC_THREAD_LOCAL for
703 output section if necessary. Handle .tbss.
704 (lang_size_sections): Clear _raw_size for .tbss section
705 (it allocates space in PT_TLS segment only).
706 * ldwrite.c (build_link_order): Build link order for .tbss too.
707
68b2fc7a
AM
7082002-05-23 Alan Modra <amodra@bigpond.net.au>
709
710 * configure.in: Correct spelling of AC_PREREQ.
711
70b0be79
CF
7122002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
713
714 * pe-dll.c (autofilter_liblist): Add more system libs excluded by
715 default.
716 (autofilter_objlist): Add crtbegin.o, crtend.o.
717
7182002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
719
720 * emultempl/pe.em (OPTION_EXCLUDE_LIBS): Add new define.
721 (longopts): Add new option --exclude-libs.
722 (gld_${EMULATION_NAME}_list_options): Give quick help about it.
723 (gld_${EMULATION_NAME}_parse_args): Use it.
724 * pe-dll.h (pe_dll_add_excludes): Add second param to prototype.
725 * pe-dll.c (exclude_list_struct): Add field type to distinguish symbols
726 from whole archives.
727 (pe_dll_add_excludes): Set excludes->type.
728 (auto_export): Add new variable libname and set to archive basename if
729 abfd. Use it when filtering default and user-specified libarary
730 excludes. Let string "ALL" mean all libs when filtering user-specified
731 libs.
732 * ld.texinfo: Document --exclude-libs.
733
fac1652d
AM
7342002-05-22 Alan Modra <amodra@bigpond.net.au>
735
736 * ldemul.c (ldemul_new_vers_pattern): New function.
737 * ldemul.h (ldemul_new_vers_pattern): Declare.
738 (struct ld_emulation_xfer_struct): Add new_vers_pattern.
739 * ldlang.c (lang_new_vers_pattern): Call ldemul_new_vers_pattern.
740 * emultempl/ppc64elf.em (dotsyms): New static var.
741 (gld${EMULATION_NAME}_new_vers_pattern): New function.
742 (LDEMUL_NEW_VERS_PATTERN): Define.
743 (PARSE_AND_LIST_PROLOGUE): Add OPTION_DOTSYMS, OPTION_NO_DOTSYMS.
744 (PARSE_AND_LIST_LONGOPTS): Likewise.
745 (PARSE_AND_LIST_ARGS_CASES): Handle them.
746 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Update
747 initialiser.
748 * emultempl/armcoff.em: Likewise.
749 * emultempl/armelf_oabi.em: Likewise.
750 * emultempl/beos.em: Likewise.
751 * emultempl/elf32.em: Likewise.
752 * emultempl/generic.em: Likewise.
753 * emultempl/gld960.em: Likewise.
754 * emultempl/gld960c.em: Likewise.
755 * emultempl/linux.em: Likewise.
756 * emultempl/lnk960.em: Likewise.
757 * emultempl/m68kcoff.em: Likewise.
758 * emultempl/mipsecoff.em: Likewise.
759 * emultempl/pe.em: Likewise.
760 * emultempl/sunos.em: Likewise.
761 * emultempl/ticoff.em: Likewise.
762 * emultempl/vanilla.em: Likewise.
763
eb3d6bb8
AM
7642002-05-22 Alan Modra <amodra@bigpond.net.au>
765
766 * genscripts.sh (LIB_PATH): For native targets, concatenate $libdir
767 and $NATIVE_LIB_DIRS. Add $tool_lib before other libs.
768 (LIB_SEARCH_DIRS): No need to use "tr".
769 (COMPILE_IN): Only set for native targets.
770 * configure.host (NATIVE_LIB_DIRS): Specify all native search dirs
771 here, rather than adding lib:/usr/lib:/usr/local/lib in genscripts.sh.
772 * configure.tgt (powerpc*): Set tdir_*.
773 (powerpcle*): Correct targ_extra_emuls.
774 * emulparams/elf32ppc.sh (LIB_PATH): Set up native 64 bit dirs.
775 * emulparams/elf64ppc.sh (LIB_PATH): Likewise.
776
54f24647
AM
7772002-05-22 Alan Modra <amodra@bigpond.net.au>
778
779 * emultempl/pe.em (set_pe_subsystem): Don't set "cmdline" when
780 calling lang_add_entry.
781
aa713662
L
7822002-05-21 H.J. Lu (hjl@gnu.org)
783
784 * emultempl/elf32.em (gld${EMULATION_NAME}_parse_args): Handle
785 "-z muldefs".
786 (gld${EMULATION_NAME}_list_options): Add "-z muldefs".
787
788 * ld.texinfo: Updated for --allow-multiple-definition and
789 "-z muldefs".
790
791 * ldmain.c (main): Initialize the allow_multiple_definition
792 field to false.
793
794 * lexsup.c (OPTION_ALLOW_MULTIPLE_DEFINITION): New.
795 (ld_options): Add --allow-multiple-definition.
796 (parse_args): Support OPTION_ALLOW_MULTIPLE_DEFINITION.
797
658f2588
JT
7982002-05-21 Jason Thorpe <thorpej@wasabisystems.com>
799
800 * Makefile.am (ALL_EMULATIONS): Add earmelfb_nbsd.o.
801 (earmelfb_nbsd.c): New rule.
a59f3d35 802 * Makefile.in: Regenerate.
658f2588 803 * configure.tgt (armeb-*-netbsdelf*): New target.
a59f3d35 804 (arm-*-netbsdelf*): Add armelfb_nbsd to targ_extra_emuls.
658f2588
JT
805 (arm-*-netbsd*): Likewise.
806 * emulparams/armelfb_nbsd.sh: New file.
807
ca10c62d
TR
8082002-05-18 Tom Rix <trix@redhat.com>
809
a59f3d35 810 * emultempl/aix.em (gld*_parse_args): Add -bnortl and -bnortllib
ca10c62d
TR
811 support.
812
fae1e84f
MM
8132002-05-17 Marek Michalkiewicz <marekm@amelek.gda.pl>
814
815 * Makefile.am: Add new emulations avr1, avr2, avr3, avr4, avr5.
816 * Makefile.in: Regenerate.
817 * configure.tgt (avr-*-*): Add avr[1-5] to targ_extra_emuls.
818
7c8bf1e8
MM
8192002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
820
821 * emulparams/avr1.sh: New file.
822 * emulparams/avr2.sh: New file.
823 * emulparams/avr3.sh: New file.
824 * emulparams/avr4.sh: New file.
825 * emulparams/avr5.sh: New file.
826 * scripttempl/avr.sc: New file.
827
c2c01aa7
AM
8282002-05-15 Alan Modra <amodra@bigpond.net.au>
829
830 * ldlang.c (section_already_linked): Call bfd_link_just_syms.
831 (lang_place_orphans): Abort if just_syms_flag.
832
f1f0d9ab
TR
8332002-05-10 Tom Rix <trix@redhat.com>
834
a59f3d35 835 * emultempl/aix.em: (gld*_set_output_arch): New function. Use
f1f0d9ab
TR
836 architecture and machine information in the output bfd.
837 (gld*_before_parse): Remove old arch and machine code.
838 (choose_target): Rename to gld*_choose_target.
a59f3d35
AM
839 (rtld): Change type to int.
840 * ldfile.c (ldfile_try_open_bfd): Disable compatiblity check for
f1f0d9ab
TR
841 objects in XCOFF archives.
842 * ldfile.h: Update copyright date.
843
f4d73366
JJ
8442002-05-10 Jakub Jelinek <jakub@redhat.com>
845
846 * ldmain.c (main): Enable -z combreloc by default.
847
d3d8a9ee
NC
8482002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
849
850 * Makefile.am: Honour DESTDIR.
851 * Makefile.in: Regenerate.
852
9f88b410
RS
8532002-05-07 Richard Sandiford <rsandifo@redhat.com>
854
855 * ldlang.h (lang_output_section_statement_type): Add update_dot_tree.
856 (lang_enter_overlay): Remove the last two parameters.
857 (lang_leave_overlay): Take them here instead.
858 * ldgram.y (memspec_at_opt): Set $$ to null if no region is given.
859 (section): Pass LMA and crossref flag to lang_leave_overlay rather
860 than lang_enter_overlay.
861 * ldlang.c (lang_memory_region_lookup): Return null for null names.
862 (lang_output_section_statement_lookup): Initialize update_dot_tree.
863 (lang_size_sections_1): Evaluate it.
864 (lang_leave_output_section_statement): Rework LMA lookup.
865 (overlay_lma, overlay_nocrossrefs): Remove.
3511b595 866 (lang_enter_overlay): Remove LMA and crossref arguments.
9f88b410
RS
867 (lang_enter_overlay_section): Don't set the LMA here.
868 (lang_leave_overlay): Take LMA and crossref arguments. Move the '.'
869 assignment to the last section's update_dot_tree. Unconditionally
870 use the load and run-time regions specified in the OVERLAY statement.
871 Likewise the first section's LMA. Only set the other sections' LMAs
872 when no load region is given.
873
b9a743c8
NC
8742002-05-06 Nick Clifton <nickc@redhat.com>
875
876 * po/sv.po: New translation.
877
a3d60be3
AM
8782002-05-04 Alan Modra <amodra@bigpond.net.au>
879
880 * emultempl/hppaelf.em (build_section_lists): New function.
881 (gld${EMULATION_NAME}_finish): Call elf32_hppa_setup_section_lists
882 and build_section_lists.
883
b7a26f91
KH
8842002-05-03 Kazu Hirata <kazu@cs.umass.edu>
885
886 * ld.h: Fix formatting.
887 * ldexp.c: Likewise.
888 * ldfile.c: Likewise.
889 * ldlang.c: Likewise.
890 * ldmain.c: Likewise.
891 * lexsup.c: Likewise.
892 * pe-dll.c: Likewise.
893
805fc799
AM
8942002-05-02 Alan Modra <amodra@bigpond.net.au>
895
896 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
897 Adjust for ppc64_elf_set_toc change. #include libbfd.h.
898 (build_section_lists): Do output_section tests here.
899
cc7e59b2
TR
9002002-04-30 Tom Rix <trix@redhat.com>
901
902 * emultempl/aix.em : (gld*_parse_arge): Formatting changes.
903
9c1d81c1
AM
9042002-05-01 Alan Modra <amodra@bigpond.net.au>
905
906 Long branch stubs, multiple stub sections.
907 * emultempl/ppc64elf.em: Include ldctor.h.
908 (stub_file): New var.
909 (group_size): New var.
910 (ppc_create_output_section_statements): New function.
911 (struct hook_stub_info): New.
912 (hook_in_stub): New function.
913 (ppc_add_stub_section): New function.
914 (ppc_layout_sections_again): New function.
915 (build_section_lists): New function.
916 (gld${EMULATION_NAME}_finish): Rewrite.
917 (real_func): New var.
918 (ppc_for_each_input_file_wrapper): New function.
919 (ppc_lang_for_each_input_file): New function.
920 (lang_for_each_input_file): Define.
921 (PARSE_AND_LIST_PROLOGUE): Define.
922 (PARSE_AND_LIST_LONGOPTS): Define.
923 (PARSE_AND_LIST_OPTIONS): Define.
924 (PARSE_AND_LIST_ARGS_CASES): Define.
925 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
926
aa67bccf
TR
9272002-04-30 Tom Rix <trix@redhat.com>
928
a59f3d35
AM
929 * emultempl/aix.em (gld*_parse_arge, gld*_before_allocation): Add
930 -blibpath, -bnolibpath support.
931
94349e12
MM
9322002-04-30 Mark Mitchell <mark@codesourcery.com>
933
934 * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o.
935 (eelf32ppcwindiss.c): New target.
936 * Makefile.in: Regenerated.
937 * configure.tgt: Add support for powerpc-*-windiss.
938 * emulparams/elf32ppcwindiss.sh: New file.
a59f3d35 939
7b17f854
RS
9402002-04-30 Richard Sandiford <rsandifo@redhat.com>
941
942 * ldlang.c (print_assignment): Update print_dot for assignments to ".".
943 * ldexp.c (exp_print_token): Add "infix_p" argument.
944 (exp_print_tree): Update accordingly.
945
596dafeb
AM
9462002-04-28 Alan Modra <amodra@bigpond.net.au>
947
948 * Makefile.am (mpw): New maintainer mode rule to make mpw-*.c files.
949 * Makefile.in: Regenerate.
950 * mpw-elfmips.c: Delete.
951 * mpw-eppcmac.c: Delete.
952 * mpw-esh.c: Delete.
953 * mpw-idtmips.c: Delete.
954
219576a4 9552002-04-17 J"orn Rennecke <joern.rennecke@superh.com>
a44d7f9c
JR
956
957 * emulparams/shelf32.sh (MACHINE): Now sh5.
958
944cd72c
TS
9592002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
960
961 * ldgram.y: Fix syntax warning.
962
5835c212
NC
9632002-04-11 Nick Clifton <nickc@cambridge.redhat.com>
964
965 * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Add 'n' in order
966 to prevent "-n" from being taken as an abbreviation for
967 "--no-pipeline-knowledge".
968
024531e2
AM
9692002-04-08 Alan Modra <amodra@bigpond.net.au>
970
d08a14c3
AM
971 * ldlang.c (lang_size_sections_1): Don't complain about
972 SEC_NEVER_LOAD sections having no memory region specified.
973
024531e2
AM
974 * ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix.
975
c657a1f0
MG
9762002-04-07 matthew green <mrg@redhat.com>
977
978 * ld/configure.host (*-*-netbsd*): Add support for NetBSD/ELF.
979
61bef6f1
AM
9802002-04-04 Alan Modra <amodra@bigpond.net.au>
981
982 * dep-in.sed: Cope with absolute paths.
983 * Makefile.am (dep.sed): Subst TOPDIR and BFDDIR.
984 Run "make dep-am".
985 * Makefile.in: Regenerate.
986
49ba2791
TS
9872002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
988
989 * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options.
990
50e60fb5
JJ
9912002-04-03 Jakub Jelinek <jakub@redhat.com>
992
993 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size
994 is smaller than maximum, round dot up to common page boundary.
995
6f12f4ca
AM
9962002-03-28 Alan Modra <amodra@bigpond.net.au>
997
998 * configure.host: Set up for generic hosts first, then tweak as
999 necessary in more specific targets.
1000 (HOSTING_LIBS): Include libgcc_eh.a if found.
1001
a8f1f017
AJ
10022002-03-23 Andreas Jaeger <aj@suse.de>
1003
1004 * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it.
1005
1d3fdf38
AM
10062002-03-21 Alan Modra <amodra@bigpond.net.au>
1007
1008 * Makefile.am: Run "make dep-am".
1009 * Makefile.in: Regenerate.
1010
79b1faa8
AM
10112002-03-21 Albert Chin-A-Young <china@thewrittenword.com>
1012
1013 * genscripts.sh (LIB_SEARCH_DIRS): Quote path.
1014
fcf0e35b
AM
10152002-03-20 Alan Modra <amodra@bigpond.net.au>
1016
1017 * ldlang.c (ldlang_add_undef): If the output bfd has been opened,
1018 add the symbol to the linker hash table immediately.
1019 (lang_place_undefineds): Split symbol creation out..
1020 (insert_undefined): ..to here.
1021
fed2999d
DB
10222002-03-18 David O'Brien <obrien@FreeBSD.org>
1023
1024 * emultempl/elf32.em: Use lbasename vs. basename to fix problem where
1025 the contents of the buffer returned from basename function will are
1026 getting overwritten while still being used.
1027
219576a4
NC
10282002-03-18 Jan Hubicka <jh@suse.cz>
1029 Andreas Jaeger <aj@suse.de>
1030 Andreas Schwab <schwab@suse.de>
beb43bb9
JH
1031
1032 * configure.tgt (x86_64-*-linux-gnu*): Configure i386 as native.
1033 * elf_x86_64.sh (ARCH): Set to i386:x86-64
1034 set libraries to default to lib64 paths.
1035
eb1e0e80
NC
10362002-03-18 Tom Rix <trix@redhat.com>
1037
1038 * Makefile.am : Add eaix5ppc and eaix5rs6, AIX 5 support.
1039 * configure.tgt : Same.
1040 * emulparms/aix5ppc.sh : New file. For eaix5ppc.
1041 * emulparms/aix5rs6.sh : New file. For eaix5rs6.
1042 * emulparms/aixppc.sh : OUPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT
1043 emulation parameters for better -b32, -b64 support.
1044 * emulparms/aixrs6.sh : Same.
1045 * emulparms/ppcmacos.sh : Same.
1046 * emultempl/aix.em (choose_target) : Use new emulation parameters
1047 OUTPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT.
1048 * Makefile.in : Regenerate.
1049
a1c259a1
NC
10502002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
1051
1052 * po/fr.po: Updated version.
1053
862120bd
AM
10542002-03-18 Alan Modra <amodra@bigpond.net.au>
1055
1056 * ldmain.c (main): Move .text readonly flag fudges from here..
1057 * ldlang.c (lang_process): ..to here.
1058
d35a52e2
AM
10592002-03-14 Alan Modra <amodra@bigpond.net.au>
1060
1061 * ldlang.c (lang_check): Remove the word size check added in last
1062 change. Treat emitrelocations case as for relocatable links.
1063
9ce88e60
NC
10642002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1065
1066 * po/fr.po: Updated version.
1067
30cba025
AM
10682002-03-13 Alan Modra <amodra@bigpond.net.au>
1069
1070 * ldlang.c (lang_check): Do relocatable link checks first, so that
1071 warn_mismatch can't override. Check compatible and word size too.
1072
84ec0e6d
DJ
10732002-03-07 Daniel Jacobowitz <drow@mvista.com>
1074
1075 * ld.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
1076
2d13d8c5
JJ
10772002-03-05 Jakub Jelinek <jakub@redhat.com>
1078
1079 * scripttempl/elf.sc: Only use DATA_SEGMENT_END() together with
1080 DATA_SEGMENT_ALIGN.
1081
b5090659
L
10822002-03-04 H.J. Lu <hjl@gnu.org>
1083
1084 * scripttempl/elf.sc: Put .preinit_array, .init_array and
1085 .fini_array in the data segment.
1086
f42ce16e
AM
10872002-03-04 Alan Modra <amodra@bigpond.net.au>
1088
1089 * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit.
1090
de77b6ac
RH
10912002-03-01 David Mosberger <davidm@hpl.hp.com>
1092
1093 * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array,
1094 .init_array, and .fini_array.
1095
997e08c0
AS
10962002-02-20 Andreas Schwab <schwab@suse.de>
1097
1098 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold
1099 .IA64_unwind* in a relocatable link.
1100
9a66911f
NC
11012002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1102
1103 * NEWS: Mark 2.12 branch.
1104
d86bcc10
MS
11052002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
1106
1107 * emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit".
1108 * emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit".
1109
69f284c7
TR
11102002-02-18 Tom Rix <trix@redhat.com>
1111
1112 * emultempl/aix.em (gld*_parse_args): Add -brtl support.
1113 (gld*_before_allocation): Same.
a8f1f017 1114 (gld*_create_output_section_statements): Generate
69f284c7
TR
1115 __rtinit if run time linking. Add librtl.a to the link.
1116 (gld*_read_file): Clean.
1117
82bd7b59
AM
11182002-02-18 Alan Modra <amodra@bigpond.net.au>
1119
1120 * emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define.
1121
ac3e50bf
DB
11222002-02-18 David O'Brien <obrien@FreeBSD.org>
1123
6a7f963b 1124 * Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd,
ac3e50bf
DB
1125 eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd,
1126 and eelf64alpha_fbsd.
6a7f963b 1127 * Makefile.in: Regenerate.
ac3e50bf
DB
1128 * configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd,
1129 x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd):
1130 use a FreeBSD-specific emulation rather than the psABI one.
1131 * emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value
1132 for all FreeBSD ELF systems.
1133 * emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI
1134 emulation.
1135 * emulparams/elf32ppc_fbsd.sh: Likewise.
1136 * emulparams/elf64_ia64_fbsd.sh: Likewise.
1137 * emulparams/elf64_sparc_fbsd.sh: Likewise.
1138 * emulparams/elf64alpha_fbsd.sh: Likewise.
1139 * emulparams/elf_i386_fbsd.sh: Likewise.
1140 * emulparams/elf_x86_64_fbsd.sh: Likewise.
1141
6ad738c5
NC
11422002-02-18 Nick Clifton <nickc@cambridge.redhat.com>
1143
1144 * po/tr.po: Updated version.
1145
9673c93c
AM
11462002-02-18 Alan Modra <amodra@bigpond.net.au>
1147
1148 * ld.texinfo (Output Section Fill): Fix amateur texinfo.
1149 (FILL): Likewise.
1150
1c5e6447
HPN
11512002-02-17 Hans-Peter Nilsson <hp@bitrange.com>
1152
1153 * emultempl/mmo.em (mmo_after_open): Don't call
1154 _bfd_mmix_check_all_relocs when producing ELF output.
1155
8bb57516
RH
11562002-02-15 Richard Henderson <rth@redhat.com>
1157
de77b6ac 1158 * emulparams/elf64alpha.sh (NOP): Adjust for big-endian
8bb57516
RH
1159 definition. Emit a unop+nop pair.
1160
49fda6c8
HPN
11612002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1162
83c2d653
HPN
1163 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check
1164 for presence of .MMIX.reg_contents.linker_allocated before early
1165 exit.
1166
49fda6c8
HPN
1167 * NEWS: Mention support for MMIX.
1168
2c382fb6
AM
11692002-02-15 Alan Modra <amodra@bigpond.net.au>
1170
1171 Support arbitrary length fill patterns.
a139d329
AM
1172 * ld.texinfo (Output Section Fill): Describe fill expressions.
1173 (FILL): Refer to the above.
2c382fb6
AM
1174 * ldexp.h (etree_value_type): Add "str" field.
1175 (union etree_union): Add "str" to "value" struct.
1176 (exp_bigintop): Declare.
1177 (exp_get_fill): Declare.
1178 * ldexp.c: Include "safe-ctype.h".
1179 (exp_intop): Set value.str to NULL.
1180 (exp_bigintop): New function.
1181 (new_rel): Pass in "str", and set new.str from it.
1182 (new_rel_from_section): Set new.str to NULL.
1183 (fold_name): Adjust calls to new_rel.
1184 (exp_fold_tree): Likewise.
1185 (exp_get_fill): New function.
1186 * ldgram.y (struct big_int bigint, fill_type *fill): New.
1187 (INT): Returns a "bigint". Adjust all code handling INTs.
1188 (fill_opt): Returns a "fill".
1189 (fill_exp): Split out of fill_opt, use for FILL.
1190 * ldlang.h (struct _fill_type): New.
1191 (fill_type): Move typedef to ldexp.h.
1192 (lang_output_section_statement_type): "fill" is now a pointer.
1193 (lang_fill_statement_type): Likewise.
1194 (lang_padding_statement_type): Likewise.
1195 (lang_add_fill): Now takes a "fill_type *" param.
1196 (lang_leave_output_section_statement): Likewise.
1197 (lang_do_assignments): Likewise.
1198 (lang_size_sections): Likewise.
1199 (lang_leave_overlay_section): Likewise.
1200 (lang_leave_overlay): Likewise.
1201 * ldlang.c: Include ldgram.h after ldexp.h.
1202 (lang_output_section_statement_lookup): Adjust for fill_type change.
1203 (print_fill_statement): Likewise.
1204 (print_padding_statement): Likewise.
1205 (insert_pad): Now takes a "fill_type *" arg.
1206 (size_input_section): Likewise.
1207 (lang_size_sections_1): Likewise.
1208 (lang_size_sections): Likewise.
1209 (lang_do_assignments): Likewise.
1210 (lang_add_fill): Likewise.
1211 (lang_leave_output_section_statement): Likewise.
1212 (lang_leave_overlay_section): Likewise.
1213 (lang_leave_overlay): Likewise.
1214 Adjust all callers of the above function.
1215 * ldlex.l: Include ldgram.h after ldexp.h. Allow hex numbers
1216 starting with "0X" as well as "0x". Return bigint.str for hex
1217 numbers starting with "0x" or "0X", zero bigint.str otherwise.
1218 Always use base 16 for numbers starting with "$".
1219 * ldmain.c: Include ldgram.h after ldexp.h.
1220 * ldwrite.c (build_link_order): Use bfd_data_link_order in place
1221 of bfd_fill_link_order.
1222 * pe-dll.c: Adjust lang_do_assignments calls.
1223 * emultempl/elf32.em: Likewise.
1224 * emultempl/hppaelf.em: Likewise.
1225 * emultempl/ppc64elf.em: Likewise.
1226 * emultempl/beos.em: Include ldgram.h after ldexp.h, adjust
1227 lang_add_assignment call.
1228 * emultempl/pe.em: Likewise.
1229
313e35ee
AM
12302002-02-14 Phil Edwards <pme@gcc.gnu.org>
1231
a139d329 1232 * ld.texinfo (VERSION scripts): Symbol names are globbing patterns.
313e35ee
AM
1233 * ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern;
1234 the pattern in question is not a regexp.
1235 * ldlang.c: Likewise.
1236 * ldlang.h: Likewise.
1237 * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also.
1238
2d20f7bf
JJ
12392002-02-12 Jakub Jelinek <jakub@redhat.com>
1240
1241 * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
1242 * ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
1243 (exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp).
1244 * ldexp.c (exp_data_seg): New variable.
1245 (exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END.
1246 (fold_binary): Handle DATA_SEGMENT_ALIGN.
1247 (exp_fold_tree): Handle DATA_SEGMENT_END.
1248 Pass allocation_done when recursing instead of hardcoding
1249 lang_allocating_phase_enum.
1250 * ldexp.h (exp_data_seg): New.
1251 * ldlang.c (lang_size_sections_1): Renamed from lang_size_sections.
1252 (lang_size_sections): New.
1253 * ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document.
1254 * scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END
1255 if COMMONPAGESIZE is defined.
1256 * emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K.
1257 * emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K.
1258 * emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K.
1259 * emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K.
1260 * emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared
1261 libraries only.
1262
06880219
AM
12632002-02-11 Alan Modra <amodra@bigpond.net.au>
1264
1265 * Makefile.in: Regenerate.
1266
37b0ac0f
DJ
12672002-02-10 Daniel Jacobowitz <drow@mvista.com>
1268
1269 * lexsup.c: Remove strtoul declaration.
1270
4e5bae56
DJ
12712002-02-10 Daniel Jacobowitz <drow@mvista.com>
1272
1273 * ldmain.c: Add prototype for main ().
1274 * lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H.
1275 * emultempl/lnk960.em (lnk960_choose_target): Function should
1276 take two arguments.
1277
1e281515
AM
12782002-02-10 Alan Modra <amodra@bigpond.net.au>
1279
1280 * ldlang.c (entry_section): New initialised variable.
1281 (lang_finish): Use it.
1282 * ldlang.h (entry_section): Declare.
1283 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Set
1284 entry_section to ".opd".
1285
f92d92ff 12862002-02-09 Chris Demetriou <cgd@broadcom.com>
0a9c1c8e
CD
1287
1288 * ld.texinfo (Options): Add back in -nostdlib documentation,
1289 which had been inadvertently removed.
1290
74c44237
HPN
12912002-02-09 Hans-Peter Nilsson <hp@bitrange.com>
1292
1293 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Adjust
1294 register section vma to a sane value after emitting error. Make
1295 fatal conditions cause program exit when emitting message.
1296
5e37cc46
NC
12972002-02-08 Ivan Guzvinec <ivang@opencores.org>
1298
1299 * configure.tgt: Add or32-*-rtems target.
1300
2d92cb7d
AO
13012002-02-08 Alexandre Oliva <aoliva@redhat.com>
1302
1303 Contribute sh64-elf.
1304 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1305 * emulparams/shelf32.sh (STACK_ADDR): Define as formerly defined
1306 in OTHER_RELOCATABLE_SECTIONS.
1307 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
1308 * emulparams/shelf32.sh (STACK_ADDR): Define.
1309 (OTHER_RELOCATABLE_SECTIONS): Renamed to...
1310 (OTHER_SECTIONS): this. Removed stack settings.
1311 * emulparams/shelf64.sh (OTHER_RELOCATABLE_SECTIONS): Do not set.
1312 (OTHER_SECTIONS): Reset after sourcing shelf32.sh.
1313 2001-03-12 DJ Delorie <dj@redhat.com>
1314 * emultempl/sh64elf.em (sh64_elf_$_before_allocation): Disable
1315 relaxing if any shmedia or mixed sections are found.
1316 2001-03-07 DJ Delorie <dj@redhat.com>
1317 * emultempl/sh64elf.em (sh64_elf_before_allocation): Pass f to
1318 einfo. Gracefully decline to output to non-elf formats.
1319 2001-03-06 Hans-Peter Nilsson <hpn@redhat.com>
1320 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS) <.stack>:
1321 Default to _end aligned to next multiple of 0x40000, plus 0x40000.
1322 * emulparams/shelf32.sh: Ditto.
1323 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
1324 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Tweak
1325 comment.
1326 2001-01-10 Ben Elliston <bje@redhat.com>
1327 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Avoid
1328 non-portable shell constructs. From Hans-Peter Nilsson.
1329 2001-01-09 Hans-Peter Nilsson <hpn@cygnus.com>
1330 * emulparams/shelf64.sh (EXTRA_EM_FILE): Define empty.
1331 * Makefile.am (eshelf64.c, eshlelf64.c, eshlelf32.c): Adjust
1332 dependencies to the shell script include chain.
1333 * Makefile.in: Regenerate.
1334 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
1335 * emultempl/sh64elf.em: Update and tweak comments.
1336 (sh64_elf_${EMULATION_NAME}_after_allocation): Always allocate and
1337 make a .cranges section SEC_IN_MEMORY.
1338 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
1339 * emultempl/sh64elf.em
1340 (sh64_elf_${EMULATION_NAME}_before_allocation): Don't stop when
1341 .cranges section found to be necessary; continue and set stored
1342 section contents flags for sections with non-mixed contents.
1343 Use a struct sh64_section_data container and sh64_elf_section_data
1344 to store contents-type flags.
1345 Remove unused update of "isec".
1346 (sh64_elf_${EMULATION_NAME}_after_allocation): Only process
1347 sections marked SHF_SH5_ISA32_MIXED. Use sh64_elf_section_data to
1348 access contents-type flags. Assert that the associated container
1349 is initialized. Use that container, not elf_gp_size, to hold size
1350 of linker-generated cranges contents.
1351 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
1352 * emultempl/sh64elf.em
1353 (sh64_elf_${EMULATION_NAME}_before_allocation): Exit early if
1354 there's already a .cranges section. When section flag difference
1355 is found, don't NULL-check cranges a second time. Tweak comments.
1356 (sh64_elf_${EMULATION_NAME}_after_allocation): Use size after
1357 merging, not max size, as size of ld-generated .cranges contents.
1358 Don't set ELF section flags in output section. When checking for
1359 needed .cranges descriptors, don't use a variable; compare
1360 incoming ELF section flags directly to SHF_SH5_ISA32_MIXED. Tweak
1361 comments.
1362 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
1363 * emultempl/sh64elf.em: New file.
1364 * Makefile.am (eshelf32.c, eshlelf32.c): Adjust dependencies.
1365 * Makefile.in: Regenerate.
1366 * emulparams/shelf32.sh (OUTPUT_FORMAT): Only set if not set.
1367 (OTHER_RELOCATING_SECTIONS): Ditto.
1368 (EXTRA_EM_FILE): New, set to sh64elf if not set.
1369 * emulparams/shlelf32.sh: Stub out all settings except
1370 OUTPUT_FORMAT. Source shelf32.sh.
1371 * emulparams/shelf64.sh: Similar, but also keep ELF_SIZE and
1372 OTHER_RELOCATING_SECTIONS.
1373 (OTHER_RELOCATING_SECTIONS): Remove .cranges.
1374 * emulparams/shlelf64.sh: Stub out all settings except
1375 OUTPUT_FORMAT. Source shelf64.sh.
1376 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
1377 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS): Include
1378 .cranges section.
1379 (DATA_START_SYMBOLS): Define, provide ___data.
1380 (OTHER_READONLY_SYMBOLS): Define, provide ___rodata and align to 8
1381 for consecutive .data section.
1382 (OTHER_GOT_SECTIONS): Define, align to 8 for consecutive .bss
1383 section after .data section.
1384 * emulparams/shlelf64.sh: Ditto.
1385 * emulparams/shelf32.sh: Ditto.
1386 (ALIGNMENT): Define to 8.
1387 * emulparams/shelf32.sh: Ditto.
1388 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
1389 * configure.tgt (sh64-*-elf*): Assign targ_extra_libpath to get
1390 built-in linker scripts.
1391 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
1392 * emulparams/shlelf64.sh: New.
1393 * emulparams/shelf64.sh: New.
1394 * configure.tgt (sh64-*-elf*): Add shelf64 and shlelf64 to
1395 targ_extra_emuls.
1396 * Makefile.am: Add support for shlelf64 and shelf64.
1397 * Makefile.in: Regenerate.
1398 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
1399 * configure.tgt (sh64-*-elf*): Add shelf as default.
1400 Add shlelf to targ_extra_emuls.
1401 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
1402 * emulparams/shelf32.sh: New file.
1403 * emulparams/shlelf32.sh: New file.
1404 * Makefile.am: Add support for shlelf32 and shelf32.
1405 * configure.tgt: Map sh64-*-elf* to shlelf32 and shelf32.
1406 * Makefile.in: Regenerate.
1407
e3dc8847
HPN
14082002-02-05 Hans-Peter Nilsson <hp@axis.com>
1409
1410 * ldlang.c (lang_reset_memory_regions): Rename from
1411 reset_memory_regions. Change all callers. Make public.
1412 * ldlang.h (lang_reset_memory_regions): Prototype.
1413 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call
1414 lang_reset_memory_regions before lang_size_sections.
126730bd
HPN
1415 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
1416 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise.
e3dc8847 1417
8017dbcb
HPN
14182002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
1419
1420 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signed
1421 arithmetic when checking for too many global registers.
1422
006336b8
JT
14232002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
1424
1425 * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o.
1426 (ehppanbsd.c): New rule.
1427 * Makefile.in: Regenerate.
1428 * configure.tgt (hppa*-*-netbsd*): New target.
1429 * emulparams/hppalinux.sh: Add comment to check other files
1430 that source this file it is modified, and list which
1431 files that do.
1432 * emulparams/hppanbsd.sh: New file.
1433
da1f2fec
GK
14342002-02-01 Geoffrey Keating <geoffk@redhat.com>
1435
1436 * scripttempl/xstormy16.sc: Don't allocate extra space for the
1437 stack.
1438
48fa4a5d
HPN
14392002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
1440
1441 Support on-demand global register allocation from
1442 R_MMIX_BASE_PLUS_OFFSET relocs.
1443 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from
1444 mmix_set_reg_section_vma. Call
1445 _bfd_mmix_finalize_linker_allocated_gregs.
1446 (mmix_before_allocation): New function.
1447 (LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation.
1448 (LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation.
1449 * scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP.
1450 (.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated
1451 before .MMIX.reg_contents.
1452 * emultempl/mmo.em (gldmmo_before_allocation): Define to default.
1453 (mmo_after_open): New function.
1454 (LDEMUL_AFTER_OPEN): Define to mmo_after_open.
1455 * emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting. Add
1456 .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents.
1457
3b16e843
NC
14582002-01-31 Ivan Guzvinec <ivang@opencores.org>
1459
1460 * emulparams/or32.sh: New file.
1461 * emulparams/or32elf.sh: New file.
1462 * scripttempl/or32.sc: New file.
1463 * configure.tgt : Add support for or32.
1464 * configure: Regenerate
1465 * Makefile.am: Add support for or32.
1466 * Makefile.in: Regenerate.
1467 * NEWS: Mention support for or32.
1468 * po/ld.pot: Regenerate.
1469
f744d540 14702002-01-29 Chris Demetriou <cgd@broadcom.com>
313e35ee 1471 Mitch Lichtenberg <mpl@broadcom.com>
f744d540
CD
1472
1473 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself.
1474 * emultempl/mipself.em: New file to handle MIPS ELF embedded
1475 reloc creation (ld --embedded-relocs).
1476
4867be41
DJ
14772002-01-27 Daniel Jacobowitz <drow@mvista.com>
1478
1479 * configure: Regenerated.
1480
cd8e197b
HPN
14812002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1482
1483 * Makefile.am (install): Depend on install-info.
1484 * Makefile.in: Regenerate.
1485
9cb61eab
AM
14862002-01-26 Christian Rose <menthos@menthos.com>
1487
1488 * ldmain.c (main): Use full sentences to ease translation.
1489
1caa7b23
NC
14902002-01-26 Nick Clifton <nickc@cambridge.redhat.com>
1491
1492 * po/fr.po: Updated version.
1493
1ddbd152
NC
14942002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
1495
1496 * po/es.po: Updated version.
1497
1e84433f
AJ
14982002-01-25 Andreas Jaeger <aj@suse.de>
1499
1500 * ldlex.l (yy_input): Correct error check.
1501
6d39955e
AM
15022002-01-25 Alan Modra <amodra@bigpond.net.au>
1503
1504 * ldmisc.c (demangle): Put back dots when string not demangled.
1505
a9ed1e1b
RH
15062002-01-22 Richard Henderson <rth@redhat.com>
1507
1508 * emulparams/elf64alpha.sh (NOP): Use unop.
1509
968ec2b9
AJ
15102002-01-21 Andreas Jaeger <aj@suse.de>
1511
1512 * ldlex.l: Use fread instead of read.
1513
9596feea
JT
15142002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
1515
1516 * configure.tgt (ia64-*-netbsd*): New target.
1517
493a6d47
L
15182002-01-21 H.J. Lu <hjl@gnu.org>
1519
1520 * emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to
1521 0.
1522 * emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise.
1523
2a538ba5
AJ
15242002-01-18 Andreas Jaeger <aj@suse.de>
1525
1526 * ldver.c (ldversion): Update year.
1527
328577ad
NC
15282002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1529
1530 * po/ld.pot: Regenerate.
1531
1f808cd5
AM
15322002-01-16 Alan Modra <amodra@bigpond.net.au>
1533
1534 * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em.
1535 * Makefile.in: Regenerate.
1536 * emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define.
1537 * emultempl/ppc64elf.em: New file.
1538
335c5610
DD
15392002-01-15 DJ Delorie <dj@redhat.com>
1540
1541 * scripttempl/pe.sc: Add support for constructor priorities.
1542
c40bbade
DC
15432002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
1544
1545 * emulparams/avr1200.sh (DATA_START): Define as 0x60.
1546 * emulparams/avr23xx.sh: Likewise.
1547 * emulparams/avr4433.sh: Likewise.
1548 * emulparams/avr44x4.sh: Likewise.
1549 * emulparams/avr85xx.sh: Likewise.
1550 * emulparams/avrmega103.sh: Likewise.
1551 * emulparams/avrmega161.sh: Likewise.
1552 * emulparams/avrmega603.sh: Likewise.
1553 * scripttempl/elf32avr.sc: Use DATA_START instead of 0x60.
1554
34efb449
AO
15552002-01-08 Alexandre Oliva <aoliva@redhat.com>
1556
1557 * ldlang.c (walk_wild_section): Exclude object file if enclosing
1558 archive is excluded.
1559
8d05742f
JT
15602002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
1561
1562 * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o.
2a538ba5 1563 (eshelf_nbsd.c): New rule.
8d05742f
JT
1564 (eshlelf_nbsd.c): New rule.
1565 * Makefile.in: Regenerate.
1566 * configure.tgt (sh*le-*-netbsdelf*): New target.
1567 (sh*-*-netbsdelf*): New target.
1568 * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file.
1569 * ld/emulparams/shelf_nbsd.sh: New emulation.
1570 * ld/emulparams/shlelf_nbsd.sh: New emulation.
1571
be2d1673
NC
15722002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
1573
1574 * po/es.po: New file: Spanish translation.
1575 * configure.in (ALL_LINGUAS): Add es.
1576 * configure: Regenerate.
1577
dbab7a7b
NC
15782002-01-06 John Marshall <jmarshall@acm.org>
1579
1580 * ld.texinfo: Note that --emit-relocs is currently only
1581 implemented for ELF.
1582
3dfe7a8c
AM
15832002-01-05 Alan Modra <amodra@bigpond.net.au>
1584
1585 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use
1586 of bfd_section_list_remove and bfd_section_list_insert macros.
1587 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1588 * emultempl/mmo.em (mmo_place_orphan): Likewise.
1589
8a8b2d4b
AJ
15902002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
1591
1592 * configure.tgt (x86_64-*-netbsd*): New target.
1593
9a4c7f16
TR
15942001-12-21 Tom Rix <trix@redhat.com>
1595
8a8b2d4b 1596 (gld*_create_output_section_statements): New function.
9a4c7f16
TR
1597 For -binitfini support.
1598 * emultempl/aix.em (gld*_before_parse): Fix comment.
1599 * emultempl/aix.em (gld*_parse_args): Fix comment.
1600
3695c299
AM
16012001-12-20 Jason Thorpe <thorpej@wasabisystems.com>
1602
cf86e6df
AM
1603 * configure.tgt (mips*-dec-netbsd*): Delete alias for
1604 mips*el-*-netbsd*.
1605 (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls.
1606
3695c299
AM
1607 * configure.tgt (arm-*-netbsdelf*): Add target.
1608 (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls.
1609 * emulparams/armelf_nbsd.sh: Added.
1610 * Makefile.am: Add rules for earmelf_nbsd.
1611 * Makefile.in: Regenerate.
1612
97cb79ae
AJ
16132001-12-19 Andreas Jaeger <aj@suse.de>,
1614 Susanne Oberhauser <froh@suse.de>
1615
1616 * configure.host: Add rules for x86_64-*linux-gnu. Change
1617 s390x-linux entry to use gcc to report configuration, replace gcc
1618 with $CC in s390-linux
1619
9d201f2f
AJ
16202001-12-19 Andreas Jaeger <aj@suse.de>
1621
1622 * ld.texinfo (VERSION): Fix markup.
1623
0b69cd08
MG
16242001-12-18 matthew green <mrg@eterna.com.au>
1625
1626 * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o.
1627 (m68kelfnbsd.c): New rule.
1628 * Makefile.in: Regenerate.
1629 * configure.tgt (m68*-hp-netbsd*): Renamed to ..
1630 (m68*-*-netbsd*4k*): .. this.
1631 (m68*-*-netbsdelf*): New target.
1632 (m68*-*-netbsd*): Also include ELF support.
1633 (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*.
1634 * emulparams/m68kelfnbsd.sh: New emulation.
1635
6b9b879a
JJ
16362001-12-18 Jakub Jelinek <jakub@redhat.com>
1637
1638 * ldgram.y (vers_node): Support anonymous version tags.
1639 * ldlang.c (lang_register_vers_node): Ensure anonymous version
1640 tag is not defined together with non-anonymous versions.
1641 * ld.texinfo: Document it.
1642
9fc877ed
NC
16432001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1644
1645 * po/tr.po: New file: Turkish translation.
1646 * configure.in (ALL_LINGUAS): Add tr.
1647 * configure: Regenerate.
1648
fc18a3f3
RH
16492001-12-17 Jason Thorpe <thorpej@wasabisystems.com>
1650
1651 * Makefile.am: Add rules for eelf64alpha_nbsd.
1652 * Makefile.in: Regenerate.
1653 * configure.tgt (alpha*-*-netbsd*): Set
1654 targ_emul to elf64alpha_nbsd.
1655 * emulparams/elf64alpha_nbsd.sh: Added.
1656
76f63e91
AM
16572001-12-17 Alan Modra <amodra@bigpond.net.au>
1658
1659 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust
1660 section_tail when fiddling with section list.
1661 (gld${EMULATION_NAME}_list_options): Ensure sentences aren't
1662 broken into separate strings to make translation easier.
1663 * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when
1664 fiddling with section list.
1665 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1666
d03b89bd
HPN
16672001-12-16 Hans-Peter Nilsson <hp@bitrange.com>
1668
1669 * scripttempl/mmo.sc: Add .debug_ranges to listed sections.
1670
320fec9a
AM
16712001-12-15 Alan Modra <amodra@bigpond.net.au>
1672
1673 * ldmain.c (main): Initialise link_info.eh_frame_hdr.
1674
65765700
JJ
16752001-12-13 Jakub Jelinek <jakub@redhat.com>
1676
1677 * emultempl/elf32.em (finish): Supply output_bfd
1678 to bfd_elf*_discard_info.
1679 (OPTION_EH_FRAME_HDR): Define.
1680 (longopts): Add --eh-frame-hdr.
1681 (parse_args): Handle it.
1682 (list_options): Add --eh-frame-hdr to help.
1683 * emultempl/hppaelf.em (finish): Supply output_bfd
1684 to bfd_elf*_discard_info.
1685 * scripttempl/elf.sc (.eh_frame_hdr): Add.
1686
89894c62
AM
16872001-12-13 Alan Modra <amodra@bigpond.net.au>
1688
1689 * lexsup.c (parse_args): Don't pass shortopts to second call to
1690 getopt functions. Restore optind rather than decrementing before
1691 second call. Remove errind as it now duplicates last_optind.
1692
583f1926
CF
16932001-12-11 Christopher Faylor <cgf@redhat.com>
1694
1695 * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo.
1696
93fbbb04
GK
16972001-12-07 Geoffrey Keating <geoffk@redhat.com>
1698 Richard Henderson <rth@redhat.com>
1699
1700 * Makefile.am: Add support for xstormy16.
1701 * configure.tgt: Add support for xstormy16.
1702 * Makefile.in: Regenerate.
1703 * emulparams/elf32xstormy16.sh: New file.
1704 * scripttempl/xstormy16.sc: New file.
1705
583f1926
CF
17062001-10-01 Christopher Faylor <cgf@cygnus.com>
1707
fc18a3f3
RH
1708 * Makefile.in (LIB_PATH): Make configurable.
1709 (GENSCRIPTS): Set LIB_PATH in environment.
1710 * configure.in: Substitute LIB_PATH.
1711 * configure: Regenerate.
1712 * configure.tgt (*cygwin): Set LIB_PATH for cross build.
1713 * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS.
583f1926 1714
ff291a48
NC
17152001-12-07 Nick Clifton <nickc@cambridge.redhat.com>
1716
1717 * lexsup.c (ld_options): Insert 'PROGRAM' into the text string
1718 describing the -N option so that it is easier to translate into
1719 foreign languages.
1720
e3c8793a
NC
17212001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1722
1723 * emultempl/pe.em (..._list_options): Replace multiple fprintf
1724 statements describing a single option with a single, newline
1725 escaped fprintf. This allows better translation into other
1726 languages.
9d201f2f 1727
fc18a3f3
RH
1728 * ldmain.c (add_archive_element): Combine multiple strings
1729 into a single string to permit better translation into other
1730 languages.
e3c8793a 1731
f2eab0af
TR
17322001-12-05 Tom Rix <trix@redhat.com>
1733
1734 * Makefile.am: Remove eaixppc64.
9d201f2f 1735 * Makefile.in: Regenerate.
f2eab0af 1736
249172c3
TR
17372001-12-04 Tom Rix <trix@redhat.com>
1738
9d201f2f 1739 * emultempl/aix.em (choose_target): Change default target to
249172c3
TR
1740 OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler
1741 warning.
1742 (gld*_read_file): Fix typo.
1743 (change_symbol_mode): Add prototype.
1744 (is_syscall): Same.
9d201f2f 1745
249172c3
TR
1746 * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete.
1747 * emulparams/aixrs6.sh : Same.
1748 * emulparams/ppcmacos.sh : Same.
1749 * emulparams/aixppc64.sh : Delete file.
1750 * emultempl/aix.em : Formatting changes.
1751
5b5cd1b0
HPN
17522001-12-04 Hans-Peter Nilsson <hp@axis.com>
1753
1754 * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes.
1755 (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting
1756 __Sbss.
1757 (OTHER_END_SYMBOLS): Fix formatting.
1758 * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes.
1759 (OTHER_END_SYMBOLS): Fix formatting.
1760
7cecdbff
AM
17612001-12-04 Alan Modra <amodra@bigpond.net.au>
1762
1763 * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT.
1764
742aeb63 17652001-12-02 Tom Rix <trix@redhat.com>
7cecdbff 1766
742aeb63 1767 * configure.tgt : Remove eaixppc64 emulations.
7cecdbff 1768 * Makefile.in : Remove eaixppc64.c
742aeb63
TR
1769 * ldemul.c (ldemul_choose_target): New parameters argc, argv.
1770 (ldemul_default_target): Same.
1771 * emultempl/gld960.em (gld960_choose_target): Same.
7cecdbff
AM
1772 * emultempl/gld960c.em (gld960_choose_target): Same.
1773 * scripttempl/aix.sc: Remove OUTPUT_FORMAT.
742aeb63
TR
1774 * emultempl/aix.em (is_syscall): syscall_mask now a variable.
1775 * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable.
1776 * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation.
7cecdbff 1777 * emultempl/aix.em (choose_target): New function. Handle emulation of
742aeb63
TR
1778 -b32 and -b64.
1779
48459341
L
17802001-11-27 H.J. Lu <hjl@gnu.org>
1781
1782 * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes.
1783 * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise.
1784 * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise.
1785 * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise.
1786 * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise.
1787 * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise.
1788 * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise.
1789 * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise.
1790
7cecdbff 1791 * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA}
48459341
L
1792 is not empty.
1793 (SDATA): Likewise.
1794 (REL_SDATA): Likewise.
1795 (REL_SBSS): Likewise.
1796 (REL_SDATA2): Likewise.
1797 (REL_SBSS2): Likewise.
1798 (SBSS2): Define if ${NO_SMALL_DATA} is not empty.
1799 (SDATA2): Likewise.
1800
ecfdd20c
SC
18012001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1802
1803 * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
1804 destructor in rom.
7cecdbff 1805 * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.
ecfdd20c 1806
da54c6eb
L
18072001-11-22 H.J. Lu <hjl@gnu.org>
1808
1809 * Makefile.in: Regenerated with automake based on automake
1810 1.4-8 in RedHat 7.1.
1811
465bc359
AM
18122001-11-22 Alan Modra <amodra@bigpond.net.au>
1813
1814 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
1815 (config.status): Delete rule.
1816 Add extra dependencies to cover sourced emulparams files.
1817 * Makefile.in: Regenerate.
1818
1819 * scripttempl/elf.sc: Order <section>, <section>.* and
1820 corresponding linkonce sections as seen in input files.
1821 Formatting fixes. Zero vma of all sections if not relocating.
1822 (STACK): Define and insert if STACK_ADDR defined.
1823 (OTHER_RELOCATING_SECTIONS): Delete.
1824 (OTHER_END_SYMBOLS): Define.
1825 (OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
1826 (OTHER_READWRITE_SECTIONS): Likewise.
1827 (OTHER_GOT_SECTIONS): Likewise.
1828 (OTHER_SDATA_SECTIONS): Likewise.
1829 (OTHER_BSS_SECTIONS): Likewise.
1830 * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
1831 (OTHER_READWRITE_SECTIONS): Likewise.
1832 * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
1833 (OTHER_READWRITE_SECTIONS): Likewise
1834
1835 * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
1836 (STACK_ADDR): Define.
1837 * emulparams/armelf_oabi.sh: As for armelf.sh.
1838 * emulparams/elf32mcore.sh: As for armelf.sh.
1839 * emulparams/h8300elf.sh: As for armelf.sh.
1840 * emulparams/mn10200.sh: As for armelf.sh.
1841 * emulparams/shelf.sh: As for armelf.sh.
1842
1843 * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
1844 (OTHER_END_SYMBOLS): Define.
1845 * emulparams/m32relf.sh: As for elf32fr30.sh.
1846 * emulparams/h8300helf.sh: As for elf32fr30.sh.
1847 * emulparams/h8300self.sh: As for elf32fr30.sh.
1848
1849 * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
1850 defines with RELOCATING test.
1851 (OTHER_SDATA_SECTIONS): Likewise.
1852 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
1853 (OTHER_END_SYMBOLS): ..this.
1854 * emulparams/crislinux.sh: As for criself.sh.
1855
1856 * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
1857 if not relocating.
1858 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
1859 (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order
1860 normal and linkonce sections as seen in input files.
1861 * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
1862 (TEXT_DYNAMIC): Likewise.
1863 (INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
1864 (OTHER_SDATA_SECTIONS): Likewise.
1865 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
1866 * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
1867 * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
1868 * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
1869 * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
1870 (OTHER_PLT_RELOC_SECTIONS): Likewise.
1871 (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce
1872 sections as seen in input files.
1873 * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
1874 * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
1875 if not relocating.
1876 (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
1877 (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
1878 * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
1879 (OTHER_SECTIONS): Instead, use this..
1880 (OTHER_END_SYMBOLS): ..and this.
1881
1882 * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
1883 * emulparams/elf32bsmip.sh: Likewise.
1884 * emulparams/elf32btsmip.sh: Likewise.
1885 * emulparams/elf32ebmip.sh: Likewise.
1886 * emulparams/elf32lmip.sh: Likewise.
1887 * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
1888 * emulparams/elf32lsmip.sh: Likewise.
1889 * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
1890 * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
1891 * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
1892 * emulparams/elf64btsmip.sh: Likewise.
1893 * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
1894 * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
1895 * emulparams/elf32ppclinux.sh: Likewise.
1896 * emulparams/elf32ppcsim.sh: Likewise.
1897 * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
1898 * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
1899 * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
1900 * emulparams/h8300self.sh: Likewise.
1901 * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
1902 * emulparams/sh.sh: Comment.
1903 * emulparams/shl.sh: Source sh.sh, remove duplicates.
1904 * emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
1905 * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
1906
abc6ab0a
AM
19072001-11-21 David Heine <dlheine@tensilica.com>
1908 Alan Modra <amodra@bigpond.net.au>
1909
1910 * ldlang.c (map_input_to_output_sections): Replace "break"
1911 accidentally removed with 2001-08-03 change.
1912 (lang_gc_sections_1): Likewise.
1913
2181f54f
AM
19142001-11-21 Alan Modra <amodra@bigpond.net.au>
1915
1916 * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
1917
ca0b5847
AM
19182001-11-20 Angela Marie Thomas <angela@redhat.com>
1919
1920 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
2181f54f
AM
1921 of false when calling lang_size_sections.
1922 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
ca0b5847 1923
c56feb2b
AM
19242001-11-15 Alan Modra <amodra@bigpond.net.au>
1925
1926 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
1927 function when LDEMUL_FINISH isn't set to the same name. Don't
1928 call ${LDEMUL_FINISH}.
1929 (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined.
1930 * emultempl/armelf.em (arm_elf_finish): Call
1931 gld${EMULATION_NAME}_finish.
1932 * emultempl/hppaelf.em (hppaelf_finish): Rename to
1933 gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and
1934 hppaelf_layout_sections_again if necessary.
1935 (need_laying_out): New var.
1936 (hppaelf_layaout_sections_again): Rename to
1937 hppaelf_layout_sections_again. Clear need_laying_out.
1938 (PARSE_AND_LIST_OPTIONS): Format text.
1939
a48ca7f2
L
19402001-11-14 H.J. Lu <hjl@gnu.org>
1941
1942 * emultempl/armelf.em (arm_elf_finish): Renamed from
1943 gld${EMULATION_NAME}_finish.
1944 (LDEMUL_FINISH): Set to arm_elf_finish.
1945
73d074b4
DJ
19462001-11-14 Daniel Jacobowitz <drow@mvista.com>
1947
1948 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New.
1949 (struct ld_emulation_xfer_struct): Use it.
1950
3b16e843 19512001-11-13 Ross Alexander <ross.alexander@uk.neceur.com>
fc65c602 1952
465bc359 1953 * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add
fc65c602
JL
1954 additional symbols referenced by newer crt0.o files from HP.
1955
f11b7027
NC
19562001-11-12 Anthony Green <green@redhat.com>
1957
1958 * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol.
1959
3bf2994f
AM
19602001-11-12 Alfred M. Szmidt <ams@kemisten.nu>
1961
1962 * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.
1963 * Makefile.in: Regenerate.
1964
ff5dcc92
SC
19652001-11-02 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1966
1967 * ld.texinfo: Use @command for commands, @option for options.
1968 * Makefile.am (POD2MAN): Use 'GNU Development Tools' for
1969 the page man title.
1970 * Makefile.in: Rebuild.
1971
9fb9af6e
CD
19722001-11-04 Chris Demetriou <cgd@broadcom.com>
1973
1974 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
1975 Add support for targets.
2181f54f 1976
3c62831e
NC
19772001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
1978
1979 * configure.in (ALL_LINGUAS): Add "fr" and "sv"
1980 * configure: Regernate.
1981 * po/fr.po: New file.
1982 * po/sv.po: New file.
1983
3a9091c4
NC
19842001-11-01 NIIBE Yutaka <gniibe@m17n.org>
1985
1986 * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls
1987 as little endian default and to support big endian.
2181f54f 1988
361b220e
CD
19892001-11-01 Chris Demetriou <cgd@broadcom.com>
1990
1991 * ld.texinfo (Options): Document new option, -nostdlib.
1992 * lexsup.c (OPTION_NOSTDLIB): New definition.
1993 (ld_options): Add entry for "nostdlib".
1994 (parse_args): Handle OPTIONS_NOSTDLIB.
1995 * ldfile.c (ldfile_add_library_path): Don't add directories
1996 to the search path if they weren't specified on the command line
1997 and -nostdlib was specified.
1998 * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
1999
210a7bd1
NC
20002001-10-31 Nick Clifton <nickc@cambridge.redhat.com>
2001
2002 * lexsup.c (parse_args): Prevent infinite parsing loop when
2003 "-rpath.a" is specified on the command line.
2004 Replace calls to fprintf with calls to einfo.
2005
114283d8
NC
20062001-10-31 John Marshall <jmarshall@acm.org>
2007
2008 * ld.texinfo: A historical requirement that MEMORY and SECTIONS
2009 appear only once across all the linker scripts involved in a link
2010 invocation no longer applies. Make the documentation reflect
2011 that.
2012
7649aa50
NC
20132001-10-31 NIIBE Yutaka <gniibe@m17n.org>
2014
2015 * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
2016 targets.
2017 (sh-*-linux*): Added targ_extra_libpath.
2018
6e814ff8
AM
20192001-10-31 David Heine <dlheine@tensilica.com>
2020
2021 * ldlang.c (lang_size_sections): Keep a valid output_offset field
2022 for padding statements.
2023
3c3bdf30
NC
20242001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
2025
2026 * configure.tgt (mmix-*-*): New target.
2027 * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o.
2028 Add dependencies to match.
2029 * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em,
2030 emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em,
2031 scripttempl/mmo.sc: New files.
2032 * gen-doc.texi: @set MMIX.
2033 * ld.texinfo: Ditto.
6e814ff8 2034 [MMIX] Add MMIX node.
3c3bdf30
NC
2035 * Makefile.in: Regenerate.
2036
ca0c1d3e
KH
20372001-10-29 Kazu Hirata <kazu@hxi.com>
2038
2039 * ldlang.c: Fix a comment typo.
2040
1a3d33ce
AM
20412001-10-23 Alan Modra <amodra@bigpond.net.au>
2042
2043 * configure.host: Move alpha*-*-linux-gnu* entry to generic
2044 entries, and match *-*-linux*.
2045
b47c4208
AM
20462001-10-20 Alan Modra <amodra@bigpond.net.au>
2047
2048 * ldgram.y (mri_script_command): Surround processing of INCLUDE
2049 with ldlex_script, ldlex_popstate.
2050 (ifile_p1): Likewise.
2051 * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the
2052 correct slot.
2053 (lex_push_file): Save current lineno to lineno_stack. Set lineno
2054 to 1. Don't BEGIN(SCRIPT).
2055 (lex_redirect): Similarly.
2056 * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
2057
fd521b47
NC
20582001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
2059
2060 * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and
2061 __EH_FRAME_END__ and accept eh frames into data section.
2062 Add ctor and dtor sections.
2063
59d28a94
DD
20642001-10-19 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2065
2066 * pe-dll.c (autofilter_objectlist): Add gcrt0.o.
2067 (auto-export): Fix indentation.
2068
663dd378
DD
20692001-10-18 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2070
2071 * pe-dll.c (autofilter_objectlist): Add startup objects
2072 for profiling.
2073 (auto-export): Constify char * p.
6e814ff8 2074 Extract file basename and use strcmp rather than ststr
663dd378
DD
2075 for object lookup.
2076
31d677f9
CD
20772001-10-18 Chris Demetriou <cgd@broadcom.com>
2078
2079 * ldmain.c (get_emulation): Improve comment about the handling
2080 of -mipsN options.
2081
aa200fe8
AM
20822001-10-17 Alan Modra <amodra@bigpond.net.au>
2083
2084 * po/POTFILES.in: Regenerate.
2085
146e7110
AM
20862001-10-16 Vassili Karpov <malc@pulsesoft.com>
2087
2088 * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
2089 -z nocopyreloc and -z nocombreloc usage strings.
2090
b4330e85
NC
20912001-10-12 Vassili Karpov <malc@pulsesoft.com>
2092
146e7110 2093 * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc
b4330e85
NC
2094 in usage.
2095
5af8a2fb
NC
20962001-10-11 Aleksey Romanov <aromanov@ennovatenetworks.com>
2097
2098 * scripttempl/armaout.sc: Place .bss section after end of aligned
2099 data section to match behaviour of aout code in constructrion of
2100 header.
2101
5b784096
DD
21022001-10-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2103
2104 * pe-dll.c (autofilter_entry_type autofilter_liblist: Add
2105 startup files for mingw32 dlls to list.
2106
61585df2
CD
21072001-10-10 Chris Demetriou <cgd@broadcom.com>
2108
2109 * emultempl/elf32.em: Fix shell 'if' usage for portability.
2110
45cf6f3e
AH
21112001-10-08 Aldy Hernandez <aldyh@redhat.com>
2112
2113 * configure.tgt (targ): Add arm9e-*-elf.
2114
e24d7c12
L
21152001-10-05 H.J. Lu <hjl@gnu.org>
2116
2117 * genscripts.sh: Fix a typo in the last change.
2118
ec38dd05
JJ
21192001-10-05 Jakub Jelinek <jakub@redhat.com>
2120
2121 * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
2122 -z nocombreloc in usage.
2123
cedd6b0d
JB
21242001-10-03 Jim Blandy <jimb@redhat.com>
2125
2126 * genscripts.sh: Include a comment at the top of each generated
2127 script, explaining its purpose.
2128
8bd621d8
AM
21292001-10-03 Vassili Karpov <malc@pulsesoft.com>
2130
2131 * emultempl/elf32.em (parse_args): Handle -z nocopyreloc.
2132 * NEWS: Mention -z nocopyreloc.
2133 * ld.texinfo (Options): Describe nocopyreloc.
2134
fcd8210c
AM
21352001-10-03 Alan Modra <amodra@bigpond.net.au>
2136
2137 * configure: Regenerate.
2138
d32820f2
AM
21392001-10-02 Alan Modra <amodra@bigpond.net.au>
2140
2141 * ldver.h (ld_program_version): Remove declaration.
2142 * lexsup.c (parse_args): Move printing of copyright message..
2143 * ldver.c (ldversion): .. to here.
2144 Use BFD_VERSION_STRING in place of BFD_VERSION.
2145 (ld_program_version): Remove.
2146 * Makefile.am (Makefile): Depend on bfd/configure.in.
2147 Run "make dep-am".
2148 * Makefile.in: Regenerate.
2149
af46bcdc
HPN
21502001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
2151
2152 * Makefile.am: Update dependencies with "make dep-am".
2153 * Makefile.in: Regenerate.
2154
4818e05f 21552001-09-29 John Reiser <jreiser@BitWagon.com>
862517b6 2156
4818e05f
AM
2157 * ldlang.c (lang_common): Conditionally inhibit Common allocation.
2158 * lexsup.c: Add --no-define-common commandline option.
2159 * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
2160 * ldlex.l: Likewise.
2161 * ld.h: Add command_line.inhibit_common_definition.
2162 * ldmain.c (main): Initialize.
2163 * ld.texinfo: Document.
862517b6 2164
a59f3d35
AM
21652001-09-29 Alan Modra <amodra@bigpond.net.au>
2166
2167 * ldlang.c (section_already_linked): Remove assignment to kept_section.
2168
d5e0ebeb
AM
21692001-09-26 Alan Modra <amodra@bigpond.net.au>
2170
2171 * ldmisc.c (USE_STDARG): Remove.
2172 (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
2173 (einfo): Likewise.
2174 (minfo): Likewise.
2175 (lfinfo): Likewise.
2176
2177 * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
2178 declarations. Update copyright.
2179
2f8d8971
NC
21802001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
2181
85c77458
NC
2182 * pe-dll.c: Remove obsoleted declaration of
2183 pe_get_data_import_dll_name.
2184 (pe_create_import_fixup): Fix thinko.
2185
2f8d8971
NC
2186 * ld.texinfo(enable-auto-import): Clarify the explanation.
2187
21882001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
2189
2190 * pe-dll.c (pe_create_import_fixup): Revert previous patch.
2191 * emultemp/pe.em (pe_data_import_dll): Move definition outside of
2192 DLL_SUPPORT controlled code.
2193
72358f65 21942001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
146e7110 2195
72358f65
NC
2196 * emultempl/pe.em(pe_data_import_dll): Make static.
2197 (pe_get_data_import_dll_name): New accessor function.
146e7110 2198 * pe-dll.c(pe_create_import_fixup): call
72358f65
NC
2199 pe_get_data_import_dll_name() from pe.em, instead of
2200 directly accessing pe_data_import_dll variable from pe.em.
2201
3882b010
L
22022001-09-18 Bruno Haible <haible@clisp.cons.org>
2203
2204 * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>.
2205 (def_file_add_directive): Use ISSPACE instead of isspace.
2206 (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
2207 isdigit/isxdigit/isalpha/isalnum.
2208 * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>.
2209 (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
2210 * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>.
2211 (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
2212 isalnum.
2213 * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>.
2214 (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
2215 isupper/tolower.
2216 * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>.
2217 (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
2218 * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>.
2219 (ctor_prio): Use ISDIGIT instead of isdigit.
2220 * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>.
2221 (ldfile_open_file_search): Use ISALPHA instead of isalpha.
2222 (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
2223 isupper/tolower.
2224 * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>.
2225 (stricpy): Use TOLOWER instead of isupper/tolower.
2226 (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
2227 * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>.
2228 (lex_warn_invalid): Use ISPRINT instead of isprint.
2229 * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>.
2230 (main): For gettext, also set the LC_CTYPE locate facet.
2231 (add_keepsyms_file): Use ISSPACE instead of isspace.
2232 * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>.
2233 (is_num, parse_args): Use ISDIGIT instead of isdigit.
2234 * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>.
2235 (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
2236 * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>.
2237 (gldppcmacos_read_file): Use ISSPACE instead of isspace.
2238 * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>.
2239 (quoteput): Use ISSPACE instead of isspace.
2240 (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
2241 instead of isalnum.
2242
db09f25b
AM
22432001-09-18 Alan Modra <amodra@bigpond.net.au>
2244
2245 * deffilep.y (def_stash_module): Constify "name" param.
2246
2247 * pe-dll.c: Replace CONST with const throughout.
2248 (quick_symbol): Constify "n1", "n2", "n3" params.
2249 (make_singleton_name_thunk): Constify "import" param. Make
2250 "buffer_len" a size_t.
2251 (make_import_fixup_entry): Constify "name", "fixup_name",
2252 "dll_symname" params.
2253 (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread.
2254 (pe_get32): Likewise.
2255 (pe_implied_import_dll): Likewise.
2256
2257 * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
2258 (sort_by_section_name): Likewise.
2259
2260 * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
2261 (make_import_fixup): Cast printf arg, rel->address to long rather
2262 than int.
2263 (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
2264
74699268
AM
22652001-09-15 Alan Modra <amodra@bigpond.net.au>
2266
2267 * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
2268 defines BufferSize. Increase buffer size by one.
2269
775cabad
NC
22702001-09-14 Ralf Habacker <Ralf.Habacker@freenet.de>
2271
2272 * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
2273
056a1d49
NC
22742001-09-14 Kevin Lo <kevlo@openbsd.org>
2275
2276 * configure.tgt: Add arm-openbsd target.
2277
a7d792bb
L
22782001-09-12 H.J. Lu <hjl@gnu.org>
2279
2280 * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
2281 eelf64lppc.o to ...
2282 (ALL_64_EMULATIONS): Here.
2283 * Makefile.in: Regenerated.
2284
0d888aac
CW
22852001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
2286
2287 * emultempl/pe.em(make_import_fixup): change signature to
2288 take asection as well as arelec; we need this for proper
146e7110 2289 error reporting. Only call pe_create_import_fixup() if
0d888aac
CW
2290 there is no attempt to add a constant addend to the reloc;
2291 otherwise, report error condition.
2292 * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
2293 since final argument is a pointer to make_import_fixup().
2294 Change call to cb() to match make_import_fixup() signature.
2295 (make_import_fixup_mark): make buffer_len unsigned.
2296 * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
2297
22982001-09-12 Charles Wilson <cwilson@ece.gatech.edu>
2299
2300 * ld.texinfo: add verbose documentation for auto-import
146e7110 2301 direct-addressing workaround, to compliment the terse
0d888aac
CW
2302 error message.
2303
cedacdc0
CM
23042001-09-12 Andrew MacLeod <amacleod@redhat.com>
2305
146e7110 2306 * scripttempl/v850.sc: Add gcc_except_table sections.
cedacdc0 2307
3b16e843 23082001-09-11 Jeffrey A Law (law@cygnus.com)
38be0bb1
JL
2309
2310 * emulparams/h8300helf.sh: Move stack to a much higher memory address.
2311 * emulparams/h8300self.sh: Similarly.
2312
559e4713
NC
23132001-09-05 Danny Smith <dannysmith@users.souceforge.net>
2314
2315 * ld.texinfo (Options, --stack): Correct default value for stack
2316 reserve.
2317
1fdf0249
TR
23182001-09-05 Tom Rix <trix@redhat.com>
2319
2320 * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
146e7110 2321
9b5799b8
AJ
23222001-09-03 Andreas Jaeger <aj@suse.de>
2323
2324 * emultempl/beos.em: Declare prototypes for comparions functions,
2325 adjust definitions.
2326
48f6162b
AJ
23272001-09-02 Andreas Jaeger <aj@suse.de>
2328
2329 * emultempl/aix.em: Add missing prototype.
2330 * emultempl/lnk960.em: Likewise.
2331 * emultempl/vanilla.em: Likewise.
2332 * emultempl/armcoff.em: Likewise.
2333 * emultempl/armelf_oabi.em: Likewise.
2334 * emultempl/beos.em: Likewise.
2335 * emultempl/gld960c.em: Likewise.
2336 * emultempl/gld960.em: Likewise.
2337
2338 * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
2339 for prototype declaration.
2340
39e5585e
EC
23412001-08-31 Eric Christopher <echristo@redhat.com>
2342 Jason Eckhardt <jle@redhat.com>
2343
2344 * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
2345
3fc90ddb
AJ
23462001-08-31 Andreas Jaeger <aj@suse.de>
2347
2348 * emultempl/pe.em: Add missing prototypes.
2349 (gld_${EMULATION_NAME}_after_open): Remove extra args to
2350 pe_find_data_imports.
2351 (pr_sym): Add unused attribute.
2352
d43ded80
PB
23532001-08-29 Joel Sherrill <joel@OARcorp.com>
2354
39e5585e 2355 * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
d43ded80
PB
2356 default from coff to elf.
2357
3946dd2f
JL
23582001-08-29 Jeff Law <law@redhat.com>
2359
2360 * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update
2361 ARCH specification.
2362 * emulparams/h8300self.sh: Similarly.
2363
3b16e843 23642001-08-28 J"orn Rennecke <amylaar@redhat.com>
8af6dd41
JR
2365
2366 * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
2367 eh8300self.o .
2368 (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
2369 * configure.tgt (h8300-*-elf*): New case.
2370 * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
2371 * emulparams/h8300self.sh: New file.
2372 * Makefile.in: Regenerated.
2373
70d0c6e9
NC
23742001-08-28 Nick Clifton <nickc@cambridge.redhat.com>
2375
2376 * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
2377 with macro name.
2378
5c67d4bb
AM
23792001-08-27 Linus Nordberg <linus@swox.com>
2380 Alan Modra <amodra@bigpond.net.au>
2381
2382 * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
2383 (eelf64ppc.c, eelf64lppc.c): Add make targets.
2384 Run "make dep-am"
2385 * Makefile.in: Regenerate.
2386 * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj
2387 entries to correct alphabetical position.
2388 * emulparams/elf64ppc.sh: New.
2389 * emulparams/elf64lppc.sh: New.
2390
08131015
NC
23912001-08-27 Nick Clifton <nickc@cambridge.redhat.com>
2392
2393 * ldmain.c (main): Declare BSIZE as static.
2394
db6751f2
JJ
23952001-08-23 Jakub Jelinek <jakub@redhat.com>
2396
2397 * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
2398 into .rel.dyn resp. .rela.dyn if combreloc.
2399 (get_script): If .x linker script is equal to .xn, only put it
2400 once into the binary.
2401 Add .xc and .xsc scripts.
2402 (parse_args): Handle -z combreloc and -z nocombreloc.
2403 * scripttempl/elf.sc (.rela.sbss): Fix a typo.
2404 For .xc and .xsc scripts put all .rel* or .rela* input sections
2405 but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
2406 * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
2407 is elf.
2408 Strip trailing whitespace from script.
2409 Generate .xc and .xsc scripts if requested.
2410 * ldmain.c (main): Initialize link_info.combreloc and
2411 link_info.spare_dynamic_tags.
2412 * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
2413 (ld_options): Add --spare-dynamic-tags option.
2414 (parse_args): Likewise.
2415 * ld.texinfo: Document -z combreloc and -z nocombreloc.
2416 * ldint.texinfo: Document .xc and .xsc linker scripts.
2417 * NEWS: Add notes about -z combreloc and SHF_MERGE.
2418
63d069c0
L
24192001-08-22 H.J. Lu <hjl@gnu.org>
2420
2421 * emulparams/elf32fr30.sh: Add a newline.
2422
948f9114
AJ
24232001-08-21 Andreas Jaeger <aj@suse.de>
2424
2425 * deffilep.y: Add missing prototypes.
2426 * pe-dll.c: Likewise.
2427
ae7fb08f
AM
24282001-08-20 Alan Modra <amodra@bigpond.net.au>
2429
2af02257
AM
2430 * ldlang.c (insert_pad): Fix typos in last patch.
2431
2432 * ldlang.c: When traversing lang_statement_union_type lists,
2433 consistently use "header.next" rather than "next".
2434 * mpw-eppcmac.c: Likewise.
2435 * emultempl/beos.em: Likewise.
2436 * emultempl/hppaelf.em: Likewise.
2437 * emultempl/pe.em: Likewise.
2438 * ldlang.h (union lang_statement_union): Remove "next" field.
2439
c0c330a7
AM
2440 * ldlang.c (insert_pad): Use offsetof macro.
2441 (lang_size_sections): Always neuter padding statements.
2442 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
2443
ae7fb08f
AM
2444 * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
2445 passed to lang_size_sections.
2446 (pe_exe_fill_sections): Likewise.
2447 * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
2448 (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
2449
fab80407
AM
24502001-08-18 Alan Modra <amodra@bigpond.net.au>
2451
2452 * emultempl/aix.em: Formatting fixes.
2453
b3327aad
AM
24542001-08-18 Alan Modra <amodra@bigpond.net.au>
2455
2456 * ldlang.c (insert_pad): Make use of an existing pad statement if
2457 available. Move code calculating alignment, adjusting section
2458 alignment power, and adjusting dot to ..
2459 (size_input_section): .. here. Remove unused relax param.
2460 (lang_size_sections): Change boolean `relax' param to boolean *.
2461 Adjust call to size_input_section. Make use of insert_pad to
2462 place pad after the assignment statement. If relaxing, zap
2463 padding statements.
2464 (reset_memory_regions): Reset output_bfd section sizes too.
2465 (relax_again): Move to..
2466 (lang_process): ..here. Adjust call to lang_size_sections, and
2467 remove duplicated code.
2468 * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
2469
563e308f
AM
24702001-08-17 Alan Modra <amodra@bigpond.net.au>
2471
2472 * ld.texinfo: Document that fill values now use the four least
2473 significant bytes.
2474 * emulparams/elf32fr30.sh (NOP): Update.
2475 * emulparams/elf32mcore.sh: Likewise.
2476 * emulparams/elf64_s390.sh: Likewise.
2477 * emulparams/elf_i386.sh: Likewise.
2478 * emulparams/elf_i386_be.sh: Likewise.
2479 * emulparams/elf_i386_chaos.sh: Likewise.
2480 * emulparams/elf_i386_ldso.sh: Likewise.
2481 * emulparams/elf_s390.sh: Likewise.
2482 * emulparams/elf_x86_64.sh: Likewise.
2483 * emulparams/i386moss.sh: Likewise.
2484 * emulparams/i386nw.sh: Likewise.
2485 * emulparams/m68kelf.sh: Likewise.
2486 * scripttempl/elf.sc: Update NOP comment.
2487 * scripttempl/elfi370.sc: Likewise.
2488 * scripttempl/elfm68hc11.sc: Likewise.
2489 * scripttempl/elfm68hc12.sc: Likewise.
2490 * scripttempl/nw.sc: Likewise.
2491
b90e1c6f
TR
24922001-08-15 Tom Rix <trix@redhat.com>
2493
2494 * ldgram.y (saved_script_handle): Initialize to NULL.
2495 * ldmain.c (main): Change check on saved_script_handle.
948f9114 2496
39dcfe18
AM
24972001-08-14 Alan Modra <amodra@bigpond.net.au>
2498
cde43e70
AM
2499 * emultempl/elf32.em: Formatting fixes.
2500 (output_prev_sec_find): Test for bfd_ind_section too; do so by
2501 looking at sec->owner.
2502 (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
2503 (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove
2504 unused code, and reorganize orphan section placement code.
2505
39dcfe18
AM
2506 * ldlang.c (wild_doit): Rename to lang_add_section.
2507 * ldlang.h: Here too.
2508 * mpw-elfmips.c: And here.
2509 * emultempl/beos.em: And here.
2510 * emultempl/elf32.em: And here.
2511 * emultempl/hppaelf.em: And here.
2512 * emultempl/pe.em: And here.
2513
908d20b3
RH
25142001-08-13 Richard Henderson <rth@redhat.com>
2515
2516 * emultempl/needrelax.em: New file.
2517 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
2518 * Makefile.am (eelf64_ia64.c): Depend on it.
2519 * Makefile.in: Rebuild.
2520
0f33d40b
AM
25212001-08-13 Alan Modra <amodra@bigpond.net.au>
2522
22af9fd3
AM
2523 * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
2524 output_section is set non-NULL.
2525
0f33d40b
AM
2526 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
2527 `true' for SEC_EXCLUDE sections so that the generic code doesn't
2528 needlessly create an output_section_statement. Treat a correctly
2529 named output_section_statement with NULL bfd_section as compatible.
2530
55ab6103
HPN
25312001-08-13 Hans-Peter Nilsson <hp@bitrange.com>
2532
2533 * emultempl/generic.em: Support EXTRA_EM_FILE.
2534 (ld_${EMULATION_NAME}_emulation): Support emulation parameters
2535 LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
2536 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
2537 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
2538 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
2539 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
2540 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
2541 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
2542 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
2543 LDEMUL_FIND_POTENTIAL_LIBRARIES.
2544
24098abb
RH
25452001-08-12 Richard Henderson <rth@redhat.com>
2546
2547 * scripttempl/elf.sc, scripttempl/elfd30v.sc,
2548 scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
2549 scripttempl/v850.sc: Keep .jcr data.
2550
b9a8de1e 25512001-08-12 H.J. Lu <hjl@gnu.org>
146e7110
AM
2552 Andrew Haley <aph@cambridge.redhat.com>
2553 Nick Clifton <nickc@redhat.com>
b9a8de1e 2554
146e7110 2555 * ldgram.y (had_script): Change name to saved_script_handle.
b9a8de1e
NC
2556 Change type to file handle.
2557 * ld.h (had_script): Rename and retype.
2558 * ldfile.c (ldfile_open_command_file): Save the file handle
2559 used in saved_script_handle.
2560 * lexsup.c (parse_args): Do not allow -c option to alter
2561 saved_script_handle.
2562 * ldmain.c (main): Print out the linker script used if
2563 --verbose is given. Check saved_script_handle to obtain the
2564 external linker script used, or if NULL, dump the builtin
2565 script.
2566 * ld.texinfo: Document that --verbose now dumps the linker
2567 script used, regardless of whether it was an internal or an
2568 external script.
2569
0218d1e4
AJ
25702001-08-10 Andreas Jaeger <aj@suse.de>
2571
2572 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2573 to build warnings.
2574 * configure: Regenerate.
2575
5253f23b
AM
25762001-08-09 Alan Modra <amodra@bigpond.net.au>
2577
73810896
AM
2578 * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
2579
5253f23b
AM
2580 * scripttempl/elf.sc: Move non-text .dynamic section before
2581 .plt/.got/.sdata* group.
2582 (OTHER_GOT_SECTIONS): Move to immediately after .got.
2583 (OTHER_SDATA_SECTIONS): Add.
2584 * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
2585 OTHER_GOT_SECTIONS.
2586 * emulparams/crislinux.sh: Likewise.
2587 * emulparams/elf32b4300.sh: Likewise.
2588 * emulparams/elf32bmip.sh: Likewise.
2589 * emulparams/elf32bmipn32.sh: Likewise.
2590 * emulparams/elf32bsmip.sh: Likewise.
2591 * emulparams/elf32btsmip.sh: Likewise.
2592 * emulparams/elf32ebmip.sh: Likewise.
2593 * emulparams/elf32elmip.sh: Likewise.
2594 * emulparams/elf32l4300.sh: Likewise.
2595 * emulparams/elf32lmip.sh: Likewise.
2596 * emulparams/elf32lsmip.sh: Likewise.
2597 * emulparams/elf32ltsmip.sh: Likewise.
2598 * emulparams/elf64bmip.sh: Likewise.
2599 * emulparams/elf64btsmip.sh: Likewise.
2600 * emulparams/elf64ltsmip.sh: Likewise.
2601
179c732c
AM
26022001-08-08 Alan Modra <amodra@bigpond.net.au>
2603
2604 * genscripts.sh: Source the emulparams script before each output
2605 script is generated so that variables like `RELOCATING' may affect
2606 variables defined in the emulparams script.
2607
3fd36710
AM
26082001-08-04 Alan Modra <amodra@bigpond.net.au>
2609
20713691
AM
2610 * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
2611 order.
2612
3fd36710
AM
2613 * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
2614 ie. iterate over wild_statement.section_list.
2615 (gld${EMULATION_NAME}_place_orphan): Likewise.
2616
de0b1853
SC
26172001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2618
2619 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
2620 .fini[0-4] sections used by _exit
2621 (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
2622 (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
2623 * scripttempl/elfm68hc11.sc: Likewise.
2624
ff7e6f88
L
26252001-08-03 H.J. Lu <hjl@gnu.org>
2626
2627 * emultempl/beos.em (init): Add the missing initialization.
2628
b6bf44ba
AM
26292001-08-03 Alan Modra <amodra@bigpond.net.au>
2630
2631 * ld.texinfo (Input Section Basics): Clarify ordering of output
2632 sections.
2633 * ldlang.c (callback_t): Add wildcard_list param.
2634 (walk_wild_section): Remove "section" param. Rewrite for
2635 lang_wild_statement_type change. Remove unique_section_p test.
2636 (walk_wild_file): Remove "section" param.
2637 (walk_wild): Remove "section" and "file" params.
2638 (lang_gc_wild): Likewise.
2639 (wild): Likewise. Modify for lang_wild_statement_type change.
2640 (wild_sort): Likewise. Add "sec" param.
2641 (gc_section_callback): Likewise.
2642 (output_section_callback): Likewise. Do unique_section_p test.
2643 (map_input_to_output_sections): Modify call to wild.
2644 (lang_gc_sections_1): Likewise.
2645 (print_wild_statement): Modify for lang_wild_statement_type
2646 change.
2647 (lang_add_wild): Replace filename, filenames_sorted param with
2648 filespec. Replace section_name, sections_sorted,
2649 exclude_filename_list with section_list.
2650 * ldlang.h (lang_add_wild): Here too.
2651 (lang_wild_statement_type): Replace section_name, sections_sorted,
2652 and exclude_filename_list with section_list.
2653 * ldgram.y (current_file): Delete.
2654 (%union): Add wildcard_list.
2655 (file_NAME_list): Set type to wildcard_list. Build a linked list
2656 rather than calling lang_add_wild for each entry.
2657 (input_section_spec_no_keep): Call lang_add_wild here instead.
2658 * ld.h (struct wildcard_list): Declare.
2659 * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
2660
b044cda1
CW
26612001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
2662
2663 * ldmain.c (main): initialize link_info.pei386_auto_import
2664 * pe-dll.c: new tables for auto-export filtering
2665 (auto_export): change API, pass abfd for contextual filtering.
b6bf44ba 2666 Loop thru tables of excluded symbols instead of comparing
b044cda1
CW
2667 "by hand".
2668
26692001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>
2670
b6bf44ba
AM
2671 * pe-dll.c: new variable pe_dll_enable_extra_debug. New
2672 static variable current_sec (static struct sec *). Add
b044cda1 2673 forward declaration for add_bfd_to_link.
b6bf44ba
AM
2674 (process_def_file): Don't export undefined symbols. Do not
2675 export symbols starting with "_imp__". Call auto_export()
b044cda1
CW
2676 with new API.
2677 (pe_walk_relocs_of_symbol): New function.
2678 (generate_reloc): add optional extra debugging
b6bf44ba 2679 (pe_dll_generate_def_file): eliminate extraneous initial blank
b044cda1 2680 line in output
b6bf44ba 2681 (make_one): enlarge symtab to make room for __nm__ symbols
b044cda1
CW
2682 (DATA auto-import support).
2683 (make_singleton_name_thunk): New function.
2684 (make_import_fixup_mark): New function.
2685 (make_import_fixup_entry): New function.
2686 (pe_create_import_fixup): New function.
b6bf44ba 2687 (add_bfd_to_link): Specify that 'name' argument is a CONST
b044cda1 2688 char *.
b6bf44ba
AM
2689 * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
2690 declare new functions pe_walk_relocs_of_symbol and
b044cda1
CW
2691 pe_create_import_fixup.
2692 * emultempl/pe.em: add new options --enable-auto-import,
2693 --disable-auto-import, and --enable-extra-pe-debug.
2694 (make_import_fixup): New function.
2695 (pe_find_data_imports): New function.
2696 (pr_sym): New function.
b6bf44ba 2697 (gld_${EMULATION_NAME}_after_open): Add optional extra pe
b044cda1
CW
2698 debugging. Call pe_find_data_imports. Mark .idata as DATA, not
2699 CODE.
2700
27012001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
b6bf44ba 2702
b044cda1
CW
2703 * ld.texinfo: add additional documentation for
2704 --export-all-symbols. Document --out-implib,
2705 --enable-auto-image-base, --disable-auto-image-base,
b6bf44ba
AM
2706 --dll-search-prefix, --enable-auto-import, and
2707 --disable-auto-import.
b044cda1
CW
2708 * ldint.texinfo: Add detailed documentation on auto-import
2709 implementation.
2710
156e34dd
NC
27112001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2712
2713 * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
2714 example.
2715
d6231427
AM
27162001-07-24 Alan Modra <amodra@bigpond.net.au>
2717
2718 * Makefile.am: Update dependencies with "make dep-am".
2719 * Makefile.in: Regenerate
2720
e14ec88b
AM
27212001-07-23 Alan Modra <amodra@bigpond.net.au>
2722
2723 * ldcref.c (check_section_sym_xref): New function.
2724 (check_nocrossrefs): Call it.
2725 (check_nocrossref): Interate over h->refs here instead of..
2726 (check_refs): ..here. Pass in the symbol name, section, and bfd
2727 rather than hash_entry pointers.
2728 (struct check_refs_info): Keep symbol name rather than hash entry.
2729 Remove "same".
2730 (check_reloc_refs): Tweak for above changes in check_refs_info.
2731 Only report references to section syms when symname is NULL to
2732 prevent duplicate messages for the same reloc.
2733
1b577b00
NC
27342001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2735
c7d701b0
NC
2736 * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
2737 available. Do not print NULL trees.
2738 (exp_print_token): Print unknown tokens with values > 126 as
2739 decimal values not ASCII characters.
2740
1545243b
NC
2741 * ldlang.c (lang_leave_overlay): If a region is specified assign
2742 it to all sections inside the overlay unless they have been
2743 assigned to the own, non-default, memory region.
2744
1b577b00
NC
2745 * README: Add header for consistency with other README files.
2746
5030876b
L
27472001-07-14 H.J. Lu <hjl@gnu.org>
2748
2749 * emultempl/elf32.em (output_prev_sec_find): Never return
2750 bfd_abs_section_ptr, bfd_com_section_ptr nor
2751 bfd_und_section_ptr.
2752
18c7a9a5
NC
27532001-07-14 Nick Clifton <nickc@cambridge.redhat.com>
2754
22af9fd3 2755 * Makefile.am (em32relf.c): Change dependency from generic.em to
18c7a9a5
NC
2756 elf32.em.
2757 * Makefile.in: Regenerate.
2758
9ffecff1
MG
27592001-07-14 matthew green <mrg@eterna.com.au>
2760
2761 * configure.tgt (i386-*-netbsdelf*): New target.
2762 (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
2763
95500e1c
JJ
27642001-07-13 Jakub Jelinek <jakub@redhat.com>
2765
2766 * emultempl/elf32.em (output_prev_sec_find): New.
2767 (place_orphan): Use it.
2768
e97cb84f
L
27692001-07-11 H.J. Lu <hjl@gnu.org>
2770
2771 * ldmain.c (main): Fix typos in the last change.
2772
7333607e
JJ
27732001-07-11 Jakub Jelinek <jakub@redhat.com>
2774
2775 * ldmain.c (main): Disallow -F and -f without -shared.
2776
d29d80f2
NC
27772001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
2778
2779 * emultempl/pe.em (after_open): Check for the output_bfd not
2780 having any coff_data structure allocated to it.
2781
c2a1a436
DB
27822001-07-09 David O'Brien <obrien@FreeBSD.org>
2783
2784 * emultempl/elf32.em: Do not assuming that contents of the buffer
2785 returned from basename function will remain unchanged accross other
2786 function calls.
2787
63653551
L
27882001-07-03 H.J. Lu <hjl@gnu.org>
2789
2790 * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
2791 2001-07-03. It creates dynamic entries even for static binaries.
2792
d303a449
L
27932001-07-03 Jakub Jelinek <jakub@redhat.com>
2794
2795 * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
2796 (DYNAMIC): Use it to reserve few dynamic entries for
2797 post-linking tools.
2798
9f22353f
AM
27992001-06-27 Alan Modra <amodra@bigpond.net.au>
2800
2801 * emulparams/hppa64linux.sh: New file.
2802 * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
2803 * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
2804 (ehppa64linux.c): Add rule to make it.
2805 Run "make dep-am".
2806 * Makefile.in: Regenerate.
2807
62bf86b4
HPN
28082001-06-21 Hans-Peter Nilsson <hp@axis.com>
2809
2810 * ld.texinfo (Options, -r): Mention restrictions when using
2811 different object formats.
2812
429d935d
HPN
28132001-06-19 Hans-Peter Nilsson <hp@axis.com>
2814
2815 * ldlang.c (lang_check): Emit fatal error if relocatable link
2816 between different object flavours with relocations in input.
2817
cb840a31
L
28182001-06-19 H.J. Lu <hjl@gnu.org>
2819
2820 * ld.texinfo (-E, --export-dynamic): Mention --version-script.
2821 (--version-script): Mention the language support.
2822
9bf03acc
L
28232001-06-19 H.J. Lu <hjl@gnu.org>
2824
2825 * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
2826
c45021f2
NC
28272001-06-18 H.J. Lu <hjl@gnu.org>
2828
b6bf44ba
AM
2829 * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
2830 (diststuff): Add $(MANS).
2831 * Makefile.in: Regenerated.
c45021f2 2832
b6bf44ba 2833 * ld.1: Removed.
c45021f2 2834
6caa99ab
HPN
28352001-06-18 Hans-Peter Nilsson <hp@axis.com>
2836
605d9b3a
HPN
2837 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
2838 Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
2839 * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
2840 * ld.h (args_type): Remove member export_dynamic. All users
2841 changed to use struct bfd_link_info member.
2842
6caa99ab
HPN
2843 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
2844 $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
2845 * Makefile.in: Regenerate.
2846
6f9efd97
L
28472001-06-18 H.J. Lu <hjl@gnu.org>
2848
2849 * ldlang.c (init_os): Add the newline to the einfo call.
2850 (lang_check): Likewise.
2851 (lang_do_version_exports_section): Likewise.
2852
5af9fd8b
L
28532001-06-15 H.J. Lu <hjl@gnu.org>
2854
2855 * lexsup.c (parse_args); Save optind to report unrecognized
2856 option.
2857
2a096f04
HPN
28582001-06-15 Hans-Peter Nilsson <hp@axis.com>
2859
7e66c3f5
HPN
2860 * ldlang.c (lang_check): Emit fatal error if relocatable link
2861 between different object flavours.
2862
2a096f04
HPN
2863 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
2864 Set new link_info member export_dynamic.
2865 * ldmain.c (main): Initialize new link_info member export_dynamic.
2866
6770ec8c
NC
28672001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
2868
2869 * ldlang.c (walk_wild): Only call walk_wild_file if
2870 lookup_name returns something.
b6bf44ba 2871 (lookup_name): If load_symbols fails, return NULL.
22af9fd3 2872 (load_symbols): Change to a boolean function.
b6bf44ba 2873 (open_input_bfds): If load_symbols fails then do not make the
6770ec8c
NC
2874 executable.
2875
8529105a
AM
28762001-06-08 Alan Modra <amodra@bigpond.net.au>
2877
2878 * ldlang.c (record_bfd_errors): Remove.
2879
2880 * emultempl/aix.em: Fix copyright dates.
2881
8f3aa7a0
AJ
28822001-06-07 Andreas Jaeger <aj@suse.de>
2883
2884 * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
2885 (TEXT_START_ADDR): Likewise.
2886
3277f888
AM
28872001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
2888
2889 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
2890
3763134d
DD
28912001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2892
2893 * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
2894
5929ebc0
L
28952001-05-31 H.J. Lu <hjl@gnu.org>
2896
2897 * ldlang.c (open_input_bfds): Don't change the bfd error
2898 handler whilst loading symbols.
2899
c04a062d
NC
29002001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2901
2902 * configure.tgt: Remove i370-mvs architecture, it is not currently
2903 supported.
2904
96fcab3e
L
29052001-05-25 H.J. Lu <hjl@gnu.org>
2906
2907 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
2908 like emulparams/aixppc.sh.
2909
db8d4f23
L
29102001-05-25 H.J. Lu <hjl@gnu.org>
2911
2912 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
2913 setting of output_filename after bfd_scan_arch.
2914 * emultempl/pe.em: Likewise.
2915
5f642101
L
29162001-05-25 H.J. Lu <hjl@gnu.org>
2917
2918 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
2919 like emulparams/aixppc.sh.
2920
2921 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
2922 instead of ${srcdir}/emultempl/stringify.sed.
2923
64e9ece0
TW
29242001-05-25 Timothy Wall <twall@oculustech.com>
2925
2926 * emulparams/elf64_aix.sh: Change settings to match IBM linker
8f3aa7a0 2927 output.
64e9ece0 2928
c709b096
AM
29292001-05-25 Alan Modra <amodra@one.net.au>
2930
2931 * configure.host: Replace linuxoldld with linux*oldld.
2932 * configure.tgt: Likewise.
2933
6cbdcc6f
L
29342001-05-24 H.J. Lu <hjl@gnu.org>
2935
2936 * emultempl/stringify.sed: Removed again.
2937
86af25fe
L
29382001-05-24 H.J. Lu <hjl@gnu.org>
2939
2940 * emultempl/aix.em (OUTPUT_ARCH): Defined.
2941 (gld${EMULATION_NAME}_before_parse): Initialize
2942 ldfile_output_architecture, ldfile_output_machine and
2943 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
2944 * emultempl/beos.em: Likewise.
2945 * emultempl/elf32.em: Likewise.
2946 * emultempl/linux.em: Likewise.
2947 * emultempl/mipsecoff.em: Likewise.
2948 * emultempl/pe.em: Likewise.
2949 * emultempl/sunos.em: Likewise.
2950
3b1b01cf
TR
29512001-05-24 Tom Rix <trix@redhat.com>
2952
8f3aa7a0 2953 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
3b1b01cf
TR
2954 udate import file format.
2955 (change_symbol_mode) New, same
2956 (is_syscall) New, same
2957 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
2958 * emulparams/aixppc64.sh : same
2959 * emulparams/aixrs6.sh : same
2960 * emulparams/ppcmacos.sh : same
2961 * emultempl/aix.em : use strtoull to parse options
2962 * Makefile.am : add eaixppc64 emulation for xcoff64
2963 * Makefile.in : same
2964 * configure.tgt : same
2965
2966 * scripttempl/aix.sc : default text section offset to 0x10000000
146e7110 2967 default data section offset to 0x20000000
3b1b01cf 2968 add .sv3264 and .sv64 pseudo sections
8f3aa7a0 2969 loader and debug sections use the currect section offset.
3b1b01cf
TR
2970
2971 * emultempl/aix.em : Add xcoff64 support
2972 Add -binitfini support
8f3aa7a0 2973 (gld${EMULATION_NAME}_before_parse) -binitfini
3b1b01cf 2974 (gld${EMULATION_NAME}_parse_args) same
8f3aa7a0 2975 (gld${EMULATION_NAME}_before_allocation) format change for special
3b1b01cf
TR
2976 sections
2977
2978 * emulparams/aixppc64.sh : New file for xcoff64 support
8f3aa7a0 2979
57e6abd2
AO
29802001-05-23 Alexandre Oliva <aoliva@redhat.com>
2981
2982 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
2983 variable to avoid non-portable shell construct.
2984
d1cf510e
NC
29852001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2986
2987 * ldmain.c (get_emulation): Add -mips5 command line argument.
2988
506eee22
NC
29892001-05-22 Alexandre Oliva <aoliva@redhat.com>
2990
2991 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
2992 (ELF_INTERPRETER_NAME): Define it.
2993 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
2994 it.
2995 * configure.tgt (targ_emul, targ_extra_emuls)
2996 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
2997 as primary, elf_i386 as extra.
2998 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
2999 (eelf_i386_ldso.c): New rule.
3000 * Makefile.in: Rebuilt.
3001
30022001-05-22 Nick Clifton <nickc@redhat.com>
3003
3004 * lexsup.c (ld_options): Allow -I to be an alias for
3005 --dynamic-linker. This is for Solaris compatability.
3006 * ld.texinfo: Document that -I can be used.
3007 * ld.1: Regenerate.
3008
d1778b88
AM
30092001-05-16 Alan Modra <amodra@one.net.au>
3010
3011 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
3012 whether an input section is the first one assigned to an output
3013 section.
3014 Assorted formatting fixes.
3015
02649152
DD
30162001-05-14 DJ Delorie <dj@delorie.com>
3017
3018 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
3019 * Makefile.in: Ditto.
3020
579f31ac
JJ
30212001-05-11 Jakub Jelinek <jakub@redhat.com>
3022
3023 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
3024 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
3025 output sections.
3026 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
3027
8550eb6e
JJ
30282001-05-11 Jakub Jelinek <jakub@redhat.com>
3029
3030 * ldlang.c (lang_process): Call bfd_merge_sections.
3031
8e5a525c
AM
30322001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3033
3034 * ldgram.y: Fix typo.
3035
1c9acd94
L
30362001-05-03 H.J. Lu <hjl@gnu.org>
3037
3038 * emultempl/elf32.em: Include "libiberty.h".
3039 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
3040 basename of the bfd filename.
3041 (gld${EMULATION_NAME}_stat_needed): Likewise.
3042 (gld${EMULATION_NAME}_try_needed): Likewise.
3043 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
3044
14fe918e
L
30452001-05-02 H.J. Lu <hjl@gnu.org>
3046
3047 * emultempl/pe.em: Include <ctype.h>.
3048
c7e40348
NC
30492001-05-02 Johan Rydberg <jrydberg@opencores.org>
3050
b6bf44ba 3051 * emulparams/elf32openrisc.sh: New file.
c7e40348 3052
b6bf44ba
AM
3053 * Makefile.am: Add OpenRISC target.
3054 * Makefile.in: Regenerated.
c7e40348 3055
b6bf44ba 3056 * configure.tgt: Add openrisc-*-* mapping.
c7e40348
NC
3057
30582001-05-02 Nick Clifton <nickc@redhat.com>
3059
3060 * emultempl/aix.em: Replace buystring with xstrdup.
3061 * emultempl/beos.em: Replace buystring with xstrdup.
8f3aa7a0 3062
d1b2b2dc
L
30632001-05-02 H.J. Lu <hjl@gnu.org>
3064
3065 * ldfile.c: Include "libiberty.h".
3066 * ldlex.l: Likewise.
3067
3068 * ldmisc.c (buystring): Removed.
3069 * ldmisc.h: Likewise.
3070
3071 * ldfile.c: Replace buystring with xstrdup.
3072 * ldlang.c: Likewise.
3073 * ldlex.l: Likewise.
3074 * ldmain.c: Likewise.
3075 * ldmisc.c: Likewise.
3076 * lexsup.c: Likewise.
3077 * mpw-eppcmac.c: Likewise.
3078
35714f2a
AJ
30792001-04-30 Andreas Jaeger <aj@suse.de>
3080
3081 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
3082
884fb58e
NC
30832001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
3084
b6bf44ba
AM
3085 * ldlang.c (load_symbols): Give emulation a chance
3086 to process unrecognized file before fatal error is
3087 reported, not after.
884fb58e 3088
87748b32
NC
30892001-04-27 Sean McNeil <sean@mcneil.com>
3090
3091 * configure.tgt: Add arm-vxworks target.
3092 * scripttempl/armcoff.sc: Support .text or .data as a section name
3093 prefix.
3094 Define _etext.
35714f2a 3095
7ce691ae
C
30962001-04-13 J.T. Conklin <jtc@redback.com>
3097
3098 * ld.texinfo: Document --fatal-warnings.
3099 * ld.1: Regenerate.
3100
3101 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
35714f2a 3102 warnings have been turned into errors.
7ce691ae
C
3103 * lexsup.c (OPTION_WARN_FATAL): Define.
3104 (ld_options): Entry for --fatal-warnings.
3105 (parse_args): Handle OPTION_WARN_FATAL.
3106 * ld.h (ld_config_type): Add fatal_warnings field.
3107
f5fa8ca2
JJ
31082001-04-13 Jakub Jelinek <jakub@redhat.com>
3109
3110 * ldmain.c (main): Default to discard_sec_merge.
3111 * lexsup.c (OPTION_DISCARD_NONE): Define.
3112 (ld_options): Add --discard-none.
3113 (parse_args): Handle OPTION_DISCARD_NONE.
3114 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
3115 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
3116 all its input sections match.
3117
fdec3cfc
L
31182001-04-05 Steven J. Hill <sjhill@cotw.com>
3119
3120 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
3121 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
3122 (eelf32ltsmip.c): New target.
3123 (eelf64btsmip.c): Likewise.
3124 (eelf64ltsmip.c): Likewise.
3125 * Makefile.in: Regenerated.
3126
3127 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
3128 target.
3129 (mips*-*-linux-gnu*): Likewise.
3130
3131 * emulparams/elf32ltsmip.sh: New. Traditional little endian
3132 MIPS taget.
35714f2a 3133 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
fdec3cfc
L
3134 target.
3135 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
3136 endian target.
3137
589bad82
HPN
31382001-04-05 Hans-Peter Nilsson <hp@axis.com>
3139
3140 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
3141 correct value of __Stext here.
3142 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
3143 .startup section.
3144
3145 * emulparams/crislinux.sh: Remove FIXME.
3146
94202e16
AM
31472001-04-02 Alan Modra <alan@linuxcare.com.au>
3148
3149 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
3150 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
3151
1268a053
HPN
31522001-03-27 Hans-Peter Nilsson <hp@axis.com>
3153
3154 * configure.tgt (cris-*-*): Change default emulation to criself.
3155 (cris-*-*aout*): New rule.
3156
d85e9ff7
AM
31572001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com>
3158
3159 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
3160 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
3161
0879a67a
AJ
31622001-03-26 Andreas Jaeger <aj@suse.de>
3163
3164 * ld.texinfo (Overview): Fix syntax in texi code.
3165
0285c67d
NC
31662001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3167
3168 * ld.texinfo: Put @c man indications to generate the ld man page.
3169 When generating man, define all the variables. Define SEEALSO
3170 and SYNOPSIS. Re-organize some lines to avoid the cross references.
3171 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
3172 (ld.1): Generate from ld.texinfo.
3173 * Makefile.in: Regenerate.
3174
c20ec07b
NC
31752001-03-23 Mark Elbrecht <snowball3@bigfoot.com>
3176
3177 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
146e7110 3178 and '-fdata-sections'. Set the VMA of STABS sections to zero.
c20ec07b 3179
cc5ce052
UD
31802001-03-17 Ulrich Drepper <drepper@redhat.com>
3181
3182 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
3183 is an absolute path look only for this file and not along the path.
3184
a1ab1d2a
UD
31852001-03-17 Ulrich Drepper <drepper@redhat.com>
3186
3187 * emultempl/elf32.em (OPTION_GROUP): New macro.
3188 Add new option Bgroup to longopts.
3189 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
3190 (gld*_list_options): Add -Bgroup and -z defs.
3191 * ld.1: Document -Bgroup and -z defs.
3192 * ld.texinfo: Likewise.
3193
788fca5a
MM
31942001-03-07 Michael Meissner <meissner@redhat.com>
3195
3196 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
3197 with sections created by -fdata-sections.
3198 (.dynbss,.bss): Ditto.
3199
1c7566d1
AM
32002001-03-05 Alan Modra <alan@linuxcare.com.au>
3201
3202 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
3203 after_allocation_default, not gld..._before_allocation.
3204
27b7e12d
AM
32052001-02-27 Alan Modra <alan@linuxcare.com.au>
3206
3207 * configure.in (BFD_VERSION): New.
3208 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
3209 * configure: Regenerate.
3210 * Makefile.am: Run "make dep-am"
3211 * Makefile.in: Regenerate.
3212
2bc551c7
TW
32132001-02-26 Timothy Wall <twall@cygnus.com>
3214
3215 * emulparams/elf64_aix.sh: Add additional read-only sections;
3216 uncomment lines which are now required.
3217
1276aefa
NC
32182001-02-26 H.J. Lu <hjl@gnu.org>
3219
3220 * ldlang.c (open_input_bfds): Set the bfd error handler so
b6bf44ba
AM
3221 that problems can be caught whilst loading symbols.
3222 (record_bfd_errors): New function: Report BFD errors and mark
3223 the executable output as being invalid.
1276aefa 3224
41c49998
TW
32252001-02-22 Timothy Wall <twall@cygnus.com>
3226
3227 * configure.host: Add configuration for ia64-*-aix*.
3228 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
3229 Add dependencies for eelf64_aix.c.
3230 * Makefile.in: Regenerate.
3231 * configure.tgt: Add ia64-*-aix* mapping.
3232 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
a2b64bed 3233 * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
0879a67a
AJ
3234 AIX-specific test.
3235
78f85fd7
L
32362001-02-20 H.J. Lu <hjl@gnu.org>
3237
3238 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
3239 false if we found the file.
3240
1ac7e077 32412001-02-18 David O'Brien <obrien@FreeBSD.org>
fb33b906
DB
3242
3243 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
3244 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
3245
e135f41b
NC
32462001-02-18 lars brinkhoff <lars@nocrew.org>
3247
3248 * Makefile.am: Add PDP-11 target.
3249 * configure.tgt: Likewise.
3250 * emulparams/pdp11.sh: New file.
3251
a842aceb
DB
32522001-02-17 David O'Brien <obrien@FreeBSD.org>
3253
3254 * configure.host: Add a generic FreeBSD configuration entry such that
3255 all [modern] FreeBSD systems on all platforms will look the same.
3256
24174db0
L
32572001-02-14 H.J. Lu <hjl@gnu.org>
3258
3259 * configure.tgt: Remove mention of earmelf_linux26.
3260
30c3c13a
RH
32612001-02-13 Richard Henderson <rth@redhat.com>
3262
3263 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
3264
b46a87b1
L
32652001-02-13 H.J. Lu <hjl@gnu.org>
3266
3267 * ldexp.h (node_type): Add etree_provided.
3268 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
3269 type to etree_provided if defined by PROVIDE. Allow updating
0879a67a 3270 for etree_provided.
b46a87b1
L
3271 (exp_print_tree): Handle etree_provided.
3272 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
3273 etree_provided.
3274
f3988fd9
RH
32752001-02-09 David Mosberger <davidm@hpl.hp.com>
3276
3277 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
3278 .IA_64.unwind.* pattern to unwind table section and
3279 .IA_64.unwind_info* pattern to unwind info section.
3280
a85d7ed0
NC
32812001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
3282
3283 * Makefile.am: Add linux target for S/390.
3284 * Makefile.in: Likewise.
3285 * configure.host: Likewise.
3286 * configure.tgt: Likewise.
3287 * emulparams/elf64_s390.sh: New file.
3288 * emulparams/elf_s390.sh: New file.
3289
780248c4
JJ
32902001-02-09 Jakub Jelinek <jakub@redhat.com>
3291
3292 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
3293 targ_extra_libpath.
3294 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
3295
0e2534bd
PB
32962001-02-06 Philip Blundell <philb@gnu.org>
3297
3298 * Makefile.am: Remove mention of earmelf_linux26.
3299 * Makefile.in: Regenerate.
3300
46c1ea57
PB
33012001-02-04 Philip Blundell <philb@gnu.org>
3302
3303 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
3304 * emulparams/armelf_linux26.sh: Delete.
3305 * configure.tgt: Remove mention of armelf_linux26 emulation.
3306
0088edd2
NC
33072001-02-01 Nick Clifton <nickc@redhat.com>
3308
3309 * ld.1: Replace occurances of -oformat with --oformat.
3310
02aa14fb
AM
33112001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
3312
3313 * ldlang.c (lang_leave_overlay): Don't set lma_region when
3314 load_base is specified.
3315
f813923c
HPN
33162001-01-24 Hans-Peter Nilsson <hp@axis.com>
3317
3318 * emultempl/elf32.em: Correct spelling in comments and listed
3319 options.
3320
c1eb1488
AM
33212001-01-23 Alan Modra <alan@linuxcare.com.au>
3322
3323 * ldlang.c (lang_leave_overlay): Only set lma_region from the
3324 default for the first section of a group of overlay sections.
3325
d9fc3714
AM
33262001-01-22 Alan Modra <alan@linuxcare.com.au>
3327
3328 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
3329 * Makefile.in: Regenerate.
3330 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
3331 Check for null tool_dir.
3332
6be0ca94
JW
33332001-01-16 Jim Wilson <wilson@redhat.com>
3334
3335 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
3336 and IA_64.unwind.info.
3337
b9247304
L
33382001-01-16 H.J. Lu <hjl@gnu.org>
3339
3340 * ldlang.c (lang_check): Merge the private data only if the
3341 input file has contents.
3342
577a0623
AM
33432001-01-14 Alan Modra <alan@linuxcare.com.au>
3344
d952f17a
AM
3345 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
3346
ffd6e9de
AM
3347 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
3348 enabling search for libmilli. On a relocatable link, make .text
3349 sections unique.
3350 (LDEMUL_AFTER_PARSE): Define.
3351 (hppaelf_finish): Correct spelling of relocatable in comments.
3352
577a0623
AM
3353 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3354 rummage through the script for sections on the unique list.
3355 Correct length of strncmp for ".note".
3356 (gld${EMULATION_NAME}_check_needed): Rearrange function.
3357
3358 * ldlang.c (unique_section_list): New var.
3359 (unique_section_p): New function.
3360 (walk_wild_section): Don't match sections on unique_section_list.
3361 (lang_add_unique): New function.
ffd6e9de 3362 Correct spelling of relocatable in comments.
577a0623
AM
3363
3364 * ldlang.h (struct unique_sections): Declare.
3365 (unique_section_list): Declare.
3366 (unique_section_p): Declare.
3367 (lang_add_unique): Declare.
3368
3369 * lexsup.c (ld_options): Allow --unique to take an optional arg.
3370 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
3371
3372 * ld.texinfo (--unique): Update.
3373
b7ed8fad
NC
33742001-01-13 Nick Clifton <nickc@redhat.com>
3375
3376 * lexsup.c (parse_args): Remove spurious white space.
3377
d0398d6a
NC
33782001-01-12 Nick Clifton <nickc@redhat.com>
3379
3380 * lexsup.c (parse_args): Update copyright date.
3381
350fdb00
PB
33822001-01-12 Philip Blundell <pb@futuretv.com>
3383
3384 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
3385
60c6797e
KH
33862001-01-10 Kazu Hirata <kazu@hxi.com>
3387
3388 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
3389 * scripttempl/h8300h.sc: Fix formatting.
3390 * scripttempl/h8300s.sc: Likewise.
69f06969
KH
3391 * scripttempl/h8500.sc: Likewise.
3392 * scripttempl/h8500b.sc: Likewise.
3393 * scripttempl/h8500c.sc: Likewise.
3394 * scripttempl/h8500m.sc: Likewise.
3395 * scripttempl/h8500s.sc: Likewise.
60c6797e 3396
482e8b32
DB
33972000-01-07 David O'Brien <obrien@BSDi.com>
3398
3399 * emultempl/elf32.em: Only perform Linux ld hints processing when
3400 targeting Linux.
3401
d7ed7ca6
PB
34022001-01-07 Philip Blundell <philb@gnu.org>
3403
3404 * ld.texinfo (Bug Reporting): Update email address for reports.
3405
0fc3347a
NC
34062000-12-31 Nick Clifton <nickc@redhat.com>
3407
3408 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
3409 options by checking for a return value of '?' not -1.
3410
e4897a32
NC
34112000-12-28 Nick Clifton <nickc@redhat.com>
3412
3413 * lexsup.c (struct ld_option): Add new enum value:
3414 EXACTLY_TWO_DASHES.
3415 (ld_options[]): Change -omagic, -output and -oformat options
3416 to be EXACTLY_TWO_DASHES.
3417 (OUTPUT_COUNT): Use ARRAY_SIZE.
3418 (parse_args): Change parameter 'argc' to unsigned.
3419 Place EXACTLY_TWO_DASHES options into new really_longopts
3420 array.
3421 If getopt_long_only fails, try calling getopt_long using the
3422 really_longopts array.
3423 (help): Print a double dash for both EXACTLY_TWO_DASHES and
3424 TWO_DASHES options.
3425
3426 * ldlex.h: Fix prototype of parse_args.
3427
3428 * ld.texinfo: Document that long options starting with 'o'
3429 must be preceeded by two dashes. Change example of a single
3430 dashed long option from -oformat to -trace-symbol.
3431
1122a5fc
NC
34322000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3433
3434 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
3435 (longopts[]): New --no-default-excludes option.
3436 (gld_${EMULATION_NAME}_list_options): Document.
3437 (gld_${EMULATION_NAME}_parse_args): Handle.
3438
037849a9
NC
34392000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3440
3441 * ldlang.c (new_stat): Revert the last beautification with "innocent"
3442 whitespace, it breaks the K&R C preprocessor.
3443
7ec229ce
DD
34442000-12-11 DJ Delorie <dj@redhat.com>
3445
3446 * ld.texinfo: Add notes about --whole-archive and gcc.
3447
b79e8c78
NC
34482000-11-18 Fred Fish <fnf@be.com>
3449
3450 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
3451 (ld_options): Entry for --allow-shlib-undefined.
3452 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
3453 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
3454 to false.
3455 * ld.texinfo: Document new command line switch.
d952f17a 3456
9a8e2505
GK
34572000-12-12 Geoffrey Keating <geoffk@redhat.com>
3458
3459 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
3460 .fixup is actually read/write.
3461 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
3462 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
3463 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
3464
3b16e843 34652000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
3466
3467 * NEWS: Add note about x86_64 architecture.
3468
93b63cd3
DD
34692000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
3470
3471 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
3472 Set DWARF2 sections to a VMA of zero.
3473
68b2fc7a 34742000-12-01 Joel Sherrill <joel@OARcorp.com>
24f6971a 3475
d952f17a 3476 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
24f6971a
NC
3477 New targets.
3478 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
3479 (sparc*-*-rtems*): Switched from a.out to ELF.
3480
2be3aa03
NC
34812000-11-30 Jan Hubicka <jh@suse.cz>
3482
3483 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
3484 (eelf_x86_64.c): New.
3485 * Makefile.in: Regenerate.
3486 * configure.tgt: Add support for x86_64-*-linux-gnu*.
3487 * emulparams/elf_x86_64.sh: New.
3488
8c899858
HPN
34892000-11-30 Hans-Peter Nilsson <hp@axis.com>
3490
3491 * emulparams/crislinux.sh (ENTRY): Change back to _start.
3492 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
3493
3494 * scripttempl/crisaout.sc: Change all RELOCATING not related to
3495 merging non-a.out sections into CONSTRUCTING.
3496
e47b9e39
NC
34972000-11-28 Nick Clifton <nickc@redhat.com>
3498
3499 * ld.1 (COPYING): Mention that the GNU Free Documentation
3500 License is present in the sources, but not the output, and
3501 also available from the GNU website.
3502 (GNU Free Documentation License): Comment out this section.
3503
ad95f82a
DB
35042000-11-28 David O'Brien <obrien@dragon.nuxi.com>
3505
3506 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
3507 does not use them.
3508
fd89e65f
DB
35092000-11-25 David O'Brien <obrien@FreeBSD.org>
3510
3511 * ld.1: Remove old date so it does not give the impression the manpage
3512 is way out of date.
3513
077b8428
NC
35142000-11-24 Nick Clifton <nickc@redhat.com>
3515
3516 * configure.tgt (xscale-coff): Add target.
3517 (xscale-elf): Add target.
3518
49425d28
NC
35192000-11-24 Fred Fish <fnf@be.com>
3520
d952f17a
AM
3521 * ldmain.c (main): Remove redundant init of config.make_executable
3522 to true.
49425d28 3523
d3480244
RH
35242000-11-15 Richard Henderson <rth@redhat.com>
3525
3526 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
3527
1ce7de8b
KH
35282000-11-14 Kazu Hirata <kazu@hxi.com>
3529
3530 * scripttempl/h8300.sc: Fix formatting.
3531 * scripttempl/h8300h.sc: Likewise.
3532 * scripttempl/h8300s.sc: Likewise.
3533
3b16e843 35342000-11-14 Denis Chertykov <denisc@overta.ru>
208d5cd0
DC
3535
3536 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
3537
2e418547
PB
35382000-11-09 Philip Blundell <pb@futuretv.com>
3539
3540 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
3541 around orphan sections whose names can be represented in C.
3542
c940e6fc
JW
35432000-11-07 Jim Wilson <wilson@redhat.com>
3544
3545 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
3546 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
3547
704c465c
NC
35482000-11-06 Nick Clifton <nickc@redhat.com>
3549
3550 * ld.texinfo: Add GNU Free Documentation License.
3551 * ldint.texinfo: Add GNU Free Documentation License.
cf055d54 3552 * ld.1: Add GNU Free Documentation License.
704c465c 3553
dca7760f
AM
35542000-11-05 Alan Modra <alan@linuxcare.com.au>
3555
3556 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
3557 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
3558
3559 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
3560 Move 2000-11-02 Makefile.in changes to this file.
3561 * Makefile.in: Regenerate.
3562
40a633d5
NC
35632000-11-03 Nick Clifton <nickc@redhat.com>
3564
3565 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
3566 constructors and destructors.
3567 * scripttempl/h8300h.sc: Ditto.
3568 * scripttempl/h8300s.sc: Ditto.
3569 * scripttempl/h8500.sc: Ditto.
3570 * scripttempl/h8500b.sc: Ditto.
3571 * scripttempl/h8500c.sc: Ditto.
3572 * scripttempl/h8500m.sc: Ditto.
3573 * scripttempl/h8500s.sc: Ditto.
3574 * scripttempl/v850.sc: Ditto.
3575 * scripttempl/w65.sc: Ditto.
3576 * scripttempl/z8000.sc: Ditto.
3577
59ff2774
NC
35782000-11-02 Per Lundberg <plundis@chaosdev.org>
3579
3580 * Makefile.in (e_i386_chaos.c): New rule.
3581 (ALL_EMULATIONS): Added e_i386_chaos.o.
3582 * emulparams/elf_i386_chaos.sh: New file.
3583 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
3584
645571e1
JJ
35852000-10-20 Jakub Jelinek <jakub@redhat.com>
3586
3587 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
3588 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
3589 Fix sed invocation, so that it coped with '/' in Solaris 64bit
3590 library path suffix.
3591 Based on patch by Andrew Macleod <amacleod@cygnus.com>.
3592
c5975a45
HPN
35932000-10-18 Hans-Peter Nilsson <hp@axis.com>
3594
3595 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
3596 for consecutive sections.
3597
ea20a7da
CC
35982000-10-17 Chandrakala Chavva <cchavva@redhat.com>
3599
d952f17a
AM
3600 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
3601 options.
3602 * ld.texinfo: Added notes about this new option.
ea20a7da 3603
6e45556a
NC
36042000-10-16 Nick Clifton <nickc@redhat.com>
3605
3606 * emultempl/pe.em (_after_open): Add tests of return values from
3607 bfd functions. Emit appropriate error messages if necessary.
3608
b9a69188
NC
36092000-10-13 Nick Clifton <nickc@redhat.com>
3610
3611 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
102c86f8
NC
3612 local variables - they are not used, but leave in the call to
3613 bfd_canonicalize_symtab.
b9a69188
NC
3614 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
3615 pe_dll_search_prefix.
3616
627427de 36172000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
d952f17a 3618
627427de
DD
3619 * emultempl/pe.em (pe_dll_search_prefix): New variable,
3620 (longopts): New --dll-search-prefix option.
3621 (gld_${EMULATION_NAME}_list_options): Document.
3622 (gld_${EMULATION_NAME}_parse_args): Handle.
3623 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
3624 dynamically, search for a dll named '<prefix><basename>.dll'
3625 in preference to 'lib<basename>.dll' if --dll-search-prefix
3626 is specified.
3627
24376d1b
AM
36282000-10-12 Alan Modra <alan@linuxcare.com.au>
3629
3630 * ldlang.c (section_already_linked): Set kept_section instead of
3631 sec->comdat->sec.
3632
e47d05ad
KH
36332000-10-10 Kazu Hirata <kazu@hxi.com>
3634
3635 * deffile.h: Fix formatting.
3636 * lexsup.c: Likewise.
3637 * mri.c: Likewise.
3638
23a87948
DD
36392000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
3640
3641 * pe-dll.c (make_one): Do not generate code thunk for DATA
3642 exports.
3643 (process_def_file): deduce DATA flag for auto-export sumbols.
3644
86b1cc60
KH
36452000-10-09 Kazu Hirata <kazu@hxi.com>
3646
89cdebba
KH
3647 * ld.h: Fix formatting.
3648 * ldcref.c: Likewise.
3649 * ldctor.h: Likewise.
3650 * ldemul.c: Likewise.
3651 * ldemul.h: Likewise.
3652 * ldexp.c: Likewise.
3653 * ldexp.h: Likewise.
3654 * ldfile.c: Likewise.
3655 * ldfile.h: Likewise.
3656 * ldlang.c: Likewise.
3657 * ldlang.h: Likewise.
3658 * ldmain.c: Likewise.
7bfd51a3
KH
3659 * pe-dll.c: Likewise.
3660
3661 * pe-dll.c: Revert some formatting fixes.
86b1cc60 3662
d643799d
KH
36632000-10-08 Kazu Hirata <kazu@hxi.com>
3664
3665 * pe-dll.c: Fix formatting.
3666
08da4cac
KH
36672000-10-05 Kazu Hirata <kazu@hxi.com>
3668
3669 * ldlang.c: Fix formatting.
3670
c2a94a7a
DD
36712000-10-03 DJ Delorie <dj@redhat.com>
3672
3673 * pe-dll.c (fill_edata): initialize entire block
3674 (make_one): fill in correct section.
3675
8c95a62e
KH
36762000-10-03 Kazu Hirata <kazu@hxi.com>
3677
3678 * ldexp.c: Fix formatting.
3679
486e80e2
DD
36802000-10-02 DJ Delorie <dj@redhat.com>
3681
3682 * emultempl/pe.em (gld_*_after_open): detect case where there two
3683 import libraries for same dll; rename one to ensure proper link
3684 order.
3685
3686 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
3687 typo
3688 (generate_edata): fix typo
3689
24dd9f75
HPN
36902000-09-29 Hans-Peter Nilsson <hp@axis.com>
3691
3692 * scripttempl/crisaout.sc (ENTRY): Now __start.
3693 (.text): Add default setting for __start.
3694 Remove CONSTRUCTORS handling.
3695 (/DISCARD/): Add .gnu.warning.*.
3696 * emulparams/crislinux.sh (ENTRY): Now __start.
3697 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
3698 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
3699 (ENTRY): Now __start.
3700 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
3701 (EXECUTABLE_SYMBOLS): Add default setting for __start.
3702
4de2d33d
KH
37032000-09-29 Kazu Hirata <kazu@hxi.com>
3704
5cc18311
KH
3705 * deffile.h: Fix formatting.
3706 * ld.h: Likewise.
3707 * ldcref.c: Likewise.
4de2d33d 3708 * ldctor.c: Likewise.
5cc18311 3709 * ldctor.h: Likewise.
4de2d33d 3710 * ldemul.c: Likewise.
5cc18311 3711 * ldemul.h: Likewise.
4de2d33d 3712 * ldexp.c: Likewise.
5cc18311 3713 * ldexp.h: Likewise.
4de2d33d 3714 * ldfile.c: Likewise.
5cc18311 3715 * ldfile.h: Likewise.
4de2d33d 3716 * ldlang.c: Likewise.
5cc18311
KH
3717 * ldlang.h: Likewise.
3718 * lexsup.c: Likewise.
3719 * mri.c: Likewise.
3720 * pe-dll.c: Likewise.
4de2d33d 3721
45b1f63c
DD
37222000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
3723
3724 * pe-dll.c (process_def_file): Uninitialized data wasn't
3725 exported with --export-all-symbols switch.
d952f17a 3726
45b1f63c
DD
37272000-09-28 DJ Delorie <dj@redhat.com>
3728
3729 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
3730 noname work properly.
3731
47d89dba
AM
37322000-09-28 Alan Modra <alan@linuxcare.com.au>
3733
3734 * ld.texinfo (HPPA ELF32): New section.
3735
3736 * emultempl/hppaelf.em (group_size): New.
3737 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
3738 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
3739 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
3740 options to prevent abbreviations matching.
3741 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
3742 (PARSE_AND_LIST_ARGS_CASES): Handle it.
3743
36bdbeec
NC
37442000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3745
3746 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
3747 on the m68*-*-elf target. Make it support COFF input objects.
3748
6d5e62f8
KH
37492000-09-21 Kazu Hirata <kazu@hxi.com>
3750
3751 * ldmain.c: Fix formatting.
3752 * ldmisc.c: Likewise.
3753 * ldver.c: Likewise.
3754 * ldwrite.c: Likewise.
3755
e2eb67d9
AM
37562000-09-21 Alan Modra <alan@linuxcare.com.au>
3757
3758 * ldwrite.c (clone_section): Silence gcc warnings.
3759
b3ea3584
AM
37602000-09-20 Alan Modra <alan@linuxcare.com.au>
3761
3762 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
3763 out of memory failure.
3764
3765 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
3766 (clone_section): Handle out of memory failures. Rename var to
3767 avoid c++ reserved word.
3768
25f72752
AM
37692000-09-18 Alan Modra <alan@linuxcare.com.au>
3770
3771 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
3772 stub_name param to stub_sec_name.
3773 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
3774
0752970e
NC
37752000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3776
3777 * emultempl/m68kelf.em: New file.
3778 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
3779 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
3780 * Makefile.in: Regenerate.
3781
92b7e9d8
AM
37822000-09-15 Alan Modra <alan@linuxcare.com.au>
3783
3784 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
3785 only as needed.
3786
9b14b192
NC
37872000-09-13 Nick Clifton <nickc@redhat.com>
3788
3789 * ldmain.c (multiple_definition): Disable relaxation if
3790 multiple symbol definitions are encountered - otherwise the
3791 linker could abort with an assertion failure.
3792
891fa266
NC
37932000-09-10 Nick Clifton <nickc@redhat.com>
3794
3795 * mri.c: Fix formatting.
3796
5d64ca4e
L
37972000-09-07 H.J. Lu <hjl@gnu.org>
3798
3799 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
3800 * configure: Rebuild.
3801
dd94604f
L
38022000-09-07 H.J. Lu <hjl@gnu.org>
3803
3804 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
3805 * Makefile.in: Rebuild.
3806
71bfc0ae
AM
38072000-09-07 Alan Modra <alan@linuxcare.com.au>
3808
3809 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
3810 broken list handling. Create __start_SECNAME and __stop_SECNAME
3811 when no place-holder. Add some comments. Test both SEC_CODE and
3812 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
ed15ac6a 3813 Handle case where no output section statement created.
71bfc0ae 3814
4a428502
AO
38152000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
3816
3817 * configure.tgt (sh-*-linux*): Added.
3818 * Makefile.am: Added eshelf_linux and eshlelf_linux.
3819 * Makefile.in: Rebuilt.
3820 * emulparams/shelf_linux.sh: New file.
3821 * emulparams/shlelf_linux.sh: New file.
3822
f9989030
AM
38232000-09-06 Alan Modra <alan@linuxcare.com.au>
3824
3825 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3826 try shuffling sections when the orphan happens to be the place
3827 holder. Keep count of unique section names generated so we speed
3828 the search for a new name.
3829
58cccadb
AO
38302000-09-06 Alexandre Oliva <aoliva@redhat.com>
3831
3832 * configure: Rebuilt with new libtool.m4.
3833
5b343f5a
NC
38342000-09-05 Nick Clifton <nickc@redhat.com>
3835
3836 * Makefile.in: Regenerate.
3837 * aclocal.m4: Regenerate.
3838 * configure: Regenerate.
3839 * config.in: Regenerate.
3840 * po/ld.pot: Regenerate.
3841
3842 * ldint.texinfo: Remove CVS revision marker - it foils local
3843 comparisons.
3844
3845 * emultempl/ticoff.em: Remove extraneous comma.
50bbae35 3846
a854a4a7
AM
38472000-09-05 Alan Modra <alan@linuxcare.com.au>
3848
3231d22e
AM
3849 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
3850 to stub section flags.
3851 (hppa_for_each_input_file_wrapper): New.
3852 (hppa_lang_for_each_input_file): New.
3853 (lang_for_each_input_file): Define to call above.
3854 (multi_subspace): New.
3855 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
3856 (PARSE_AND_LIST_PROLOGUE): Define.
3857 (PARSE_AND_LIST_LONGOPTS): Define.
3858 (PARSE_AND_LIST_OPTIONS): Define.
3859 (PARSE_AND_LIST_ARGS_CASES): Define.
3860 (hppaelf_finish): Call elf32_hppa_set_gp.
3861 (hppaelf_set_output_arch): Remove.
3862 (LDEMUL_SET_OUTPUT_ARCH): Remove.
3863
3864 * emulparams/hppalinux.sh (ELFSIZE): Define.
3865 (MACHINE): Define.
3866 (OTHER_READONLY_SECTIONS): Define.
3867 (DATA_PLT): Define.
3868 (GENERATE_SHLIB_SCRIPT): Define.
3869
5f992e62
AM
3870 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
3871 to const throughout. Change `void *' to `PTR' throughout.
3872 (lang_memory_default): Function is local to file, add `static'.
3873
3874 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
3875 (ehppalinux.c): Likewise.
3876 (earmelf.c): Likewise.
3877 (earmelf_linux.c): Likewise.
3878 (earmelf_linux26.c): Likewise.
3879 * Makefile.in: Regenerate.
3880
a854a4a7
AM
3881 * ld.h (ld_config_type): Add unique_orphan_sections.
3882 * lexsup.c (OPTION_UNIQUE): Define.
3883 (ld_options): Add "--unique".
3884 (parse_args): Handle it.
3885 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3886 search for an existing output section if unique_orphan_sections is
3887 set. Make use of bfd_get_unique_section_name rather than
3888 duplicating code here.
3889 * ld.texinfo: Describe --unique.
3890
3891 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
3892 optional arg to split-by-file.
3893 (parse_args): Handle them.
3894 * ld.texinfo: Update description of these options.
3895 * ldwrite.c (clone_section): Pass in the section name. Replace
3896 local code with bfd_get_unique_section_name.
3897 (split_sections): Tidy code and comments. Use a list traversal
3898 more appropriate to the list construction. Handle cooked section
3899 sizes. Split when split_by_reloc reached rather than exceeded.
3900 Track section size and split when split_by_file reached. Fix
3901 link_order_tail (even though it's not used).
3902 (ldwrite): Modify condition for calling split_sections to suit
3903 changed split_by_reloc and split_by_file.
3904 * ldmain.c (main): Init config.split_by_reloc and
3905 config.split_by_file to -1.
3906 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
3907 Change split_by_file to bfd_size_type.
3908
18e03609
NC
39092000-09-02 Nick Clifton <nickc@redhat.com>
3910
3911 * configure.in: Increase version number to 2.10.91.
3912 * NEWS: Mention new ability to support removal of duplicate DWARF2
3913 debug information.
3914 * configure: Regenerate.
3915 * aclocal.m4: Regenerate.
3916 * config.in: Regenerate.
3917
3a9d486c
NC
39182000-09-02 Daniel Berlin <dberlin@redhat.com>
3919
3920 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
3921 sections.
a2b64bed 3922 * scripttempl/elf32avr.sc: Ditto.
3a9d486c
NC
3923 * scripttempl/elfd10v.sc: Ditto.
3924 * scripttempl/elfd30v.sc: Ditto.
3925 * scripttempl/elfi370.sc: Ditto.
3926 * scripttempl/elfm68hc11.sc: Ditto.
3927 * scripttempl/elfm68hc12.sc: Ditto.
3928 * scripttempl/elfi386beos.sc: Ditto.
3929 * scripttempl/v850.sc: Ditto.
50bbae35 3930
ac48eca1
AO
39312000-08-31 Alexandre Oliva <aoliva@redhat.com>
3932
3933 * acinclude.m4: Include libtool and gettext macros from the
3934 top level.
3935 * aclocal.m4, configure: Rebuilt.
3936
c13b1b77
NC
39372000-08-25 Nick Clifton <nickc@redhat.com>
3938
3939 * ldlang.c (open_output): When choosing the target for a
3940 particular endianness, do nothing if the target is not
3941 supported.
3942
dcb0bd0e
L
39432000-08-25 H.J. Lu <hjl@gnu.org>
3944
3945 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
3946 check -rpath nor LD_RUN_PATH for cross link.
3947 * ld.texinfo: Document the change.
3948
5bcac8a4
HPN
39492000-08-24 Hans-Peter Nilsson <hp@axis.com>
3950
3951 * NEWS: Mention support for CRIS.
3952
6dd8c765
L
39532000-08-23 H.J. Lu <hjl@gnu.org>
3954
3955 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
3956 the current runpath list from bfd_elf_get_runpath_list ()
3957 before search.
3958
ec4eb78a
L
39592000-08-22 H.J. Lu <hjl@gnu.org>
3960
3961 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
3962 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
3963 LD_LIBRARY_PATH for native linker. Display the needed DSO if
3964 trace_file_tries is non-zero.
3965 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
3966 if trace_file_tries is non-zero.
3967
3968 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
a8175964 3969 * NEWS: Mention it.
ec4eb78a 3970
22b36938
JE
39712000-08-14 Jason Eckhardt <jle@cygnus.com>
3972
3973 * NEWS: Mention i860 support.
3974
d73e9da0
AS
39752000-08-14 Andreas Schwab <schwab@suse.de>
3976
3977 * scripttempl/elf.sc: Fix last change to use correct comment
50bbae35 3978 syntax.
d73e9da0 3979
9ac4db9c
GK
39802000-08-10 Geoff Keating <geoffk@cygnus.com>
3981
3982 * scripttempl/elf.sc: Add a comment giving the correspondence
3983 between sections, per-datum sections, and linkonce sections. Make
3984 the comment true even for .bss, .sdata, .sdata2, .sbss, and
3985 .sbss2.
3986
165589e4
JE
39872000-08-10 Jason Eckhardt <jle@cygnus.com>
3988
3989 * emulparams/elf32_i860.sh: New file.
3990 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
3991 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
3992 (eelf32_i860.c): New rule.
3993 * Makefile.in: Regenerate.
3994
345a835d
NC
39952000-08-10 Nick Clifton <nickc@cygnus.com>
3996
3997 * emulparams/mipspe.sh (ENTRY): Add definition.
3998
e374f1d9
NC
39992000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
4000
4001 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
4002 in error message.
4003
236d5abf
NC
40042000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4005
4006 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
4007 the final size of .bss section.
4008 * scripttempl/elfm68hc12.sc: Likewise.
4009
4b209b22
AM
40102000-08-04 Alan Modra <alan@linuxcare.com.au>
4011
4012 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
4013 gld${EMULATION_NAME}_parse_args for consistency. Combine
4014 lastoptind and prevoptind vars, and keep track of last optind.
4015 (gld_${EMULATION_NAME}_list_options): Rename to
4016 gld${EMULATION_NAME}_list_options.
4017
28423a68
AM
40182000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
4019
4020 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
4021 (i586-sco-sysv5uw7.1.0).
4022
b2009ff7
L
40232000-07-27 H.J. Lu <hjl@gnu.org>
4024
4025 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
4026 (PARSE_AND_LIST_PROLOGUE): New.
4027 (PARSE_AND_LIST_LONGOPTS): Likewise.
4028 (PARSE_AND_LIST_OPTIONS): Likewise.
4029 (PARSE_AND_LIST_ARGS_CASES): Likewise.
4030 (PARSE_AND_LIST_EPILOGUE): Likewise.
4031
04925e1e
AM
40322000-07-28 Alan Modra <alan@linuxcare.com.au>
4033
41392f03
AM
4034 * emultempl/armelf.em: Elide functions common to elf32.em,
4035 ie. most of the file.
4036 (arm_elf_after_open): New. Do arm specific things then call
4037 gld${EMULATION_NAME}_after_open.
4038 (arm_elf_before_allocation): New. Call
4039 gld${EMULATION_NAME}_before_allocation then do arm specifics.
4040 (PARSE_AND_LIST_PROLOGUE): Define.
4041 (PARSE_AND_LIST_SHORTOPTS): Define.
4042 (PARSE_AND_LIST_LONGOPTS): Define.
4043 (PARSE_AND_LIST_OPTIONS): Define.
4044 (PARSE_AND_LIST_ARGS_CASES): Define.
4045 (LDEMUL_AFTER_OPEN): Define.
4046 (LDEMUL_BEFORE_ALLOCATION): Define.
4047 (LDEMUL_BEFORE_PARSE): Define.
4048 (LDEMUL_FINISH): Define.
4049
4050 * emultempl/hppaelf.em: Similarly zap most of this file.
4051 (hppaelf_add_stub_section): Prototype.
4052 (hppaelf_layaout_sections_again): Prototype.
4053 (hook_in_stub): Prototype.
4054 (LDEMUL_SET_OUTPUT_ARCH): Define.
4055 (LDEMUL_FINISH): Define.
4056 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
4057
4058 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
4059 (EXTRA_EM_FILE): New.
4060 * emulparams/armelf_linux.sh: Likewise.
4061 * emulparams/armelf_linux26.sh: Likewise.
4062 * emulparams/hppalinux.sh: Likewise.
4063 * emulparams/hppaelf.sh: Likewise.
4064 (NOP): Define.
4065
4066 * emultempl/elf32.em: Fix formatting.
4067 (EXTRA_EM_FILE): Source it.
4068 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
4069 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
4070 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
4071 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
4072 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
4073 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
4074 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
4075 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
4076 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
4077 allow functions in this file to be overridden.
4078 (PARSE_AND_LIST_SHORTOPTS): Handle it.
4079
4080 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
4081
04925e1e
AM
4082 * emultempl/elf32.em: Reorganize file.
4083
88cdf297
NC
40842000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
4085
4086 * emulparams/elf64alpha.sh: Implement "-taso" emulation
4087 specific option to fit 64-bit executable in the lower
4088 31-bit address range. This is done by changing start
4089 address of .interp (the very first section of executable)
4090 and then setting EF_ALPHA_32BIT elf header flag.
4091
20bccb34
NC
40922000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4093
4094 * emultempl/m68kcoff.em: New file.
4095 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
4096 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
4097 generic.em.
4098 * Makefile.in: Regenerate.
4099
699845ef
L
41002000-07-20 H.J. Lu <hjl@gnu.org>
4101
4102 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
4103 and "disable-new-dtags" to stop getopt from treating -d/-e as
4104 abbreviations for these options.
4105
6c1439be
L
41062000-07-20 H.J. Lu <hjl@gnu.org>
4107
4108 * ld.texinfo: Add documentation for --disable-new-dtags and
4109 --enable-new-dtags.
4110
4111 * ldmain.c (main): Initialize link_info.new_dtags to false.
4112
4113 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
4114 --disable-new-dtags and --enable-new-dtags.
4115 (gld_${EMULATION_NAME}_list_options): Likewise.
4116
28c309a2
NC
41172000-07-05 Kenneth Block <krblock@computer.org>
4118
a2b64bed
NC
4119 * lexsup.c: Add optional style to demangle switch
4120 * ld.texinfo: Document optional style to demangle switch.
50bbae35 4121
9d06555c
HPN
41222000-07-20 Hans-Peter Nilsson <hp@axis.com>
4123
4124 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
4125 ecrislinux.o.
4126 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
4127 Regenerate dependencies.
4128 * Makefile.in: Rebuild.
4129 * configure.tgt (cris-*-*): New target.
4130 * emulparams/crisaout.sh, emulparams/criself.sh,
4131 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
4132 * po/POTFILES.in, po/ld.pot: Regenerate.
4133
19e3be22
L
41342000-07-20 H.J. Lu <hjl@gnu.org>
4135
4136 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
4137 Print out ignored -z options.
4138
e0ee487b
L
41392000-07-19 H.J. Lu <hjl@gnu.org>
4140
19e3be22
L
4141 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
4142 (PARSE_AND_LIST_PROLOGUE): New.
4143 (PARSE_AND_LIST_LONGOPTS): Likewise.
4144 (PARSE_AND_LIST_OPTIONS): Likewise.
4145 (PARSE_AND_LIST_ARGS_CASES): Likewise.
4146
4147 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
4148
4149 * lexsup.c (ld_options): Comment out 'z'.
4150 (parse_args): Likewise.
4151
4152 * emultempl/elf32.em: Include "elf/common.h".
4153 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
4154 options.
4155 (gld_${EMULATION_NAME}_list_options): Likewise.
4156
4157 * ld.texinfo: Add documentation for the recognized -z options.
e0ee487b 4158
49e56c49
L
41592000-07-19 H.J. Lu <hjl@gnu.org>
4160
4161 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
4162 bfd_elf_set_dt_needed_soname ().
4163
9d68bc82
DD
41642000-07-18 DJ Delorie <dj@cygnus.com>
4165
4166 * pe-dll.c (pe_dll_id_target): check object target name also
4167
53db15ed
HPN
41682000-07-18 Hans-Peter Nilsson <hp@axis.com>
4169
4170 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
4171 ${INIT_END} if relocating.
4172 (.fini): Likewise ${FINI_START} and ${FINI_END}.
4173
0ad8cf4c
DD
41742000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
4175
a2b64bed 4176 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
0ad8cf4c
DD
4177 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
4178 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
4179 errors introduced by the old dynamic lib search order.
4180
874c8c99
DD
41812000-07-17 DJ Delorie <dj@cygnus.com>
4182
4183 * pe-dll.c (process_def_file): auto-export data items also
4184 (pe_process_import_defs): also see if _imp_ form needed
4185
5b4cf3f4
DD
41862000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
4187
4188 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
4189 for dll import libraries
4190
062739d1
NC
41912000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
4192
4193 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
d952f17a 4194 gcc 2.95.2 and later.
062739d1 4195
1c64c4ed
NC
41962000-07-11 Kazu Hirata <kazu@hxi.com>
4197
50bbae35
AM
4198 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
4199 message.
1c64c4ed 4200
b71e2778
AM
42012000-07-10 Alan Modra <alan@linuxcare.com.au>
4202
4203 * ldemul.h (struct lang_input_statement_struct): Remove forward
4204 declaration.
4205 (struct search_dirs): Likewise.
4206 * ldfile.h (struct lang_input_statement_struct): Likewise.
4207 Protect file from multiple inclusion.
4208 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
4209 declaration from macro to file scope.
4210
4211 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
4212 * ldgram.y: Likewise here.
4213 * ldlang.c: And here.
4214 * ldmain.c: And here.
4215 * mpw-elfmips.c: And here.
4216 * mpw-eppcmac.c: And here.
4217 * emultempl/aix.em: And here.
4218 * emultempl/armcoff.em: And here.
4219 * emultempl/armelf.em: And here.
4220 * emultempl/armelf_oabi.em: And here.
4221 * emultempl/beos.em: And here.
4222 * emultempl/elf32.em: And here.
4223 * emultempl/hppaelf.em: And here.
4224 * emultempl/linux.em: And here.
4225 * emultempl/lnk960.em: And here.
4226 * emultempl/pe.em: And here.
4227 * emultempl/sunos.em: And here.
4228 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
4229 * mpw-idtmips.c: Ditto.
4230 * emultempl/generic.em: Ditto.
4231 * emultempl/gld960.em: Ditto.
4232 * emultempl/gld960c.em: Ditto.
4233 * emultempl/mipsecoff.em: Ditto.
4234 * emultempl/ticoff.em: Ditto.
4235 * emultempl/vanilla.em: Ditto.
4236
4237 * pe-dll.c: Include ldfile.h
4238 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
4239
4240 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
4241 arguments to bfd_elf32_size_dynamic_sections call.
4242 (gldelf32ebmip_place_orphan): Add missing arguments to
4243 lang_leave_output_section_statement call.
4244
2ef53d66
L
42452000-07-10 H.J. Lu <hjl@gnu.org>
4246
4247 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
4248 DLL_SUPPORT.
4249 (strhash): Likewise.
4250 (compute_dll_image_base): Likewise.
4251 (pe_undef_found_sym): Likewise.
4252 (pe_undef_cdecl_match): Likewise.
4253 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
4254 argument "arch" with ATTRIBUTE_UNUSED.
4255
9a8cbb09
AM
42562000-07-10 Alan Modra <alan@linuxcare.com.au>
4257
4258 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
4259
4260 From Ryan Bradetich <rbradetich@uswest.net>
4261 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
50bbae35 4262
4900fc06
AM
42632000-07-09 Alan Modra <alan@linuxcare.com.au>
4264
4265 Changes to create multiple linker stubs, positioned immediately
4266 before the section where they are required.
4267 * emultempl/hppaelf.em: Include elf32-hppa.h.
4268 (stub_sec, file_chain): Delete.
4269 (hppaelf_create_output_section_statements): Don't make a stub
4270 section here.
4271 (hook_stub_info): New struct.
4272 (hook_in_stub): New function.
4273 (hppaelf_add_stub_section): New function.
4274 (hppaelf_finish): Do nothing for relocateable links. Modify the
4275 call to elf32_hppa_size_stubs. Move code for updating section
4276 layout from here...
4277 (hppaelf_layaout_sections_again): ..to here, a new function.
4278
4279 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
4280 broken list handling. Pass in a pointer to the list.
4281 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
4282 for above changes.
4283 (hppaelf_before_parse): Prototype.
4284 (hppaelf_set_output_arch): Prototype.
4285 (hppaelf_create_output_section_statements): Prototype.
4286 (hppaelf_delete_padding_statements): Prototype.
4287 (hppaelf_finish): Prototype.
4288
4289 Merge from elf32.em
4290 * emultempl/hppaelf.em: Include ctype.h.
4291 (struct orphan_save): New.
4292 (gld${EMULATION_NAME}_place_orphan): New.
4293 (output_rel_find): New.
4294 (hppaelf_get_script): Update from elf32.em.
4295 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
4296 Change emulation_name field to "${EMULATION_NAME}". Add
50bbae35 4297 gld${EMULATION_NAME}_place_orphan.
4900fc06
AM
4298
4299 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
4300 ehppalinux.o, sort it. Regenerate dependencies.
4301 (ehppalinux.c): Depend on hppaelf.em
4302 * Makefile.in: Regenerate.
4303
4304 * configure.tgt: targ_emul=hppalinux for hppa*linux
4305
4306 * emulparams/hppalinux.sh: New.
4307 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
4308
227aeb07
AM
43092000-07-08 Alan Modra <alan@linuxcare.com.au>
4310
4311 * lexsup.c (parse_args): Copy section name.
4312
28609fd4 43132000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
602e90d3 4314
2ef53d66 4315 * emultempl/pe.em: institute the following search order for
602e90d3
DD
4316 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
4317 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
4318 static lib (libfoo.a) if none of the above are found.
4319
5f577f7d
DD
43202000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
4321
50bbae35 4322 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
5f577f7d 4323 (longopts): New --{enable,disable}-auto-image-base options.
50bbae35 4324 (gld_${EMULATION_NAME}_list_options): Document.
5f577f7d
DD
4325 (gld_${EMULATION_NAME}_parse): Handle.
4326 (strhash): New static function.
50bbae35 4327 (compute_dll_image_base): New static function.
5f577f7d
DD
4328 (gld_${EMULATION_NAME}_set_symbols): Use.
4329
9a8cbb09 43302000-07-05 DJ Delorie <dj@redhat.com>
302ab118
DD
4331
4332 * MAINTAINERS: new
4333
3548145d 43342000-07-01 Koundinya K <kk@ddeorg.soft.net>
50bbae35
AM
4335
4336 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
4337 * emulparams/elf32btsmip.sh: New file.
4338 * Makefile.am: Add traditional mips target.
4339 * Makefile.in: Rebuild.
4340
67798033
L
43412000-07-01 H.J. Lu <hjl@gnu.org>
4342
4343 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
4344 automake to use YLWRAP.
4345 * Makefile.in: Rebuild.
4346
0bdaf48b
AM
43472000-07-01 Alan Modra <alan@linuxcare.com.au>
4348
4349 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
4350 (CLEANFILES): Add DEPA.
4351 * Makefile.in: Regenerate.
4352
c9e769c2
TW
43532000-06-30 Timothy Wall <twall@ppc>
4354
4355 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
4356 the page in the upper octet of the address.
4357
65aa24b6
NC
43582000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
4359
4360 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
4361
4667035e
AM
43622000-06-24 Alan Modra <alan@linuxcare.com.au>
4363
4364 * NEWS: arm-elf does --gc-sections too.
4365
1581f8c9
AM
43662000-06-22 Alan Modra <alan@linuxcare.com.au>
4367
4368 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
4369 find one.
4370 * Makefile.in: Regenerate.
4371
01580992
L
43722000-06-21 H.J. Lu <hjl@gnu.org>
4373
4374 * Makefile.am: Rebuild dependency.
4375 * Makefile.in: Rebuild.
4376
bbeb2e03
L
43772000-06-20 H.J. Lu <hjl@gnu.org>
4378
4379 * Makefile.am: Rebuild dependency.
4380 * Makefile.in: Rebuild.
4381
74459f0e
TW
43822000-06-20 Timothy Wall <twall@cygnus.com>
4383
4384 * scripttempl/tic54xcoff.sc: New.
4385 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
4386 * gen-doc.texi: Add flag for TI COFF.
4387 * ld.texinfo: Add documentation for TI COFF handling switches.
4388 * emultempl/ticoff.em: New. TI COFF handling.
4389 * configure.tgt: Add tic54x target.
4390 * Makefile.am: Add tic54x target.
4391 * Makefile.in: Ditto.
4392
2ab47eed
AM
43932000-06-20 Alan Modra <alan@linuxcare.com.au>
4394
4395 * ldmain.c (set_scripts_dir): Correct pointer comparison when
4396 checking for backslashes.
4397
919e4093
AM
43982000-06-19 Alan Modra <alan@linuxcare.com.au>
4399
4400 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
4401
987fd5b4
AM
44022000-06-18 Alan Modra <alan@linuxcare.com.au>
4403
4404 * NEWS: Update list of targets supporting --gc-sections.
4405
4406 * scripttempl/elf.sc: KEEP .eh_frame contents.
4407 * scripttempl/elfd30v.sc: Same here.
4408
60bcf0fa
NC
44092000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
4410
4411 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
4412 and m68hc11 (elf).
4413 * Makefile.in: Rebuild.
4414 * configure.tgt: Recognize m68hc12 and m68hc11.
4415 * scripttempl/elfm68hc12.sc: New file.
4416 * emulparams/m68hc12elfb: New emulation.
4417 * emulparams/m68hc12elf: New emulation.
4418 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
4419 (includes a memory.x script to define the ROM and RAM banks).
4420 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
4421 New configuration files for support of Motorola 68hc11
4422
c7c54483
AM
44232000-06-15 Alan Modra <alan@linuxcare.com.au>
4424
4425 * ldmain.c (main): Only change SEC_READONLY for final link.
4426
bcef29e6
L
44272000-06-13 H.J. Lu <hjl@gnu.org>
4428
4429 * configure: Regenerate.
4430
946efd95
DB
44312000-06-08 David O'Brien <obrien@FreeBSD.org>
4432
4433 * configure.in (VERSION): Update to show this is the CVS mainline.
4434
57a6fd07
DB
44352000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4436
4437 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
4438 input objects to be ECOFF.
4439 (check_sections): einfo takes %B, not %P, to print a BFD name.
4440
e06cae36
L
44412000-06-05 Michael Matz <matz@ifh.de>
4442
4443 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
d952f17a 4444 version scripts.
e06cae36 4445
d952f17a 4446 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
e06cae36 4447
2f0b56c0
DC
44482000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
4449
4450 * emulparams/avr1200.sh (STACK): Define as 0.
4451 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
4452 * emulparams/avr4433.sh (STACK): Likewise.
4453 * emulparams/avr44x4.sh (STACK): Likewise.
4454 * emulparams/avr85xx.sh (STACK): Likewise.
4455 * emulparams/avrmega103.sh (STACK): Likewise.
4456 * emulparams/avrmega161.sh (STACK): Likewise.
4457 * emulparams/avrmega603.sh (STACK): Likewise.
4458 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
4459 (__stack): Define from ${STACK} for main().
4460
2114f57b
AM
44612000-05-26 Alan Modra <alan@linuxcare.com.au>
4462
4463 * Makefile.am: Update dependencies with "make dep-am"
4464 * Makefile.in: Regenerate.
4465
5af11cab
AM
44662000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
4467
4468 * ldmain.c: Include filenames.h.
4469 (set_scripts_dir): Support backslashes in program name.
4470
1f0df59a
NC
44712000-05-22 Igor Shevlyakov <igor@windriver.com>
4472
4473 * ldmain.c (main): When deciding if ".text" section should be
50bbae35
AM
4474 read-only, don't forget to reset SEC_READONLY because it
4475 could be already set.
1f0df59a 4476
176355da
NC
44772000-05-22 Thomas de Lellis <tdel@windriver.com>
4478
50bbae35
AM
4479 * ld.1: Add documentation for new command line option:
4480 --section-start <sectionname>=<sectionorg>
4481 This is a generic version of -Ttext etc. which accepts
4482 any section name as a parameter instead of just text/data/
4483 bss.
4484 * ld.texinfo: More docs.
4485 * NEWS: More docs.
4486 * lexsup.c: (parse_args): Recognize new command line option.
176355da 4487 (ld_options): Add new option.
50bbae35 4488
8c5ff972
L
44892000-05-18 H.J. Lu <hjl@gnu.org>
4490
4491 * lexsup.c (parse_args): `i' == `r', not `q'.
4492
3b16e843 44932000-05-18 Jeffrey A Law (law@cygnus.com)
0b76fe77
JL
4494
4495 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
4496
a712da20
NC
44972000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
4498 Rick Gorton <gorton@scrugs.lkg.dec.com>
50bbae35 4499
a712da20
NC
4500 Add support for '-q' == '--emit-relocs' switch.
4501 * ldmain.c (main): Default to false.
4502 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
4503 * NEWS: Describe the emitrelocations switch.
4504 * ld.texinfo: Describe the emitrelocations switch.
4505
690a460e
NC
45062000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
4507
a2b64bed 4508 * emultempl/pe.em (_open_dynamic_archive): New function: Search
690a460e
NC
4509 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
4510 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
4511 link options.
50bbae35 4512
c2f1343c
AM
45132000-05-15 David O'Brien <obrien@FreeBSD.org>
4514
4515 * lexsup.c (parse_args): Update the year in the copyright notice.
4516
897083bd
AM
45172000-05-13 Alan Modra <alan@linuxcare.com.au>
4518
4519 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
4520 Replace defines with those from intl/libgettext.h to quieten gcc
4521 warnings.
4522
cd4c806a
L
45232000-05-10 H.J. Lu <hjl@gnu.org>
4524
4525 * ldlang.c (open_input_bfds): Don't load the same file within
4526 a group again if the whole archive has been loaded already.
4527
93697284
AM
45282000-05-03 Alan Modra <alan@linuxcare.com.au>
4529
4530 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
4531 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
4532 strtoul.
4533
3b16e843 45342000-05-01 Jim Wilson <wilson@cygnus.com>
ebd6fc29 4535
99a4150f 4536 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
50bbae35 4537
ebd6fc29
JW
4538 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
4539 host "ia64-*-linux-gnu*".
4540
a1934524
AM
45412000-04-29 Andreas Jaeger <aj@suse.de>
4542
4543 * ld.h: Correctly check GCC version.
4544
3b16e843 45452000-04-25 Jeffrey A Law (law@cygnus.com)
730a39a0
JL
4546
4547 * Makefile.am: Add PA64 support. Add missing dependencies for
4548 PA32 elf support.
4549 * Makefile.in: Rebuilt.
4550 * configure.tgt: Add PA64 support (currently disabled).
4551
aea4bd9d
AM
45522000-04-25 Alan Modra <alan@linuxcare.com.au>
4553
4554 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
4555 (output_rel_find): New function.
4556 (hold_section, hold_use): Delete.
4557 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
4558 hold_interp): Make local to place_orphan.
4559 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
4560 rather than place_section to find possible previous use of orphan.
4561 Similarly find the place-holder output sections. Use returned
4562 value from lang_enter_output_section_statement rather than calling
4563 lang_output_section_statement_lookup.
4564 * emultempl/armelf.em: Same here.
4565 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
4566
4567 * ldlang.c (lang_enter_output_section_statement): Return output
4568 section statement.
4569 * ldlang.h (lang_enter_output_section_statement): Change
4570 declaration too.
4571
4572 * ldlang.h (lang_output_section_statement): Export it.
4573 * ldlang.c (lang_output_section_statement): Ditto.
4574
2b5fc1f5
NC
45752000-04-24 Nick Clifton <nickc@cygnus.com>
4576
4577 * ld.texinfo (Output Section Data): Add note that section data
4578 commands cannot appear outside of section directives.
4579
d8475ff6
JL
45802000-04-2 Matthew Green <mrg@cygnus.com>
4581
4582 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
4583
3b16e843
NC
45842000-04-21 Richard Henderson <rth@cygnus.com>
4585 David Mosberger <davidm@hpl.hp.com>
800eeca4
JW
4586
4587 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
4588 (eelf64_ia64.c): New rule.
4589 * Makefile.in: Rebuild.
4590 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
4591 * emulparams/elf64_ia64.sh: New file.
50bbae35 4592
c9637625
RH
45932000-04-21 Richard Henderson <rth@cygnus.com>
4594
4595 * scripttempl/elfd30v.sc: Place .gcc_except_table.
4596
28ea9521
AM
45972000-04-19 Alan Modra <alan@linuxcare.com.au>
4598
4599 * dep-in.sed: Match space at start of file name, not at end.
4600
20d04697
L
46012000-04-18 H.J. Lu <hjl@gnu.org>
4602
4603 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
4604 lang_leave_output_section_statement () after calling
4605 lang_enter_output_section_statement ().
4606 * emultempl/armelf.em: Likewise.
4607
5ba47421
AM
46082000-04-18 Alan Modra <alan@linuxcare.com.au>
4609
4610 * emultempl/elf32.em (struct orphan_save): Add section field.
4611 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
4612 better order, and place first orphan section as we did before the
4613 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
4614 Don't call make_bfd_section here, let wild_doit do the job for us.
4615 Don't build a statement list when we'll only throw it away.
4616 * emultempl/armelf.em: Ditto.
4617 * emultempl/pe.em: Similarly.
4618
bdbe5705
GK
46192000-04-14 Geoff Keating <geoffk@cygnus.com>
4620
4621 * scripttempl/elfppc.sc: Remove.
4622 * emulparams/elf32ppc.sh: Use elf.sc.
4623 * emulparams/elf32lppc.sh: Use elf.sc.
4624 * emulparams/elf32ppclinux.sh: Use elf.sc.
4625 * emulparams/elf32ppcsim.sh: New file.
4626 * emulparams/elf32lppcsim.sh: New file.
4627 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
4628 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
4629 * Makefile.in: Regenerate.
4630 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
4631
01cc8ff8
AM
46322000-04-14 Alan Modra <alan@linuxcare.com.au>
4633
5ba47421 4634 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
01cc8ff8 4635 ~SEC_ALLOC sections too. Init start address of debug sections.
5ba47421
AM
4636 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
4637 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
01cc8ff8
AM
4638 Also set all relocateable section start addresses.
4639
6c86c541
GK
46402000-04-13 Geoff Keating <geoffk@cygnus.com>
4641
4642 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
4643 Add new BSS_PLT variable for when .plt need not be contained in
4644 the file. Move _etext so that it is also after .fini, and provide
4645 both etext and _etext with a leading underscore. Mark the start
4646 and end of .sbss.
4647
6a345e87
AM
46482000-04-12 Alan Modra <alan@linuxcare.com.au>
4649
4650 * emultempl/elf32.em (struct orphan_save): New.
4651 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
4652 hold_interp): Make them struct orphan_save.
4653 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
4654 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
4655 the end of the relevant section list. Also add associated section
4656 statements to the end of any previous orphan statements.
4657 * emultempl/armelf.em: Similarly.
4658 * emultempl/pe.em: Similarly.
4659
8be86746
AM
46602000-04-11 Alan Modra <alan@linuxcare.com.au>
4661
4662 * ld.texinfo (Simple Example): Remove extraneous paragraph.
4663
3b16e843 46642000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
50bbae35 4665
a2d91340 4666 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
50bbae35 4667 --enable-build-warnings option.
a2d91340
AC
4668 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
4669 * Makefile.in, configure: Re-generate.
4670
41b49281
AM
46712000-04-04 Alan Modra <alan@linuxcare.com.au>
4672
8ad3436c
AM
4673 * po/ld.pot: Regenerate.
4674
4675 * lexsup.c (help): Restore translated part of bug string.
4676
41b49281
AM
4677 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
4678 (DEP): Quote when passing vars to sub-make. Add warning message
4679 to end.
4680 (DEP1): Rewrite for "gcc -MM".
4681 (CLEANFILES): Add DEP2.
4682 Update dependencies.
4683 * Makefile.in: Regenerate.
4684
c20f4f8c
AM
46852000-04-03 Alan Modra <alan@linuxcare.com.au>
4686
4687 * ld.h: #include "bin-bugs.h"
4688 * lexsup.c (help): Use REPORT_BUGS_TO.
4689
adde6300
AM
46902000-03-27 Denis Chertykov <denisc@overta.ru>
4691
4692 * configure.tgt (avr-*-*): New target support.
4693 * Makefile.am: Likewise.
4694 * scripttempl/elf32avr.sc: New script file.
4695 * emulparams/avr1200.sh: New file.
4696 * emulparams/avr23xx.sh: New file.
4697 * emulparams/avr4433.sh New file.
4698 * emulparams/avr44x4.sh New file.
4699 * emulparams/avr85xx.sh New file.
4700 * emulparams/avrmega103.sh New file.
4701 * emulparams/avrmega161.sh New file.
4702 * emulparams/avrmega603.sh New file.
4703 * Makefile.in: Regenerate.
4704
9282ff41
L
47052000-03-09 Andreas Jaeger <aj@suse.de>
4706
4707 * Makefile.am (check-DEJAGNU): Also unset LANG.
4708 * Makefile.in: Rebuild.
4709
a9998805
ILT
47102000-03-06 Ian Lance Taylor <ian@zembu.com>
4711
4712 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
4713 archive.
4714
f9bc20e7
NC
47152000-03-02 H.J. Lu <hjl@gnu.org>
4716
4717 * emulparams/elf32mcore.sh: Include "getopt.h".
4718
4e277b38
ILT
47192000-03-01 Ian Lance Taylor <ian@zembu.com>
4720
4721 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
4722
f0c87f88
NC
47232000-03-01 H.J. Lu <hjl@gnu.org>
4724
4725 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
4726 * emulparams/shpe.sh: Likewise.
4727
47282000-03-01 Nick Clifton <nickc@cygnus.com>
4729
4730 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
4731 to unused parameters.
4732
4733 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
4734 functions only used by DLL code.
4735 (_place_orphan): Initialise 'dollar'.
4736
b6f29aaa
L
47372000-03-01 H.J. Lu <hjl@gnu.org>
4738
4739 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
4740 indicate if the undefined symbol is a fatal error or not.
4741 Don't delete the output file if "fatal" is false.
4742
af28fce3
L
47432000-02-29 H.J. Lu <hjl@gnu.org>
4744
50bbae35 4745 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
af28fce3
L
4746 Set LC_COLLATE and LC_ALL to null and export them. It is for
4747 sort which expects the C locale.
4748 Add $(LIBS) to all $(HOSTING_LIBS).
4749 * Makefile.in: Rebuild.
4750
40d109bf
AM
47512000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
4752
4753 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
4754 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
4755 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
4756 (ld_emulation_xfer_struct): Add missing NULL initialiser for
4757 find_potential_libraries.
4758
db5be682
JB
47592000-02-28 Jim Blandy <jimb@redhat.com>
4760
4761 * ldgram.y (exclude_name_list): Don't require a comma to separate
50bbae35 4762 list entries; the lexer considers commas to be valid part of a
db5be682
JB
4763 filename, so in something like `foo, bar' the comma is considered
4764 part of the first filename, `foo,'.
4765 * ld.texinfo: Update section on EXCLUDE_FILE lists.
4766
3558ff4c
ILT
47672000-02-27 Loren J. Rittle <ljrittle@acm.org>
4768
4769 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
4770 host "i[3456]86-*-freebsdelf*".
4771
4eee2681
ILT
47722000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
4773
4774 * scripttempl/i386go32.sc: Move misplaced semicolons.
4775
8d75d12d
ILT
47762000-02-25 Ian Lance Taylor <ian@zembu.com>
4777
4778 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
4779 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
4780 (eelf64hppa.c, ehppaelf.c): Remove targets.
4781 * Makefile.in: Rebuild.
4782
a1836d49
AO
47832000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4784
ad51fb57
AO
4785 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
4786 GNU/Linux/sparc, but keep the default as 32.
4787
a1836d49
AO
4788 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
4789 it default if sparcv9 or sparc64.
4790
344a211f
NC
47912000-02-24 Nick Clifton <nickc@cygnus.com>
4792
4793 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
4794 * Makefile.in: Regenerate.
4795 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
4796
4797 * ldemul.h (ld_emulation_xfer_struct): Add new field:
4798 find_potential_libraries.
4799 * ldemul.c (ldemul_find_potential_libraries): New function.
4800
4801 * ldfile.c (ldfile_open_file_search): Allow function to be
50bbae35 4802 exported.
344a211f
NC
4803 (ldfile_open_file): Call ldemul_find_potential_libraries.
4804 * ldfile.h: Add prototype for ldfile_open_file_search.
4805
4806 * pe-dll.c: Add support for ARM, MIPS and SH targets.
4807
4808 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
4809 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
4810
4811 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
4812 (gld_X_find_potential_libraries): New function. Search for
4813 libraries called "*.lib".
4814
a2b64bed 4815 * scripttempl/pe.sc: Add .pdata section.
344a211f 4816
eaba1dd3
RH
48172000-02-23 Richard Henderson <rth@cygnus.com>
4818
4819 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
4820 Add and use memory regions.
4821
5b93d8bb
AM
48222000-02-23 Linas Vepstas (linas@linas.org)
4823
4824 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
4825
4826 * Makefile.am: Add support for Linux/IBM 370.
4827 * configure.tgt: Likewise.
4828
4829 * Makefile.in: Regenerate.
4830
f6af82bd
AM
48312000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
4832
4833 * ldlang.c (print_input_section, print_data_statement,
4834 print_reloc_statement, print_padding_statement, insert_pad,
4835 size_input_section, lang_check_section_addresses,
4836 lang_size_sections, lang_do_assignments, lang_set_startof,
50bbae35 4837 lang_one_common): Change `opb' to unsigned.
f6af82bd
AM
4838 (lang_do_assignments): Also change `size' to unsigned.
4839
9e673ad1
RH
48402000-02-16 Richard Henderson <rth@cygnus.com>
4841
4842 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
4843
562d3460
TW
48442000-02-16 Timothy Wall <twall@cygnus.com>
4845
4846 * mri.c (mri_draw_tree): Add default LMA region argument to call
4847 to lang_leave_output_section_statement.
4848 * ldlang.h: Update prototypes with LMA region arguments.
4849 * ldlang.c (lang_size_sections): Encapsulate region bounds
4850 checking in os_check_region call.
4851 (os_check_region): New function.
4852 (lang_output_section_statement_lookup): Initialize lma_region.
4853 (lang_leave_output_section_statement): Add LMA region argument.
4854 (lang_leave_overlay): Ditto.
4855 * ldgram.y: Handle LMA region syntax.
4856 * ld.texinfo (Output Section Description): Describe LMA region usage.
4857 * emultempl/armelf.em (gld$place_orphan): Add default value for
01cc8ff8 4858 lma region in call to lang_leave_output_section_statement.
562d3460 4859 * emultempl/elf32.em (gld$place_orphan): Add default value for
01cc8ff8 4860 lma region in call to lang_leave_output_section_statement.
562d3460 4861 * emultempl/pe.em (gld$place_orphan): Add default value for
01cc8ff8 4862 lma region in call to lang_leave_output_section_statement.
50bbae35
AM
4863
4864
9e4ed18c
TW
48652000-02-04 Timothy Wall <twall@redhat.com>
4866
4867 * ldlang.c (lang_check_section_addresses): Use bytes instead of
4868 octets when calculating section end addresses.
4869
32edc927
TW
48702000-02-04 Timothy Wall <twall@redhat.com>
4871
4872 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
4873
4cbfc3ac
TW
48742000-02-03 Timothy Wall <twall@redhat.com>
4875
a2b64bed 4876 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
4cbfc3ac 4877 octet count.
a2b64bed 4878 * ldlang.c (print_input_section, print_data_statement,
4cbfc3ac
TW
4879 print_reloc_statement, print_padding_statement): Print target
4880 address values and section sizes as bytes, not octets.
4881 (insert_pad) Calculate padding size in octets, and adjust "dot"
4882 by bytes.
4883 (size_input_section) Always adjust "dot" by bytes, not octets.
4884 (lang_check_section_addresses, lang_do_assignments) Adjust
4885 "dot" by bytes, not octets. Use the larger of the directive size
4886 or octets_per_byte for the number of octets actually allocated in
4887 the output section.
4888 (lang_set_startof) Make sure STARTOF returns a target address.
4889 (lang_one_common) Record size changes in octets.
4890 (lang_abs_symbol_at_end_of) Section end symbol's value is
4891 recorded in target bytes.
68b2fc7a 4892 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
4cbfc3ac 4893 to be clear about behavior when an octet is smaller than one byte.
50bbae35 4894
305c7206
AM
48952000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
4896
4897 * ldcref.c (output_cref): Don't pass message strings to printf
4898 as format arg.
4899 Update copyright.
4900
4901 * ldmisc.c (vfinfo): Same here.
4902 Update copyright.
4903
e1c47aa4
AM
49042000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
4905
4906 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
4907 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
4908 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
4909 Add missing NULL initialisers, and comments.
4910
4911 * testsuite/ld-srec/sr3.cc (__rethrow): New.
4912
13392b77
NC
49132000-01-21 Nick Clifton <nickc@cygnus.com>
4914
4915 * ldlang.c (lang_size_sections): Fix typo in comment.
4916
cce4c4c5
NC
49172000-01-18 H.J. Lu <hjl@gnu.org>
4918
4919 * ldlang.c (lang_size_sections): Also update the current
4920 address of a region if the SEC_NEVER_LOAD bit is not set.
4921
0decc840
NC
49222000-01-10 Philip Blundell <pb@futuretv.com>
4923
4924 * configure.tgt (arm*-*-conix*): New target.
4925
4e53152f
NC
49262000-01-07 Nick Clifton <nickc@cygnus.com>
4927
4928 * ld.texinfo (Options): Remind users to preceed linker command
fa19fce0
NC
4929 line switches with -Wl, (or whatever is appropriate) if it is
4930 being invoked by a comnpiler driver program.
50bbae35 4931 Fix description of the behaviour of the -n command line switch.
4e53152f 4932
3b16e843 49332000-01-05 Catherine Moore <clm@cygnus.com>
18625d54
CM
4934
4935 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
4936 (name_list): New.
4937 * ld.texinfo (EXCLUDE_FILE): Update documentation.
4938 * ldgram.y (wildcard_spec): Support a list of excluded_files.
4939 (exclude_name_list): New.
4940 ldlang.c (walk_wild_section): Support list of excluded files.
4941 (print_wild_statement): Likewise.
4942 (lang_add_wild): Likewise.
4943 * ldlang.h (lang_wild_statement_type): Likewise.
4944 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
6ddeca85 4945
5aaace27
NC
49462000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
4947
870df5dc
NC
4948 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
4949 (process_def_file): Use.
4950 (pe_dll_compat_implib): New variable.
4951 (make_one): Use.
50bbae35 4952
870df5dc
NC
4953 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
4954 pe_dll_compat_implib.
50bbae35
AM
4955
4956 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
870df5dc
NC
4957 compat-implib options.
4958 (gld_${EMULATION_NAME}_list_options): List new options.
4959 (gld_${EMULATION_NAME}_parse_args): Handle.
4960
50bbae35 4961 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
5aaace27 4962 dll.
50bbae35
AM
4963
4964 * deffilep.y (opt_name): Allow "." in name.
5aaace27 4965
2f6d2f85 4966For older changes see ChangeLog-9899
252b5132
RH
4967\f
4968Local Variables:
4969mode: change-log
4970left-margin: 8
4971fill-column: 74
4972version-control: never
4973End:
This page took 0.548809 seconds and 4 git commands to generate.