* ld-i386/reloc.s, ld-i386/reloc.d: New.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
ba493122
AM
12002-09-30 Alan Modra <amodra@bigpond.net.au>
2
3 * emultempl/elf32.em (output_rel_find): Always place orphan loadable
4 reloc sections just before .rel.plt/.rela.plt.
5 (gld${EMULATION_NAME}_place_orphan <.rel>): Remove combreloc code.
6 Only put loadable reloc sections in hold_rel.
7
fdb9132d
L
82002-09-29 H.J. Lu <hjl@gnu.org>
9
10 * ld/emulparams/elf32ppc.sh (OTHER_GOT_RELOC_SECTIONS): New.
11 * ld/emulparams/elf32ppclinux.sh (OTHER_GOT_RELOC_SECTIONS): New.
12
ff326826
DJ
132002-09-25 Daniel Jacobowitz <drow@mvista.com>
14
15 From "Anita Kulkarni" <AnitaK@kpit.com>
16 * scripttempl/sh.sc: Handle .eh_frame* and .gcc_exc*
17 sections.
18
0ae1cf52
AM
192002-09-25 Alan Modra <amodra@bigpond.net.au>
20
1ddd7b13
AM
21 * genscripts.sh (SEGMENT_SIZE): Use MAXPAGESIZE before
22 TARGET_PAGE_SIZE.
23 * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Incorporate
24 SEGMENT_SIZE alignment.
25 * emulparams/elf64ppc.sh (DATA_ADDR): Delete.
26 (SEGMENT_SIZE): Define.
27
0ae1cf52
AM
28 * ldexp.c (fold_unary): New. Split out from exp_fold_tree.
29 (fold_binary): Correct abs - non-abs case.
30 (fold_trinary): New. Split out from exp_fold_tree.
31
06143382
AM
322002-09-24 Alan Modra <amodra@bigpond.net.au>
33
34 * emulparams/elf64ppc.sh (DATA_ADDR): Define.
35 * emulparams/elf64_aix.sh (DATA_ADDR): Don't use a fixed address
36 for start of .data, instead align up to 256M boundary.
37 * scripttempl/aix.sc: Likewise.
38
8e616ecc
DD
392002-09-22 Mark Elbrecht <snowball3@softhome.net>
40
41 * scripttempl/i386go32.sc: Handle bss unique sections.
42
5cfb2bb2
AM
432002-09-21 Alan Modra <amodra@bigpond.net.au>
44
45 * ldmisc.c (vfinfo <%C,%D,%G>): Always output bfd, section and offset.
46
dd2e0905
SC
472002-09-17 Stan Cox <scox@redhat.com>
48
49 * emulparams/elf32bmipn32-defs.sh: New file.
50 * emulparams/elf32bmipn32.sh: Use elf32bmipn32-defs.sh.
51 * emulparams/elf32btsmipn32.sh: Likewise.
52 * emulparams/elf64bmip.sh: Likewise.
53 * emulparams/elf64btsmip.sh: Likewise.
54
4ada7262
DB
552002-09-16 Bruno Haible <bruno@clisp.org>
56
57 * emulparams/elf_i386_fbsd.sh: Set OUTPUT_FORMAT to
58 elf32-i386-freebsd.
59 * emulparams/elf64alpha_fbsd.sh: Set OUTPUT_FORMAT to
60 elf64-alpha-freebsd.
61
e09f4395
NC
622002-09-11 Nick Clifton <nickc@redhat.com>
63
004d9caf
NC
64 * NEWS: New TI port supports both C4x and C3x series of DSPs.
65
e09f4395
NC
66 * po/tr.po: Updated Turkish translation.
67
004d9caf 682002-09-06 Jeffrey A Law (law@redhat.com)
0b3a6a28
JL
69
70 * configure.tgt (h8300-*-hms*, h8500-*-hms*): Restore.
71
3e369e96
NC
722002-09-02 Nick Clifton <nickc@redhat.com>
73
67010b46
NC
74 * scripttempl/v850.sc: Add EXTERN references to __ctbpm __gp and
75 __ep.
76 * emulparams/v850.sh (TEMPLATE_NAME): Define.
3e369e96 77
5435462c
NC
782002-08-30 Nick Clifton <nickc@redhat.com>
79
80 * scripttempl/elfd10v.sc (MEMORY): Remove UNIFIED, it is not
81 used. Change INSN to start at 0x01000000 and extend for
82 256K (ignoring holes). Start the STACK on a word aligned
83 boundary.
84 (.rodata): Start it at the READONLY_START_ADDR.
85
5c368657
AM
862002-08-30 Alan Modra <amodra@bigpond.net.au>
87
88 * emulparams/elf32ppc.sh (ARCH): Set to "powerpc:common".
89
026df7c5
NC
902002-08-28 Svein E. Seldal <Svein.Seldal@solidas.com>
91
92 * Makefile.am: Add etic4xcoff.o in ALL_EMULATIONS list and
93 added makefile targets for this file.
94 * Makefile.in: Regenerate.
95 * configure.tgt: Added tic4x-coff and c4x-coff emulations.
96 * NEWS: Mention new port.
97
982002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
99
100 * emulparams/tic3xcoff.sh: New file.
101 * emulparams/tic4xcoff.sh: New file.
102 * scripttempl/tic3xcoff.sc: New file.
103 * scripttempl/tic4xcoff.sc: New file.
104
c89e8944
AM
1052002-08-28 Alan Modra <amodra@bigpond.net.au>
106
107 * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Replace strtoll,
108 strtoul and strtoull with bfd_scan_vma.
109 (gld${EMULATION_NAME}_read_file): Likewise.
110
6459ecfa
AM
1112002-08-28 Alan Modra <amodra@bigpond.net.au>
112
113 * configure.tgt: Remove h8[35]00-*-hms*. Add h8500-*-rtems*.
114
ad5211be
NC
1152002-08-27 Egor Duda <deo@logos-m.ru>
116
117 * scripttempl/pe.sc: Handle .rdata_runtime_pseudo_reloc sections.
118 Add symbols for application to access them.
119
88f7bcd5
NC
1202002-08-27 Nick Clifton <nickc@redhat.com>
121
122 * emultempl/armelf.em: Revert this patch, it is not needed.
123
124 2002-08-22 Adam Nemet <anemet@lnxw.com>
125
8e523c23
NC
1262002-08-20 Dan Kegel <dank@kegel.com>
127
128 * configure.in: added --with-lib-path argument to ld's configure
129 to set LIB_PATH.
130 * ld/NEWS: Document new switch.
131 * ld/README: Mention new switch.
132 * configure: Regenerate.
133 * Makefile.in: Regenerate.
134
135 Based on this patch:
136 2001-04-25 Christopher Faylor <cgf@cygnus.com>
137
138 * Makefile.in (LIB_PATH): Make configurable.
139 (GENSCRIPTS): Set LIB_PATH in environment.
140 * configure.in: Substitute LIB_PATH.
141
d9a7f7ab
NC
1422002-08-22 Adam Nemet <anemet@lnxw.com>
143
144 * emultempl/armelf.em: Include elf-bfd.h and elf/arm.h.
145 (arm_elf_finish): Set the last bit of DT_INIT and DT_FINI
146 depending on the type of the function.
147 (arm_elf_convert_thumb_symbol_to_address): New function.
148
ed71e111
NC
1492002-08-22 Graeme Peterson <gp@qnx.com>
150
151 * Makefile.am: Add esh{l}elf_nto.o files.
152 * Makefile.in: Regenerate.
153 * configure.tgt: Add support for sh-**-nto* targets.
154 * emulparams/shelf_nto.sh: New file.
155 * emulparams/shlelf_nto.sh: New file.
156
7abb6dea
AM
1572002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
158
159 * ldlang.c (offsetof): Define if not defined.
160
e9229007
L
1612002-08-14 H.J. Lu <hjl@gnu.org>
162
163 * configure.tgt: Always enable 64bit emulations for 32bit
164 Linux/mips.
165
c553bb91
AM
1662002-08-13 Alan Modra <amodra@bigpond.net.au>
167
168 * emulparams/elf32_dlx.sh (TARGET_PAGE_SIZE): Set to 1.
169 (MAXPAGESIZE): Set to 1.
170
171 * ld.h (ALIGN_N): Delete.
172 * ldexp.h (align_n): Declare.
173 * ldexp.c (align_n): New function.
174 (fold_binary): Use align_n instead of ALIGN_N.
175 (exp_fold_tree): Likewise.
176 * ldlang.c (lang_size_sections_1): Likewise.
177 (lang_one_common): Likewise.
3c6706bb 178 * ld.texinfo (ALIGN): Remove power of 2 restriction.
c553bb91 179
59bc061d
NC
1802002-07-31 Graeme Peterson <gp@qnx.com>
181
182 * configure.tgt: Add support for powerpc{le}-*-nto* targets.
183 * Makefile.am: Add eelf32{l}ppcnto.o files.
184 * Makefile.in: Regenerate.
185 * emulparams/elf32lppcnto.sh: New file.
186 * emulparams/elf32ppcnto.sh: New file.
187
31941635
L
1882002-08-07 H.J. Lu <hjl@gnu.org>
189
190 * ld.texinfo: Document --no-undefined-version.
191
192 * ldlang.c (lang_new_vers_pattern): Set the `symver' and
193 `script.' fields to 0.
194
195 * ldmain.c (main): Initialize the allow_undefined_version to
196 true.
197
198 * lexsup.c (OPTION_NO_UNDEFINED_VERSION): New.
199 (ld_options): Add --no-undefined-version.
200 (parse_args): Support OPTION_NO_UNDEFINED_VERSION.
201
2004afbc
NC
2022002-08-07 Nick Clifton <nickc@redhat.com>
203
204 * emultempl/armelf.em (arm_elf_before_allocation): Only search for
205 an interworking bfd if there are input bfds. (107501)
206
7fc44b9c
AM
2072002-08-06 Alan Modra <amodra@bigpond.net.au>
208
209 * emultempl/aix.em (gld*_before_parse): Set default arch. Reverts
210 2002-05-10 change.
211
24a1ba0f
NC
2122002-08-01 Nick Clifton <nickc@redhat.com>
213
214 * emulparams/armelf.sh: Revert previous delta.
215 * scripttempl/elf.sc: Revert previous delta.
216
ebc6e014
L
2172002-07-31 H.J. Lu <hjl@gnu.org>
218
219 * configure.tgt (powerpc*-*-linux*): Enable elf64ppc for
220 --enable-64-bit-bfd.
221
39a2a3eb
L
2222002-07-31 H.J. Lu <hjl@gnu.org>
223
224 * configure.tgt: Enable x86-64 emulation for Linux/i386 if
225 64bit BFD is selected.
226
a0dfa6a8
L
2272002-07-31 H.J. Lu <hjl@gnu.org>
228
229 * configure.tgt: Enable 64bit emulations for 32bit Linux/mips
230 if 64bit BFD is selected.
231
f7c33884
NC
2322002-07-31 Ian Dall <ian@sibyl.beware.dropbear.id.au>
233
234 * emultempl/netbsd.em (LDEMUL_BEFORE_PARSE): New file to custom set
235 link_info.common_skip_ar_aymbols.
236 * emulparams/ns32knbsd.sh (EXTRA_EM_FILE): Refer to extra file.
237
238 * ldmain.c (main): Initialize new field
239 link_info.common_skip_ar_aymbols.
240
8f64befb
NC
2412002-07-31 Adam Nemet <anemet@lnxw.com>
242
243 * emulparams/armelf.sh (OTHER_PLT_SECTIONS): New variable. Set it
244 to .plt.thumb.
245 * scripttempl/elf.sc: Comment it. Use the same way as ${PLT} is
246 used.
247
500800ca
NC
2482002-07-31 Nick Clifton <nickc@redhat.com>
249
250 * NEWS: Retroactively add entry for Lars Brinkhoff's contribution
251 of the PDP-11 and 2.11BSD a.out support.
252
7808a785
TS
2532002-07-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
254
255 * Makefile.am (eelf32btsmipn32.o, eelf32ltsmipn32.o): New emulations
256 for n32 ABI support.
257 * Makefile.in: Regenerate.
258 * configure.tgt (mips64*el-*-linux-gnu*,mips64*-*-linux-gnu*): Add
259 n32 ABI emulations for these 64 bit targets.
260 * emulparams/elf32bmipn32.sh: Expand comment.
261 * emulparams/elf32btsmipn32.sh: New file, for traditional big endian
262 n32 ABI.
263 * emulparams/elf32ltsmipn32.sh: Likewise for little endian.
264
7e392df6
NC
2652002-07-30 Graeme Peterson <gp@qnx.com>
266
267 * configure.tgt: Add support for arm-*-nto target.
268 * Makefile.am: Add earmnto.o file.
269 * Makefile.in: Regenerate.
270 * NEWS: Mention port of ARM support to QNX.
271 * emulparams/armnto.sh: New file.
272
704afa60
JJ
2732002-07-30 Jakub Jelinek <jakub@redhat.com>
274
275 * ldlang.c (lang_add_section): Don't turn .tbss into normal sections
276 for relocatable link.
277 (lang_size_sections_1): Don't make .tbss zero size for relocatable
278 link.
279
7dcd22c2
BS
2802002-07-26 Bernd Schmidt <bernds@redhat.com>
281
282 * emulparams/elf32frv.sh (OTHER_RELOCATING_SECTIONS): Delete.
283 (STACK_ADDR): New.
284
219576a4
NC
2852002-07-25 Nick Clifton <nickc@redhat.com>
286
287 * po/sv.po: Updated Swedish translation.
288 * po/es.po: Updated Spanish translation.
289 * po/fr.po: Updated French translation.
290
ff3063f5
NC
2912002-07-24 Nick Clifton <nickc@redhat.com>
292
293 * po/sv.po: Updated Swedish translation.
294 * po/es.po: Updated Spanish translation.
295
0461a601
NC
2962002-07-23 Nick Clifton <nickc@redhat.com>
297
ff3063f5 298 * po/fr.po: Updated French translation.
0461a601 299
25844aae
AM
3002002-07-20 Alan Modra <amodra@bigpond.net.au>
301
302 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
303 bomb on /DISCARD/ input section.
304 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
305 * emultempl/mmo.em (mmo_place_orphan): Likewise.
306
3595bd6e
HPN
3072002-07-19 Hans-Peter Nilsson <hp@bitrange.com>
308
309 * emultempl/mmo.em (mmo_place_orphan): Handle case of no .text
310 output section.
311
cf88bb9f
NC
3122002-07-16 Denis Chertykov <denisc@overta.ru>
313 Nick Clifton <nickc@redhat.com>
314 Frank Ch. Eigler <fche@redhat.com>
315 John Healy <jhealy@redhat.com>
316
317 * configure.tgt: Add support for ip2k-elf.
318 * Makefile.am: Add support for ip2k-elf.
319 * Makefile.in: Regenerate.
320 * emulparams/elf32ip2k.sh: New file.
321 * scripttempl/ip2k.sc: New file
322 * NEWS: Mention support for new port.
323
2cbb2eef
NC
3242002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
325
326 * NEWS: Add 'Changes in 2.13'.
327
96a94295
L
3282002-07-14 H.J. Lu <hjl@gnu.org>
329
330 * ld.texinfo: Document a .symver takes precedence over a
331 version script.
332
120d20f2
AM
3332002-07-12 Alan Modra <amodra@bigpond.net.au>
334
335 * emulparams/elf64ppc.sh (ARCH): Set to powerpc:common64.
336 (COMMONPAGESIZE): Define.
337
0d2ddeb2
AM
3382002-07-09 Alan Modra <amodra@bigpond.net.au>
339
340 * emulparams/hppanbsd.sh: Remark that hppaobsd.sh references this file.
341
554690ed
AM
3422002-07-09 Federico G. Schwindt <fgsch@olimpo.com.br>
343
344 * configure.tgt: Add support for alpha-*-openbsd*, hppa-*-openbsd*,
345 powerpc-*-openbsd* and sparc64-*-openbsd*.
346 * Makefile.am (ALL_EMULATIONS): Add ehppaobsd.o.
347 * Makefile.in: Regenerate.
348 * emulparams/hppaobsd.sh: New file.
349
34786259
AM
3502002-07-05 Alan Modra <amodra@bigpond.net.au>
351
352 * ldlang.c (print_wild_statement): Fix output formatting.
353
4bd5a393
AM
3542002-07-04 Alan Modra <amodra@bigpond.net.au>
355
356 * ldlang.c: (strip_excluded_output_sections): New function.
357 (lang_process): Call it.
358 (lang_size_sections_1): Revert 2002-06-10 change.
359
ce4f7385
AM
3602002-07-03 Alan Modra <amodra@bigpond.net.au>
361
362 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
363 Run "make dep-am".
364 * Makefile.in: Regenerate.
365
b7b482a3
AM
3662002-07-02 Alan Modra <amodra@bigpond.net.au>
367
71daf8b4
AM
368 * ldfile.c (ldfile_try_open_bfd): Formatting.
369
b7b482a3
AM
370 * ldmisc.c (demangle): Move so that it doesn't intrude between
371 vfinfo comment and body. Add comment.
372
29e2951e
AM
3732002-07-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
374
375 * emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format.
376
e3e942e9
AM
3772002-07-01 Alan Modra <amodra@bigpond.net.au>
378
379 * ldlang.h (entry_sym): Make it a struct bfd_sym_chain.
380 * ldlang.c (entry_sym): Likewise.
381 (ldlang_undef_chain_list_type): Likewise.
382 (lang_finish): Adjust references to entry_symbol.
383 (lang_add_entry): Likewise.
384 (lang_gc_sections): Use link_info.gc_sym_list.
385 (lang_process): Set link_info.gc_sym_list.
386 * ldlex.l: Include bfdlink.h.
387 * ldmain.c (main): Init link_info.gc_sym_list.
388 * emultempl/aix.em: Adjust references to entry_symbol.
389 * emultempl/armcoff.em: Likewise.
390 * emultempl/armelf.em: Likewise.
391 * emultempl/pe.em: Likewise.
392 * emultempl/ppc64elf.em (ppc_after_open): New function.
393 (LDEMUL_AFTER_OPEN): Define.
394 * emulparams/elf64ppc.sh: KEEP .opd sections.
395
a66c0f2c
SC
3962002-06-29 Stephane Carrez <stcarrez@nerim.fr>
397
398 * emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.
399 * emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define.
400 * emulparams/m68hc11elf.sh (EEPROM_SIZE): Define.
401 (EEPROM_START_ADDR): Define.
402 (EEPROM_MEMORY): Define.
403 * emulparams/m68hc12elf.sh: Likewise.
404 * scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs
405 section to put soft registers in .page0.
406 * scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss.
407
2b67cf00
JL
4082002-06-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
409
410 * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
411 section. Add ${RELOCATING-0}.
412
219576a4 4132002-06-26 J"orn Rennecke <joern.rennecke@superh.com>
164c4054
JR
414
415 * emulparams/shelf.sh (STACK_ADDR): Don't define.
416 (OTHER_SECTIONS): Define.
417 * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef.
418 (OTHER_SECTIONS): Undef.
419
fc28fbc2
AM
4202002-06-26 Alan Modra <amodra@bigpond.net.au>
421
422 * ldmisc.c (demangle): Restore dots stripped from sym name.
423
a13a0de8
L
4242002-06-25 H.J. Lu <hjl@gnu.org>
425
426 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
427 * Makefile.in: Regenerated.
428
b553b183
NC
4292002-06-20 Nick Clifton <nickc@cambridge.redhat.com>
430
431 * ld.texinfo (Bug Reporting): Update text to suggest a limit on
432 the size of attached object files, to allow make the object files
433 available via FTP or HTTP and to mention that the mail will be
434 sent to a mailing list.
435
2755afba
NC
4362002-06-20 Nathanael Nerode <neroden@twcny.rr.com>
437
438 * ld/configure.host (romp): Drop support.
439
7d0a848e
CD
4402002-06-18 Chris Demetriou <cgd@broadcom.com>
441
442 * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Check
443 section flags for SEC_DATA, rather than for SEC_CODE being unset.
444
8505f884
CD
4452002-06-18 Chris Demetriou <cgd@broadcom.com>
446
447 * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Fix
448 format specifier used to print BFD name.
449
7d553a40
DB
4502002-06-18 Dave Brolley <brolley@redhat.com>
451
452 From Catherine Moore, Michael Meissner, Jim Blandy:
453 * emulparams/elf32frv.sh: New file.
454 * configure.tgt: Support frv-*-*.
455 * Makefile.am (ALL_EMULATIONS): Add eelf32frv.o.
456 (eelf32frv.c): New target.
457
82434356
TR
4582002-06-17 Tom Rix <trix@redhat.com>
459
a59f3d35 460 * emultempl/elf32.em: gld*_get_script: Check for
82434356
TR
461 GENERATE_COMBRELOC_SCRIPT.
462 * scripttempl/elfd10v.sc : Fix STACK and INSN.
463 * emulparams/d10velf.sh : Fix TEXT_START_ADDR.
464
219576a4 4652002-06-13 J"orn Rennecke <joern.rennecke@superh.com>
5d9b5481
JR
466
467 * configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf.
468
c4bb8067
L
4692002-06-12 H.J. Lu <hjl@gnu.org>
470
471 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Return
472 false if xvec doesn't match.
473
e052cfbe
RS
4742002-06-10 Richard Sandiford <rsandifo@redhat.com>
475
476 * ldlang.c (lang_size_sections_1): Skip removed output sections.
477
4da711b1
AM
4782002-06-08 Alan Modra <amodra@bigpond.net.au>
479
480 * ldexp.c: Replace CONST with const.
481 * ldfile.c: Likewise.
482 * ldfile.h: Likewise.
483 * ldlex.l: Likewise.
484 * mri.c: Likewise.
485 * pe-dll.h: Likewise.
486
eb95bb9a
AM
4872002-06-07 Alan Modra <amodra@bigpond.net.au>
488
489 * emultempl/ppc64elf.em (new_vers_pattern): Warning fix.
490
e0076ab3
NC
4912002-06-07 Charles Wilson <cwilson@ece.gatech.edu>
492
493 * ld/ldmain.c (main): initialize link_info.pei386_auto_import
494 to -1 == implicit enable.
495 * ld/emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
496 initialize link_info.pei386_auto_import to -1 == implicit
497 enable.
498 (gld_${EMULATION_NAME}_parse_args): When processing
499 --enable-auto-import and --disable-auto-import options, use
500 '1' and '0' instead of 'true' and 'false'.
501 (pe_find_data_imports): Only issue message about auto-import
502 when the feature is implicitly enabled. Downgrade message to
503 informational instead of warning.
504
f13a5424
AM
5052002-06-07 Alan Modra <amodra@bigpond.net.au>
506
507 * scripttempl/elf.sc (.tbss): Fix mismatched parentheses/braces.
508
1abffd82
JL
5092002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
510
511 * configure.host (hppa*64*-*-hpux11*): Define NATIVE_LIB_DIRS,
512 HOSTING_CRT0 and HOSTING_LIBS.
513
e0076ab3 5142002-06-05 J"orn Rennecke <joern.rennecke@superh.com>
7a33bc10
JR
515
516 * configure.tgt (shle*-*-elf*, sh64le-*-elf*): New configurations.
517
4a5e698d
JT
5182002-06-05 Jason Thorpe <thorpej@wasabisystems.com>
519
520 * emulparams/ns32knbsd.sh (EXECUTABLE_SYMBOLS): Set _DYNAMIC to 0.
521 (NONPAGED_TEXT_START_ADDR): Set to 0x1000.
522
1d475d82
AM
5232002-06-05 Alan Modra <amodra@bigpond.net.au>
524
525 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place
526 SEC_EXCLUDE sections when doing a relocatable link.
527
5b0e55b6
JT
5282002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
529
530 * Makefile.am (ALL_EMULATIONS): Add eshelf32_nbsd.o,
531 eshlelf32_nbsd.o, eshelf64_nbsd.o, and eshlelf64_nbsd.o.
532 (eshelf32_nbsd.c, eshelf64_nbsd.c, eshlelf32_nbsd.c)
533 (eshlelf64_nbsd.c): New rules.
534 * Makefile.in: Regenerate.
535 * configure.tgt (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*)
536 (sh64-*-netbsd*): New targets.
537 * emulparams/shelf32_nbsd.sh: New file.
538 * emulparams/shelf64_nbsd.sh: New file.
539 * emulparams/shlelf32_nbsd.sh: New file.
540 * emulparams/shlelf64_nbsd.sh: New file.
541
9ad85d9b
AM
5422002-06-04 Alan Modra <amodra@bigpond.net.au>
543
544 * ldlang.c (section_already_linked): Call bfd_discard_group. Typo fix.
545
0c9b4fee
MM
5462002-06-02 Marek Michalkiewicz <marekm@amelek.gda.pl>
547
548 * scripttempl/avr.sc: Changes to support current GCC and avr-libc,
549 C++ constructors/destructors, loosely based on the m68hc11 port.
550
2c538bde
AM
5512002-05-31 Alan Modra <amodra@bigpond.net.au>
552
553 * Makefile.in: Regenerate.
554 * aclocal.m4: Regenerate.
555 * config.in: Regenerate.
556 * configure: Regenerate.
557
a0cb91c6
AM
5582002-05-31 Graeme Peterson <gp@qnx.com>
559
560 * Makefile.am (ALL_EMULATIONS): Add ei386nto.o.
561 (ei386nto.c): Add rule.
562 * Makefile.in: Regenerate.
563 * configure.tgt: Add i[3456]86-*-nto-qnx*.
564 * emulparams/i386nto.sh: New file.
565
37020578
JT
5662002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
567
568 * NEWS: Add entry for VAX ELF support.
569
ab68f3e0 5702002-05-29 Matt Thomas <matt@3am-software.com>
a59f3d35 571 Jason Thorpe <thorpej@wasabisystems.com>
ab68f3e0
JT
572
573 * Makefile.am (ALL_EMULATIONS): Add eelf32vax.o and evaxnbsd.o.
574 (eelf32vax.c)
575 (evaxnbsd.c): New rules.
576 * Makefile.in: Regenerate.
577 * configure.tgt (vax-*-netbsdelf*)
578 (vax-*-netbsdaout*)
579 (vax-*-netbsd*): New targets.
580 * emulparams/elf32vax.sh: New file.
581 * emulparams/vaxnbsd.sh: New file.
582
8afb0e02
NC
5832002-05-29 Adam Nemet <anemet@lnxw.com>
584
585 * emultempl/armelf.em (arm_elf_after_open): Don't determine
586 bfd_for_interwork, instead add glue sections to each input bfd.
587 (bfd_for_interwork): New global.
588 (arm_elf_set_bfd_for_interworking): New function.
589 (arm_elf_before_allocation): Use it.
590
d172d4ba
NC
5912002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
592
593 * Makefile.am: Add DLX make target.
594 * configure.tgt: Add DLX configuration.
595 * Makefile.in: Regenerate.
596 * emulparams/elf32_dlx.sh: New file
597 * scripttempl/dlx.sc: New file
598
b4477fa8
NC
5992002-05-27 Per Lundberg <per@caleb.dnsalias.org>
600
601 * Makefile.am (eelf_i386_chaos): Use elf_chaos.sc script.
602 * Makefile.in: Regenerate.
603 * emulparams/elf_chaos.sh: Use elf_chaos script.
604 * scripttempl/elf_chaos.sc: New file.
605
ee3cc2e2
RS
6062002-05-27 Richard Sandiford <rsandifo@redhat.com>
607
608 * ldlang.c (lang_size_sections_1): Move check for conflicting load
609 addresses and regions from here...
610 (lang_get_regions): ...to this new function.
611 (lang_leave_output_section_statement): Use lang_get_regions.
612 (lang_leave_overlay): Likewise.
613 * mri.c (mri_draw_tree): Pass null as last argument to
614 lang_leave_output_section_statement.
615 * emultempl/elf32.em (gld*_place_orphan): Likewise.
616 * emultempl/mmo.em (mmo_place_orphan): Likewise.
617 * emultempl/pe.em (gld*_place_orphan): Likewise.
618
aa501e5c
JT
6192002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
620
621 * configure.tgt: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
622
658957db
KH
6232002-05-25 Kazu Hirata <kazu@cs.umass.edu>
624
625 * ldemul.c: Fix formatting.
626 * ldfile.c: Likewise.
627 * pe-dll.c: Likewise.
628 * pe-dll.h: Likewise.
629
3511b595
AM
6302002-05-25 Alan Modra <amodra@bigpond.net.au>
631
0d6d936f
AM
632 * ldlang.c (lang_process): Formatting, grammar.
633
3511b595
AM
634 * ldlex.l: Use #include "" instead of <> for local header files.
635
436e8db0
NC
6362002-05-24 TAMURA Kent <kent@netbsd.org>
637
638 * configure.tgt: Add a target for i386-netbsdpe.
639
13ae64f3
JJ
6402002-05-23 Jakub Jelinek <jakub@redhat.com>
641
642 * scripttempl/elf.sc: Add .rel{,a}.t{bss,data}, .tdata and .tbss.
643 * ldlang.c (lang_add_section): Set SEC_THREAD_LOCAL for
644 output section if necessary. Handle .tbss.
645 (lang_size_sections): Clear _raw_size for .tbss section
646 (it allocates space in PT_TLS segment only).
647 * ldwrite.c (build_link_order): Build link order for .tbss too.
648
68b2fc7a
AM
6492002-05-23 Alan Modra <amodra@bigpond.net.au>
650
651 * configure.in: Correct spelling of AC_PREREQ.
652
70b0be79
CF
6532002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
654
655 * pe-dll.c (autofilter_liblist): Add more system libs excluded by
656 default.
657 (autofilter_objlist): Add crtbegin.o, crtend.o.
658
6592002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
660
661 * emultempl/pe.em (OPTION_EXCLUDE_LIBS): Add new define.
662 (longopts): Add new option --exclude-libs.
663 (gld_${EMULATION_NAME}_list_options): Give quick help about it.
664 (gld_${EMULATION_NAME}_parse_args): Use it.
665 * pe-dll.h (pe_dll_add_excludes): Add second param to prototype.
666 * pe-dll.c (exclude_list_struct): Add field type to distinguish symbols
667 from whole archives.
668 (pe_dll_add_excludes): Set excludes->type.
669 (auto_export): Add new variable libname and set to archive basename if
670 abfd. Use it when filtering default and user-specified libarary
671 excludes. Let string "ALL" mean all libs when filtering user-specified
672 libs.
673 * ld.texinfo: Document --exclude-libs.
674
fac1652d
AM
6752002-05-22 Alan Modra <amodra@bigpond.net.au>
676
677 * ldemul.c (ldemul_new_vers_pattern): New function.
678 * ldemul.h (ldemul_new_vers_pattern): Declare.
679 (struct ld_emulation_xfer_struct): Add new_vers_pattern.
680 * ldlang.c (lang_new_vers_pattern): Call ldemul_new_vers_pattern.
681 * emultempl/ppc64elf.em (dotsyms): New static var.
682 (gld${EMULATION_NAME}_new_vers_pattern): New function.
683 (LDEMUL_NEW_VERS_PATTERN): Define.
684 (PARSE_AND_LIST_PROLOGUE): Add OPTION_DOTSYMS, OPTION_NO_DOTSYMS.
685 (PARSE_AND_LIST_LONGOPTS): Likewise.
686 (PARSE_AND_LIST_ARGS_CASES): Handle them.
687 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Update
688 initialiser.
689 * emultempl/armcoff.em: Likewise.
690 * emultempl/armelf_oabi.em: Likewise.
691 * emultempl/beos.em: Likewise.
692 * emultempl/elf32.em: Likewise.
693 * emultempl/generic.em: Likewise.
694 * emultempl/gld960.em: Likewise.
695 * emultempl/gld960c.em: Likewise.
696 * emultempl/linux.em: Likewise.
697 * emultempl/lnk960.em: Likewise.
698 * emultempl/m68kcoff.em: Likewise.
699 * emultempl/mipsecoff.em: Likewise.
700 * emultempl/pe.em: Likewise.
701 * emultempl/sunos.em: Likewise.
702 * emultempl/ticoff.em: Likewise.
703 * emultempl/vanilla.em: Likewise.
704
eb3d6bb8
AM
7052002-05-22 Alan Modra <amodra@bigpond.net.au>
706
707 * genscripts.sh (LIB_PATH): For native targets, concatenate $libdir
708 and $NATIVE_LIB_DIRS. Add $tool_lib before other libs.
709 (LIB_SEARCH_DIRS): No need to use "tr".
710 (COMPILE_IN): Only set for native targets.
711 * configure.host (NATIVE_LIB_DIRS): Specify all native search dirs
712 here, rather than adding lib:/usr/lib:/usr/local/lib in genscripts.sh.
713 * configure.tgt (powerpc*): Set tdir_*.
714 (powerpcle*): Correct targ_extra_emuls.
715 * emulparams/elf32ppc.sh (LIB_PATH): Set up native 64 bit dirs.
716 * emulparams/elf64ppc.sh (LIB_PATH): Likewise.
717
54f24647
AM
7182002-05-22 Alan Modra <amodra@bigpond.net.au>
719
720 * emultempl/pe.em (set_pe_subsystem): Don't set "cmdline" when
721 calling lang_add_entry.
722
aa713662
L
7232002-05-21 H.J. Lu (hjl@gnu.org)
724
725 * emultempl/elf32.em (gld${EMULATION_NAME}_parse_args): Handle
726 "-z muldefs".
727 (gld${EMULATION_NAME}_list_options): Add "-z muldefs".
728
729 * ld.texinfo: Updated for --allow-multiple-definition and
730 "-z muldefs".
731
732 * ldmain.c (main): Initialize the allow_multiple_definition
733 field to false.
734
735 * lexsup.c (OPTION_ALLOW_MULTIPLE_DEFINITION): New.
736 (ld_options): Add --allow-multiple-definition.
737 (parse_args): Support OPTION_ALLOW_MULTIPLE_DEFINITION.
738
658f2588
JT
7392002-05-21 Jason Thorpe <thorpej@wasabisystems.com>
740
741 * Makefile.am (ALL_EMULATIONS): Add earmelfb_nbsd.o.
742 (earmelfb_nbsd.c): New rule.
a59f3d35 743 * Makefile.in: Regenerate.
658f2588 744 * configure.tgt (armeb-*-netbsdelf*): New target.
a59f3d35 745 (arm-*-netbsdelf*): Add armelfb_nbsd to targ_extra_emuls.
658f2588
JT
746 (arm-*-netbsd*): Likewise.
747 * emulparams/armelfb_nbsd.sh: New file.
748
ca10c62d
TR
7492002-05-18 Tom Rix <trix@redhat.com>
750
a59f3d35 751 * emultempl/aix.em (gld*_parse_args): Add -bnortl and -bnortllib
ca10c62d
TR
752 support.
753
fae1e84f
MM
7542002-05-17 Marek Michalkiewicz <marekm@amelek.gda.pl>
755
756 * Makefile.am: Add new emulations avr1, avr2, avr3, avr4, avr5.
757 * Makefile.in: Regenerate.
758 * configure.tgt (avr-*-*): Add avr[1-5] to targ_extra_emuls.
759
7c8bf1e8
MM
7602002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
761
762 * emulparams/avr1.sh: New file.
763 * emulparams/avr2.sh: New file.
764 * emulparams/avr3.sh: New file.
765 * emulparams/avr4.sh: New file.
766 * emulparams/avr5.sh: New file.
767 * scripttempl/avr.sc: New file.
768
c2c01aa7
AM
7692002-05-15 Alan Modra <amodra@bigpond.net.au>
770
771 * ldlang.c (section_already_linked): Call bfd_link_just_syms.
772 (lang_place_orphans): Abort if just_syms_flag.
773
f1f0d9ab
TR
7742002-05-10 Tom Rix <trix@redhat.com>
775
a59f3d35 776 * emultempl/aix.em: (gld*_set_output_arch): New function. Use
f1f0d9ab
TR
777 architecture and machine information in the output bfd.
778 (gld*_before_parse): Remove old arch and machine code.
779 (choose_target): Rename to gld*_choose_target.
a59f3d35
AM
780 (rtld): Change type to int.
781 * ldfile.c (ldfile_try_open_bfd): Disable compatiblity check for
f1f0d9ab
TR
782 objects in XCOFF archives.
783 * ldfile.h: Update copyright date.
784
f4d73366
JJ
7852002-05-10 Jakub Jelinek <jakub@redhat.com>
786
787 * ldmain.c (main): Enable -z combreloc by default.
788
d3d8a9ee
NC
7892002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
790
791 * Makefile.am: Honour DESTDIR.
792 * Makefile.in: Regenerate.
793
9f88b410
RS
7942002-05-07 Richard Sandiford <rsandifo@redhat.com>
795
796 * ldlang.h (lang_output_section_statement_type): Add update_dot_tree.
797 (lang_enter_overlay): Remove the last two parameters.
798 (lang_leave_overlay): Take them here instead.
799 * ldgram.y (memspec_at_opt): Set $$ to null if no region is given.
800 (section): Pass LMA and crossref flag to lang_leave_overlay rather
801 than lang_enter_overlay.
802 * ldlang.c (lang_memory_region_lookup): Return null for null names.
803 (lang_output_section_statement_lookup): Initialize update_dot_tree.
804 (lang_size_sections_1): Evaluate it.
805 (lang_leave_output_section_statement): Rework LMA lookup.
806 (overlay_lma, overlay_nocrossrefs): Remove.
3511b595 807 (lang_enter_overlay): Remove LMA and crossref arguments.
9f88b410
RS
808 (lang_enter_overlay_section): Don't set the LMA here.
809 (lang_leave_overlay): Take LMA and crossref arguments. Move the '.'
810 assignment to the last section's update_dot_tree. Unconditionally
811 use the load and run-time regions specified in the OVERLAY statement.
812 Likewise the first section's LMA. Only set the other sections' LMAs
813 when no load region is given.
814
b9a743c8
NC
8152002-05-06 Nick Clifton <nickc@redhat.com>
816
817 * po/sv.po: New translation.
818
a3d60be3
AM
8192002-05-04 Alan Modra <amodra@bigpond.net.au>
820
821 * emultempl/hppaelf.em (build_section_lists): New function.
822 (gld${EMULATION_NAME}_finish): Call elf32_hppa_setup_section_lists
823 and build_section_lists.
824
b7a26f91
KH
8252002-05-03 Kazu Hirata <kazu@cs.umass.edu>
826
827 * ld.h: Fix formatting.
828 * ldexp.c: Likewise.
829 * ldfile.c: Likewise.
830 * ldlang.c: Likewise.
831 * ldmain.c: Likewise.
832 * lexsup.c: Likewise.
833 * pe-dll.c: Likewise.
834
805fc799
AM
8352002-05-02 Alan Modra <amodra@bigpond.net.au>
836
837 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
838 Adjust for ppc64_elf_set_toc change. #include libbfd.h.
839 (build_section_lists): Do output_section tests here.
840
cc7e59b2
TR
8412002-04-30 Tom Rix <trix@redhat.com>
842
843 * emultempl/aix.em : (gld*_parse_arge): Formatting changes.
844
9c1d81c1
AM
8452002-05-01 Alan Modra <amodra@bigpond.net.au>
846
847 Long branch stubs, multiple stub sections.
848 * emultempl/ppc64elf.em: Include ldctor.h.
849 (stub_file): New var.
850 (group_size): New var.
851 (ppc_create_output_section_statements): New function.
852 (struct hook_stub_info): New.
853 (hook_in_stub): New function.
854 (ppc_add_stub_section): New function.
855 (ppc_layout_sections_again): New function.
856 (build_section_lists): New function.
857 (gld${EMULATION_NAME}_finish): Rewrite.
858 (real_func): New var.
859 (ppc_for_each_input_file_wrapper): New function.
860 (ppc_lang_for_each_input_file): New function.
861 (lang_for_each_input_file): Define.
862 (PARSE_AND_LIST_PROLOGUE): Define.
863 (PARSE_AND_LIST_LONGOPTS): Define.
864 (PARSE_AND_LIST_OPTIONS): Define.
865 (PARSE_AND_LIST_ARGS_CASES): Define.
866 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
867
aa67bccf
TR
8682002-04-30 Tom Rix <trix@redhat.com>
869
a59f3d35
AM
870 * emultempl/aix.em (gld*_parse_arge, gld*_before_allocation): Add
871 -blibpath, -bnolibpath support.
872
94349e12
MM
8732002-04-30 Mark Mitchell <mark@codesourcery.com>
874
875 * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o.
876 (eelf32ppcwindiss.c): New target.
877 * Makefile.in: Regenerated.
878 * configure.tgt: Add support for powerpc-*-windiss.
879 * emulparams/elf32ppcwindiss.sh: New file.
a59f3d35 880
7b17f854
RS
8812002-04-30 Richard Sandiford <rsandifo@redhat.com>
882
883 * ldlang.c (print_assignment): Update print_dot for assignments to ".".
884 * ldexp.c (exp_print_token): Add "infix_p" argument.
885 (exp_print_tree): Update accordingly.
886
596dafeb
AM
8872002-04-28 Alan Modra <amodra@bigpond.net.au>
888
889 * Makefile.am (mpw): New maintainer mode rule to make mpw-*.c files.
890 * Makefile.in: Regenerate.
891 * mpw-elfmips.c: Delete.
892 * mpw-eppcmac.c: Delete.
893 * mpw-esh.c: Delete.
894 * mpw-idtmips.c: Delete.
895
219576a4 8962002-04-17 J"orn Rennecke <joern.rennecke@superh.com>
a44d7f9c
JR
897
898 * emulparams/shelf32.sh (MACHINE): Now sh5.
899
944cd72c
TS
9002002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
901
902 * ldgram.y: Fix syntax warning.
903
5835c212
NC
9042002-04-11 Nick Clifton <nickc@cambridge.redhat.com>
905
906 * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Add 'n' in order
907 to prevent "-n" from being taken as an abbreviation for
908 "--no-pipeline-knowledge".
909
024531e2
AM
9102002-04-08 Alan Modra <amodra@bigpond.net.au>
911
d08a14c3
AM
912 * ldlang.c (lang_size_sections_1): Don't complain about
913 SEC_NEVER_LOAD sections having no memory region specified.
914
024531e2
AM
915 * ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix.
916
c657a1f0
MG
9172002-04-07 matthew green <mrg@redhat.com>
918
919 * ld/configure.host (*-*-netbsd*): Add support for NetBSD/ELF.
920
61bef6f1
AM
9212002-04-04 Alan Modra <amodra@bigpond.net.au>
922
923 * dep-in.sed: Cope with absolute paths.
924 * Makefile.am (dep.sed): Subst TOPDIR and BFDDIR.
925 Run "make dep-am".
926 * Makefile.in: Regenerate.
927
49ba2791
TS
9282002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
929
930 * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options.
931
50e60fb5
JJ
9322002-04-03 Jakub Jelinek <jakub@redhat.com>
933
934 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size
935 is smaller than maximum, round dot up to common page boundary.
936
6f12f4ca
AM
9372002-03-28 Alan Modra <amodra@bigpond.net.au>
938
939 * configure.host: Set up for generic hosts first, then tweak as
940 necessary in more specific targets.
941 (HOSTING_LIBS): Include libgcc_eh.a if found.
942
a8f1f017
AJ
9432002-03-23 Andreas Jaeger <aj@suse.de>
944
945 * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it.
946
1d3fdf38
AM
9472002-03-21 Alan Modra <amodra@bigpond.net.au>
948
949 * Makefile.am: Run "make dep-am".
950 * Makefile.in: Regenerate.
951
79b1faa8
AM
9522002-03-21 Albert Chin-A-Young <china@thewrittenword.com>
953
954 * genscripts.sh (LIB_SEARCH_DIRS): Quote path.
955
fcf0e35b
AM
9562002-03-20 Alan Modra <amodra@bigpond.net.au>
957
958 * ldlang.c (ldlang_add_undef): If the output bfd has been opened,
959 add the symbol to the linker hash table immediately.
960 (lang_place_undefineds): Split symbol creation out..
961 (insert_undefined): ..to here.
962
fed2999d
DB
9632002-03-18 David O'Brien <obrien@FreeBSD.org>
964
965 * emultempl/elf32.em: Use lbasename vs. basename to fix problem where
966 the contents of the buffer returned from basename function will are
967 getting overwritten while still being used.
968
219576a4
NC
9692002-03-18 Jan Hubicka <jh@suse.cz>
970 Andreas Jaeger <aj@suse.de>
971 Andreas Schwab <schwab@suse.de>
beb43bb9
JH
972
973 * configure.tgt (x86_64-*-linux-gnu*): Configure i386 as native.
974 * elf_x86_64.sh (ARCH): Set to i386:x86-64
975 set libraries to default to lib64 paths.
976
eb1e0e80
NC
9772002-03-18 Tom Rix <trix@redhat.com>
978
979 * Makefile.am : Add eaix5ppc and eaix5rs6, AIX 5 support.
980 * configure.tgt : Same.
981 * emulparms/aix5ppc.sh : New file. For eaix5ppc.
982 * emulparms/aix5rs6.sh : New file. For eaix5rs6.
983 * emulparms/aixppc.sh : OUPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT
984 emulation parameters for better -b32, -b64 support.
985 * emulparms/aixrs6.sh : Same.
986 * emulparms/ppcmacos.sh : Same.
987 * emultempl/aix.em (choose_target) : Use new emulation parameters
988 OUTPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT.
989 * Makefile.in : Regenerate.
990
a1c259a1
NC
9912002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
992
993 * po/fr.po: Updated version.
994
862120bd
AM
9952002-03-18 Alan Modra <amodra@bigpond.net.au>
996
997 * ldmain.c (main): Move .text readonly flag fudges from here..
998 * ldlang.c (lang_process): ..to here.
999
d35a52e2
AM
10002002-03-14 Alan Modra <amodra@bigpond.net.au>
1001
1002 * ldlang.c (lang_check): Remove the word size check added in last
1003 change. Treat emitrelocations case as for relocatable links.
1004
9ce88e60
NC
10052002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1006
1007 * po/fr.po: Updated version.
1008
30cba025
AM
10092002-03-13 Alan Modra <amodra@bigpond.net.au>
1010
1011 * ldlang.c (lang_check): Do relocatable link checks first, so that
1012 warn_mismatch can't override. Check compatible and word size too.
1013
84ec0e6d
DJ
10142002-03-07 Daniel Jacobowitz <drow@mvista.com>
1015
1016 * ld.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
1017
2d13d8c5
JJ
10182002-03-05 Jakub Jelinek <jakub@redhat.com>
1019
1020 * scripttempl/elf.sc: Only use DATA_SEGMENT_END() together with
1021 DATA_SEGMENT_ALIGN.
1022
b5090659
L
10232002-03-04 H.J. Lu <hjl@gnu.org>
1024
1025 * scripttempl/elf.sc: Put .preinit_array, .init_array and
1026 .fini_array in the data segment.
1027
f42ce16e
AM
10282002-03-04 Alan Modra <amodra@bigpond.net.au>
1029
1030 * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit.
1031
de77b6ac
RH
10322002-03-01 David Mosberger <davidm@hpl.hp.com>
1033
1034 * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array,
1035 .init_array, and .fini_array.
1036
997e08c0
AS
10372002-02-20 Andreas Schwab <schwab@suse.de>
1038
1039 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold
1040 .IA64_unwind* in a relocatable link.
1041
9a66911f
NC
10422002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1043
1044 * NEWS: Mark 2.12 branch.
1045
d86bcc10
MS
10462002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
1047
1048 * emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit".
1049 * emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit".
1050
69f284c7
TR
10512002-02-18 Tom Rix <trix@redhat.com>
1052
1053 * emultempl/aix.em (gld*_parse_args): Add -brtl support.
1054 (gld*_before_allocation): Same.
a8f1f017 1055 (gld*_create_output_section_statements): Generate
69f284c7
TR
1056 __rtinit if run time linking. Add librtl.a to the link.
1057 (gld*_read_file): Clean.
1058
82bd7b59
AM
10592002-02-18 Alan Modra <amodra@bigpond.net.au>
1060
1061 * emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define.
1062
ac3e50bf
DB
10632002-02-18 David O'Brien <obrien@FreeBSD.org>
1064
6a7f963b 1065 * Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd,
ac3e50bf
DB
1066 eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd,
1067 and eelf64alpha_fbsd.
6a7f963b 1068 * Makefile.in: Regenerate.
ac3e50bf
DB
1069 * configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd,
1070 x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd):
1071 use a FreeBSD-specific emulation rather than the psABI one.
1072 * emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value
1073 for all FreeBSD ELF systems.
1074 * emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI
1075 emulation.
1076 * emulparams/elf32ppc_fbsd.sh: Likewise.
1077 * emulparams/elf64_ia64_fbsd.sh: Likewise.
1078 * emulparams/elf64_sparc_fbsd.sh: Likewise.
1079 * emulparams/elf64alpha_fbsd.sh: Likewise.
1080 * emulparams/elf_i386_fbsd.sh: Likewise.
1081 * emulparams/elf_x86_64_fbsd.sh: Likewise.
1082
6ad738c5
NC
10832002-02-18 Nick Clifton <nickc@cambridge.redhat.com>
1084
1085 * po/tr.po: Updated version.
1086
9673c93c
AM
10872002-02-18 Alan Modra <amodra@bigpond.net.au>
1088
1089 * ld.texinfo (Output Section Fill): Fix amateur texinfo.
1090 (FILL): Likewise.
1091
1c5e6447
HPN
10922002-02-17 Hans-Peter Nilsson <hp@bitrange.com>
1093
1094 * emultempl/mmo.em (mmo_after_open): Don't call
1095 _bfd_mmix_check_all_relocs when producing ELF output.
1096
8bb57516
RH
10972002-02-15 Richard Henderson <rth@redhat.com>
1098
de77b6ac 1099 * emulparams/elf64alpha.sh (NOP): Adjust for big-endian
8bb57516
RH
1100 definition. Emit a unop+nop pair.
1101
49fda6c8
HPN
11022002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1103
83c2d653
HPN
1104 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check
1105 for presence of .MMIX.reg_contents.linker_allocated before early
1106 exit.
1107
49fda6c8
HPN
1108 * NEWS: Mention support for MMIX.
1109
2c382fb6
AM
11102002-02-15 Alan Modra <amodra@bigpond.net.au>
1111
1112 Support arbitrary length fill patterns.
a139d329
AM
1113 * ld.texinfo (Output Section Fill): Describe fill expressions.
1114 (FILL): Refer to the above.
2c382fb6
AM
1115 * ldexp.h (etree_value_type): Add "str" field.
1116 (union etree_union): Add "str" to "value" struct.
1117 (exp_bigintop): Declare.
1118 (exp_get_fill): Declare.
1119 * ldexp.c: Include "safe-ctype.h".
1120 (exp_intop): Set value.str to NULL.
1121 (exp_bigintop): New function.
1122 (new_rel): Pass in "str", and set new.str from it.
1123 (new_rel_from_section): Set new.str to NULL.
1124 (fold_name): Adjust calls to new_rel.
1125 (exp_fold_tree): Likewise.
1126 (exp_get_fill): New function.
1127 * ldgram.y (struct big_int bigint, fill_type *fill): New.
1128 (INT): Returns a "bigint". Adjust all code handling INTs.
1129 (fill_opt): Returns a "fill".
1130 (fill_exp): Split out of fill_opt, use for FILL.
1131 * ldlang.h (struct _fill_type): New.
1132 (fill_type): Move typedef to ldexp.h.
1133 (lang_output_section_statement_type): "fill" is now a pointer.
1134 (lang_fill_statement_type): Likewise.
1135 (lang_padding_statement_type): Likewise.
1136 (lang_add_fill): Now takes a "fill_type *" param.
1137 (lang_leave_output_section_statement): Likewise.
1138 (lang_do_assignments): Likewise.
1139 (lang_size_sections): Likewise.
1140 (lang_leave_overlay_section): Likewise.
1141 (lang_leave_overlay): Likewise.
1142 * ldlang.c: Include ldgram.h after ldexp.h.
1143 (lang_output_section_statement_lookup): Adjust for fill_type change.
1144 (print_fill_statement): Likewise.
1145 (print_padding_statement): Likewise.
1146 (insert_pad): Now takes a "fill_type *" arg.
1147 (size_input_section): Likewise.
1148 (lang_size_sections_1): Likewise.
1149 (lang_size_sections): Likewise.
1150 (lang_do_assignments): Likewise.
1151 (lang_add_fill): Likewise.
1152 (lang_leave_output_section_statement): Likewise.
1153 (lang_leave_overlay_section): Likewise.
1154 (lang_leave_overlay): Likewise.
1155 Adjust all callers of the above function.
1156 * ldlex.l: Include ldgram.h after ldexp.h. Allow hex numbers
1157 starting with "0X" as well as "0x". Return bigint.str for hex
1158 numbers starting with "0x" or "0X", zero bigint.str otherwise.
1159 Always use base 16 for numbers starting with "$".
1160 * ldmain.c: Include ldgram.h after ldexp.h.
1161 * ldwrite.c (build_link_order): Use bfd_data_link_order in place
1162 of bfd_fill_link_order.
1163 * pe-dll.c: Adjust lang_do_assignments calls.
1164 * emultempl/elf32.em: Likewise.
1165 * emultempl/hppaelf.em: Likewise.
1166 * emultempl/ppc64elf.em: Likewise.
1167 * emultempl/beos.em: Include ldgram.h after ldexp.h, adjust
1168 lang_add_assignment call.
1169 * emultempl/pe.em: Likewise.
1170
313e35ee
AM
11712002-02-14 Phil Edwards <pme@gcc.gnu.org>
1172
a139d329 1173 * ld.texinfo (VERSION scripts): Symbol names are globbing patterns.
313e35ee
AM
1174 * ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern;
1175 the pattern in question is not a regexp.
1176 * ldlang.c: Likewise.
1177 * ldlang.h: Likewise.
1178 * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also.
1179
2d20f7bf
JJ
11802002-02-12 Jakub Jelinek <jakub@redhat.com>
1181
1182 * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
1183 * ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
1184 (exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp).
1185 * ldexp.c (exp_data_seg): New variable.
1186 (exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END.
1187 (fold_binary): Handle DATA_SEGMENT_ALIGN.
1188 (exp_fold_tree): Handle DATA_SEGMENT_END.
1189 Pass allocation_done when recursing instead of hardcoding
1190 lang_allocating_phase_enum.
1191 * ldexp.h (exp_data_seg): New.
1192 * ldlang.c (lang_size_sections_1): Renamed from lang_size_sections.
1193 (lang_size_sections): New.
1194 * ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document.
1195 * scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END
1196 if COMMONPAGESIZE is defined.
1197 * emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K.
1198 * emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K.
1199 * emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K.
1200 * emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K.
1201 * emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared
1202 libraries only.
1203
06880219
AM
12042002-02-11 Alan Modra <amodra@bigpond.net.au>
1205
1206 * Makefile.in: Regenerate.
1207
37b0ac0f
DJ
12082002-02-10 Daniel Jacobowitz <drow@mvista.com>
1209
1210 * lexsup.c: Remove strtoul declaration.
1211
4e5bae56
DJ
12122002-02-10 Daniel Jacobowitz <drow@mvista.com>
1213
1214 * ldmain.c: Add prototype for main ().
1215 * lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H.
1216 * emultempl/lnk960.em (lnk960_choose_target): Function should
1217 take two arguments.
1218
1e281515
AM
12192002-02-10 Alan Modra <amodra@bigpond.net.au>
1220
1221 * ldlang.c (entry_section): New initialised variable.
1222 (lang_finish): Use it.
1223 * ldlang.h (entry_section): Declare.
1224 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Set
1225 entry_section to ".opd".
1226
f92d92ff 12272002-02-09 Chris Demetriou <cgd@broadcom.com>
0a9c1c8e
CD
1228
1229 * ld.texinfo (Options): Add back in -nostdlib documentation,
1230 which had been inadvertently removed.
1231
74c44237
HPN
12322002-02-09 Hans-Peter Nilsson <hp@bitrange.com>
1233
1234 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Adjust
1235 register section vma to a sane value after emitting error. Make
1236 fatal conditions cause program exit when emitting message.
1237
5e37cc46
NC
12382002-02-08 Ivan Guzvinec <ivang@opencores.org>
1239
1240 * configure.tgt: Add or32-*-rtems target.
1241
2d92cb7d
AO
12422002-02-08 Alexandre Oliva <aoliva@redhat.com>
1243
1244 Contribute sh64-elf.
1245 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1246 * emulparams/shelf32.sh (STACK_ADDR): Define as formerly defined
1247 in OTHER_RELOCATABLE_SECTIONS.
1248 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
1249 * emulparams/shelf32.sh (STACK_ADDR): Define.
1250 (OTHER_RELOCATABLE_SECTIONS): Renamed to...
1251 (OTHER_SECTIONS): this. Removed stack settings.
1252 * emulparams/shelf64.sh (OTHER_RELOCATABLE_SECTIONS): Do not set.
1253 (OTHER_SECTIONS): Reset after sourcing shelf32.sh.
1254 2001-03-12 DJ Delorie <dj@redhat.com>
1255 * emultempl/sh64elf.em (sh64_elf_$_before_allocation): Disable
1256 relaxing if any shmedia or mixed sections are found.
1257 2001-03-07 DJ Delorie <dj@redhat.com>
1258 * emultempl/sh64elf.em (sh64_elf_before_allocation): Pass f to
1259 einfo. Gracefully decline to output to non-elf formats.
1260 2001-03-06 Hans-Peter Nilsson <hpn@redhat.com>
1261 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS) <.stack>:
1262 Default to _end aligned to next multiple of 0x40000, plus 0x40000.
1263 * emulparams/shelf32.sh: Ditto.
1264 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
1265 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Tweak
1266 comment.
1267 2001-01-10 Ben Elliston <bje@redhat.com>
1268 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Avoid
1269 non-portable shell constructs. From Hans-Peter Nilsson.
1270 2001-01-09 Hans-Peter Nilsson <hpn@cygnus.com>
1271 * emulparams/shelf64.sh (EXTRA_EM_FILE): Define empty.
1272 * Makefile.am (eshelf64.c, eshlelf64.c, eshlelf32.c): Adjust
1273 dependencies to the shell script include chain.
1274 * Makefile.in: Regenerate.
1275 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
1276 * emultempl/sh64elf.em: Update and tweak comments.
1277 (sh64_elf_${EMULATION_NAME}_after_allocation): Always allocate and
1278 make a .cranges section SEC_IN_MEMORY.
1279 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
1280 * emultempl/sh64elf.em
1281 (sh64_elf_${EMULATION_NAME}_before_allocation): Don't stop when
1282 .cranges section found to be necessary; continue and set stored
1283 section contents flags for sections with non-mixed contents.
1284 Use a struct sh64_section_data container and sh64_elf_section_data
1285 to store contents-type flags.
1286 Remove unused update of "isec".
1287 (sh64_elf_${EMULATION_NAME}_after_allocation): Only process
1288 sections marked SHF_SH5_ISA32_MIXED. Use sh64_elf_section_data to
1289 access contents-type flags. Assert that the associated container
1290 is initialized. Use that container, not elf_gp_size, to hold size
1291 of linker-generated cranges contents.
1292 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
1293 * emultempl/sh64elf.em
1294 (sh64_elf_${EMULATION_NAME}_before_allocation): Exit early if
1295 there's already a .cranges section. When section flag difference
1296 is found, don't NULL-check cranges a second time. Tweak comments.
1297 (sh64_elf_${EMULATION_NAME}_after_allocation): Use size after
1298 merging, not max size, as size of ld-generated .cranges contents.
1299 Don't set ELF section flags in output section. When checking for
1300 needed .cranges descriptors, don't use a variable; compare
1301 incoming ELF section flags directly to SHF_SH5_ISA32_MIXED. Tweak
1302 comments.
1303 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
1304 * emultempl/sh64elf.em: New file.
1305 * Makefile.am (eshelf32.c, eshlelf32.c): Adjust dependencies.
1306 * Makefile.in: Regenerate.
1307 * emulparams/shelf32.sh (OUTPUT_FORMAT): Only set if not set.
1308 (OTHER_RELOCATING_SECTIONS): Ditto.
1309 (EXTRA_EM_FILE): New, set to sh64elf if not set.
1310 * emulparams/shlelf32.sh: Stub out all settings except
1311 OUTPUT_FORMAT. Source shelf32.sh.
1312 * emulparams/shelf64.sh: Similar, but also keep ELF_SIZE and
1313 OTHER_RELOCATING_SECTIONS.
1314 (OTHER_RELOCATING_SECTIONS): Remove .cranges.
1315 * emulparams/shlelf64.sh: Stub out all settings except
1316 OUTPUT_FORMAT. Source shelf64.sh.
1317 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
1318 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS): Include
1319 .cranges section.
1320 (DATA_START_SYMBOLS): Define, provide ___data.
1321 (OTHER_READONLY_SYMBOLS): Define, provide ___rodata and align to 8
1322 for consecutive .data section.
1323 (OTHER_GOT_SECTIONS): Define, align to 8 for consecutive .bss
1324 section after .data section.
1325 * emulparams/shlelf64.sh: Ditto.
1326 * emulparams/shelf32.sh: Ditto.
1327 (ALIGNMENT): Define to 8.
1328 * emulparams/shelf32.sh: Ditto.
1329 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
1330 * configure.tgt (sh64-*-elf*): Assign targ_extra_libpath to get
1331 built-in linker scripts.
1332 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
1333 * emulparams/shlelf64.sh: New.
1334 * emulparams/shelf64.sh: New.
1335 * configure.tgt (sh64-*-elf*): Add shelf64 and shlelf64 to
1336 targ_extra_emuls.
1337 * Makefile.am: Add support for shlelf64 and shelf64.
1338 * Makefile.in: Regenerate.
1339 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
1340 * configure.tgt (sh64-*-elf*): Add shelf as default.
1341 Add shlelf to targ_extra_emuls.
1342 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
1343 * emulparams/shelf32.sh: New file.
1344 * emulparams/shlelf32.sh: New file.
1345 * Makefile.am: Add support for shlelf32 and shelf32.
1346 * configure.tgt: Map sh64-*-elf* to shlelf32 and shelf32.
1347 * Makefile.in: Regenerate.
1348
e3dc8847
HPN
13492002-02-05 Hans-Peter Nilsson <hp@axis.com>
1350
1351 * ldlang.c (lang_reset_memory_regions): Rename from
1352 reset_memory_regions. Change all callers. Make public.
1353 * ldlang.h (lang_reset_memory_regions): Prototype.
1354 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call
1355 lang_reset_memory_regions before lang_size_sections.
126730bd
HPN
1356 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
1357 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise.
e3dc8847 1358
8017dbcb
HPN
13592002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
1360
1361 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signed
1362 arithmetic when checking for too many global registers.
1363
006336b8
JT
13642002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
1365
1366 * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o.
1367 (ehppanbsd.c): New rule.
1368 * Makefile.in: Regenerate.
1369 * configure.tgt (hppa*-*-netbsd*): New target.
1370 * emulparams/hppalinux.sh: Add comment to check other files
1371 that source this file it is modified, and list which
1372 files that do.
1373 * emulparams/hppanbsd.sh: New file.
1374
da1f2fec
GK
13752002-02-01 Geoffrey Keating <geoffk@redhat.com>
1376
1377 * scripttempl/xstormy16.sc: Don't allocate extra space for the
1378 stack.
1379
48fa4a5d
HPN
13802002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
1381
1382 Support on-demand global register allocation from
1383 R_MMIX_BASE_PLUS_OFFSET relocs.
1384 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from
1385 mmix_set_reg_section_vma. Call
1386 _bfd_mmix_finalize_linker_allocated_gregs.
1387 (mmix_before_allocation): New function.
1388 (LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation.
1389 (LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation.
1390 * scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP.
1391 (.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated
1392 before .MMIX.reg_contents.
1393 * emultempl/mmo.em (gldmmo_before_allocation): Define to default.
1394 (mmo_after_open): New function.
1395 (LDEMUL_AFTER_OPEN): Define to mmo_after_open.
1396 * emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting. Add
1397 .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents.
1398
3b16e843
NC
13992002-01-31 Ivan Guzvinec <ivang@opencores.org>
1400
1401 * emulparams/or32.sh: New file.
1402 * emulparams/or32elf.sh: New file.
1403 * scripttempl/or32.sc: New file.
1404 * configure.tgt : Add support for or32.
1405 * configure: Regenerate
1406 * Makefile.am: Add support for or32.
1407 * Makefile.in: Regenerate.
1408 * NEWS: Mention support for or32.
1409 * po/ld.pot: Regenerate.
1410
f744d540 14112002-01-29 Chris Demetriou <cgd@broadcom.com>
313e35ee 1412 Mitch Lichtenberg <mpl@broadcom.com>
f744d540
CD
1413
1414 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself.
1415 * emultempl/mipself.em: New file to handle MIPS ELF embedded
1416 reloc creation (ld --embedded-relocs).
1417
4867be41
DJ
14182002-01-27 Daniel Jacobowitz <drow@mvista.com>
1419
1420 * configure: Regenerated.
1421
cd8e197b
HPN
14222002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1423
1424 * Makefile.am (install): Depend on install-info.
1425 * Makefile.in: Regenerate.
1426
9cb61eab
AM
14272002-01-26 Christian Rose <menthos@menthos.com>
1428
1429 * ldmain.c (main): Use full sentences to ease translation.
1430
1caa7b23
NC
14312002-01-26 Nick Clifton <nickc@cambridge.redhat.com>
1432
1433 * po/fr.po: Updated version.
1434
1ddbd152
NC
14352002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
1436
1437 * po/es.po: Updated version.
1438
1e84433f
AJ
14392002-01-25 Andreas Jaeger <aj@suse.de>
1440
1441 * ldlex.l (yy_input): Correct error check.
1442
6d39955e
AM
14432002-01-25 Alan Modra <amodra@bigpond.net.au>
1444
1445 * ldmisc.c (demangle): Put back dots when string not demangled.
1446
a9ed1e1b
RH
14472002-01-22 Richard Henderson <rth@redhat.com>
1448
1449 * emulparams/elf64alpha.sh (NOP): Use unop.
1450
968ec2b9
AJ
14512002-01-21 Andreas Jaeger <aj@suse.de>
1452
1453 * ldlex.l: Use fread instead of read.
1454
9596feea
JT
14552002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
1456
1457 * configure.tgt (ia64-*-netbsd*): New target.
1458
493a6d47
L
14592002-01-21 H.J. Lu <hjl@gnu.org>
1460
1461 * emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to
1462 0.
1463 * emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise.
1464
2a538ba5
AJ
14652002-01-18 Andreas Jaeger <aj@suse.de>
1466
1467 * ldver.c (ldversion): Update year.
1468
328577ad
NC
14692002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1470
1471 * po/ld.pot: Regenerate.
1472
1f808cd5
AM
14732002-01-16 Alan Modra <amodra@bigpond.net.au>
1474
1475 * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em.
1476 * Makefile.in: Regenerate.
1477 * emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define.
1478 * emultempl/ppc64elf.em: New file.
1479
335c5610
DD
14802002-01-15 DJ Delorie <dj@redhat.com>
1481
1482 * scripttempl/pe.sc: Add support for constructor priorities.
1483
c40bbade
DC
14842002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
1485
1486 * emulparams/avr1200.sh (DATA_START): Define as 0x60.
1487 * emulparams/avr23xx.sh: Likewise.
1488 * emulparams/avr4433.sh: Likewise.
1489 * emulparams/avr44x4.sh: Likewise.
1490 * emulparams/avr85xx.sh: Likewise.
1491 * emulparams/avrmega103.sh: Likewise.
1492 * emulparams/avrmega161.sh: Likewise.
1493 * emulparams/avrmega603.sh: Likewise.
1494 * scripttempl/elf32avr.sc: Use DATA_START instead of 0x60.
1495
34efb449
AO
14962002-01-08 Alexandre Oliva <aoliva@redhat.com>
1497
1498 * ldlang.c (walk_wild_section): Exclude object file if enclosing
1499 archive is excluded.
1500
8d05742f
JT
15012002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
1502
1503 * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o.
2a538ba5 1504 (eshelf_nbsd.c): New rule.
8d05742f
JT
1505 (eshlelf_nbsd.c): New rule.
1506 * Makefile.in: Regenerate.
1507 * configure.tgt (sh*le-*-netbsdelf*): New target.
1508 (sh*-*-netbsdelf*): New target.
1509 * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file.
1510 * ld/emulparams/shelf_nbsd.sh: New emulation.
1511 * ld/emulparams/shlelf_nbsd.sh: New emulation.
1512
be2d1673
NC
15132002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
1514
1515 * po/es.po: New file: Spanish translation.
1516 * configure.in (ALL_LINGUAS): Add es.
1517 * configure: Regenerate.
1518
dbab7a7b
NC
15192002-01-06 John Marshall <jmarshall@acm.org>
1520
1521 * ld.texinfo: Note that --emit-relocs is currently only
1522 implemented for ELF.
1523
3dfe7a8c
AM
15242002-01-05 Alan Modra <amodra@bigpond.net.au>
1525
1526 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use
1527 of bfd_section_list_remove and bfd_section_list_insert macros.
1528 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1529 * emultempl/mmo.em (mmo_place_orphan): Likewise.
1530
8a8b2d4b
AJ
15312002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
1532
1533 * configure.tgt (x86_64-*-netbsd*): New target.
1534
9a4c7f16
TR
15352001-12-21 Tom Rix <trix@redhat.com>
1536
8a8b2d4b 1537 (gld*_create_output_section_statements): New function.
9a4c7f16
TR
1538 For -binitfini support.
1539 * emultempl/aix.em (gld*_before_parse): Fix comment.
1540 * emultempl/aix.em (gld*_parse_args): Fix comment.
1541
3695c299
AM
15422001-12-20 Jason Thorpe <thorpej@wasabisystems.com>
1543
cf86e6df
AM
1544 * configure.tgt (mips*-dec-netbsd*): Delete alias for
1545 mips*el-*-netbsd*.
1546 (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls.
1547
3695c299
AM
1548 * configure.tgt (arm-*-netbsdelf*): Add target.
1549 (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls.
1550 * emulparams/armelf_nbsd.sh: Added.
1551 * Makefile.am: Add rules for earmelf_nbsd.
1552 * Makefile.in: Regenerate.
1553
97cb79ae
AJ
15542001-12-19 Andreas Jaeger <aj@suse.de>,
1555 Susanne Oberhauser <froh@suse.de>
1556
1557 * configure.host: Add rules for x86_64-*linux-gnu. Change
1558 s390x-linux entry to use gcc to report configuration, replace gcc
1559 with $CC in s390-linux
1560
9d201f2f
AJ
15612001-12-19 Andreas Jaeger <aj@suse.de>
1562
1563 * ld.texinfo (VERSION): Fix markup.
1564
0b69cd08
MG
15652001-12-18 matthew green <mrg@eterna.com.au>
1566
1567 * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o.
1568 (m68kelfnbsd.c): New rule.
1569 * Makefile.in: Regenerate.
1570 * configure.tgt (m68*-hp-netbsd*): Renamed to ..
1571 (m68*-*-netbsd*4k*): .. this.
1572 (m68*-*-netbsdelf*): New target.
1573 (m68*-*-netbsd*): Also include ELF support.
1574 (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*.
1575 * emulparams/m68kelfnbsd.sh: New emulation.
1576
6b9b879a
JJ
15772001-12-18 Jakub Jelinek <jakub@redhat.com>
1578
1579 * ldgram.y (vers_node): Support anonymous version tags.
1580 * ldlang.c (lang_register_vers_node): Ensure anonymous version
1581 tag is not defined together with non-anonymous versions.
1582 * ld.texinfo: Document it.
1583
9fc877ed
NC
15842001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1585
1586 * po/tr.po: New file: Turkish translation.
1587 * configure.in (ALL_LINGUAS): Add tr.
1588 * configure: Regenerate.
1589
fc18a3f3
RH
15902001-12-17 Jason Thorpe <thorpej@wasabisystems.com>
1591
1592 * Makefile.am: Add rules for eelf64alpha_nbsd.
1593 * Makefile.in: Regenerate.
1594 * configure.tgt (alpha*-*-netbsd*): Set
1595 targ_emul to elf64alpha_nbsd.
1596 * emulparams/elf64alpha_nbsd.sh: Added.
1597
76f63e91
AM
15982001-12-17 Alan Modra <amodra@bigpond.net.au>
1599
1600 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust
1601 section_tail when fiddling with section list.
1602 (gld${EMULATION_NAME}_list_options): Ensure sentences aren't
1603 broken into separate strings to make translation easier.
1604 * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when
1605 fiddling with section list.
1606 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1607
d03b89bd
HPN
16082001-12-16 Hans-Peter Nilsson <hp@bitrange.com>
1609
1610 * scripttempl/mmo.sc: Add .debug_ranges to listed sections.
1611
320fec9a
AM
16122001-12-15 Alan Modra <amodra@bigpond.net.au>
1613
1614 * ldmain.c (main): Initialise link_info.eh_frame_hdr.
1615
65765700
JJ
16162001-12-13 Jakub Jelinek <jakub@redhat.com>
1617
1618 * emultempl/elf32.em (finish): Supply output_bfd
1619 to bfd_elf*_discard_info.
1620 (OPTION_EH_FRAME_HDR): Define.
1621 (longopts): Add --eh-frame-hdr.
1622 (parse_args): Handle it.
1623 (list_options): Add --eh-frame-hdr to help.
1624 * emultempl/hppaelf.em (finish): Supply output_bfd
1625 to bfd_elf*_discard_info.
1626 * scripttempl/elf.sc (.eh_frame_hdr): Add.
1627
89894c62
AM
16282001-12-13 Alan Modra <amodra@bigpond.net.au>
1629
1630 * lexsup.c (parse_args): Don't pass shortopts to second call to
1631 getopt functions. Restore optind rather than decrementing before
1632 second call. Remove errind as it now duplicates last_optind.
1633
583f1926
CF
16342001-12-11 Christopher Faylor <cgf@redhat.com>
1635
1636 * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo.
1637
93fbbb04
GK
16382001-12-07 Geoffrey Keating <geoffk@redhat.com>
1639 Richard Henderson <rth@redhat.com>
1640
1641 * Makefile.am: Add support for xstormy16.
1642 * configure.tgt: Add support for xstormy16.
1643 * Makefile.in: Regenerate.
1644 * emulparams/elf32xstormy16.sh: New file.
1645 * scripttempl/xstormy16.sc: New file.
1646
583f1926
CF
16472001-10-01 Christopher Faylor <cgf@cygnus.com>
1648
fc18a3f3
RH
1649 * Makefile.in (LIB_PATH): Make configurable.
1650 (GENSCRIPTS): Set LIB_PATH in environment.
1651 * configure.in: Substitute LIB_PATH.
1652 * configure: Regenerate.
1653 * configure.tgt (*cygwin): Set LIB_PATH for cross build.
1654 * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS.
583f1926 1655
ff291a48
NC
16562001-12-07 Nick Clifton <nickc@cambridge.redhat.com>
1657
1658 * lexsup.c (ld_options): Insert 'PROGRAM' into the text string
1659 describing the -N option so that it is easier to translate into
1660 foreign languages.
1661
e3c8793a
NC
16622001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1663
1664 * emultempl/pe.em (..._list_options): Replace multiple fprintf
1665 statements describing a single option with a single, newline
1666 escaped fprintf. This allows better translation into other
1667 languages.
9d201f2f 1668
fc18a3f3
RH
1669 * ldmain.c (add_archive_element): Combine multiple strings
1670 into a single string to permit better translation into other
1671 languages.
e3c8793a 1672
f2eab0af
TR
16732001-12-05 Tom Rix <trix@redhat.com>
1674
1675 * Makefile.am: Remove eaixppc64.
9d201f2f 1676 * Makefile.in: Regenerate.
f2eab0af 1677
249172c3
TR
16782001-12-04 Tom Rix <trix@redhat.com>
1679
9d201f2f 1680 * emultempl/aix.em (choose_target): Change default target to
249172c3
TR
1681 OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler
1682 warning.
1683 (gld*_read_file): Fix typo.
1684 (change_symbol_mode): Add prototype.
1685 (is_syscall): Same.
9d201f2f 1686
249172c3
TR
1687 * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete.
1688 * emulparams/aixrs6.sh : Same.
1689 * emulparams/ppcmacos.sh : Same.
1690 * emulparams/aixppc64.sh : Delete file.
1691 * emultempl/aix.em : Formatting changes.
1692
5b5cd1b0
HPN
16932001-12-04 Hans-Peter Nilsson <hp@axis.com>
1694
1695 * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes.
1696 (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting
1697 __Sbss.
1698 (OTHER_END_SYMBOLS): Fix formatting.
1699 * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes.
1700 (OTHER_END_SYMBOLS): Fix formatting.
1701
7cecdbff
AM
17022001-12-04 Alan Modra <amodra@bigpond.net.au>
1703
1704 * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT.
1705
742aeb63 17062001-12-02 Tom Rix <trix@redhat.com>
7cecdbff 1707
742aeb63 1708 * configure.tgt : Remove eaixppc64 emulations.
7cecdbff 1709 * Makefile.in : Remove eaixppc64.c
742aeb63
TR
1710 * ldemul.c (ldemul_choose_target): New parameters argc, argv.
1711 (ldemul_default_target): Same.
1712 * emultempl/gld960.em (gld960_choose_target): Same.
7cecdbff
AM
1713 * emultempl/gld960c.em (gld960_choose_target): Same.
1714 * scripttempl/aix.sc: Remove OUTPUT_FORMAT.
742aeb63
TR
1715 * emultempl/aix.em (is_syscall): syscall_mask now a variable.
1716 * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable.
1717 * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation.
7cecdbff 1718 * emultempl/aix.em (choose_target): New function. Handle emulation of
742aeb63
TR
1719 -b32 and -b64.
1720
48459341
L
17212001-11-27 H.J. Lu <hjl@gnu.org>
1722
1723 * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes.
1724 * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise.
1725 * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise.
1726 * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise.
1727 * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise.
1728 * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise.
1729 * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise.
1730 * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise.
1731
7cecdbff 1732 * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA}
48459341
L
1733 is not empty.
1734 (SDATA): Likewise.
1735 (REL_SDATA): Likewise.
1736 (REL_SBSS): Likewise.
1737 (REL_SDATA2): Likewise.
1738 (REL_SBSS2): Likewise.
1739 (SBSS2): Define if ${NO_SMALL_DATA} is not empty.
1740 (SDATA2): Likewise.
1741
ecfdd20c
SC
17422001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1743
1744 * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
1745 destructor in rom.
7cecdbff 1746 * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.
ecfdd20c 1747
da54c6eb
L
17482001-11-22 H.J. Lu <hjl@gnu.org>
1749
1750 * Makefile.in: Regenerated with automake based on automake
1751 1.4-8 in RedHat 7.1.
1752
465bc359
AM
17532001-11-22 Alan Modra <amodra@bigpond.net.au>
1754
1755 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
1756 (config.status): Delete rule.
1757 Add extra dependencies to cover sourced emulparams files.
1758 * Makefile.in: Regenerate.
1759
1760 * scripttempl/elf.sc: Order <section>, <section>.* and
1761 corresponding linkonce sections as seen in input files.
1762 Formatting fixes. Zero vma of all sections if not relocating.
1763 (STACK): Define and insert if STACK_ADDR defined.
1764 (OTHER_RELOCATING_SECTIONS): Delete.
1765 (OTHER_END_SYMBOLS): Define.
1766 (OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
1767 (OTHER_READWRITE_SECTIONS): Likewise.
1768 (OTHER_GOT_SECTIONS): Likewise.
1769 (OTHER_SDATA_SECTIONS): Likewise.
1770 (OTHER_BSS_SECTIONS): Likewise.
1771 * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
1772 (OTHER_READWRITE_SECTIONS): Likewise.
1773 * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
1774 (OTHER_READWRITE_SECTIONS): Likewise
1775
1776 * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
1777 (STACK_ADDR): Define.
1778 * emulparams/armelf_oabi.sh: As for armelf.sh.
1779 * emulparams/elf32mcore.sh: As for armelf.sh.
1780 * emulparams/h8300elf.sh: As for armelf.sh.
1781 * emulparams/mn10200.sh: As for armelf.sh.
1782 * emulparams/shelf.sh: As for armelf.sh.
1783
1784 * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
1785 (OTHER_END_SYMBOLS): Define.
1786 * emulparams/m32relf.sh: As for elf32fr30.sh.
1787 * emulparams/h8300helf.sh: As for elf32fr30.sh.
1788 * emulparams/h8300self.sh: As for elf32fr30.sh.
1789
1790 * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
1791 defines with RELOCATING test.
1792 (OTHER_SDATA_SECTIONS): Likewise.
1793 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
1794 (OTHER_END_SYMBOLS): ..this.
1795 * emulparams/crislinux.sh: As for criself.sh.
1796
1797 * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
1798 if not relocating.
1799 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
1800 (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order
1801 normal and linkonce sections as seen in input files.
1802 * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
1803 (TEXT_DYNAMIC): Likewise.
1804 (INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
1805 (OTHER_SDATA_SECTIONS): Likewise.
1806 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
1807 * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
1808 * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
1809 * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
1810 * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
1811 (OTHER_PLT_RELOC_SECTIONS): Likewise.
1812 (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce
1813 sections as seen in input files.
1814 * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
1815 * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
1816 if not relocating.
1817 (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
1818 (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
1819 * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
1820 (OTHER_SECTIONS): Instead, use this..
1821 (OTHER_END_SYMBOLS): ..and this.
1822
1823 * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
1824 * emulparams/elf32bsmip.sh: Likewise.
1825 * emulparams/elf32btsmip.sh: Likewise.
1826 * emulparams/elf32ebmip.sh: Likewise.
1827 * emulparams/elf32lmip.sh: Likewise.
1828 * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
1829 * emulparams/elf32lsmip.sh: Likewise.
1830 * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
1831 * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
1832 * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
1833 * emulparams/elf64btsmip.sh: Likewise.
1834 * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
1835 * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
1836 * emulparams/elf32ppclinux.sh: Likewise.
1837 * emulparams/elf32ppcsim.sh: Likewise.
1838 * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
1839 * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
1840 * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
1841 * emulparams/h8300self.sh: Likewise.
1842 * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
1843 * emulparams/sh.sh: Comment.
1844 * emulparams/shl.sh: Source sh.sh, remove duplicates.
1845 * emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
1846 * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
1847
abc6ab0a
AM
18482001-11-21 David Heine <dlheine@tensilica.com>
1849 Alan Modra <amodra@bigpond.net.au>
1850
1851 * ldlang.c (map_input_to_output_sections): Replace "break"
1852 accidentally removed with 2001-08-03 change.
1853 (lang_gc_sections_1): Likewise.
1854
2181f54f
AM
18552001-11-21 Alan Modra <amodra@bigpond.net.au>
1856
1857 * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
1858
ca0b5847
AM
18592001-11-20 Angela Marie Thomas <angela@redhat.com>
1860
1861 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
2181f54f
AM
1862 of false when calling lang_size_sections.
1863 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
ca0b5847 1864
c56feb2b
AM
18652001-11-15 Alan Modra <amodra@bigpond.net.au>
1866
1867 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
1868 function when LDEMUL_FINISH isn't set to the same name. Don't
1869 call ${LDEMUL_FINISH}.
1870 (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined.
1871 * emultempl/armelf.em (arm_elf_finish): Call
1872 gld${EMULATION_NAME}_finish.
1873 * emultempl/hppaelf.em (hppaelf_finish): Rename to
1874 gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and
1875 hppaelf_layout_sections_again if necessary.
1876 (need_laying_out): New var.
1877 (hppaelf_layaout_sections_again): Rename to
1878 hppaelf_layout_sections_again. Clear need_laying_out.
1879 (PARSE_AND_LIST_OPTIONS): Format text.
1880
a48ca7f2
L
18812001-11-14 H.J. Lu <hjl@gnu.org>
1882
1883 * emultempl/armelf.em (arm_elf_finish): Renamed from
1884 gld${EMULATION_NAME}_finish.
1885 (LDEMUL_FINISH): Set to arm_elf_finish.
1886
73d074b4
DJ
18872001-11-14 Daniel Jacobowitz <drow@mvista.com>
1888
1889 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New.
1890 (struct ld_emulation_xfer_struct): Use it.
1891
3b16e843 18922001-11-13 Ross Alexander <ross.alexander@uk.neceur.com>
fc65c602 1893
465bc359 1894 * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add
fc65c602
JL
1895 additional symbols referenced by newer crt0.o files from HP.
1896
f11b7027
NC
18972001-11-12 Anthony Green <green@redhat.com>
1898
1899 * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol.
1900
3bf2994f
AM
19012001-11-12 Alfred M. Szmidt <ams@kemisten.nu>
1902
1903 * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.
1904 * Makefile.in: Regenerate.
1905
ff5dcc92
SC
19062001-11-02 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1907
1908 * ld.texinfo: Use @command for commands, @option for options.
1909 * Makefile.am (POD2MAN): Use 'GNU Development Tools' for
1910 the page man title.
1911 * Makefile.in: Rebuild.
1912
9fb9af6e
CD
19132001-11-04 Chris Demetriou <cgd@broadcom.com>
1914
1915 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
1916 Add support for targets.
2181f54f 1917
3c62831e
NC
19182001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
1919
1920 * configure.in (ALL_LINGUAS): Add "fr" and "sv"
1921 * configure: Regernate.
1922 * po/fr.po: New file.
1923 * po/sv.po: New file.
1924
3a9091c4
NC
19252001-11-01 NIIBE Yutaka <gniibe@m17n.org>
1926
1927 * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls
1928 as little endian default and to support big endian.
2181f54f 1929
361b220e
CD
19302001-11-01 Chris Demetriou <cgd@broadcom.com>
1931
1932 * ld.texinfo (Options): Document new option, -nostdlib.
1933 * lexsup.c (OPTION_NOSTDLIB): New definition.
1934 (ld_options): Add entry for "nostdlib".
1935 (parse_args): Handle OPTIONS_NOSTDLIB.
1936 * ldfile.c (ldfile_add_library_path): Don't add directories
1937 to the search path if they weren't specified on the command line
1938 and -nostdlib was specified.
1939 * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
1940
210a7bd1
NC
19412001-10-31 Nick Clifton <nickc@cambridge.redhat.com>
1942
1943 * lexsup.c (parse_args): Prevent infinite parsing loop when
1944 "-rpath.a" is specified on the command line.
1945 Replace calls to fprintf with calls to einfo.
1946
114283d8
NC
19472001-10-31 John Marshall <jmarshall@acm.org>
1948
1949 * ld.texinfo: A historical requirement that MEMORY and SECTIONS
1950 appear only once across all the linker scripts involved in a link
1951 invocation no longer applies. Make the documentation reflect
1952 that.
1953
7649aa50
NC
19542001-10-31 NIIBE Yutaka <gniibe@m17n.org>
1955
1956 * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
1957 targets.
1958 (sh-*-linux*): Added targ_extra_libpath.
1959
6e814ff8
AM
19602001-10-31 David Heine <dlheine@tensilica.com>
1961
1962 * ldlang.c (lang_size_sections): Keep a valid output_offset field
1963 for padding statements.
1964
3c3bdf30
NC
19652001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1966
1967 * configure.tgt (mmix-*-*): New target.
1968 * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o.
1969 Add dependencies to match.
1970 * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em,
1971 emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em,
1972 scripttempl/mmo.sc: New files.
1973 * gen-doc.texi: @set MMIX.
1974 * ld.texinfo: Ditto.
6e814ff8 1975 [MMIX] Add MMIX node.
3c3bdf30
NC
1976 * Makefile.in: Regenerate.
1977
ca0c1d3e
KH
19782001-10-29 Kazu Hirata <kazu@hxi.com>
1979
1980 * ldlang.c: Fix a comment typo.
1981
1a3d33ce
AM
19822001-10-23 Alan Modra <amodra@bigpond.net.au>
1983
1984 * configure.host: Move alpha*-*-linux-gnu* entry to generic
1985 entries, and match *-*-linux*.
1986
b47c4208
AM
19872001-10-20 Alan Modra <amodra@bigpond.net.au>
1988
1989 * ldgram.y (mri_script_command): Surround processing of INCLUDE
1990 with ldlex_script, ldlex_popstate.
1991 (ifile_p1): Likewise.
1992 * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the
1993 correct slot.
1994 (lex_push_file): Save current lineno to lineno_stack. Set lineno
1995 to 1. Don't BEGIN(SCRIPT).
1996 (lex_redirect): Similarly.
1997 * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
1998
fd521b47
NC
19992001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
2000
2001 * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and
2002 __EH_FRAME_END__ and accept eh frames into data section.
2003 Add ctor and dtor sections.
2004
59d28a94
DD
20052001-10-19 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2006
2007 * pe-dll.c (autofilter_objectlist): Add gcrt0.o.
2008 (auto-export): Fix indentation.
2009
663dd378
DD
20102001-10-18 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2011
2012 * pe-dll.c (autofilter_objectlist): Add startup objects
2013 for profiling.
2014 (auto-export): Constify char * p.
6e814ff8 2015 Extract file basename and use strcmp rather than ststr
663dd378
DD
2016 for object lookup.
2017
31d677f9
CD
20182001-10-18 Chris Demetriou <cgd@broadcom.com>
2019
2020 * ldmain.c (get_emulation): Improve comment about the handling
2021 of -mipsN options.
2022
aa200fe8
AM
20232001-10-17 Alan Modra <amodra@bigpond.net.au>
2024
2025 * po/POTFILES.in: Regenerate.
2026
146e7110
AM
20272001-10-16 Vassili Karpov <malc@pulsesoft.com>
2028
2029 * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
2030 -z nocopyreloc and -z nocombreloc usage strings.
2031
b4330e85
NC
20322001-10-12 Vassili Karpov <malc@pulsesoft.com>
2033
146e7110 2034 * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc
b4330e85
NC
2035 in usage.
2036
5af8a2fb
NC
20372001-10-11 Aleksey Romanov <aromanov@ennovatenetworks.com>
2038
2039 * scripttempl/armaout.sc: Place .bss section after end of aligned
2040 data section to match behaviour of aout code in constructrion of
2041 header.
2042
5b784096
DD
20432001-10-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2044
2045 * pe-dll.c (autofilter_entry_type autofilter_liblist: Add
2046 startup files for mingw32 dlls to list.
2047
61585df2
CD
20482001-10-10 Chris Demetriou <cgd@broadcom.com>
2049
2050 * emultempl/elf32.em: Fix shell 'if' usage for portability.
2051
45cf6f3e
AH
20522001-10-08 Aldy Hernandez <aldyh@redhat.com>
2053
2054 * configure.tgt (targ): Add arm9e-*-elf.
2055
e24d7c12
L
20562001-10-05 H.J. Lu <hjl@gnu.org>
2057
2058 * genscripts.sh: Fix a typo in the last change.
2059
ec38dd05
JJ
20602001-10-05 Jakub Jelinek <jakub@redhat.com>
2061
2062 * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
2063 -z nocombreloc in usage.
2064
cedd6b0d
JB
20652001-10-03 Jim Blandy <jimb@redhat.com>
2066
2067 * genscripts.sh: Include a comment at the top of each generated
2068 script, explaining its purpose.
2069
8bd621d8
AM
20702001-10-03 Vassili Karpov <malc@pulsesoft.com>
2071
2072 * emultempl/elf32.em (parse_args): Handle -z nocopyreloc.
2073 * NEWS: Mention -z nocopyreloc.
2074 * ld.texinfo (Options): Describe nocopyreloc.
2075
fcd8210c
AM
20762001-10-03 Alan Modra <amodra@bigpond.net.au>
2077
2078 * configure: Regenerate.
2079
d32820f2
AM
20802001-10-02 Alan Modra <amodra@bigpond.net.au>
2081
2082 * ldver.h (ld_program_version): Remove declaration.
2083 * lexsup.c (parse_args): Move printing of copyright message..
2084 * ldver.c (ldversion): .. to here.
2085 Use BFD_VERSION_STRING in place of BFD_VERSION.
2086 (ld_program_version): Remove.
2087 * Makefile.am (Makefile): Depend on bfd/configure.in.
2088 Run "make dep-am".
2089 * Makefile.in: Regenerate.
2090
af46bcdc
HPN
20912001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
2092
2093 * Makefile.am: Update dependencies with "make dep-am".
2094 * Makefile.in: Regenerate.
2095
4818e05f 20962001-09-29 John Reiser <jreiser@BitWagon.com>
862517b6 2097
4818e05f
AM
2098 * ldlang.c (lang_common): Conditionally inhibit Common allocation.
2099 * lexsup.c: Add --no-define-common commandline option.
2100 * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
2101 * ldlex.l: Likewise.
2102 * ld.h: Add command_line.inhibit_common_definition.
2103 * ldmain.c (main): Initialize.
2104 * ld.texinfo: Document.
862517b6 2105
a59f3d35
AM
21062001-09-29 Alan Modra <amodra@bigpond.net.au>
2107
2108 * ldlang.c (section_already_linked): Remove assignment to kept_section.
2109
d5e0ebeb
AM
21102001-09-26 Alan Modra <amodra@bigpond.net.au>
2111
2112 * ldmisc.c (USE_STDARG): Remove.
2113 (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
2114 (einfo): Likewise.
2115 (minfo): Likewise.
2116 (lfinfo): Likewise.
2117
2118 * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
2119 declarations. Update copyright.
2120
2f8d8971
NC
21212001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
2122
85c77458
NC
2123 * pe-dll.c: Remove obsoleted declaration of
2124 pe_get_data_import_dll_name.
2125 (pe_create_import_fixup): Fix thinko.
2126
2f8d8971
NC
2127 * ld.texinfo(enable-auto-import): Clarify the explanation.
2128
21292001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
2130
2131 * pe-dll.c (pe_create_import_fixup): Revert previous patch.
2132 * emultemp/pe.em (pe_data_import_dll): Move definition outside of
2133 DLL_SUPPORT controlled code.
2134
72358f65 21352001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
146e7110 2136
72358f65
NC
2137 * emultempl/pe.em(pe_data_import_dll): Make static.
2138 (pe_get_data_import_dll_name): New accessor function.
146e7110 2139 * pe-dll.c(pe_create_import_fixup): call
72358f65
NC
2140 pe_get_data_import_dll_name() from pe.em, instead of
2141 directly accessing pe_data_import_dll variable from pe.em.
2142
3882b010
L
21432001-09-18 Bruno Haible <haible@clisp.cons.org>
2144
2145 * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>.
2146 (def_file_add_directive): Use ISSPACE instead of isspace.
2147 (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
2148 isdigit/isxdigit/isalpha/isalnum.
2149 * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>.
2150 (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
2151 * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>.
2152 (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
2153 isalnum.
2154 * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>.
2155 (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
2156 isupper/tolower.
2157 * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>.
2158 (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
2159 * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>.
2160 (ctor_prio): Use ISDIGIT instead of isdigit.
2161 * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>.
2162 (ldfile_open_file_search): Use ISALPHA instead of isalpha.
2163 (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
2164 isupper/tolower.
2165 * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>.
2166 (stricpy): Use TOLOWER instead of isupper/tolower.
2167 (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
2168 * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>.
2169 (lex_warn_invalid): Use ISPRINT instead of isprint.
2170 * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>.
2171 (main): For gettext, also set the LC_CTYPE locate facet.
2172 (add_keepsyms_file): Use ISSPACE instead of isspace.
2173 * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>.
2174 (is_num, parse_args): Use ISDIGIT instead of isdigit.
2175 * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>.
2176 (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
2177 * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>.
2178 (gldppcmacos_read_file): Use ISSPACE instead of isspace.
2179 * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>.
2180 (quoteput): Use ISSPACE instead of isspace.
2181 (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
2182 instead of isalnum.
2183
db09f25b
AM
21842001-09-18 Alan Modra <amodra@bigpond.net.au>
2185
2186 * deffilep.y (def_stash_module): Constify "name" param.
2187
2188 * pe-dll.c: Replace CONST with const throughout.
2189 (quick_symbol): Constify "n1", "n2", "n3" params.
2190 (make_singleton_name_thunk): Constify "import" param. Make
2191 "buffer_len" a size_t.
2192 (make_import_fixup_entry): Constify "name", "fixup_name",
2193 "dll_symname" params.
2194 (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread.
2195 (pe_get32): Likewise.
2196 (pe_implied_import_dll): Likewise.
2197
2198 * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
2199 (sort_by_section_name): Likewise.
2200
2201 * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
2202 (make_import_fixup): Cast printf arg, rel->address to long rather
2203 than int.
2204 (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
2205
74699268
AM
22062001-09-15 Alan Modra <amodra@bigpond.net.au>
2207
2208 * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
2209 defines BufferSize. Increase buffer size by one.
2210
775cabad
NC
22112001-09-14 Ralf Habacker <Ralf.Habacker@freenet.de>
2212
2213 * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
2214
056a1d49
NC
22152001-09-14 Kevin Lo <kevlo@openbsd.org>
2216
2217 * configure.tgt: Add arm-openbsd target.
2218
a7d792bb
L
22192001-09-12 H.J. Lu <hjl@gnu.org>
2220
2221 * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
2222 eelf64lppc.o to ...
2223 (ALL_64_EMULATIONS): Here.
2224 * Makefile.in: Regenerated.
2225
0d888aac
CW
22262001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
2227
2228 * emultempl/pe.em(make_import_fixup): change signature to
2229 take asection as well as arelec; we need this for proper
146e7110 2230 error reporting. Only call pe_create_import_fixup() if
0d888aac
CW
2231 there is no attempt to add a constant addend to the reloc;
2232 otherwise, report error condition.
2233 * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
2234 since final argument is a pointer to make_import_fixup().
2235 Change call to cb() to match make_import_fixup() signature.
2236 (make_import_fixup_mark): make buffer_len unsigned.
2237 * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
2238
22392001-09-12 Charles Wilson <cwilson@ece.gatech.edu>
2240
2241 * ld.texinfo: add verbose documentation for auto-import
146e7110 2242 direct-addressing workaround, to compliment the terse
0d888aac
CW
2243 error message.
2244
cedacdc0
CM
22452001-09-12 Andrew MacLeod <amacleod@redhat.com>
2246
146e7110 2247 * scripttempl/v850.sc: Add gcc_except_table sections.
cedacdc0 2248
3b16e843 22492001-09-11 Jeffrey A Law (law@cygnus.com)
38be0bb1
JL
2250
2251 * emulparams/h8300helf.sh: Move stack to a much higher memory address.
2252 * emulparams/h8300self.sh: Similarly.
2253
559e4713
NC
22542001-09-05 Danny Smith <dannysmith@users.souceforge.net>
2255
2256 * ld.texinfo (Options, --stack): Correct default value for stack
2257 reserve.
2258
1fdf0249
TR
22592001-09-05 Tom Rix <trix@redhat.com>
2260
2261 * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
146e7110 2262
9b5799b8
AJ
22632001-09-03 Andreas Jaeger <aj@suse.de>
2264
2265 * emultempl/beos.em: Declare prototypes for comparions functions,
2266 adjust definitions.
2267
48f6162b
AJ
22682001-09-02 Andreas Jaeger <aj@suse.de>
2269
2270 * emultempl/aix.em: Add missing prototype.
2271 * emultempl/lnk960.em: Likewise.
2272 * emultempl/vanilla.em: Likewise.
2273 * emultempl/armcoff.em: Likewise.
2274 * emultempl/armelf_oabi.em: Likewise.
2275 * emultempl/beos.em: Likewise.
2276 * emultempl/gld960c.em: Likewise.
2277 * emultempl/gld960.em: Likewise.
2278
2279 * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
2280 for prototype declaration.
2281
39e5585e
EC
22822001-08-31 Eric Christopher <echristo@redhat.com>
2283 Jason Eckhardt <jle@redhat.com>
2284
2285 * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
2286
3fc90ddb
AJ
22872001-08-31 Andreas Jaeger <aj@suse.de>
2288
2289 * emultempl/pe.em: Add missing prototypes.
2290 (gld_${EMULATION_NAME}_after_open): Remove extra args to
2291 pe_find_data_imports.
2292 (pr_sym): Add unused attribute.
2293
d43ded80
PB
22942001-08-29 Joel Sherrill <joel@OARcorp.com>
2295
39e5585e 2296 * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
d43ded80
PB
2297 default from coff to elf.
2298
3946dd2f
JL
22992001-08-29 Jeff Law <law@redhat.com>
2300
2301 * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update
2302 ARCH specification.
2303 * emulparams/h8300self.sh: Similarly.
2304
3b16e843 23052001-08-28 J"orn Rennecke <amylaar@redhat.com>
8af6dd41
JR
2306
2307 * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
2308 eh8300self.o .
2309 (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
2310 * configure.tgt (h8300-*-elf*): New case.
2311 * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
2312 * emulparams/h8300self.sh: New file.
2313 * Makefile.in: Regenerated.
2314
70d0c6e9
NC
23152001-08-28 Nick Clifton <nickc@cambridge.redhat.com>
2316
2317 * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
2318 with macro name.
2319
5c67d4bb
AM
23202001-08-27 Linus Nordberg <linus@swox.com>
2321 Alan Modra <amodra@bigpond.net.au>
2322
2323 * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
2324 (eelf64ppc.c, eelf64lppc.c): Add make targets.
2325 Run "make dep-am"
2326 * Makefile.in: Regenerate.
2327 * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj
2328 entries to correct alphabetical position.
2329 * emulparams/elf64ppc.sh: New.
2330 * emulparams/elf64lppc.sh: New.
2331
08131015
NC
23322001-08-27 Nick Clifton <nickc@cambridge.redhat.com>
2333
2334 * ldmain.c (main): Declare BSIZE as static.
2335
db6751f2
JJ
23362001-08-23 Jakub Jelinek <jakub@redhat.com>
2337
2338 * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
2339 into .rel.dyn resp. .rela.dyn if combreloc.
2340 (get_script): If .x linker script is equal to .xn, only put it
2341 once into the binary.
2342 Add .xc and .xsc scripts.
2343 (parse_args): Handle -z combreloc and -z nocombreloc.
2344 * scripttempl/elf.sc (.rela.sbss): Fix a typo.
2345 For .xc and .xsc scripts put all .rel* or .rela* input sections
2346 but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
2347 * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
2348 is elf.
2349 Strip trailing whitespace from script.
2350 Generate .xc and .xsc scripts if requested.
2351 * ldmain.c (main): Initialize link_info.combreloc and
2352 link_info.spare_dynamic_tags.
2353 * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
2354 (ld_options): Add --spare-dynamic-tags option.
2355 (parse_args): Likewise.
2356 * ld.texinfo: Document -z combreloc and -z nocombreloc.
2357 * ldint.texinfo: Document .xc and .xsc linker scripts.
2358 * NEWS: Add notes about -z combreloc and SHF_MERGE.
2359
63d069c0
L
23602001-08-22 H.J. Lu <hjl@gnu.org>
2361
2362 * emulparams/elf32fr30.sh: Add a newline.
2363
948f9114
AJ
23642001-08-21 Andreas Jaeger <aj@suse.de>
2365
2366 * deffilep.y: Add missing prototypes.
2367 * pe-dll.c: Likewise.
2368
ae7fb08f
AM
23692001-08-20 Alan Modra <amodra@bigpond.net.au>
2370
2af02257
AM
2371 * ldlang.c (insert_pad): Fix typos in last patch.
2372
2373 * ldlang.c: When traversing lang_statement_union_type lists,
2374 consistently use "header.next" rather than "next".
2375 * mpw-eppcmac.c: Likewise.
2376 * emultempl/beos.em: Likewise.
2377 * emultempl/hppaelf.em: Likewise.
2378 * emultempl/pe.em: Likewise.
2379 * ldlang.h (union lang_statement_union): Remove "next" field.
2380
c0c330a7
AM
2381 * ldlang.c (insert_pad): Use offsetof macro.
2382 (lang_size_sections): Always neuter padding statements.
2383 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
2384
ae7fb08f
AM
2385 * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
2386 passed to lang_size_sections.
2387 (pe_exe_fill_sections): Likewise.
2388 * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
2389 (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
2390
fab80407
AM
23912001-08-18 Alan Modra <amodra@bigpond.net.au>
2392
2393 * emultempl/aix.em: Formatting fixes.
2394
b3327aad
AM
23952001-08-18 Alan Modra <amodra@bigpond.net.au>
2396
2397 * ldlang.c (insert_pad): Make use of an existing pad statement if
2398 available. Move code calculating alignment, adjusting section
2399 alignment power, and adjusting dot to ..
2400 (size_input_section): .. here. Remove unused relax param.
2401 (lang_size_sections): Change boolean `relax' param to boolean *.
2402 Adjust call to size_input_section. Make use of insert_pad to
2403 place pad after the assignment statement. If relaxing, zap
2404 padding statements.
2405 (reset_memory_regions): Reset output_bfd section sizes too.
2406 (relax_again): Move to..
2407 (lang_process): ..here. Adjust call to lang_size_sections, and
2408 remove duplicated code.
2409 * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
2410
563e308f
AM
24112001-08-17 Alan Modra <amodra@bigpond.net.au>
2412
2413 * ld.texinfo: Document that fill values now use the four least
2414 significant bytes.
2415 * emulparams/elf32fr30.sh (NOP): Update.
2416 * emulparams/elf32mcore.sh: Likewise.
2417 * emulparams/elf64_s390.sh: Likewise.
2418 * emulparams/elf_i386.sh: Likewise.
2419 * emulparams/elf_i386_be.sh: Likewise.
2420 * emulparams/elf_i386_chaos.sh: Likewise.
2421 * emulparams/elf_i386_ldso.sh: Likewise.
2422 * emulparams/elf_s390.sh: Likewise.
2423 * emulparams/elf_x86_64.sh: Likewise.
2424 * emulparams/i386moss.sh: Likewise.
2425 * emulparams/i386nw.sh: Likewise.
2426 * emulparams/m68kelf.sh: Likewise.
2427 * scripttempl/elf.sc: Update NOP comment.
2428 * scripttempl/elfi370.sc: Likewise.
2429 * scripttempl/elfm68hc11.sc: Likewise.
2430 * scripttempl/elfm68hc12.sc: Likewise.
2431 * scripttempl/nw.sc: Likewise.
2432
b90e1c6f
TR
24332001-08-15 Tom Rix <trix@redhat.com>
2434
2435 * ldgram.y (saved_script_handle): Initialize to NULL.
2436 * ldmain.c (main): Change check on saved_script_handle.
948f9114 2437
39dcfe18
AM
24382001-08-14 Alan Modra <amodra@bigpond.net.au>
2439
cde43e70
AM
2440 * emultempl/elf32.em: Formatting fixes.
2441 (output_prev_sec_find): Test for bfd_ind_section too; do so by
2442 looking at sec->owner.
2443 (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
2444 (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove
2445 unused code, and reorganize orphan section placement code.
2446
39dcfe18
AM
2447 * ldlang.c (wild_doit): Rename to lang_add_section.
2448 * ldlang.h: Here too.
2449 * mpw-elfmips.c: And here.
2450 * emultempl/beos.em: And here.
2451 * emultempl/elf32.em: And here.
2452 * emultempl/hppaelf.em: And here.
2453 * emultempl/pe.em: And here.
2454
908d20b3
RH
24552001-08-13 Richard Henderson <rth@redhat.com>
2456
2457 * emultempl/needrelax.em: New file.
2458 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
2459 * Makefile.am (eelf64_ia64.c): Depend on it.
2460 * Makefile.in: Rebuild.
2461
0f33d40b
AM
24622001-08-13 Alan Modra <amodra@bigpond.net.au>
2463
22af9fd3
AM
2464 * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
2465 output_section is set non-NULL.
2466
0f33d40b
AM
2467 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
2468 `true' for SEC_EXCLUDE sections so that the generic code doesn't
2469 needlessly create an output_section_statement. Treat a correctly
2470 named output_section_statement with NULL bfd_section as compatible.
2471
55ab6103
HPN
24722001-08-13 Hans-Peter Nilsson <hp@bitrange.com>
2473
2474 * emultempl/generic.em: Support EXTRA_EM_FILE.
2475 (ld_${EMULATION_NAME}_emulation): Support emulation parameters
2476 LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
2477 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
2478 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
2479 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
2480 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
2481 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
2482 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
2483 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
2484 LDEMUL_FIND_POTENTIAL_LIBRARIES.
2485
24098abb
RH
24862001-08-12 Richard Henderson <rth@redhat.com>
2487
2488 * scripttempl/elf.sc, scripttempl/elfd30v.sc,
2489 scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
2490 scripttempl/v850.sc: Keep .jcr data.
2491
b9a8de1e 24922001-08-12 H.J. Lu <hjl@gnu.org>
146e7110
AM
2493 Andrew Haley <aph@cambridge.redhat.com>
2494 Nick Clifton <nickc@redhat.com>
b9a8de1e 2495
146e7110 2496 * ldgram.y (had_script): Change name to saved_script_handle.
b9a8de1e
NC
2497 Change type to file handle.
2498 * ld.h (had_script): Rename and retype.
2499 * ldfile.c (ldfile_open_command_file): Save the file handle
2500 used in saved_script_handle.
2501 * lexsup.c (parse_args): Do not allow -c option to alter
2502 saved_script_handle.
2503 * ldmain.c (main): Print out the linker script used if
2504 --verbose is given. Check saved_script_handle to obtain the
2505 external linker script used, or if NULL, dump the builtin
2506 script.
2507 * ld.texinfo: Document that --verbose now dumps the linker
2508 script used, regardless of whether it was an internal or an
2509 external script.
2510
0218d1e4
AJ
25112001-08-10 Andreas Jaeger <aj@suse.de>
2512
2513 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2514 to build warnings.
2515 * configure: Regenerate.
2516
5253f23b
AM
25172001-08-09 Alan Modra <amodra@bigpond.net.au>
2518
73810896
AM
2519 * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
2520
5253f23b
AM
2521 * scripttempl/elf.sc: Move non-text .dynamic section before
2522 .plt/.got/.sdata* group.
2523 (OTHER_GOT_SECTIONS): Move to immediately after .got.
2524 (OTHER_SDATA_SECTIONS): Add.
2525 * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
2526 OTHER_GOT_SECTIONS.
2527 * emulparams/crislinux.sh: Likewise.
2528 * emulparams/elf32b4300.sh: Likewise.
2529 * emulparams/elf32bmip.sh: Likewise.
2530 * emulparams/elf32bmipn32.sh: Likewise.
2531 * emulparams/elf32bsmip.sh: Likewise.
2532 * emulparams/elf32btsmip.sh: Likewise.
2533 * emulparams/elf32ebmip.sh: Likewise.
2534 * emulparams/elf32elmip.sh: Likewise.
2535 * emulparams/elf32l4300.sh: Likewise.
2536 * emulparams/elf32lmip.sh: Likewise.
2537 * emulparams/elf32lsmip.sh: Likewise.
2538 * emulparams/elf32ltsmip.sh: Likewise.
2539 * emulparams/elf64bmip.sh: Likewise.
2540 * emulparams/elf64btsmip.sh: Likewise.
2541 * emulparams/elf64ltsmip.sh: Likewise.
2542
179c732c
AM
25432001-08-08 Alan Modra <amodra@bigpond.net.au>
2544
2545 * genscripts.sh: Source the emulparams script before each output
2546 script is generated so that variables like `RELOCATING' may affect
2547 variables defined in the emulparams script.
2548
3fd36710
AM
25492001-08-04 Alan Modra <amodra@bigpond.net.au>
2550
20713691
AM
2551 * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
2552 order.
2553
3fd36710
AM
2554 * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
2555 ie. iterate over wild_statement.section_list.
2556 (gld${EMULATION_NAME}_place_orphan): Likewise.
2557
de0b1853
SC
25582001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2559
2560 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
2561 .fini[0-4] sections used by _exit
2562 (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
2563 (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
2564 * scripttempl/elfm68hc11.sc: Likewise.
2565
ff7e6f88
L
25662001-08-03 H.J. Lu <hjl@gnu.org>
2567
2568 * emultempl/beos.em (init): Add the missing initialization.
2569
b6bf44ba
AM
25702001-08-03 Alan Modra <amodra@bigpond.net.au>
2571
2572 * ld.texinfo (Input Section Basics): Clarify ordering of output
2573 sections.
2574 * ldlang.c (callback_t): Add wildcard_list param.
2575 (walk_wild_section): Remove "section" param. Rewrite for
2576 lang_wild_statement_type change. Remove unique_section_p test.
2577 (walk_wild_file): Remove "section" param.
2578 (walk_wild): Remove "section" and "file" params.
2579 (lang_gc_wild): Likewise.
2580 (wild): Likewise. Modify for lang_wild_statement_type change.
2581 (wild_sort): Likewise. Add "sec" param.
2582 (gc_section_callback): Likewise.
2583 (output_section_callback): Likewise. Do unique_section_p test.
2584 (map_input_to_output_sections): Modify call to wild.
2585 (lang_gc_sections_1): Likewise.
2586 (print_wild_statement): Modify for lang_wild_statement_type
2587 change.
2588 (lang_add_wild): Replace filename, filenames_sorted param with
2589 filespec. Replace section_name, sections_sorted,
2590 exclude_filename_list with section_list.
2591 * ldlang.h (lang_add_wild): Here too.
2592 (lang_wild_statement_type): Replace section_name, sections_sorted,
2593 and exclude_filename_list with section_list.
2594 * ldgram.y (current_file): Delete.
2595 (%union): Add wildcard_list.
2596 (file_NAME_list): Set type to wildcard_list. Build a linked list
2597 rather than calling lang_add_wild for each entry.
2598 (input_section_spec_no_keep): Call lang_add_wild here instead.
2599 * ld.h (struct wildcard_list): Declare.
2600 * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
2601
b044cda1
CW
26022001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
2603
2604 * ldmain.c (main): initialize link_info.pei386_auto_import
2605 * pe-dll.c: new tables for auto-export filtering
2606 (auto_export): change API, pass abfd for contextual filtering.
b6bf44ba 2607 Loop thru tables of excluded symbols instead of comparing
b044cda1
CW
2608 "by hand".
2609
26102001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>
2611
b6bf44ba
AM
2612 * pe-dll.c: new variable pe_dll_enable_extra_debug. New
2613 static variable current_sec (static struct sec *). Add
b044cda1 2614 forward declaration for add_bfd_to_link.
b6bf44ba
AM
2615 (process_def_file): Don't export undefined symbols. Do not
2616 export symbols starting with "_imp__". Call auto_export()
b044cda1
CW
2617 with new API.
2618 (pe_walk_relocs_of_symbol): New function.
2619 (generate_reloc): add optional extra debugging
b6bf44ba 2620 (pe_dll_generate_def_file): eliminate extraneous initial blank
b044cda1 2621 line in output
b6bf44ba 2622 (make_one): enlarge symtab to make room for __nm__ symbols
b044cda1
CW
2623 (DATA auto-import support).
2624 (make_singleton_name_thunk): New function.
2625 (make_import_fixup_mark): New function.
2626 (make_import_fixup_entry): New function.
2627 (pe_create_import_fixup): New function.
b6bf44ba 2628 (add_bfd_to_link): Specify that 'name' argument is a CONST
b044cda1 2629 char *.
b6bf44ba
AM
2630 * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
2631 declare new functions pe_walk_relocs_of_symbol and
b044cda1
CW
2632 pe_create_import_fixup.
2633 * emultempl/pe.em: add new options --enable-auto-import,
2634 --disable-auto-import, and --enable-extra-pe-debug.
2635 (make_import_fixup): New function.
2636 (pe_find_data_imports): New function.
2637 (pr_sym): New function.
b6bf44ba 2638 (gld_${EMULATION_NAME}_after_open): Add optional extra pe
b044cda1
CW
2639 debugging. Call pe_find_data_imports. Mark .idata as DATA, not
2640 CODE.
2641
26422001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
b6bf44ba 2643
b044cda1
CW
2644 * ld.texinfo: add additional documentation for
2645 --export-all-symbols. Document --out-implib,
2646 --enable-auto-image-base, --disable-auto-image-base,
b6bf44ba
AM
2647 --dll-search-prefix, --enable-auto-import, and
2648 --disable-auto-import.
b044cda1
CW
2649 * ldint.texinfo: Add detailed documentation on auto-import
2650 implementation.
2651
156e34dd
NC
26522001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2653
2654 * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
2655 example.
2656
d6231427
AM
26572001-07-24 Alan Modra <amodra@bigpond.net.au>
2658
2659 * Makefile.am: Update dependencies with "make dep-am".
2660 * Makefile.in: Regenerate
2661
e14ec88b
AM
26622001-07-23 Alan Modra <amodra@bigpond.net.au>
2663
2664 * ldcref.c (check_section_sym_xref): New function.
2665 (check_nocrossrefs): Call it.
2666 (check_nocrossref): Interate over h->refs here instead of..
2667 (check_refs): ..here. Pass in the symbol name, section, and bfd
2668 rather than hash_entry pointers.
2669 (struct check_refs_info): Keep symbol name rather than hash entry.
2670 Remove "same".
2671 (check_reloc_refs): Tweak for above changes in check_refs_info.
2672 Only report references to section syms when symname is NULL to
2673 prevent duplicate messages for the same reloc.
2674
1b577b00
NC
26752001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2676
c7d701b0
NC
2677 * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
2678 available. Do not print NULL trees.
2679 (exp_print_token): Print unknown tokens with values > 126 as
2680 decimal values not ASCII characters.
2681
1545243b
NC
2682 * ldlang.c (lang_leave_overlay): If a region is specified assign
2683 it to all sections inside the overlay unless they have been
2684 assigned to the own, non-default, memory region.
2685
1b577b00
NC
2686 * README: Add header for consistency with other README files.
2687
5030876b
L
26882001-07-14 H.J. Lu <hjl@gnu.org>
2689
2690 * emultempl/elf32.em (output_prev_sec_find): Never return
2691 bfd_abs_section_ptr, bfd_com_section_ptr nor
2692 bfd_und_section_ptr.
2693
18c7a9a5
NC
26942001-07-14 Nick Clifton <nickc@cambridge.redhat.com>
2695
22af9fd3 2696 * Makefile.am (em32relf.c): Change dependency from generic.em to
18c7a9a5
NC
2697 elf32.em.
2698 * Makefile.in: Regenerate.
2699
9ffecff1
MG
27002001-07-14 matthew green <mrg@eterna.com.au>
2701
2702 * configure.tgt (i386-*-netbsdelf*): New target.
2703 (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
2704
95500e1c
JJ
27052001-07-13 Jakub Jelinek <jakub@redhat.com>
2706
2707 * emultempl/elf32.em (output_prev_sec_find): New.
2708 (place_orphan): Use it.
2709
e97cb84f
L
27102001-07-11 H.J. Lu <hjl@gnu.org>
2711
2712 * ldmain.c (main): Fix typos in the last change.
2713
7333607e
JJ
27142001-07-11 Jakub Jelinek <jakub@redhat.com>
2715
2716 * ldmain.c (main): Disallow -F and -f without -shared.
2717
d29d80f2
NC
27182001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
2719
2720 * emultempl/pe.em (after_open): Check for the output_bfd not
2721 having any coff_data structure allocated to it.
2722
c2a1a436
DB
27232001-07-09 David O'Brien <obrien@FreeBSD.org>
2724
2725 * emultempl/elf32.em: Do not assuming that contents of the buffer
2726 returned from basename function will remain unchanged accross other
2727 function calls.
2728
63653551
L
27292001-07-03 H.J. Lu <hjl@gnu.org>
2730
2731 * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
2732 2001-07-03. It creates dynamic entries even for static binaries.
2733
d303a449
L
27342001-07-03 Jakub Jelinek <jakub@redhat.com>
2735
2736 * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
2737 (DYNAMIC): Use it to reserve few dynamic entries for
2738 post-linking tools.
2739
9f22353f
AM
27402001-06-27 Alan Modra <amodra@bigpond.net.au>
2741
2742 * emulparams/hppa64linux.sh: New file.
2743 * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
2744 * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
2745 (ehppa64linux.c): Add rule to make it.
2746 Run "make dep-am".
2747 * Makefile.in: Regenerate.
2748
62bf86b4
HPN
27492001-06-21 Hans-Peter Nilsson <hp@axis.com>
2750
2751 * ld.texinfo (Options, -r): Mention restrictions when using
2752 different object formats.
2753
429d935d
HPN
27542001-06-19 Hans-Peter Nilsson <hp@axis.com>
2755
2756 * ldlang.c (lang_check): Emit fatal error if relocatable link
2757 between different object flavours with relocations in input.
2758
cb840a31
L
27592001-06-19 H.J. Lu <hjl@gnu.org>
2760
2761 * ld.texinfo (-E, --export-dynamic): Mention --version-script.
2762 (--version-script): Mention the language support.
2763
9bf03acc
L
27642001-06-19 H.J. Lu <hjl@gnu.org>
2765
2766 * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
2767
c45021f2
NC
27682001-06-18 H.J. Lu <hjl@gnu.org>
2769
b6bf44ba
AM
2770 * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
2771 (diststuff): Add $(MANS).
2772 * Makefile.in: Regenerated.
c45021f2 2773
b6bf44ba 2774 * ld.1: Removed.
c45021f2 2775
6caa99ab
HPN
27762001-06-18 Hans-Peter Nilsson <hp@axis.com>
2777
605d9b3a
HPN
2778 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
2779 Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
2780 * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
2781 * ld.h (args_type): Remove member export_dynamic. All users
2782 changed to use struct bfd_link_info member.
2783
6caa99ab
HPN
2784 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
2785 $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
2786 * Makefile.in: Regenerate.
2787
6f9efd97
L
27882001-06-18 H.J. Lu <hjl@gnu.org>
2789
2790 * ldlang.c (init_os): Add the newline to the einfo call.
2791 (lang_check): Likewise.
2792 (lang_do_version_exports_section): Likewise.
2793
5af9fd8b
L
27942001-06-15 H.J. Lu <hjl@gnu.org>
2795
2796 * lexsup.c (parse_args); Save optind to report unrecognized
2797 option.
2798
2a096f04
HPN
27992001-06-15 Hans-Peter Nilsson <hp@axis.com>
2800
7e66c3f5
HPN
2801 * ldlang.c (lang_check): Emit fatal error if relocatable link
2802 between different object flavours.
2803
2a096f04
HPN
2804 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
2805 Set new link_info member export_dynamic.
2806 * ldmain.c (main): Initialize new link_info member export_dynamic.
2807
6770ec8c
NC
28082001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
2809
2810 * ldlang.c (walk_wild): Only call walk_wild_file if
2811 lookup_name returns something.
b6bf44ba 2812 (lookup_name): If load_symbols fails, return NULL.
22af9fd3 2813 (load_symbols): Change to a boolean function.
b6bf44ba 2814 (open_input_bfds): If load_symbols fails then do not make the
6770ec8c
NC
2815 executable.
2816
8529105a
AM
28172001-06-08 Alan Modra <amodra@bigpond.net.au>
2818
2819 * ldlang.c (record_bfd_errors): Remove.
2820
2821 * emultempl/aix.em: Fix copyright dates.
2822
8f3aa7a0
AJ
28232001-06-07 Andreas Jaeger <aj@suse.de>
2824
2825 * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
2826 (TEXT_START_ADDR): Likewise.
2827
3277f888
AM
28282001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
2829
2830 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
2831
3763134d
DD
28322001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2833
2834 * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
2835
5929ebc0
L
28362001-05-31 H.J. Lu <hjl@gnu.org>
2837
2838 * ldlang.c (open_input_bfds): Don't change the bfd error
2839 handler whilst loading symbols.
2840
c04a062d
NC
28412001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2842
2843 * configure.tgt: Remove i370-mvs architecture, it is not currently
2844 supported.
2845
96fcab3e
L
28462001-05-25 H.J. Lu <hjl@gnu.org>
2847
2848 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
2849 like emulparams/aixppc.sh.
2850
db8d4f23
L
28512001-05-25 H.J. Lu <hjl@gnu.org>
2852
2853 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
2854 setting of output_filename after bfd_scan_arch.
2855 * emultempl/pe.em: Likewise.
2856
5f642101
L
28572001-05-25 H.J. Lu <hjl@gnu.org>
2858
2859 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
2860 like emulparams/aixppc.sh.
2861
2862 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
2863 instead of ${srcdir}/emultempl/stringify.sed.
2864
64e9ece0
TW
28652001-05-25 Timothy Wall <twall@oculustech.com>
2866
2867 * emulparams/elf64_aix.sh: Change settings to match IBM linker
8f3aa7a0 2868 output.
64e9ece0 2869
c709b096
AM
28702001-05-25 Alan Modra <amodra@one.net.au>
2871
2872 * configure.host: Replace linuxoldld with linux*oldld.
2873 * configure.tgt: Likewise.
2874
6cbdcc6f
L
28752001-05-24 H.J. Lu <hjl@gnu.org>
2876
2877 * emultempl/stringify.sed: Removed again.
2878
86af25fe
L
28792001-05-24 H.J. Lu <hjl@gnu.org>
2880
2881 * emultempl/aix.em (OUTPUT_ARCH): Defined.
2882 (gld${EMULATION_NAME}_before_parse): Initialize
2883 ldfile_output_architecture, ldfile_output_machine and
2884 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
2885 * emultempl/beos.em: Likewise.
2886 * emultempl/elf32.em: Likewise.
2887 * emultempl/linux.em: Likewise.
2888 * emultempl/mipsecoff.em: Likewise.
2889 * emultempl/pe.em: Likewise.
2890 * emultempl/sunos.em: Likewise.
2891
3b1b01cf
TR
28922001-05-24 Tom Rix <trix@redhat.com>
2893
8f3aa7a0 2894 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
3b1b01cf
TR
2895 udate import file format.
2896 (change_symbol_mode) New, same
2897 (is_syscall) New, same
2898 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
2899 * emulparams/aixppc64.sh : same
2900 * emulparams/aixrs6.sh : same
2901 * emulparams/ppcmacos.sh : same
2902 * emultempl/aix.em : use strtoull to parse options
2903 * Makefile.am : add eaixppc64 emulation for xcoff64
2904 * Makefile.in : same
2905 * configure.tgt : same
2906
2907 * scripttempl/aix.sc : default text section offset to 0x10000000
146e7110 2908 default data section offset to 0x20000000
3b1b01cf 2909 add .sv3264 and .sv64 pseudo sections
8f3aa7a0 2910 loader and debug sections use the currect section offset.
3b1b01cf
TR
2911
2912 * emultempl/aix.em : Add xcoff64 support
2913 Add -binitfini support
8f3aa7a0 2914 (gld${EMULATION_NAME}_before_parse) -binitfini
3b1b01cf 2915 (gld${EMULATION_NAME}_parse_args) same
8f3aa7a0 2916 (gld${EMULATION_NAME}_before_allocation) format change for special
3b1b01cf
TR
2917 sections
2918
2919 * emulparams/aixppc64.sh : New file for xcoff64 support
8f3aa7a0 2920
57e6abd2
AO
29212001-05-23 Alexandre Oliva <aoliva@redhat.com>
2922
2923 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
2924 variable to avoid non-portable shell construct.
2925
d1cf510e
NC
29262001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2927
2928 * ldmain.c (get_emulation): Add -mips5 command line argument.
2929
506eee22
NC
29302001-05-22 Alexandre Oliva <aoliva@redhat.com>
2931
2932 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
2933 (ELF_INTERPRETER_NAME): Define it.
2934 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
2935 it.
2936 * configure.tgt (targ_emul, targ_extra_emuls)
2937 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
2938 as primary, elf_i386 as extra.
2939 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
2940 (eelf_i386_ldso.c): New rule.
2941 * Makefile.in: Rebuilt.
2942
29432001-05-22 Nick Clifton <nickc@redhat.com>
2944
2945 * lexsup.c (ld_options): Allow -I to be an alias for
2946 --dynamic-linker. This is for Solaris compatability.
2947 * ld.texinfo: Document that -I can be used.
2948 * ld.1: Regenerate.
2949
d1778b88
AM
29502001-05-16 Alan Modra <amodra@one.net.au>
2951
2952 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
2953 whether an input section is the first one assigned to an output
2954 section.
2955 Assorted formatting fixes.
2956
02649152
DD
29572001-05-14 DJ Delorie <dj@delorie.com>
2958
2959 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
2960 * Makefile.in: Ditto.
2961
579f31ac
JJ
29622001-05-11 Jakub Jelinek <jakub@redhat.com>
2963
2964 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
2965 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
2966 output sections.
2967 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
2968
8550eb6e
JJ
29692001-05-11 Jakub Jelinek <jakub@redhat.com>
2970
2971 * ldlang.c (lang_process): Call bfd_merge_sections.
2972
8e5a525c
AM
29732001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2974
2975 * ldgram.y: Fix typo.
2976
1c9acd94
L
29772001-05-03 H.J. Lu <hjl@gnu.org>
2978
2979 * emultempl/elf32.em: Include "libiberty.h".
2980 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
2981 basename of the bfd filename.
2982 (gld${EMULATION_NAME}_stat_needed): Likewise.
2983 (gld${EMULATION_NAME}_try_needed): Likewise.
2984 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
2985
14fe918e
L
29862001-05-02 H.J. Lu <hjl@gnu.org>
2987
2988 * emultempl/pe.em: Include <ctype.h>.
2989
c7e40348
NC
29902001-05-02 Johan Rydberg <jrydberg@opencores.org>
2991
b6bf44ba 2992 * emulparams/elf32openrisc.sh: New file.
c7e40348 2993
b6bf44ba
AM
2994 * Makefile.am: Add OpenRISC target.
2995 * Makefile.in: Regenerated.
c7e40348 2996
b6bf44ba 2997 * configure.tgt: Add openrisc-*-* mapping.
c7e40348
NC
2998
29992001-05-02 Nick Clifton <nickc@redhat.com>
3000
3001 * emultempl/aix.em: Replace buystring with xstrdup.
3002 * emultempl/beos.em: Replace buystring with xstrdup.
8f3aa7a0 3003
d1b2b2dc
L
30042001-05-02 H.J. Lu <hjl@gnu.org>
3005
3006 * ldfile.c: Include "libiberty.h".
3007 * ldlex.l: Likewise.
3008
3009 * ldmisc.c (buystring): Removed.
3010 * ldmisc.h: Likewise.
3011
3012 * ldfile.c: Replace buystring with xstrdup.
3013 * ldlang.c: Likewise.
3014 * ldlex.l: Likewise.
3015 * ldmain.c: Likewise.
3016 * ldmisc.c: Likewise.
3017 * lexsup.c: Likewise.
3018 * mpw-eppcmac.c: Likewise.
3019
35714f2a
AJ
30202001-04-30 Andreas Jaeger <aj@suse.de>
3021
3022 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
3023
884fb58e
NC
30242001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
3025
b6bf44ba
AM
3026 * ldlang.c (load_symbols): Give emulation a chance
3027 to process unrecognized file before fatal error is
3028 reported, not after.
884fb58e 3029
87748b32
NC
30302001-04-27 Sean McNeil <sean@mcneil.com>
3031
3032 * configure.tgt: Add arm-vxworks target.
3033 * scripttempl/armcoff.sc: Support .text or .data as a section name
3034 prefix.
3035 Define _etext.
35714f2a 3036
7ce691ae
C
30372001-04-13 J.T. Conklin <jtc@redback.com>
3038
3039 * ld.texinfo: Document --fatal-warnings.
3040 * ld.1: Regenerate.
3041
3042 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
35714f2a 3043 warnings have been turned into errors.
7ce691ae
C
3044 * lexsup.c (OPTION_WARN_FATAL): Define.
3045 (ld_options): Entry for --fatal-warnings.
3046 (parse_args): Handle OPTION_WARN_FATAL.
3047 * ld.h (ld_config_type): Add fatal_warnings field.
3048
f5fa8ca2
JJ
30492001-04-13 Jakub Jelinek <jakub@redhat.com>
3050
3051 * ldmain.c (main): Default to discard_sec_merge.
3052 * lexsup.c (OPTION_DISCARD_NONE): Define.
3053 (ld_options): Add --discard-none.
3054 (parse_args): Handle OPTION_DISCARD_NONE.
3055 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
3056 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
3057 all its input sections match.
3058
fdec3cfc
L
30592001-04-05 Steven J. Hill <sjhill@cotw.com>
3060
3061 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
3062 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
3063 (eelf32ltsmip.c): New target.
3064 (eelf64btsmip.c): Likewise.
3065 (eelf64ltsmip.c): Likewise.
3066 * Makefile.in: Regenerated.
3067
3068 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
3069 target.
3070 (mips*-*-linux-gnu*): Likewise.
3071
3072 * emulparams/elf32ltsmip.sh: New. Traditional little endian
3073 MIPS taget.
35714f2a 3074 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
fdec3cfc
L
3075 target.
3076 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
3077 endian target.
3078
589bad82
HPN
30792001-04-05 Hans-Peter Nilsson <hp@axis.com>
3080
3081 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
3082 correct value of __Stext here.
3083 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
3084 .startup section.
3085
3086 * emulparams/crislinux.sh: Remove FIXME.
3087
94202e16
AM
30882001-04-02 Alan Modra <alan@linuxcare.com.au>
3089
3090 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
3091 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
3092
1268a053
HPN
30932001-03-27 Hans-Peter Nilsson <hp@axis.com>
3094
3095 * configure.tgt (cris-*-*): Change default emulation to criself.
3096 (cris-*-*aout*): New rule.
3097
d85e9ff7
AM
30982001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com>
3099
3100 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
3101 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
3102
0879a67a
AJ
31032001-03-26 Andreas Jaeger <aj@suse.de>
3104
3105 * ld.texinfo (Overview): Fix syntax in texi code.
3106
0285c67d
NC
31072001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3108
3109 * ld.texinfo: Put @c man indications to generate the ld man page.
3110 When generating man, define all the variables. Define SEEALSO
3111 and SYNOPSIS. Re-organize some lines to avoid the cross references.
3112 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
3113 (ld.1): Generate from ld.texinfo.
3114 * Makefile.in: Regenerate.
3115
c20ec07b
NC
31162001-03-23 Mark Elbrecht <snowball3@bigfoot.com>
3117
3118 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
146e7110 3119 and '-fdata-sections'. Set the VMA of STABS sections to zero.
c20ec07b 3120
cc5ce052
UD
31212001-03-17 Ulrich Drepper <drepper@redhat.com>
3122
3123 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
3124 is an absolute path look only for this file and not along the path.
3125
a1ab1d2a
UD
31262001-03-17 Ulrich Drepper <drepper@redhat.com>
3127
3128 * emultempl/elf32.em (OPTION_GROUP): New macro.
3129 Add new option Bgroup to longopts.
3130 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
3131 (gld*_list_options): Add -Bgroup and -z defs.
3132 * ld.1: Document -Bgroup and -z defs.
3133 * ld.texinfo: Likewise.
3134
788fca5a
MM
31352001-03-07 Michael Meissner <meissner@redhat.com>
3136
3137 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
3138 with sections created by -fdata-sections.
3139 (.dynbss,.bss): Ditto.
3140
1c7566d1
AM
31412001-03-05 Alan Modra <alan@linuxcare.com.au>
3142
3143 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
3144 after_allocation_default, not gld..._before_allocation.
3145
27b7e12d
AM
31462001-02-27 Alan Modra <alan@linuxcare.com.au>
3147
3148 * configure.in (BFD_VERSION): New.
3149 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
3150 * configure: Regenerate.
3151 * Makefile.am: Run "make dep-am"
3152 * Makefile.in: Regenerate.
3153
2bc551c7
TW
31542001-02-26 Timothy Wall <twall@cygnus.com>
3155
3156 * emulparams/elf64_aix.sh: Add additional read-only sections;
3157 uncomment lines which are now required.
3158
1276aefa
NC
31592001-02-26 H.J. Lu <hjl@gnu.org>
3160
3161 * ldlang.c (open_input_bfds): Set the bfd error handler so
b6bf44ba
AM
3162 that problems can be caught whilst loading symbols.
3163 (record_bfd_errors): New function: Report BFD errors and mark
3164 the executable output as being invalid.
1276aefa 3165
41c49998
TW
31662001-02-22 Timothy Wall <twall@cygnus.com>
3167
3168 * configure.host: Add configuration for ia64-*-aix*.
3169 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
3170 Add dependencies for eelf64_aix.c.
3171 * Makefile.in: Regenerate.
3172 * configure.tgt: Add ia64-*-aix* mapping.
3173 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
a2b64bed 3174 * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
0879a67a
AJ
3175 AIX-specific test.
3176
78f85fd7
L
31772001-02-20 H.J. Lu <hjl@gnu.org>
3178
3179 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
3180 false if we found the file.
3181
1ac7e077 31822001-02-18 David O'Brien <obrien@FreeBSD.org>
fb33b906
DB
3183
3184 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
3185 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
3186
e135f41b
NC
31872001-02-18 lars brinkhoff <lars@nocrew.org>
3188
3189 * Makefile.am: Add PDP-11 target.
3190 * configure.tgt: Likewise.
3191 * emulparams/pdp11.sh: New file.
3192
a842aceb
DB
31932001-02-17 David O'Brien <obrien@FreeBSD.org>
3194
3195 * configure.host: Add a generic FreeBSD configuration entry such that
3196 all [modern] FreeBSD systems on all platforms will look the same.
3197
24174db0
L
31982001-02-14 H.J. Lu <hjl@gnu.org>
3199
3200 * configure.tgt: Remove mention of earmelf_linux26.
3201
30c3c13a
RH
32022001-02-13 Richard Henderson <rth@redhat.com>
3203
3204 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
3205
b46a87b1
L
32062001-02-13 H.J. Lu <hjl@gnu.org>
3207
3208 * ldexp.h (node_type): Add etree_provided.
3209 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
3210 type to etree_provided if defined by PROVIDE. Allow updating
0879a67a 3211 for etree_provided.
b46a87b1
L
3212 (exp_print_tree): Handle etree_provided.
3213 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
3214 etree_provided.
3215
f3988fd9
RH
32162001-02-09 David Mosberger <davidm@hpl.hp.com>
3217
3218 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
3219 .IA_64.unwind.* pattern to unwind table section and
3220 .IA_64.unwind_info* pattern to unwind info section.
3221
a85d7ed0
NC
32222001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
3223
3224 * Makefile.am: Add linux target for S/390.
3225 * Makefile.in: Likewise.
3226 * configure.host: Likewise.
3227 * configure.tgt: Likewise.
3228 * emulparams/elf64_s390.sh: New file.
3229 * emulparams/elf_s390.sh: New file.
3230
780248c4
JJ
32312001-02-09 Jakub Jelinek <jakub@redhat.com>
3232
3233 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
3234 targ_extra_libpath.
3235 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
3236
0e2534bd
PB
32372001-02-06 Philip Blundell <philb@gnu.org>
3238
3239 * Makefile.am: Remove mention of earmelf_linux26.
3240 * Makefile.in: Regenerate.
3241
46c1ea57
PB
32422001-02-04 Philip Blundell <philb@gnu.org>
3243
3244 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
3245 * emulparams/armelf_linux26.sh: Delete.
3246 * configure.tgt: Remove mention of armelf_linux26 emulation.
3247
0088edd2
NC
32482001-02-01 Nick Clifton <nickc@redhat.com>
3249
3250 * ld.1: Replace occurances of -oformat with --oformat.
3251
02aa14fb
AM
32522001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
3253
3254 * ldlang.c (lang_leave_overlay): Don't set lma_region when
3255 load_base is specified.
3256
f813923c
HPN
32572001-01-24 Hans-Peter Nilsson <hp@axis.com>
3258
3259 * emultempl/elf32.em: Correct spelling in comments and listed
3260 options.
3261
c1eb1488
AM
32622001-01-23 Alan Modra <alan@linuxcare.com.au>
3263
3264 * ldlang.c (lang_leave_overlay): Only set lma_region from the
3265 default for the first section of a group of overlay sections.
3266
d9fc3714
AM
32672001-01-22 Alan Modra <alan@linuxcare.com.au>
3268
3269 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
3270 * Makefile.in: Regenerate.
3271 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
3272 Check for null tool_dir.
3273
6be0ca94
JW
32742001-01-16 Jim Wilson <wilson@redhat.com>
3275
3276 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
3277 and IA_64.unwind.info.
3278
b9247304
L
32792001-01-16 H.J. Lu <hjl@gnu.org>
3280
3281 * ldlang.c (lang_check): Merge the private data only if the
3282 input file has contents.
3283
577a0623
AM
32842001-01-14 Alan Modra <alan@linuxcare.com.au>
3285
d952f17a
AM
3286 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
3287
ffd6e9de
AM
3288 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
3289 enabling search for libmilli. On a relocatable link, make .text
3290 sections unique.
3291 (LDEMUL_AFTER_PARSE): Define.
3292 (hppaelf_finish): Correct spelling of relocatable in comments.
3293
577a0623
AM
3294 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3295 rummage through the script for sections on the unique list.
3296 Correct length of strncmp for ".note".
3297 (gld${EMULATION_NAME}_check_needed): Rearrange function.
3298
3299 * ldlang.c (unique_section_list): New var.
3300 (unique_section_p): New function.
3301 (walk_wild_section): Don't match sections on unique_section_list.
3302 (lang_add_unique): New function.
ffd6e9de 3303 Correct spelling of relocatable in comments.
577a0623
AM
3304
3305 * ldlang.h (struct unique_sections): Declare.
3306 (unique_section_list): Declare.
3307 (unique_section_p): Declare.
3308 (lang_add_unique): Declare.
3309
3310 * lexsup.c (ld_options): Allow --unique to take an optional arg.
3311 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
3312
3313 * ld.texinfo (--unique): Update.
3314
b7ed8fad
NC
33152001-01-13 Nick Clifton <nickc@redhat.com>
3316
3317 * lexsup.c (parse_args): Remove spurious white space.
3318
d0398d6a
NC
33192001-01-12 Nick Clifton <nickc@redhat.com>
3320
3321 * lexsup.c (parse_args): Update copyright date.
3322
350fdb00
PB
33232001-01-12 Philip Blundell <pb@futuretv.com>
3324
3325 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
3326
60c6797e
KH
33272001-01-10 Kazu Hirata <kazu@hxi.com>
3328
3329 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
3330 * scripttempl/h8300h.sc: Fix formatting.
3331 * scripttempl/h8300s.sc: Likewise.
69f06969
KH
3332 * scripttempl/h8500.sc: Likewise.
3333 * scripttempl/h8500b.sc: Likewise.
3334 * scripttempl/h8500c.sc: Likewise.
3335 * scripttempl/h8500m.sc: Likewise.
3336 * scripttempl/h8500s.sc: Likewise.
60c6797e 3337
482e8b32
DB
33382000-01-07 David O'Brien <obrien@BSDi.com>
3339
3340 * emultempl/elf32.em: Only perform Linux ld hints processing when
3341 targeting Linux.
3342
d7ed7ca6
PB
33432001-01-07 Philip Blundell <philb@gnu.org>
3344
3345 * ld.texinfo (Bug Reporting): Update email address for reports.
3346
0fc3347a
NC
33472000-12-31 Nick Clifton <nickc@redhat.com>
3348
3349 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
3350 options by checking for a return value of '?' not -1.
3351
e4897a32
NC
33522000-12-28 Nick Clifton <nickc@redhat.com>
3353
3354 * lexsup.c (struct ld_option): Add new enum value:
3355 EXACTLY_TWO_DASHES.
3356 (ld_options[]): Change -omagic, -output and -oformat options
3357 to be EXACTLY_TWO_DASHES.
3358 (OUTPUT_COUNT): Use ARRAY_SIZE.
3359 (parse_args): Change parameter 'argc' to unsigned.
3360 Place EXACTLY_TWO_DASHES options into new really_longopts
3361 array.
3362 If getopt_long_only fails, try calling getopt_long using the
3363 really_longopts array.
3364 (help): Print a double dash for both EXACTLY_TWO_DASHES and
3365 TWO_DASHES options.
3366
3367 * ldlex.h: Fix prototype of parse_args.
3368
3369 * ld.texinfo: Document that long options starting with 'o'
3370 must be preceeded by two dashes. Change example of a single
3371 dashed long option from -oformat to -trace-symbol.
3372
1122a5fc
NC
33732000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3374
3375 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
3376 (longopts[]): New --no-default-excludes option.
3377 (gld_${EMULATION_NAME}_list_options): Document.
3378 (gld_${EMULATION_NAME}_parse_args): Handle.
3379
037849a9
NC
33802000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3381
3382 * ldlang.c (new_stat): Revert the last beautification with "innocent"
3383 whitespace, it breaks the K&R C preprocessor.
3384
7ec229ce
DD
33852000-12-11 DJ Delorie <dj@redhat.com>
3386
3387 * ld.texinfo: Add notes about --whole-archive and gcc.
3388
b79e8c78
NC
33892000-11-18 Fred Fish <fnf@be.com>
3390
3391 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
3392 (ld_options): Entry for --allow-shlib-undefined.
3393 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
3394 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
3395 to false.
3396 * ld.texinfo: Document new command line switch.
d952f17a 3397
9a8e2505
GK
33982000-12-12 Geoffrey Keating <geoffk@redhat.com>
3399
3400 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
3401 .fixup is actually read/write.
3402 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
3403 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
3404 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
3405
3b16e843 34062000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
3407
3408 * NEWS: Add note about x86_64 architecture.
3409
93b63cd3
DD
34102000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
3411
3412 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
3413 Set DWARF2 sections to a VMA of zero.
3414
68b2fc7a 34152000-12-01 Joel Sherrill <joel@OARcorp.com>
24f6971a 3416
d952f17a 3417 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
24f6971a
NC
3418 New targets.
3419 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
3420 (sparc*-*-rtems*): Switched from a.out to ELF.
3421
2be3aa03
NC
34222000-11-30 Jan Hubicka <jh@suse.cz>
3423
3424 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
3425 (eelf_x86_64.c): New.
3426 * Makefile.in: Regenerate.
3427 * configure.tgt: Add support for x86_64-*-linux-gnu*.
3428 * emulparams/elf_x86_64.sh: New.
3429
8c899858
HPN
34302000-11-30 Hans-Peter Nilsson <hp@axis.com>
3431
3432 * emulparams/crislinux.sh (ENTRY): Change back to _start.
3433 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
3434
3435 * scripttempl/crisaout.sc: Change all RELOCATING not related to
3436 merging non-a.out sections into CONSTRUCTING.
3437
e47b9e39
NC
34382000-11-28 Nick Clifton <nickc@redhat.com>
3439
3440 * ld.1 (COPYING): Mention that the GNU Free Documentation
3441 License is present in the sources, but not the output, and
3442 also available from the GNU website.
3443 (GNU Free Documentation License): Comment out this section.
3444
ad95f82a
DB
34452000-11-28 David O'Brien <obrien@dragon.nuxi.com>
3446
3447 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
3448 does not use them.
3449
fd89e65f
DB
34502000-11-25 David O'Brien <obrien@FreeBSD.org>
3451
3452 * ld.1: Remove old date so it does not give the impression the manpage
3453 is way out of date.
3454
077b8428
NC
34552000-11-24 Nick Clifton <nickc@redhat.com>
3456
3457 * configure.tgt (xscale-coff): Add target.
3458 (xscale-elf): Add target.
3459
49425d28
NC
34602000-11-24 Fred Fish <fnf@be.com>
3461
d952f17a
AM
3462 * ldmain.c (main): Remove redundant init of config.make_executable
3463 to true.
49425d28 3464
d3480244
RH
34652000-11-15 Richard Henderson <rth@redhat.com>
3466
3467 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
3468
1ce7de8b
KH
34692000-11-14 Kazu Hirata <kazu@hxi.com>
3470
3471 * scripttempl/h8300.sc: Fix formatting.
3472 * scripttempl/h8300h.sc: Likewise.
3473 * scripttempl/h8300s.sc: Likewise.
3474
3b16e843 34752000-11-14 Denis Chertykov <denisc@overta.ru>
208d5cd0
DC
3476
3477 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
3478
2e418547
PB
34792000-11-09 Philip Blundell <pb@futuretv.com>
3480
3481 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
3482 around orphan sections whose names can be represented in C.
3483
c940e6fc
JW
34842000-11-07 Jim Wilson <wilson@redhat.com>
3485
3486 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
3487 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
3488
704c465c
NC
34892000-11-06 Nick Clifton <nickc@redhat.com>
3490
3491 * ld.texinfo: Add GNU Free Documentation License.
3492 * ldint.texinfo: Add GNU Free Documentation License.
cf055d54 3493 * ld.1: Add GNU Free Documentation License.
704c465c 3494
dca7760f
AM
34952000-11-05 Alan Modra <alan@linuxcare.com.au>
3496
3497 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
3498 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
3499
3500 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
3501 Move 2000-11-02 Makefile.in changes to this file.
3502 * Makefile.in: Regenerate.
3503
40a633d5
NC
35042000-11-03 Nick Clifton <nickc@redhat.com>
3505
3506 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
3507 constructors and destructors.
3508 * scripttempl/h8300h.sc: Ditto.
3509 * scripttempl/h8300s.sc: Ditto.
3510 * scripttempl/h8500.sc: Ditto.
3511 * scripttempl/h8500b.sc: Ditto.
3512 * scripttempl/h8500c.sc: Ditto.
3513 * scripttempl/h8500m.sc: Ditto.
3514 * scripttempl/h8500s.sc: Ditto.
3515 * scripttempl/v850.sc: Ditto.
3516 * scripttempl/w65.sc: Ditto.
3517 * scripttempl/z8000.sc: Ditto.
3518
59ff2774
NC
35192000-11-02 Per Lundberg <plundis@chaosdev.org>
3520
3521 * Makefile.in (e_i386_chaos.c): New rule.
3522 (ALL_EMULATIONS): Added e_i386_chaos.o.
3523 * emulparams/elf_i386_chaos.sh: New file.
3524 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
3525
645571e1
JJ
35262000-10-20 Jakub Jelinek <jakub@redhat.com>
3527
3528 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
3529 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
3530 Fix sed invocation, so that it coped with '/' in Solaris 64bit
3531 library path suffix.
3532 Based on patch by Andrew Macleod <amacleod@cygnus.com>.
3533
c5975a45
HPN
35342000-10-18 Hans-Peter Nilsson <hp@axis.com>
3535
3536 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
3537 for consecutive sections.
3538
ea20a7da
CC
35392000-10-17 Chandrakala Chavva <cchavva@redhat.com>
3540
d952f17a
AM
3541 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
3542 options.
3543 * ld.texinfo: Added notes about this new option.
ea20a7da 3544
6e45556a
NC
35452000-10-16 Nick Clifton <nickc@redhat.com>
3546
3547 * emultempl/pe.em (_after_open): Add tests of return values from
3548 bfd functions. Emit appropriate error messages if necessary.
3549
b9a69188
NC
35502000-10-13 Nick Clifton <nickc@redhat.com>
3551
3552 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
102c86f8
NC
3553 local variables - they are not used, but leave in the call to
3554 bfd_canonicalize_symtab.
b9a69188
NC
3555 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
3556 pe_dll_search_prefix.
3557
627427de 35582000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
d952f17a 3559
627427de
DD
3560 * emultempl/pe.em (pe_dll_search_prefix): New variable,
3561 (longopts): New --dll-search-prefix option.
3562 (gld_${EMULATION_NAME}_list_options): Document.
3563 (gld_${EMULATION_NAME}_parse_args): Handle.
3564 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
3565 dynamically, search for a dll named '<prefix><basename>.dll'
3566 in preference to 'lib<basename>.dll' if --dll-search-prefix
3567 is specified.
3568
24376d1b
AM
35692000-10-12 Alan Modra <alan@linuxcare.com.au>
3570
3571 * ldlang.c (section_already_linked): Set kept_section instead of
3572 sec->comdat->sec.
3573
e47d05ad
KH
35742000-10-10 Kazu Hirata <kazu@hxi.com>
3575
3576 * deffile.h: Fix formatting.
3577 * lexsup.c: Likewise.
3578 * mri.c: Likewise.
3579
23a87948
DD
35802000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
3581
3582 * pe-dll.c (make_one): Do not generate code thunk for DATA
3583 exports.
3584 (process_def_file): deduce DATA flag for auto-export sumbols.
3585
86b1cc60
KH
35862000-10-09 Kazu Hirata <kazu@hxi.com>
3587
89cdebba
KH
3588 * ld.h: Fix formatting.
3589 * ldcref.c: Likewise.
3590 * ldctor.h: Likewise.
3591 * ldemul.c: Likewise.
3592 * ldemul.h: Likewise.
3593 * ldexp.c: Likewise.
3594 * ldexp.h: Likewise.
3595 * ldfile.c: Likewise.
3596 * ldfile.h: Likewise.
3597 * ldlang.c: Likewise.
3598 * ldlang.h: Likewise.
3599 * ldmain.c: Likewise.
7bfd51a3
KH
3600 * pe-dll.c: Likewise.
3601
3602 * pe-dll.c: Revert some formatting fixes.
86b1cc60 3603
d643799d
KH
36042000-10-08 Kazu Hirata <kazu@hxi.com>
3605
3606 * pe-dll.c: Fix formatting.
3607
08da4cac
KH
36082000-10-05 Kazu Hirata <kazu@hxi.com>
3609
3610 * ldlang.c: Fix formatting.
3611
c2a94a7a
DD
36122000-10-03 DJ Delorie <dj@redhat.com>
3613
3614 * pe-dll.c (fill_edata): initialize entire block
3615 (make_one): fill in correct section.
3616
8c95a62e
KH
36172000-10-03 Kazu Hirata <kazu@hxi.com>
3618
3619 * ldexp.c: Fix formatting.
3620
486e80e2
DD
36212000-10-02 DJ Delorie <dj@redhat.com>
3622
3623 * emultempl/pe.em (gld_*_after_open): detect case where there two
3624 import libraries for same dll; rename one to ensure proper link
3625 order.
3626
3627 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
3628 typo
3629 (generate_edata): fix typo
3630
24dd9f75
HPN
36312000-09-29 Hans-Peter Nilsson <hp@axis.com>
3632
3633 * scripttempl/crisaout.sc (ENTRY): Now __start.
3634 (.text): Add default setting for __start.
3635 Remove CONSTRUCTORS handling.
3636 (/DISCARD/): Add .gnu.warning.*.
3637 * emulparams/crislinux.sh (ENTRY): Now __start.
3638 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
3639 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
3640 (ENTRY): Now __start.
3641 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
3642 (EXECUTABLE_SYMBOLS): Add default setting for __start.
3643
4de2d33d
KH
36442000-09-29 Kazu Hirata <kazu@hxi.com>
3645
5cc18311
KH
3646 * deffile.h: Fix formatting.
3647 * ld.h: Likewise.
3648 * ldcref.c: Likewise.
4de2d33d 3649 * ldctor.c: Likewise.
5cc18311 3650 * ldctor.h: Likewise.
4de2d33d 3651 * ldemul.c: Likewise.
5cc18311 3652 * ldemul.h: Likewise.
4de2d33d 3653 * ldexp.c: Likewise.
5cc18311 3654 * ldexp.h: Likewise.
4de2d33d 3655 * ldfile.c: Likewise.
5cc18311 3656 * ldfile.h: Likewise.
4de2d33d 3657 * ldlang.c: Likewise.
5cc18311
KH
3658 * ldlang.h: Likewise.
3659 * lexsup.c: Likewise.
3660 * mri.c: Likewise.
3661 * pe-dll.c: Likewise.
4de2d33d 3662
45b1f63c
DD
36632000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
3664
3665 * pe-dll.c (process_def_file): Uninitialized data wasn't
3666 exported with --export-all-symbols switch.
d952f17a 3667
45b1f63c
DD
36682000-09-28 DJ Delorie <dj@redhat.com>
3669
3670 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
3671 noname work properly.
3672
47d89dba
AM
36732000-09-28 Alan Modra <alan@linuxcare.com.au>
3674
3675 * ld.texinfo (HPPA ELF32): New section.
3676
3677 * emultempl/hppaelf.em (group_size): New.
3678 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
3679 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
3680 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
3681 options to prevent abbreviations matching.
3682 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
3683 (PARSE_AND_LIST_ARGS_CASES): Handle it.
3684
36bdbeec
NC
36852000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3686
3687 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
3688 on the m68*-*-elf target. Make it support COFF input objects.
3689
6d5e62f8
KH
36902000-09-21 Kazu Hirata <kazu@hxi.com>
3691
3692 * ldmain.c: Fix formatting.
3693 * ldmisc.c: Likewise.
3694 * ldver.c: Likewise.
3695 * ldwrite.c: Likewise.
3696
e2eb67d9
AM
36972000-09-21 Alan Modra <alan@linuxcare.com.au>
3698
3699 * ldwrite.c (clone_section): Silence gcc warnings.
3700
b3ea3584
AM
37012000-09-20 Alan Modra <alan@linuxcare.com.au>
3702
3703 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
3704 out of memory failure.
3705
3706 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
3707 (clone_section): Handle out of memory failures. Rename var to
3708 avoid c++ reserved word.
3709
25f72752
AM
37102000-09-18 Alan Modra <alan@linuxcare.com.au>
3711
3712 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
3713 stub_name param to stub_sec_name.
3714 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
3715
0752970e
NC
37162000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3717
3718 * emultempl/m68kelf.em: New file.
3719 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
3720 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
3721 * Makefile.in: Regenerate.
3722
92b7e9d8
AM
37232000-09-15 Alan Modra <alan@linuxcare.com.au>
3724
3725 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
3726 only as needed.
3727
9b14b192
NC
37282000-09-13 Nick Clifton <nickc@redhat.com>
3729
3730 * ldmain.c (multiple_definition): Disable relaxation if
3731 multiple symbol definitions are encountered - otherwise the
3732 linker could abort with an assertion failure.
3733
891fa266
NC
37342000-09-10 Nick Clifton <nickc@redhat.com>
3735
3736 * mri.c: Fix formatting.
3737
5d64ca4e
L
37382000-09-07 H.J. Lu <hjl@gnu.org>
3739
3740 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
3741 * configure: Rebuild.
3742
dd94604f
L
37432000-09-07 H.J. Lu <hjl@gnu.org>
3744
3745 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
3746 * Makefile.in: Rebuild.
3747
71bfc0ae
AM
37482000-09-07 Alan Modra <alan@linuxcare.com.au>
3749
3750 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
3751 broken list handling. Create __start_SECNAME and __stop_SECNAME
3752 when no place-holder. Add some comments. Test both SEC_CODE and
3753 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
ed15ac6a 3754 Handle case where no output section statement created.
71bfc0ae 3755
4a428502
AO
37562000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
3757
3758 * configure.tgt (sh-*-linux*): Added.
3759 * Makefile.am: Added eshelf_linux and eshlelf_linux.
3760 * Makefile.in: Rebuilt.
3761 * emulparams/shelf_linux.sh: New file.
3762 * emulparams/shlelf_linux.sh: New file.
3763
f9989030
AM
37642000-09-06 Alan Modra <alan@linuxcare.com.au>
3765
3766 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3767 try shuffling sections when the orphan happens to be the place
3768 holder. Keep count of unique section names generated so we speed
3769 the search for a new name.
3770
58cccadb
AO
37712000-09-06 Alexandre Oliva <aoliva@redhat.com>
3772
3773 * configure: Rebuilt with new libtool.m4.
3774
5b343f5a
NC
37752000-09-05 Nick Clifton <nickc@redhat.com>
3776
3777 * Makefile.in: Regenerate.
3778 * aclocal.m4: Regenerate.
3779 * configure: Regenerate.
3780 * config.in: Regenerate.
3781 * po/ld.pot: Regenerate.
3782
3783 * ldint.texinfo: Remove CVS revision marker - it foils local
3784 comparisons.
3785
3786 * emultempl/ticoff.em: Remove extraneous comma.
50bbae35 3787
a854a4a7
AM
37882000-09-05 Alan Modra <alan@linuxcare.com.au>
3789
3231d22e
AM
3790 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
3791 to stub section flags.
3792 (hppa_for_each_input_file_wrapper): New.
3793 (hppa_lang_for_each_input_file): New.
3794 (lang_for_each_input_file): Define to call above.
3795 (multi_subspace): New.
3796 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
3797 (PARSE_AND_LIST_PROLOGUE): Define.
3798 (PARSE_AND_LIST_LONGOPTS): Define.
3799 (PARSE_AND_LIST_OPTIONS): Define.
3800 (PARSE_AND_LIST_ARGS_CASES): Define.
3801 (hppaelf_finish): Call elf32_hppa_set_gp.
3802 (hppaelf_set_output_arch): Remove.
3803 (LDEMUL_SET_OUTPUT_ARCH): Remove.
3804
3805 * emulparams/hppalinux.sh (ELFSIZE): Define.
3806 (MACHINE): Define.
3807 (OTHER_READONLY_SECTIONS): Define.
3808 (DATA_PLT): Define.
3809 (GENERATE_SHLIB_SCRIPT): Define.
3810
5f992e62
AM
3811 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
3812 to const throughout. Change `void *' to `PTR' throughout.
3813 (lang_memory_default): Function is local to file, add `static'.
3814
3815 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
3816 (ehppalinux.c): Likewise.
3817 (earmelf.c): Likewise.
3818 (earmelf_linux.c): Likewise.
3819 (earmelf_linux26.c): Likewise.
3820 * Makefile.in: Regenerate.
3821
a854a4a7
AM
3822 * ld.h (ld_config_type): Add unique_orphan_sections.
3823 * lexsup.c (OPTION_UNIQUE): Define.
3824 (ld_options): Add "--unique".
3825 (parse_args): Handle it.
3826 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3827 search for an existing output section if unique_orphan_sections is
3828 set. Make use of bfd_get_unique_section_name rather than
3829 duplicating code here.
3830 * ld.texinfo: Describe --unique.
3831
3832 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
3833 optional arg to split-by-file.
3834 (parse_args): Handle them.
3835 * ld.texinfo: Update description of these options.
3836 * ldwrite.c (clone_section): Pass in the section name. Replace
3837 local code with bfd_get_unique_section_name.
3838 (split_sections): Tidy code and comments. Use a list traversal
3839 more appropriate to the list construction. Handle cooked section
3840 sizes. Split when split_by_reloc reached rather than exceeded.
3841 Track section size and split when split_by_file reached. Fix
3842 link_order_tail (even though it's not used).
3843 (ldwrite): Modify condition for calling split_sections to suit
3844 changed split_by_reloc and split_by_file.
3845 * ldmain.c (main): Init config.split_by_reloc and
3846 config.split_by_file to -1.
3847 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
3848 Change split_by_file to bfd_size_type.
3849
18e03609
NC
38502000-09-02 Nick Clifton <nickc@redhat.com>
3851
3852 * configure.in: Increase version number to 2.10.91.
3853 * NEWS: Mention new ability to support removal of duplicate DWARF2
3854 debug information.
3855 * configure: Regenerate.
3856 * aclocal.m4: Regenerate.
3857 * config.in: Regenerate.
3858
3a9d486c
NC
38592000-09-02 Daniel Berlin <dberlin@redhat.com>
3860
3861 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
3862 sections.
a2b64bed 3863 * scripttempl/elf32avr.sc: Ditto.
3a9d486c
NC
3864 * scripttempl/elfd10v.sc: Ditto.
3865 * scripttempl/elfd30v.sc: Ditto.
3866 * scripttempl/elfi370.sc: Ditto.
3867 * scripttempl/elfm68hc11.sc: Ditto.
3868 * scripttempl/elfm68hc12.sc: Ditto.
3869 * scripttempl/elfi386beos.sc: Ditto.
3870 * scripttempl/v850.sc: Ditto.
50bbae35 3871
ac48eca1
AO
38722000-08-31 Alexandre Oliva <aoliva@redhat.com>
3873
3874 * acinclude.m4: Include libtool and gettext macros from the
3875 top level.
3876 * aclocal.m4, configure: Rebuilt.
3877
c13b1b77
NC
38782000-08-25 Nick Clifton <nickc@redhat.com>
3879
3880 * ldlang.c (open_output): When choosing the target for a
3881 particular endianness, do nothing if the target is not
3882 supported.
3883
dcb0bd0e
L
38842000-08-25 H.J. Lu <hjl@gnu.org>
3885
3886 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
3887 check -rpath nor LD_RUN_PATH for cross link.
3888 * ld.texinfo: Document the change.
3889
5bcac8a4
HPN
38902000-08-24 Hans-Peter Nilsson <hp@axis.com>
3891
3892 * NEWS: Mention support for CRIS.
3893
6dd8c765
L
38942000-08-23 H.J. Lu <hjl@gnu.org>
3895
3896 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
3897 the current runpath list from bfd_elf_get_runpath_list ()
3898 before search.
3899
ec4eb78a
L
39002000-08-22 H.J. Lu <hjl@gnu.org>
3901
3902 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
3903 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
3904 LD_LIBRARY_PATH for native linker. Display the needed DSO if
3905 trace_file_tries is non-zero.
3906 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
3907 if trace_file_tries is non-zero.
3908
3909 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
a8175964 3910 * NEWS: Mention it.
ec4eb78a 3911
22b36938
JE
39122000-08-14 Jason Eckhardt <jle@cygnus.com>
3913
3914 * NEWS: Mention i860 support.
3915
d73e9da0
AS
39162000-08-14 Andreas Schwab <schwab@suse.de>
3917
3918 * scripttempl/elf.sc: Fix last change to use correct comment
50bbae35 3919 syntax.
d73e9da0 3920
9ac4db9c
GK
39212000-08-10 Geoff Keating <geoffk@cygnus.com>
3922
3923 * scripttempl/elf.sc: Add a comment giving the correspondence
3924 between sections, per-datum sections, and linkonce sections. Make
3925 the comment true even for .bss, .sdata, .sdata2, .sbss, and
3926 .sbss2.
3927
165589e4
JE
39282000-08-10 Jason Eckhardt <jle@cygnus.com>
3929
3930 * emulparams/elf32_i860.sh: New file.
3931 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
3932 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
3933 (eelf32_i860.c): New rule.
3934 * Makefile.in: Regenerate.
3935
345a835d
NC
39362000-08-10 Nick Clifton <nickc@cygnus.com>
3937
3938 * emulparams/mipspe.sh (ENTRY): Add definition.
3939
e374f1d9
NC
39402000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
3941
3942 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
3943 in error message.
3944
236d5abf
NC
39452000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3946
3947 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
3948 the final size of .bss section.
3949 * scripttempl/elfm68hc12.sc: Likewise.
3950
4b209b22
AM
39512000-08-04 Alan Modra <alan@linuxcare.com.au>
3952
3953 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
3954 gld${EMULATION_NAME}_parse_args for consistency. Combine
3955 lastoptind and prevoptind vars, and keep track of last optind.
3956 (gld_${EMULATION_NAME}_list_options): Rename to
3957 gld${EMULATION_NAME}_list_options.
3958
28423a68
AM
39592000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
3960
3961 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
3962 (i586-sco-sysv5uw7.1.0).
3963
b2009ff7
L
39642000-07-27 H.J. Lu <hjl@gnu.org>
3965
3966 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
3967 (PARSE_AND_LIST_PROLOGUE): New.
3968 (PARSE_AND_LIST_LONGOPTS): Likewise.
3969 (PARSE_AND_LIST_OPTIONS): Likewise.
3970 (PARSE_AND_LIST_ARGS_CASES): Likewise.
3971 (PARSE_AND_LIST_EPILOGUE): Likewise.
3972
04925e1e
AM
39732000-07-28 Alan Modra <alan@linuxcare.com.au>
3974
41392f03
AM
3975 * emultempl/armelf.em: Elide functions common to elf32.em,
3976 ie. most of the file.
3977 (arm_elf_after_open): New. Do arm specific things then call
3978 gld${EMULATION_NAME}_after_open.
3979 (arm_elf_before_allocation): New. Call
3980 gld${EMULATION_NAME}_before_allocation then do arm specifics.
3981 (PARSE_AND_LIST_PROLOGUE): Define.
3982 (PARSE_AND_LIST_SHORTOPTS): Define.
3983 (PARSE_AND_LIST_LONGOPTS): Define.
3984 (PARSE_AND_LIST_OPTIONS): Define.
3985 (PARSE_AND_LIST_ARGS_CASES): Define.
3986 (LDEMUL_AFTER_OPEN): Define.
3987 (LDEMUL_BEFORE_ALLOCATION): Define.
3988 (LDEMUL_BEFORE_PARSE): Define.
3989 (LDEMUL_FINISH): Define.
3990
3991 * emultempl/hppaelf.em: Similarly zap most of this file.
3992 (hppaelf_add_stub_section): Prototype.
3993 (hppaelf_layaout_sections_again): Prototype.
3994 (hook_in_stub): Prototype.
3995 (LDEMUL_SET_OUTPUT_ARCH): Define.
3996 (LDEMUL_FINISH): Define.
3997 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
3998
3999 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
4000 (EXTRA_EM_FILE): New.
4001 * emulparams/armelf_linux.sh: Likewise.
4002 * emulparams/armelf_linux26.sh: Likewise.
4003 * emulparams/hppalinux.sh: Likewise.
4004 * emulparams/hppaelf.sh: Likewise.
4005 (NOP): Define.
4006
4007 * emultempl/elf32.em: Fix formatting.
4008 (EXTRA_EM_FILE): Source it.
4009 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
4010 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
4011 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
4012 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
4013 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
4014 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
4015 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
4016 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
4017 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
4018 allow functions in this file to be overridden.
4019 (PARSE_AND_LIST_SHORTOPTS): Handle it.
4020
4021 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
4022
04925e1e
AM
4023 * emultempl/elf32.em: Reorganize file.
4024
88cdf297
NC
40252000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
4026
4027 * emulparams/elf64alpha.sh: Implement "-taso" emulation
4028 specific option to fit 64-bit executable in the lower
4029 31-bit address range. This is done by changing start
4030 address of .interp (the very first section of executable)
4031 and then setting EF_ALPHA_32BIT elf header flag.
4032
20bccb34
NC
40332000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4034
4035 * emultempl/m68kcoff.em: New file.
4036 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
4037 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
4038 generic.em.
4039 * Makefile.in: Regenerate.
4040
699845ef
L
40412000-07-20 H.J. Lu <hjl@gnu.org>
4042
4043 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
4044 and "disable-new-dtags" to stop getopt from treating -d/-e as
4045 abbreviations for these options.
4046
6c1439be
L
40472000-07-20 H.J. Lu <hjl@gnu.org>
4048
4049 * ld.texinfo: Add documentation for --disable-new-dtags and
4050 --enable-new-dtags.
4051
4052 * ldmain.c (main): Initialize link_info.new_dtags to false.
4053
4054 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
4055 --disable-new-dtags and --enable-new-dtags.
4056 (gld_${EMULATION_NAME}_list_options): Likewise.
4057
28c309a2
NC
40582000-07-05 Kenneth Block <krblock@computer.org>
4059
a2b64bed
NC
4060 * lexsup.c: Add optional style to demangle switch
4061 * ld.texinfo: Document optional style to demangle switch.
50bbae35 4062
9d06555c
HPN
40632000-07-20 Hans-Peter Nilsson <hp@axis.com>
4064
4065 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
4066 ecrislinux.o.
4067 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
4068 Regenerate dependencies.
4069 * Makefile.in: Rebuild.
4070 * configure.tgt (cris-*-*): New target.
4071 * emulparams/crisaout.sh, emulparams/criself.sh,
4072 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
4073 * po/POTFILES.in, po/ld.pot: Regenerate.
4074
19e3be22
L
40752000-07-20 H.J. Lu <hjl@gnu.org>
4076
4077 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
4078 Print out ignored -z options.
4079
e0ee487b
L
40802000-07-19 H.J. Lu <hjl@gnu.org>
4081
19e3be22
L
4082 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
4083 (PARSE_AND_LIST_PROLOGUE): New.
4084 (PARSE_AND_LIST_LONGOPTS): Likewise.
4085 (PARSE_AND_LIST_OPTIONS): Likewise.
4086 (PARSE_AND_LIST_ARGS_CASES): Likewise.
4087
4088 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
4089
4090 * lexsup.c (ld_options): Comment out 'z'.
4091 (parse_args): Likewise.
4092
4093 * emultempl/elf32.em: Include "elf/common.h".
4094 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
4095 options.
4096 (gld_${EMULATION_NAME}_list_options): Likewise.
4097
4098 * ld.texinfo: Add documentation for the recognized -z options.
e0ee487b 4099
49e56c49
L
41002000-07-19 H.J. Lu <hjl@gnu.org>
4101
4102 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
4103 bfd_elf_set_dt_needed_soname ().
4104
9d68bc82
DD
41052000-07-18 DJ Delorie <dj@cygnus.com>
4106
4107 * pe-dll.c (pe_dll_id_target): check object target name also
4108
53db15ed
HPN
41092000-07-18 Hans-Peter Nilsson <hp@axis.com>
4110
4111 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
4112 ${INIT_END} if relocating.
4113 (.fini): Likewise ${FINI_START} and ${FINI_END}.
4114
0ad8cf4c
DD
41152000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
4116
a2b64bed 4117 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
0ad8cf4c
DD
4118 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
4119 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
4120 errors introduced by the old dynamic lib search order.
4121
874c8c99
DD
41222000-07-17 DJ Delorie <dj@cygnus.com>
4123
4124 * pe-dll.c (process_def_file): auto-export data items also
4125 (pe_process_import_defs): also see if _imp_ form needed
4126
5b4cf3f4
DD
41272000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
4128
4129 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
4130 for dll import libraries
4131
062739d1
NC
41322000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
4133
4134 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
d952f17a 4135 gcc 2.95.2 and later.
062739d1 4136
1c64c4ed
NC
41372000-07-11 Kazu Hirata <kazu@hxi.com>
4138
50bbae35
AM
4139 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
4140 message.
1c64c4ed 4141
b71e2778
AM
41422000-07-10 Alan Modra <alan@linuxcare.com.au>
4143
4144 * ldemul.h (struct lang_input_statement_struct): Remove forward
4145 declaration.
4146 (struct search_dirs): Likewise.
4147 * ldfile.h (struct lang_input_statement_struct): Likewise.
4148 Protect file from multiple inclusion.
4149 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
4150 declaration from macro to file scope.
4151
4152 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
4153 * ldgram.y: Likewise here.
4154 * ldlang.c: And here.
4155 * ldmain.c: And here.
4156 * mpw-elfmips.c: And here.
4157 * mpw-eppcmac.c: And here.
4158 * emultempl/aix.em: And here.
4159 * emultempl/armcoff.em: And here.
4160 * emultempl/armelf.em: And here.
4161 * emultempl/armelf_oabi.em: And here.
4162 * emultempl/beos.em: And here.
4163 * emultempl/elf32.em: And here.
4164 * emultempl/hppaelf.em: And here.
4165 * emultempl/linux.em: And here.
4166 * emultempl/lnk960.em: And here.
4167 * emultempl/pe.em: And here.
4168 * emultempl/sunos.em: And here.
4169 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
4170 * mpw-idtmips.c: Ditto.
4171 * emultempl/generic.em: Ditto.
4172 * emultempl/gld960.em: Ditto.
4173 * emultempl/gld960c.em: Ditto.
4174 * emultempl/mipsecoff.em: Ditto.
4175 * emultempl/ticoff.em: Ditto.
4176 * emultempl/vanilla.em: Ditto.
4177
4178 * pe-dll.c: Include ldfile.h
4179 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
4180
4181 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
4182 arguments to bfd_elf32_size_dynamic_sections call.
4183 (gldelf32ebmip_place_orphan): Add missing arguments to
4184 lang_leave_output_section_statement call.
4185
2ef53d66
L
41862000-07-10 H.J. Lu <hjl@gnu.org>
4187
4188 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
4189 DLL_SUPPORT.
4190 (strhash): Likewise.
4191 (compute_dll_image_base): Likewise.
4192 (pe_undef_found_sym): Likewise.
4193 (pe_undef_cdecl_match): Likewise.
4194 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
4195 argument "arch" with ATTRIBUTE_UNUSED.
4196
9a8cbb09
AM
41972000-07-10 Alan Modra <alan@linuxcare.com.au>
4198
4199 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
4200
4201 From Ryan Bradetich <rbradetich@uswest.net>
4202 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
50bbae35 4203
4900fc06
AM
42042000-07-09 Alan Modra <alan@linuxcare.com.au>
4205
4206 Changes to create multiple linker stubs, positioned immediately
4207 before the section where they are required.
4208 * emultempl/hppaelf.em: Include elf32-hppa.h.
4209 (stub_sec, file_chain): Delete.
4210 (hppaelf_create_output_section_statements): Don't make a stub
4211 section here.
4212 (hook_stub_info): New struct.
4213 (hook_in_stub): New function.
4214 (hppaelf_add_stub_section): New function.
4215 (hppaelf_finish): Do nothing for relocateable links. Modify the
4216 call to elf32_hppa_size_stubs. Move code for updating section
4217 layout from here...
4218 (hppaelf_layaout_sections_again): ..to here, a new function.
4219
4220 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
4221 broken list handling. Pass in a pointer to the list.
4222 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
4223 for above changes.
4224 (hppaelf_before_parse): Prototype.
4225 (hppaelf_set_output_arch): Prototype.
4226 (hppaelf_create_output_section_statements): Prototype.
4227 (hppaelf_delete_padding_statements): Prototype.
4228 (hppaelf_finish): Prototype.
4229
4230 Merge from elf32.em
4231 * emultempl/hppaelf.em: Include ctype.h.
4232 (struct orphan_save): New.
4233 (gld${EMULATION_NAME}_place_orphan): New.
4234 (output_rel_find): New.
4235 (hppaelf_get_script): Update from elf32.em.
4236 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
4237 Change emulation_name field to "${EMULATION_NAME}". Add
50bbae35 4238 gld${EMULATION_NAME}_place_orphan.
4900fc06
AM
4239
4240 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
4241 ehppalinux.o, sort it. Regenerate dependencies.
4242 (ehppalinux.c): Depend on hppaelf.em
4243 * Makefile.in: Regenerate.
4244
4245 * configure.tgt: targ_emul=hppalinux for hppa*linux
4246
4247 * emulparams/hppalinux.sh: New.
4248 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
4249
227aeb07
AM
42502000-07-08 Alan Modra <alan@linuxcare.com.au>
4251
4252 * lexsup.c (parse_args): Copy section name.
4253
28609fd4 42542000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
602e90d3 4255
2ef53d66 4256 * emultempl/pe.em: institute the following search order for
602e90d3
DD
4257 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
4258 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
4259 static lib (libfoo.a) if none of the above are found.
4260
5f577f7d
DD
42612000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
4262
50bbae35 4263 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
5f577f7d 4264 (longopts): New --{enable,disable}-auto-image-base options.
50bbae35 4265 (gld_${EMULATION_NAME}_list_options): Document.
5f577f7d
DD
4266 (gld_${EMULATION_NAME}_parse): Handle.
4267 (strhash): New static function.
50bbae35 4268 (compute_dll_image_base): New static function.
5f577f7d
DD
4269 (gld_${EMULATION_NAME}_set_symbols): Use.
4270
9a8cbb09 42712000-07-05 DJ Delorie <dj@redhat.com>
302ab118
DD
4272
4273 * MAINTAINERS: new
4274
3548145d 42752000-07-01 Koundinya K <kk@ddeorg.soft.net>
50bbae35
AM
4276
4277 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
4278 * emulparams/elf32btsmip.sh: New file.
4279 * Makefile.am: Add traditional mips target.
4280 * Makefile.in: Rebuild.
4281
67798033
L
42822000-07-01 H.J. Lu <hjl@gnu.org>
4283
4284 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
4285 automake to use YLWRAP.
4286 * Makefile.in: Rebuild.
4287
0bdaf48b
AM
42882000-07-01 Alan Modra <alan@linuxcare.com.au>
4289
4290 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
4291 (CLEANFILES): Add DEPA.
4292 * Makefile.in: Regenerate.
4293
c9e769c2
TW
42942000-06-30 Timothy Wall <twall@ppc>
4295
4296 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
4297 the page in the upper octet of the address.
4298
65aa24b6
NC
42992000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
4300
4301 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
4302
4667035e
AM
43032000-06-24 Alan Modra <alan@linuxcare.com.au>
4304
4305 * NEWS: arm-elf does --gc-sections too.
4306
1581f8c9
AM
43072000-06-22 Alan Modra <alan@linuxcare.com.au>
4308
4309 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
4310 find one.
4311 * Makefile.in: Regenerate.
4312
01580992
L
43132000-06-21 H.J. Lu <hjl@gnu.org>
4314
4315 * Makefile.am: Rebuild dependency.
4316 * Makefile.in: Rebuild.
4317
bbeb2e03
L
43182000-06-20 H.J. Lu <hjl@gnu.org>
4319
4320 * Makefile.am: Rebuild dependency.
4321 * Makefile.in: Rebuild.
4322
74459f0e
TW
43232000-06-20 Timothy Wall <twall@cygnus.com>
4324
4325 * scripttempl/tic54xcoff.sc: New.
4326 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
4327 * gen-doc.texi: Add flag for TI COFF.
4328 * ld.texinfo: Add documentation for TI COFF handling switches.
4329 * emultempl/ticoff.em: New. TI COFF handling.
4330 * configure.tgt: Add tic54x target.
4331 * Makefile.am: Add tic54x target.
4332 * Makefile.in: Ditto.
4333
2ab47eed
AM
43342000-06-20 Alan Modra <alan@linuxcare.com.au>
4335
4336 * ldmain.c (set_scripts_dir): Correct pointer comparison when
4337 checking for backslashes.
4338
919e4093
AM
43392000-06-19 Alan Modra <alan@linuxcare.com.au>
4340
4341 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
4342
987fd5b4
AM
43432000-06-18 Alan Modra <alan@linuxcare.com.au>
4344
4345 * NEWS: Update list of targets supporting --gc-sections.
4346
4347 * scripttempl/elf.sc: KEEP .eh_frame contents.
4348 * scripttempl/elfd30v.sc: Same here.
4349
60bcf0fa
NC
43502000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
4351
4352 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
4353 and m68hc11 (elf).
4354 * Makefile.in: Rebuild.
4355 * configure.tgt: Recognize m68hc12 and m68hc11.
4356 * scripttempl/elfm68hc12.sc: New file.
4357 * emulparams/m68hc12elfb: New emulation.
4358 * emulparams/m68hc12elf: New emulation.
4359 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
4360 (includes a memory.x script to define the ROM and RAM banks).
4361 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
4362 New configuration files for support of Motorola 68hc11
4363
c7c54483
AM
43642000-06-15 Alan Modra <alan@linuxcare.com.au>
4365
4366 * ldmain.c (main): Only change SEC_READONLY for final link.
4367
bcef29e6
L
43682000-06-13 H.J. Lu <hjl@gnu.org>
4369
4370 * configure: Regenerate.
4371
946efd95
DB
43722000-06-08 David O'Brien <obrien@FreeBSD.org>
4373
4374 * configure.in (VERSION): Update to show this is the CVS mainline.
4375
57a6fd07
DB
43762000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4377
4378 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
4379 input objects to be ECOFF.
4380 (check_sections): einfo takes %B, not %P, to print a BFD name.
4381
e06cae36
L
43822000-06-05 Michael Matz <matz@ifh.de>
4383
4384 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
d952f17a 4385 version scripts.
e06cae36 4386
d952f17a 4387 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
e06cae36 4388
2f0b56c0
DC
43892000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
4390
4391 * emulparams/avr1200.sh (STACK): Define as 0.
4392 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
4393 * emulparams/avr4433.sh (STACK): Likewise.
4394 * emulparams/avr44x4.sh (STACK): Likewise.
4395 * emulparams/avr85xx.sh (STACK): Likewise.
4396 * emulparams/avrmega103.sh (STACK): Likewise.
4397 * emulparams/avrmega161.sh (STACK): Likewise.
4398 * emulparams/avrmega603.sh (STACK): Likewise.
4399 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
4400 (__stack): Define from ${STACK} for main().
4401
2114f57b
AM
44022000-05-26 Alan Modra <alan@linuxcare.com.au>
4403
4404 * Makefile.am: Update dependencies with "make dep-am"
4405 * Makefile.in: Regenerate.
4406
5af11cab
AM
44072000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
4408
4409 * ldmain.c: Include filenames.h.
4410 (set_scripts_dir): Support backslashes in program name.
4411
1f0df59a
NC
44122000-05-22 Igor Shevlyakov <igor@windriver.com>
4413
4414 * ldmain.c (main): When deciding if ".text" section should be
50bbae35
AM
4415 read-only, don't forget to reset SEC_READONLY because it
4416 could be already set.
1f0df59a 4417
176355da
NC
44182000-05-22 Thomas de Lellis <tdel@windriver.com>
4419
50bbae35
AM
4420 * ld.1: Add documentation for new command line option:
4421 --section-start <sectionname>=<sectionorg>
4422 This is a generic version of -Ttext etc. which accepts
4423 any section name as a parameter instead of just text/data/
4424 bss.
4425 * ld.texinfo: More docs.
4426 * NEWS: More docs.
4427 * lexsup.c: (parse_args): Recognize new command line option.
176355da 4428 (ld_options): Add new option.
50bbae35 4429
8c5ff972
L
44302000-05-18 H.J. Lu <hjl@gnu.org>
4431
4432 * lexsup.c (parse_args): `i' == `r', not `q'.
4433
3b16e843 44342000-05-18 Jeffrey A Law (law@cygnus.com)
0b76fe77
JL
4435
4436 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
4437
a712da20
NC
44382000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
4439 Rick Gorton <gorton@scrugs.lkg.dec.com>
50bbae35 4440
a712da20
NC
4441 Add support for '-q' == '--emit-relocs' switch.
4442 * ldmain.c (main): Default to false.
4443 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
4444 * NEWS: Describe the emitrelocations switch.
4445 * ld.texinfo: Describe the emitrelocations switch.
4446
690a460e
NC
44472000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
4448
a2b64bed 4449 * emultempl/pe.em (_open_dynamic_archive): New function: Search
690a460e
NC
4450 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
4451 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
4452 link options.
50bbae35 4453
c2f1343c
AM
44542000-05-15 David O'Brien <obrien@FreeBSD.org>
4455
4456 * lexsup.c (parse_args): Update the year in the copyright notice.
4457
897083bd
AM
44582000-05-13 Alan Modra <alan@linuxcare.com.au>
4459
4460 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
4461 Replace defines with those from intl/libgettext.h to quieten gcc
4462 warnings.
4463
cd4c806a
L
44642000-05-10 H.J. Lu <hjl@gnu.org>
4465
4466 * ldlang.c (open_input_bfds): Don't load the same file within
4467 a group again if the whole archive has been loaded already.
4468
93697284
AM
44692000-05-03 Alan Modra <alan@linuxcare.com.au>
4470
4471 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
4472 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
4473 strtoul.
4474
3b16e843 44752000-05-01 Jim Wilson <wilson@cygnus.com>
ebd6fc29 4476
99a4150f 4477 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
50bbae35 4478
ebd6fc29
JW
4479 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
4480 host "ia64-*-linux-gnu*".
4481
a1934524
AM
44822000-04-29 Andreas Jaeger <aj@suse.de>
4483
4484 * ld.h: Correctly check GCC version.
4485
3b16e843 44862000-04-25 Jeffrey A Law (law@cygnus.com)
730a39a0
JL
4487
4488 * Makefile.am: Add PA64 support. Add missing dependencies for
4489 PA32 elf support.
4490 * Makefile.in: Rebuilt.
4491 * configure.tgt: Add PA64 support (currently disabled).
4492
aea4bd9d
AM
44932000-04-25 Alan Modra <alan@linuxcare.com.au>
4494
4495 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
4496 (output_rel_find): New function.
4497 (hold_section, hold_use): Delete.
4498 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
4499 hold_interp): Make local to place_orphan.
4500 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
4501 rather than place_section to find possible previous use of orphan.
4502 Similarly find the place-holder output sections. Use returned
4503 value from lang_enter_output_section_statement rather than calling
4504 lang_output_section_statement_lookup.
4505 * emultempl/armelf.em: Same here.
4506 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
4507
4508 * ldlang.c (lang_enter_output_section_statement): Return output
4509 section statement.
4510 * ldlang.h (lang_enter_output_section_statement): Change
4511 declaration too.
4512
4513 * ldlang.h (lang_output_section_statement): Export it.
4514 * ldlang.c (lang_output_section_statement): Ditto.
4515
2b5fc1f5
NC
45162000-04-24 Nick Clifton <nickc@cygnus.com>
4517
4518 * ld.texinfo (Output Section Data): Add note that section data
4519 commands cannot appear outside of section directives.
4520
d8475ff6
JL
45212000-04-2 Matthew Green <mrg@cygnus.com>
4522
4523 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
4524
3b16e843
NC
45252000-04-21 Richard Henderson <rth@cygnus.com>
4526 David Mosberger <davidm@hpl.hp.com>
800eeca4
JW
4527
4528 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
4529 (eelf64_ia64.c): New rule.
4530 * Makefile.in: Rebuild.
4531 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
4532 * emulparams/elf64_ia64.sh: New file.
50bbae35 4533
c9637625
RH
45342000-04-21 Richard Henderson <rth@cygnus.com>
4535
4536 * scripttempl/elfd30v.sc: Place .gcc_except_table.
4537
28ea9521
AM
45382000-04-19 Alan Modra <alan@linuxcare.com.au>
4539
4540 * dep-in.sed: Match space at start of file name, not at end.
4541
20d04697
L
45422000-04-18 H.J. Lu <hjl@gnu.org>
4543
4544 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
4545 lang_leave_output_section_statement () after calling
4546 lang_enter_output_section_statement ().
4547 * emultempl/armelf.em: Likewise.
4548
5ba47421
AM
45492000-04-18 Alan Modra <alan@linuxcare.com.au>
4550
4551 * emultempl/elf32.em (struct orphan_save): Add section field.
4552 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
4553 better order, and place first orphan section as we did before the
4554 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
4555 Don't call make_bfd_section here, let wild_doit do the job for us.
4556 Don't build a statement list when we'll only throw it away.
4557 * emultempl/armelf.em: Ditto.
4558 * emultempl/pe.em: Similarly.
4559
bdbe5705
GK
45602000-04-14 Geoff Keating <geoffk@cygnus.com>
4561
4562 * scripttempl/elfppc.sc: Remove.
4563 * emulparams/elf32ppc.sh: Use elf.sc.
4564 * emulparams/elf32lppc.sh: Use elf.sc.
4565 * emulparams/elf32ppclinux.sh: Use elf.sc.
4566 * emulparams/elf32ppcsim.sh: New file.
4567 * emulparams/elf32lppcsim.sh: New file.
4568 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
4569 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
4570 * Makefile.in: Regenerate.
4571 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
4572
01cc8ff8
AM
45732000-04-14 Alan Modra <alan@linuxcare.com.au>
4574
5ba47421 4575 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
01cc8ff8 4576 ~SEC_ALLOC sections too. Init start address of debug sections.
5ba47421
AM
4577 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
4578 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
01cc8ff8
AM
4579 Also set all relocateable section start addresses.
4580
6c86c541
GK
45812000-04-13 Geoff Keating <geoffk@cygnus.com>
4582
4583 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
4584 Add new BSS_PLT variable for when .plt need not be contained in
4585 the file. Move _etext so that it is also after .fini, and provide
4586 both etext and _etext with a leading underscore. Mark the start
4587 and end of .sbss.
4588
6a345e87
AM
45892000-04-12 Alan Modra <alan@linuxcare.com.au>
4590
4591 * emultempl/elf32.em (struct orphan_save): New.
4592 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
4593 hold_interp): Make them struct orphan_save.
4594 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
4595 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
4596 the end of the relevant section list. Also add associated section
4597 statements to the end of any previous orphan statements.
4598 * emultempl/armelf.em: Similarly.
4599 * emultempl/pe.em: Similarly.
4600
8be86746
AM
46012000-04-11 Alan Modra <alan@linuxcare.com.au>
4602
4603 * ld.texinfo (Simple Example): Remove extraneous paragraph.
4604
3b16e843 46052000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
50bbae35 4606
a2d91340 4607 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
50bbae35 4608 --enable-build-warnings option.
a2d91340
AC
4609 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
4610 * Makefile.in, configure: Re-generate.
4611
41b49281
AM
46122000-04-04 Alan Modra <alan@linuxcare.com.au>
4613
8ad3436c
AM
4614 * po/ld.pot: Regenerate.
4615
4616 * lexsup.c (help): Restore translated part of bug string.
4617
41b49281
AM
4618 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
4619 (DEP): Quote when passing vars to sub-make. Add warning message
4620 to end.
4621 (DEP1): Rewrite for "gcc -MM".
4622 (CLEANFILES): Add DEP2.
4623 Update dependencies.
4624 * Makefile.in: Regenerate.
4625
c20f4f8c
AM
46262000-04-03 Alan Modra <alan@linuxcare.com.au>
4627
4628 * ld.h: #include "bin-bugs.h"
4629 * lexsup.c (help): Use REPORT_BUGS_TO.
4630
adde6300
AM
46312000-03-27 Denis Chertykov <denisc@overta.ru>
4632
4633 * configure.tgt (avr-*-*): New target support.
4634 * Makefile.am: Likewise.
4635 * scripttempl/elf32avr.sc: New script file.
4636 * emulparams/avr1200.sh: New file.
4637 * emulparams/avr23xx.sh: New file.
4638 * emulparams/avr4433.sh New file.
4639 * emulparams/avr44x4.sh New file.
4640 * emulparams/avr85xx.sh New file.
4641 * emulparams/avrmega103.sh New file.
4642 * emulparams/avrmega161.sh New file.
4643 * emulparams/avrmega603.sh New file.
4644 * Makefile.in: Regenerate.
4645
9282ff41
L
46462000-03-09 Andreas Jaeger <aj@suse.de>
4647
4648 * Makefile.am (check-DEJAGNU): Also unset LANG.
4649 * Makefile.in: Rebuild.
4650
a9998805
ILT
46512000-03-06 Ian Lance Taylor <ian@zembu.com>
4652
4653 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
4654 archive.
4655
f9bc20e7
NC
46562000-03-02 H.J. Lu <hjl@gnu.org>
4657
4658 * emulparams/elf32mcore.sh: Include "getopt.h".
4659
4e277b38
ILT
46602000-03-01 Ian Lance Taylor <ian@zembu.com>
4661
4662 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
4663
f0c87f88
NC
46642000-03-01 H.J. Lu <hjl@gnu.org>
4665
4666 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
4667 * emulparams/shpe.sh: Likewise.
4668
46692000-03-01 Nick Clifton <nickc@cygnus.com>
4670
4671 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
4672 to unused parameters.
4673
4674 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
4675 functions only used by DLL code.
4676 (_place_orphan): Initialise 'dollar'.
4677
b6f29aaa
L
46782000-03-01 H.J. Lu <hjl@gnu.org>
4679
4680 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
4681 indicate if the undefined symbol is a fatal error or not.
4682 Don't delete the output file if "fatal" is false.
4683
af28fce3
L
46842000-02-29 H.J. Lu <hjl@gnu.org>
4685
50bbae35 4686 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
af28fce3
L
4687 Set LC_COLLATE and LC_ALL to null and export them. It is for
4688 sort which expects the C locale.
4689 Add $(LIBS) to all $(HOSTING_LIBS).
4690 * Makefile.in: Rebuild.
4691
40d109bf
AM
46922000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
4693
4694 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
4695 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
4696 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
4697 (ld_emulation_xfer_struct): Add missing NULL initialiser for
4698 find_potential_libraries.
4699
db5be682
JB
47002000-02-28 Jim Blandy <jimb@redhat.com>
4701
4702 * ldgram.y (exclude_name_list): Don't require a comma to separate
50bbae35 4703 list entries; the lexer considers commas to be valid part of a
db5be682
JB
4704 filename, so in something like `foo, bar' the comma is considered
4705 part of the first filename, `foo,'.
4706 * ld.texinfo: Update section on EXCLUDE_FILE lists.
4707
3558ff4c
ILT
47082000-02-27 Loren J. Rittle <ljrittle@acm.org>
4709
4710 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
4711 host "i[3456]86-*-freebsdelf*".
4712
4eee2681
ILT
47132000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
4714
4715 * scripttempl/i386go32.sc: Move misplaced semicolons.
4716
8d75d12d
ILT
47172000-02-25 Ian Lance Taylor <ian@zembu.com>
4718
4719 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
4720 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
4721 (eelf64hppa.c, ehppaelf.c): Remove targets.
4722 * Makefile.in: Rebuild.
4723
a1836d49
AO
47242000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4725
ad51fb57
AO
4726 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
4727 GNU/Linux/sparc, but keep the default as 32.
4728
a1836d49
AO
4729 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
4730 it default if sparcv9 or sparc64.
4731
344a211f
NC
47322000-02-24 Nick Clifton <nickc@cygnus.com>
4733
4734 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
4735 * Makefile.in: Regenerate.
4736 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
4737
4738 * ldemul.h (ld_emulation_xfer_struct): Add new field:
4739 find_potential_libraries.
4740 * ldemul.c (ldemul_find_potential_libraries): New function.
4741
4742 * ldfile.c (ldfile_open_file_search): Allow function to be
50bbae35 4743 exported.
344a211f
NC
4744 (ldfile_open_file): Call ldemul_find_potential_libraries.
4745 * ldfile.h: Add prototype for ldfile_open_file_search.
4746
4747 * pe-dll.c: Add support for ARM, MIPS and SH targets.
4748
4749 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
4750 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
4751
4752 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
4753 (gld_X_find_potential_libraries): New function. Search for
4754 libraries called "*.lib".
4755
a2b64bed 4756 * scripttempl/pe.sc: Add .pdata section.
344a211f 4757
eaba1dd3
RH
47582000-02-23 Richard Henderson <rth@cygnus.com>
4759
4760 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
4761 Add and use memory regions.
4762
5b93d8bb
AM
47632000-02-23 Linas Vepstas (linas@linas.org)
4764
4765 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
4766
4767 * Makefile.am: Add support for Linux/IBM 370.
4768 * configure.tgt: Likewise.
4769
4770 * Makefile.in: Regenerate.
4771
f6af82bd
AM
47722000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
4773
4774 * ldlang.c (print_input_section, print_data_statement,
4775 print_reloc_statement, print_padding_statement, insert_pad,
4776 size_input_section, lang_check_section_addresses,
4777 lang_size_sections, lang_do_assignments, lang_set_startof,
50bbae35 4778 lang_one_common): Change `opb' to unsigned.
f6af82bd
AM
4779 (lang_do_assignments): Also change `size' to unsigned.
4780
9e673ad1
RH
47812000-02-16 Richard Henderson <rth@cygnus.com>
4782
4783 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
4784
562d3460
TW
47852000-02-16 Timothy Wall <twall@cygnus.com>
4786
4787 * mri.c (mri_draw_tree): Add default LMA region argument to call
4788 to lang_leave_output_section_statement.
4789 * ldlang.h: Update prototypes with LMA region arguments.
4790 * ldlang.c (lang_size_sections): Encapsulate region bounds
4791 checking in os_check_region call.
4792 (os_check_region): New function.
4793 (lang_output_section_statement_lookup): Initialize lma_region.
4794 (lang_leave_output_section_statement): Add LMA region argument.
4795 (lang_leave_overlay): Ditto.
4796 * ldgram.y: Handle LMA region syntax.
4797 * ld.texinfo (Output Section Description): Describe LMA region usage.
4798 * emultempl/armelf.em (gld$place_orphan): Add default value for
01cc8ff8 4799 lma region in call to lang_leave_output_section_statement.
562d3460 4800 * emultempl/elf32.em (gld$place_orphan): Add default value for
01cc8ff8 4801 lma region in call to lang_leave_output_section_statement.
562d3460 4802 * emultempl/pe.em (gld$place_orphan): Add default value for
01cc8ff8 4803 lma region in call to lang_leave_output_section_statement.
50bbae35
AM
4804
4805
9e4ed18c
TW
48062000-02-04 Timothy Wall <twall@redhat.com>
4807
4808 * ldlang.c (lang_check_section_addresses): Use bytes instead of
4809 octets when calculating section end addresses.
4810
32edc927
TW
48112000-02-04 Timothy Wall <twall@redhat.com>
4812
4813 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
4814
4cbfc3ac
TW
48152000-02-03 Timothy Wall <twall@redhat.com>
4816
a2b64bed 4817 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
4cbfc3ac 4818 octet count.
a2b64bed 4819 * ldlang.c (print_input_section, print_data_statement,
4cbfc3ac
TW
4820 print_reloc_statement, print_padding_statement): Print target
4821 address values and section sizes as bytes, not octets.
4822 (insert_pad) Calculate padding size in octets, and adjust "dot"
4823 by bytes.
4824 (size_input_section) Always adjust "dot" by bytes, not octets.
4825 (lang_check_section_addresses, lang_do_assignments) Adjust
4826 "dot" by bytes, not octets. Use the larger of the directive size
4827 or octets_per_byte for the number of octets actually allocated in
4828 the output section.
4829 (lang_set_startof) Make sure STARTOF returns a target address.
4830 (lang_one_common) Record size changes in octets.
4831 (lang_abs_symbol_at_end_of) Section end symbol's value is
4832 recorded in target bytes.
68b2fc7a 4833 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
4cbfc3ac 4834 to be clear about behavior when an octet is smaller than one byte.
50bbae35 4835
305c7206
AM
48362000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
4837
4838 * ldcref.c (output_cref): Don't pass message strings to printf
4839 as format arg.
4840 Update copyright.
4841
4842 * ldmisc.c (vfinfo): Same here.
4843 Update copyright.
4844
e1c47aa4
AM
48452000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
4846
4847 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
4848 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
4849 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
4850 Add missing NULL initialisers, and comments.
4851
4852 * testsuite/ld-srec/sr3.cc (__rethrow): New.
4853
13392b77
NC
48542000-01-21 Nick Clifton <nickc@cygnus.com>
4855
4856 * ldlang.c (lang_size_sections): Fix typo in comment.
4857
cce4c4c5
NC
48582000-01-18 H.J. Lu <hjl@gnu.org>
4859
4860 * ldlang.c (lang_size_sections): Also update the current
4861 address of a region if the SEC_NEVER_LOAD bit is not set.
4862
0decc840
NC
48632000-01-10 Philip Blundell <pb@futuretv.com>
4864
4865 * configure.tgt (arm*-*-conix*): New target.
4866
4e53152f
NC
48672000-01-07 Nick Clifton <nickc@cygnus.com>
4868
4869 * ld.texinfo (Options): Remind users to preceed linker command
fa19fce0
NC
4870 line switches with -Wl, (or whatever is appropriate) if it is
4871 being invoked by a comnpiler driver program.
50bbae35 4872 Fix description of the behaviour of the -n command line switch.
4e53152f 4873
3b16e843 48742000-01-05 Catherine Moore <clm@cygnus.com>
18625d54
CM
4875
4876 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
4877 (name_list): New.
4878 * ld.texinfo (EXCLUDE_FILE): Update documentation.
4879 * ldgram.y (wildcard_spec): Support a list of excluded_files.
4880 (exclude_name_list): New.
4881 ldlang.c (walk_wild_section): Support list of excluded files.
4882 (print_wild_statement): Likewise.
4883 (lang_add_wild): Likewise.
4884 * ldlang.h (lang_wild_statement_type): Likewise.
4885 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
6ddeca85 4886
5aaace27
NC
48872000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
4888
870df5dc
NC
4889 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
4890 (process_def_file): Use.
4891 (pe_dll_compat_implib): New variable.
4892 (make_one): Use.
50bbae35 4893
870df5dc
NC
4894 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
4895 pe_dll_compat_implib.
50bbae35
AM
4896
4897 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
870df5dc
NC
4898 compat-implib options.
4899 (gld_${EMULATION_NAME}_list_options): List new options.
4900 (gld_${EMULATION_NAME}_parse_args): Handle.
4901
50bbae35 4902 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
5aaace27 4903 dll.
50bbae35
AM
4904
4905 * deffilep.y (opt_name): Allow "." in name.
5aaace27 4906
2f6d2f85 4907For older changes see ChangeLog-9899
252b5132
RH
4908\f
4909Local Variables:
4910mode: change-log
4911left-margin: 8
4912fill-column: 74
4913version-control: never
4914End:
This page took 0.394302 seconds and 4 git commands to generate.