*** empty log message ***
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
06143382
AM
12002-09-24 Alan Modra <amodra@bigpond.net.au>
2
3 * emulparams/elf64ppc.sh (DATA_ADDR): Define.
4 * emulparams/elf64_aix.sh (DATA_ADDR): Don't use a fixed address
5 for start of .data, instead align up to 256M boundary.
6 * scripttempl/aix.sc: Likewise.
7
8e616ecc
DD
82002-09-22 Mark Elbrecht <snowball3@softhome.net>
9
10 * scripttempl/i386go32.sc: Handle bss unique sections.
11
5cfb2bb2
AM
122002-09-21 Alan Modra <amodra@bigpond.net.au>
13
14 * ldmisc.c (vfinfo <%C,%D,%G>): Always output bfd, section and offset.
15
dd2e0905
SC
162002-09-17 Stan Cox <scox@redhat.com>
17
18 * emulparams/elf32bmipn32-defs.sh: New file.
19 * emulparams/elf32bmipn32.sh: Use elf32bmipn32-defs.sh.
20 * emulparams/elf32btsmipn32.sh: Likewise.
21 * emulparams/elf64bmip.sh: Likewise.
22 * emulparams/elf64btsmip.sh: Likewise.
23
4ada7262
DB
242002-09-16 Bruno Haible <bruno@clisp.org>
25
26 * emulparams/elf_i386_fbsd.sh: Set OUTPUT_FORMAT to
27 elf32-i386-freebsd.
28 * emulparams/elf64alpha_fbsd.sh: Set OUTPUT_FORMAT to
29 elf64-alpha-freebsd.
30
e09f4395
NC
312002-09-11 Nick Clifton <nickc@redhat.com>
32
004d9caf
NC
33 * NEWS: New TI port supports both C4x and C3x series of DSPs.
34
e09f4395
NC
35 * po/tr.po: Updated Turkish translation.
36
004d9caf 372002-09-06 Jeffrey A Law (law@redhat.com)
0b3a6a28
JL
38
39 * configure.tgt (h8300-*-hms*, h8500-*-hms*): Restore.
40
3e369e96
NC
412002-09-02 Nick Clifton <nickc@redhat.com>
42
67010b46
NC
43 * scripttempl/v850.sc: Add EXTERN references to __ctbpm __gp and
44 __ep.
45 * emulparams/v850.sh (TEMPLATE_NAME): Define.
3e369e96 46
5435462c
NC
472002-08-30 Nick Clifton <nickc@redhat.com>
48
49 * scripttempl/elfd10v.sc (MEMORY): Remove UNIFIED, it is not
50 used. Change INSN to start at 0x01000000 and extend for
51 256K (ignoring holes). Start the STACK on a word aligned
52 boundary.
53 (.rodata): Start it at the READONLY_START_ADDR.
54
5c368657
AM
552002-08-30 Alan Modra <amodra@bigpond.net.au>
56
57 * emulparams/elf32ppc.sh (ARCH): Set to "powerpc:common".
58
026df7c5
NC
592002-08-28 Svein E. Seldal <Svein.Seldal@solidas.com>
60
61 * Makefile.am: Add etic4xcoff.o in ALL_EMULATIONS list and
62 added makefile targets for this file.
63 * Makefile.in: Regenerate.
64 * configure.tgt: Added tic4x-coff and c4x-coff emulations.
65 * NEWS: Mention new port.
66
672002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
68
69 * emulparams/tic3xcoff.sh: New file.
70 * emulparams/tic4xcoff.sh: New file.
71 * scripttempl/tic3xcoff.sc: New file.
72 * scripttempl/tic4xcoff.sc: New file.
73
c89e8944
AM
742002-08-28 Alan Modra <amodra@bigpond.net.au>
75
76 * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Replace strtoll,
77 strtoul and strtoull with bfd_scan_vma.
78 (gld${EMULATION_NAME}_read_file): Likewise.
79
6459ecfa
AM
802002-08-28 Alan Modra <amodra@bigpond.net.au>
81
82 * configure.tgt: Remove h8[35]00-*-hms*. Add h8500-*-rtems*.
83
ad5211be
NC
842002-08-27 Egor Duda <deo@logos-m.ru>
85
86 * scripttempl/pe.sc: Handle .rdata_runtime_pseudo_reloc sections.
87 Add symbols for application to access them.
88
88f7bcd5
NC
892002-08-27 Nick Clifton <nickc@redhat.com>
90
91 * emultempl/armelf.em: Revert this patch, it is not needed.
92
93 2002-08-22 Adam Nemet <anemet@lnxw.com>
94
8e523c23
NC
952002-08-20 Dan Kegel <dank@kegel.com>
96
97 * configure.in: added --with-lib-path argument to ld's configure
98 to set LIB_PATH.
99 * ld/NEWS: Document new switch.
100 * ld/README: Mention new switch.
101 * configure: Regenerate.
102 * Makefile.in: Regenerate.
103
104 Based on this patch:
105 2001-04-25 Christopher Faylor <cgf@cygnus.com>
106
107 * Makefile.in (LIB_PATH): Make configurable.
108 (GENSCRIPTS): Set LIB_PATH in environment.
109 * configure.in: Substitute LIB_PATH.
110
d9a7f7ab
NC
1112002-08-22 Adam Nemet <anemet@lnxw.com>
112
113 * emultempl/armelf.em: Include elf-bfd.h and elf/arm.h.
114 (arm_elf_finish): Set the last bit of DT_INIT and DT_FINI
115 depending on the type of the function.
116 (arm_elf_convert_thumb_symbol_to_address): New function.
117
ed71e111
NC
1182002-08-22 Graeme Peterson <gp@qnx.com>
119
120 * Makefile.am: Add esh{l}elf_nto.o files.
121 * Makefile.in: Regenerate.
122 * configure.tgt: Add support for sh-**-nto* targets.
123 * emulparams/shelf_nto.sh: New file.
124 * emulparams/shlelf_nto.sh: New file.
125
7abb6dea
AM
1262002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
127
128 * ldlang.c (offsetof): Define if not defined.
129
e9229007
L
1302002-08-14 H.J. Lu <hjl@gnu.org>
131
132 * configure.tgt: Always enable 64bit emulations for 32bit
133 Linux/mips.
134
c553bb91
AM
1352002-08-13 Alan Modra <amodra@bigpond.net.au>
136
137 * emulparams/elf32_dlx.sh (TARGET_PAGE_SIZE): Set to 1.
138 (MAXPAGESIZE): Set to 1.
139
140 * ld.h (ALIGN_N): Delete.
141 * ldexp.h (align_n): Declare.
142 * ldexp.c (align_n): New function.
143 (fold_binary): Use align_n instead of ALIGN_N.
144 (exp_fold_tree): Likewise.
145 * ldlang.c (lang_size_sections_1): Likewise.
146 (lang_one_common): Likewise.
3c6706bb 147 * ld.texinfo (ALIGN): Remove power of 2 restriction.
c553bb91 148
59bc061d
NC
1492002-07-31 Graeme Peterson <gp@qnx.com>
150
151 * configure.tgt: Add support for powerpc{le}-*-nto* targets.
152 * Makefile.am: Add eelf32{l}ppcnto.o files.
153 * Makefile.in: Regenerate.
154 * emulparams/elf32lppcnto.sh: New file.
155 * emulparams/elf32ppcnto.sh: New file.
156
31941635
L
1572002-08-07 H.J. Lu <hjl@gnu.org>
158
159 * ld.texinfo: Document --no-undefined-version.
160
161 * ldlang.c (lang_new_vers_pattern): Set the `symver' and
162 `script.' fields to 0.
163
164 * ldmain.c (main): Initialize the allow_undefined_version to
165 true.
166
167 * lexsup.c (OPTION_NO_UNDEFINED_VERSION): New.
168 (ld_options): Add --no-undefined-version.
169 (parse_args): Support OPTION_NO_UNDEFINED_VERSION.
170
2004afbc
NC
1712002-08-07 Nick Clifton <nickc@redhat.com>
172
173 * emultempl/armelf.em (arm_elf_before_allocation): Only search for
174 an interworking bfd if there are input bfds. (107501)
175
7fc44b9c
AM
1762002-08-06 Alan Modra <amodra@bigpond.net.au>
177
178 * emultempl/aix.em (gld*_before_parse): Set default arch. Reverts
179 2002-05-10 change.
180
24a1ba0f
NC
1812002-08-01 Nick Clifton <nickc@redhat.com>
182
183 * emulparams/armelf.sh: Revert previous delta.
184 * scripttempl/elf.sc: Revert previous delta.
185
ebc6e014
L
1862002-07-31 H.J. Lu <hjl@gnu.org>
187
188 * configure.tgt (powerpc*-*-linux*): Enable elf64ppc for
189 --enable-64-bit-bfd.
190
39a2a3eb
L
1912002-07-31 H.J. Lu <hjl@gnu.org>
192
193 * configure.tgt: Enable x86-64 emulation for Linux/i386 if
194 64bit BFD is selected.
195
a0dfa6a8
L
1962002-07-31 H.J. Lu <hjl@gnu.org>
197
198 * configure.tgt: Enable 64bit emulations for 32bit Linux/mips
199 if 64bit BFD is selected.
200
f7c33884
NC
2012002-07-31 Ian Dall <ian@sibyl.beware.dropbear.id.au>
202
203 * emultempl/netbsd.em (LDEMUL_BEFORE_PARSE): New file to custom set
204 link_info.common_skip_ar_aymbols.
205 * emulparams/ns32knbsd.sh (EXTRA_EM_FILE): Refer to extra file.
206
207 * ldmain.c (main): Initialize new field
208 link_info.common_skip_ar_aymbols.
209
8f64befb
NC
2102002-07-31 Adam Nemet <anemet@lnxw.com>
211
212 * emulparams/armelf.sh (OTHER_PLT_SECTIONS): New variable. Set it
213 to .plt.thumb.
214 * scripttempl/elf.sc: Comment it. Use the same way as ${PLT} is
215 used.
216
500800ca
NC
2172002-07-31 Nick Clifton <nickc@redhat.com>
218
219 * NEWS: Retroactively add entry for Lars Brinkhoff's contribution
220 of the PDP-11 and 2.11BSD a.out support.
221
7808a785
TS
2222002-07-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
223
224 * Makefile.am (eelf32btsmipn32.o, eelf32ltsmipn32.o): New emulations
225 for n32 ABI support.
226 * Makefile.in: Regenerate.
227 * configure.tgt (mips64*el-*-linux-gnu*,mips64*-*-linux-gnu*): Add
228 n32 ABI emulations for these 64 bit targets.
229 * emulparams/elf32bmipn32.sh: Expand comment.
230 * emulparams/elf32btsmipn32.sh: New file, for traditional big endian
231 n32 ABI.
232 * emulparams/elf32ltsmipn32.sh: Likewise for little endian.
233
7e392df6
NC
2342002-07-30 Graeme Peterson <gp@qnx.com>
235
236 * configure.tgt: Add support for arm-*-nto target.
237 * Makefile.am: Add earmnto.o file.
238 * Makefile.in: Regenerate.
239 * NEWS: Mention port of ARM support to QNX.
240 * emulparams/armnto.sh: New file.
241
704afa60
JJ
2422002-07-30 Jakub Jelinek <jakub@redhat.com>
243
244 * ldlang.c (lang_add_section): Don't turn .tbss into normal sections
245 for relocatable link.
246 (lang_size_sections_1): Don't make .tbss zero size for relocatable
247 link.
248
7dcd22c2
BS
2492002-07-26 Bernd Schmidt <bernds@redhat.com>
250
251 * emulparams/elf32frv.sh (OTHER_RELOCATING_SECTIONS): Delete.
252 (STACK_ADDR): New.
253
219576a4
NC
2542002-07-25 Nick Clifton <nickc@redhat.com>
255
256 * po/sv.po: Updated Swedish translation.
257 * po/es.po: Updated Spanish translation.
258 * po/fr.po: Updated French translation.
259
ff3063f5
NC
2602002-07-24 Nick Clifton <nickc@redhat.com>
261
262 * po/sv.po: Updated Swedish translation.
263 * po/es.po: Updated Spanish translation.
264
0461a601
NC
2652002-07-23 Nick Clifton <nickc@redhat.com>
266
ff3063f5 267 * po/fr.po: Updated French translation.
0461a601 268
25844aae
AM
2692002-07-20 Alan Modra <amodra@bigpond.net.au>
270
271 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
272 bomb on /DISCARD/ input section.
273 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
274 * emultempl/mmo.em (mmo_place_orphan): Likewise.
275
3595bd6e
HPN
2762002-07-19 Hans-Peter Nilsson <hp@bitrange.com>
277
278 * emultempl/mmo.em (mmo_place_orphan): Handle case of no .text
279 output section.
280
cf88bb9f
NC
2812002-07-16 Denis Chertykov <denisc@overta.ru>
282 Nick Clifton <nickc@redhat.com>
283 Frank Ch. Eigler <fche@redhat.com>
284 John Healy <jhealy@redhat.com>
285
286 * configure.tgt: Add support for ip2k-elf.
287 * Makefile.am: Add support for ip2k-elf.
288 * Makefile.in: Regenerate.
289 * emulparams/elf32ip2k.sh: New file.
290 * scripttempl/ip2k.sc: New file
291 * NEWS: Mention support for new port.
292
2cbb2eef
NC
2932002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
294
295 * NEWS: Add 'Changes in 2.13'.
296
96a94295
L
2972002-07-14 H.J. Lu <hjl@gnu.org>
298
299 * ld.texinfo: Document a .symver takes precedence over a
300 version script.
301
120d20f2
AM
3022002-07-12 Alan Modra <amodra@bigpond.net.au>
303
304 * emulparams/elf64ppc.sh (ARCH): Set to powerpc:common64.
305 (COMMONPAGESIZE): Define.
306
0d2ddeb2
AM
3072002-07-09 Alan Modra <amodra@bigpond.net.au>
308
309 * emulparams/hppanbsd.sh: Remark that hppaobsd.sh references this file.
310
554690ed
AM
3112002-07-09 Federico G. Schwindt <fgsch@olimpo.com.br>
312
313 * configure.tgt: Add support for alpha-*-openbsd*, hppa-*-openbsd*,
314 powerpc-*-openbsd* and sparc64-*-openbsd*.
315 * Makefile.am (ALL_EMULATIONS): Add ehppaobsd.o.
316 * Makefile.in: Regenerate.
317 * emulparams/hppaobsd.sh: New file.
318
34786259
AM
3192002-07-05 Alan Modra <amodra@bigpond.net.au>
320
321 * ldlang.c (print_wild_statement): Fix output formatting.
322
4bd5a393
AM
3232002-07-04 Alan Modra <amodra@bigpond.net.au>
324
325 * ldlang.c: (strip_excluded_output_sections): New function.
326 (lang_process): Call it.
327 (lang_size_sections_1): Revert 2002-06-10 change.
328
ce4f7385
AM
3292002-07-03 Alan Modra <amodra@bigpond.net.au>
330
331 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
332 Run "make dep-am".
333 * Makefile.in: Regenerate.
334
b7b482a3
AM
3352002-07-02 Alan Modra <amodra@bigpond.net.au>
336
71daf8b4
AM
337 * ldfile.c (ldfile_try_open_bfd): Formatting.
338
b7b482a3
AM
339 * ldmisc.c (demangle): Move so that it doesn't intrude between
340 vfinfo comment and body. Add comment.
341
29e2951e
AM
3422002-07-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
343
344 * emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format.
345
e3e942e9
AM
3462002-07-01 Alan Modra <amodra@bigpond.net.au>
347
348 * ldlang.h (entry_sym): Make it a struct bfd_sym_chain.
349 * ldlang.c (entry_sym): Likewise.
350 (ldlang_undef_chain_list_type): Likewise.
351 (lang_finish): Adjust references to entry_symbol.
352 (lang_add_entry): Likewise.
353 (lang_gc_sections): Use link_info.gc_sym_list.
354 (lang_process): Set link_info.gc_sym_list.
355 * ldlex.l: Include bfdlink.h.
356 * ldmain.c (main): Init link_info.gc_sym_list.
357 * emultempl/aix.em: Adjust references to entry_symbol.
358 * emultempl/armcoff.em: Likewise.
359 * emultempl/armelf.em: Likewise.
360 * emultempl/pe.em: Likewise.
361 * emultempl/ppc64elf.em (ppc_after_open): New function.
362 (LDEMUL_AFTER_OPEN): Define.
363 * emulparams/elf64ppc.sh: KEEP .opd sections.
364
a66c0f2c
SC
3652002-06-29 Stephane Carrez <stcarrez@nerim.fr>
366
367 * emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.
368 * emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define.
369 * emulparams/m68hc11elf.sh (EEPROM_SIZE): Define.
370 (EEPROM_START_ADDR): Define.
371 (EEPROM_MEMORY): Define.
372 * emulparams/m68hc12elf.sh: Likewise.
373 * scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs
374 section to put soft registers in .page0.
375 * scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss.
376
2b67cf00
JL
3772002-06-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
378
379 * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
380 section. Add ${RELOCATING-0}.
381
219576a4 3822002-06-26 J"orn Rennecke <joern.rennecke@superh.com>
164c4054
JR
383
384 * emulparams/shelf.sh (STACK_ADDR): Don't define.
385 (OTHER_SECTIONS): Define.
386 * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef.
387 (OTHER_SECTIONS): Undef.
388
fc28fbc2
AM
3892002-06-26 Alan Modra <amodra@bigpond.net.au>
390
391 * ldmisc.c (demangle): Restore dots stripped from sym name.
392
a13a0de8
L
3932002-06-25 H.J. Lu <hjl@gnu.org>
394
395 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
396 * Makefile.in: Regenerated.
397
b553b183
NC
3982002-06-20 Nick Clifton <nickc@cambridge.redhat.com>
399
400 * ld.texinfo (Bug Reporting): Update text to suggest a limit on
401 the size of attached object files, to allow make the object files
402 available via FTP or HTTP and to mention that the mail will be
403 sent to a mailing list.
404
2755afba
NC
4052002-06-20 Nathanael Nerode <neroden@twcny.rr.com>
406
407 * ld/configure.host (romp): Drop support.
408
7d0a848e
CD
4092002-06-18 Chris Demetriou <cgd@broadcom.com>
410
411 * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Check
412 section flags for SEC_DATA, rather than for SEC_CODE being unset.
413
8505f884
CD
4142002-06-18 Chris Demetriou <cgd@broadcom.com>
415
416 * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Fix
417 format specifier used to print BFD name.
418
7d553a40
DB
4192002-06-18 Dave Brolley <brolley@redhat.com>
420
421 From Catherine Moore, Michael Meissner, Jim Blandy:
422 * emulparams/elf32frv.sh: New file.
423 * configure.tgt: Support frv-*-*.
424 * Makefile.am (ALL_EMULATIONS): Add eelf32frv.o.
425 (eelf32frv.c): New target.
426
82434356
TR
4272002-06-17 Tom Rix <trix@redhat.com>
428
a59f3d35 429 * emultempl/elf32.em: gld*_get_script: Check for
82434356
TR
430 GENERATE_COMBRELOC_SCRIPT.
431 * scripttempl/elfd10v.sc : Fix STACK and INSN.
432 * emulparams/d10velf.sh : Fix TEXT_START_ADDR.
433
219576a4 4342002-06-13 J"orn Rennecke <joern.rennecke@superh.com>
5d9b5481
JR
435
436 * configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf.
437
c4bb8067
L
4382002-06-12 H.J. Lu <hjl@gnu.org>
439
440 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Return
441 false if xvec doesn't match.
442
e052cfbe
RS
4432002-06-10 Richard Sandiford <rsandifo@redhat.com>
444
445 * ldlang.c (lang_size_sections_1): Skip removed output sections.
446
4da711b1
AM
4472002-06-08 Alan Modra <amodra@bigpond.net.au>
448
449 * ldexp.c: Replace CONST with const.
450 * ldfile.c: Likewise.
451 * ldfile.h: Likewise.
452 * ldlex.l: Likewise.
453 * mri.c: Likewise.
454 * pe-dll.h: Likewise.
455
eb95bb9a
AM
4562002-06-07 Alan Modra <amodra@bigpond.net.au>
457
458 * emultempl/ppc64elf.em (new_vers_pattern): Warning fix.
459
e0076ab3
NC
4602002-06-07 Charles Wilson <cwilson@ece.gatech.edu>
461
462 * ld/ldmain.c (main): initialize link_info.pei386_auto_import
463 to -1 == implicit enable.
464 * ld/emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
465 initialize link_info.pei386_auto_import to -1 == implicit
466 enable.
467 (gld_${EMULATION_NAME}_parse_args): When processing
468 --enable-auto-import and --disable-auto-import options, use
469 '1' and '0' instead of 'true' and 'false'.
470 (pe_find_data_imports): Only issue message about auto-import
471 when the feature is implicitly enabled. Downgrade message to
472 informational instead of warning.
473
f13a5424
AM
4742002-06-07 Alan Modra <amodra@bigpond.net.au>
475
476 * scripttempl/elf.sc (.tbss): Fix mismatched parentheses/braces.
477
1abffd82
JL
4782002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
479
480 * configure.host (hppa*64*-*-hpux11*): Define NATIVE_LIB_DIRS,
481 HOSTING_CRT0 and HOSTING_LIBS.
482
e0076ab3 4832002-06-05 J"orn Rennecke <joern.rennecke@superh.com>
7a33bc10
JR
484
485 * configure.tgt (shle*-*-elf*, sh64le-*-elf*): New configurations.
486
4a5e698d
JT
4872002-06-05 Jason Thorpe <thorpej@wasabisystems.com>
488
489 * emulparams/ns32knbsd.sh (EXECUTABLE_SYMBOLS): Set _DYNAMIC to 0.
490 (NONPAGED_TEXT_START_ADDR): Set to 0x1000.
491
1d475d82
AM
4922002-06-05 Alan Modra <amodra@bigpond.net.au>
493
494 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place
495 SEC_EXCLUDE sections when doing a relocatable link.
496
5b0e55b6
JT
4972002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
498
499 * Makefile.am (ALL_EMULATIONS): Add eshelf32_nbsd.o,
500 eshlelf32_nbsd.o, eshelf64_nbsd.o, and eshlelf64_nbsd.o.
501 (eshelf32_nbsd.c, eshelf64_nbsd.c, eshlelf32_nbsd.c)
502 (eshlelf64_nbsd.c): New rules.
503 * Makefile.in: Regenerate.
504 * configure.tgt (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*)
505 (sh64-*-netbsd*): New targets.
506 * emulparams/shelf32_nbsd.sh: New file.
507 * emulparams/shelf64_nbsd.sh: New file.
508 * emulparams/shlelf32_nbsd.sh: New file.
509 * emulparams/shlelf64_nbsd.sh: New file.
510
9ad85d9b
AM
5112002-06-04 Alan Modra <amodra@bigpond.net.au>
512
513 * ldlang.c (section_already_linked): Call bfd_discard_group. Typo fix.
514
0c9b4fee
MM
5152002-06-02 Marek Michalkiewicz <marekm@amelek.gda.pl>
516
517 * scripttempl/avr.sc: Changes to support current GCC and avr-libc,
518 C++ constructors/destructors, loosely based on the m68hc11 port.
519
2c538bde
AM
5202002-05-31 Alan Modra <amodra@bigpond.net.au>
521
522 * Makefile.in: Regenerate.
523 * aclocal.m4: Regenerate.
524 * config.in: Regenerate.
525 * configure: Regenerate.
526
a0cb91c6
AM
5272002-05-31 Graeme Peterson <gp@qnx.com>
528
529 * Makefile.am (ALL_EMULATIONS): Add ei386nto.o.
530 (ei386nto.c): Add rule.
531 * Makefile.in: Regenerate.
532 * configure.tgt: Add i[3456]86-*-nto-qnx*.
533 * emulparams/i386nto.sh: New file.
534
37020578
JT
5352002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
536
537 * NEWS: Add entry for VAX ELF support.
538
ab68f3e0 5392002-05-29 Matt Thomas <matt@3am-software.com>
a59f3d35 540 Jason Thorpe <thorpej@wasabisystems.com>
ab68f3e0
JT
541
542 * Makefile.am (ALL_EMULATIONS): Add eelf32vax.o and evaxnbsd.o.
543 (eelf32vax.c)
544 (evaxnbsd.c): New rules.
545 * Makefile.in: Regenerate.
546 * configure.tgt (vax-*-netbsdelf*)
547 (vax-*-netbsdaout*)
548 (vax-*-netbsd*): New targets.
549 * emulparams/elf32vax.sh: New file.
550 * emulparams/vaxnbsd.sh: New file.
551
8afb0e02
NC
5522002-05-29 Adam Nemet <anemet@lnxw.com>
553
554 * emultempl/armelf.em (arm_elf_after_open): Don't determine
555 bfd_for_interwork, instead add glue sections to each input bfd.
556 (bfd_for_interwork): New global.
557 (arm_elf_set_bfd_for_interworking): New function.
558 (arm_elf_before_allocation): Use it.
559
d172d4ba
NC
5602002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
561
562 * Makefile.am: Add DLX make target.
563 * configure.tgt: Add DLX configuration.
564 * Makefile.in: Regenerate.
565 * emulparams/elf32_dlx.sh: New file
566 * scripttempl/dlx.sc: New file
567
b4477fa8
NC
5682002-05-27 Per Lundberg <per@caleb.dnsalias.org>
569
570 * Makefile.am (eelf_i386_chaos): Use elf_chaos.sc script.
571 * Makefile.in: Regenerate.
572 * emulparams/elf_chaos.sh: Use elf_chaos script.
573 * scripttempl/elf_chaos.sc: New file.
574
ee3cc2e2
RS
5752002-05-27 Richard Sandiford <rsandifo@redhat.com>
576
577 * ldlang.c (lang_size_sections_1): Move check for conflicting load
578 addresses and regions from here...
579 (lang_get_regions): ...to this new function.
580 (lang_leave_output_section_statement): Use lang_get_regions.
581 (lang_leave_overlay): Likewise.
582 * mri.c (mri_draw_tree): Pass null as last argument to
583 lang_leave_output_section_statement.
584 * emultempl/elf32.em (gld*_place_orphan): Likewise.
585 * emultempl/mmo.em (mmo_place_orphan): Likewise.
586 * emultempl/pe.em (gld*_place_orphan): Likewise.
587
aa501e5c
JT
5882002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
589
590 * configure.tgt: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
591
658957db
KH
5922002-05-25 Kazu Hirata <kazu@cs.umass.edu>
593
594 * ldemul.c: Fix formatting.
595 * ldfile.c: Likewise.
596 * pe-dll.c: Likewise.
597 * pe-dll.h: Likewise.
598
3511b595
AM
5992002-05-25 Alan Modra <amodra@bigpond.net.au>
600
0d6d936f
AM
601 * ldlang.c (lang_process): Formatting, grammar.
602
3511b595
AM
603 * ldlex.l: Use #include "" instead of <> for local header files.
604
436e8db0
NC
6052002-05-24 TAMURA Kent <kent@netbsd.org>
606
607 * configure.tgt: Add a target for i386-netbsdpe.
608
13ae64f3
JJ
6092002-05-23 Jakub Jelinek <jakub@redhat.com>
610
611 * scripttempl/elf.sc: Add .rel{,a}.t{bss,data}, .tdata and .tbss.
612 * ldlang.c (lang_add_section): Set SEC_THREAD_LOCAL for
613 output section if necessary. Handle .tbss.
614 (lang_size_sections): Clear _raw_size for .tbss section
615 (it allocates space in PT_TLS segment only).
616 * ldwrite.c (build_link_order): Build link order for .tbss too.
617
68b2fc7a
AM
6182002-05-23 Alan Modra <amodra@bigpond.net.au>
619
620 * configure.in: Correct spelling of AC_PREREQ.
621
70b0be79
CF
6222002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
623
624 * pe-dll.c (autofilter_liblist): Add more system libs excluded by
625 default.
626 (autofilter_objlist): Add crtbegin.o, crtend.o.
627
6282002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
629
630 * emultempl/pe.em (OPTION_EXCLUDE_LIBS): Add new define.
631 (longopts): Add new option --exclude-libs.
632 (gld_${EMULATION_NAME}_list_options): Give quick help about it.
633 (gld_${EMULATION_NAME}_parse_args): Use it.
634 * pe-dll.h (pe_dll_add_excludes): Add second param to prototype.
635 * pe-dll.c (exclude_list_struct): Add field type to distinguish symbols
636 from whole archives.
637 (pe_dll_add_excludes): Set excludes->type.
638 (auto_export): Add new variable libname and set to archive basename if
639 abfd. Use it when filtering default and user-specified libarary
640 excludes. Let string "ALL" mean all libs when filtering user-specified
641 libs.
642 * ld.texinfo: Document --exclude-libs.
643
fac1652d
AM
6442002-05-22 Alan Modra <amodra@bigpond.net.au>
645
646 * ldemul.c (ldemul_new_vers_pattern): New function.
647 * ldemul.h (ldemul_new_vers_pattern): Declare.
648 (struct ld_emulation_xfer_struct): Add new_vers_pattern.
649 * ldlang.c (lang_new_vers_pattern): Call ldemul_new_vers_pattern.
650 * emultempl/ppc64elf.em (dotsyms): New static var.
651 (gld${EMULATION_NAME}_new_vers_pattern): New function.
652 (LDEMUL_NEW_VERS_PATTERN): Define.
653 (PARSE_AND_LIST_PROLOGUE): Add OPTION_DOTSYMS, OPTION_NO_DOTSYMS.
654 (PARSE_AND_LIST_LONGOPTS): Likewise.
655 (PARSE_AND_LIST_ARGS_CASES): Handle them.
656 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Update
657 initialiser.
658 * emultempl/armcoff.em: Likewise.
659 * emultempl/armelf_oabi.em: Likewise.
660 * emultempl/beos.em: Likewise.
661 * emultempl/elf32.em: Likewise.
662 * emultempl/generic.em: Likewise.
663 * emultempl/gld960.em: Likewise.
664 * emultempl/gld960c.em: Likewise.
665 * emultempl/linux.em: Likewise.
666 * emultempl/lnk960.em: Likewise.
667 * emultempl/m68kcoff.em: Likewise.
668 * emultempl/mipsecoff.em: Likewise.
669 * emultempl/pe.em: Likewise.
670 * emultempl/sunos.em: Likewise.
671 * emultempl/ticoff.em: Likewise.
672 * emultempl/vanilla.em: Likewise.
673
eb3d6bb8
AM
6742002-05-22 Alan Modra <amodra@bigpond.net.au>
675
676 * genscripts.sh (LIB_PATH): For native targets, concatenate $libdir
677 and $NATIVE_LIB_DIRS. Add $tool_lib before other libs.
678 (LIB_SEARCH_DIRS): No need to use "tr".
679 (COMPILE_IN): Only set for native targets.
680 * configure.host (NATIVE_LIB_DIRS): Specify all native search dirs
681 here, rather than adding lib:/usr/lib:/usr/local/lib in genscripts.sh.
682 * configure.tgt (powerpc*): Set tdir_*.
683 (powerpcle*): Correct targ_extra_emuls.
684 * emulparams/elf32ppc.sh (LIB_PATH): Set up native 64 bit dirs.
685 * emulparams/elf64ppc.sh (LIB_PATH): Likewise.
686
54f24647
AM
6872002-05-22 Alan Modra <amodra@bigpond.net.au>
688
689 * emultempl/pe.em (set_pe_subsystem): Don't set "cmdline" when
690 calling lang_add_entry.
691
aa713662
L
6922002-05-21 H.J. Lu (hjl@gnu.org)
693
694 * emultempl/elf32.em (gld${EMULATION_NAME}_parse_args): Handle
695 "-z muldefs".
696 (gld${EMULATION_NAME}_list_options): Add "-z muldefs".
697
698 * ld.texinfo: Updated for --allow-multiple-definition and
699 "-z muldefs".
700
701 * ldmain.c (main): Initialize the allow_multiple_definition
702 field to false.
703
704 * lexsup.c (OPTION_ALLOW_MULTIPLE_DEFINITION): New.
705 (ld_options): Add --allow-multiple-definition.
706 (parse_args): Support OPTION_ALLOW_MULTIPLE_DEFINITION.
707
658f2588
JT
7082002-05-21 Jason Thorpe <thorpej@wasabisystems.com>
709
710 * Makefile.am (ALL_EMULATIONS): Add earmelfb_nbsd.o.
711 (earmelfb_nbsd.c): New rule.
a59f3d35 712 * Makefile.in: Regenerate.
658f2588 713 * configure.tgt (armeb-*-netbsdelf*): New target.
a59f3d35 714 (arm-*-netbsdelf*): Add armelfb_nbsd to targ_extra_emuls.
658f2588
JT
715 (arm-*-netbsd*): Likewise.
716 * emulparams/armelfb_nbsd.sh: New file.
717
ca10c62d
TR
7182002-05-18 Tom Rix <trix@redhat.com>
719
a59f3d35 720 * emultempl/aix.em (gld*_parse_args): Add -bnortl and -bnortllib
ca10c62d
TR
721 support.
722
fae1e84f
MM
7232002-05-17 Marek Michalkiewicz <marekm@amelek.gda.pl>
724
725 * Makefile.am: Add new emulations avr1, avr2, avr3, avr4, avr5.
726 * Makefile.in: Regenerate.
727 * configure.tgt (avr-*-*): Add avr[1-5] to targ_extra_emuls.
728
7c8bf1e8
MM
7292002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
730
731 * emulparams/avr1.sh: New file.
732 * emulparams/avr2.sh: New file.
733 * emulparams/avr3.sh: New file.
734 * emulparams/avr4.sh: New file.
735 * emulparams/avr5.sh: New file.
736 * scripttempl/avr.sc: New file.
737
c2c01aa7
AM
7382002-05-15 Alan Modra <amodra@bigpond.net.au>
739
740 * ldlang.c (section_already_linked): Call bfd_link_just_syms.
741 (lang_place_orphans): Abort if just_syms_flag.
742
f1f0d9ab
TR
7432002-05-10 Tom Rix <trix@redhat.com>
744
a59f3d35 745 * emultempl/aix.em: (gld*_set_output_arch): New function. Use
f1f0d9ab
TR
746 architecture and machine information in the output bfd.
747 (gld*_before_parse): Remove old arch and machine code.
748 (choose_target): Rename to gld*_choose_target.
a59f3d35
AM
749 (rtld): Change type to int.
750 * ldfile.c (ldfile_try_open_bfd): Disable compatiblity check for
f1f0d9ab
TR
751 objects in XCOFF archives.
752 * ldfile.h: Update copyright date.
753
f4d73366
JJ
7542002-05-10 Jakub Jelinek <jakub@redhat.com>
755
756 * ldmain.c (main): Enable -z combreloc by default.
757
d3d8a9ee
NC
7582002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
759
760 * Makefile.am: Honour DESTDIR.
761 * Makefile.in: Regenerate.
762
9f88b410
RS
7632002-05-07 Richard Sandiford <rsandifo@redhat.com>
764
765 * ldlang.h (lang_output_section_statement_type): Add update_dot_tree.
766 (lang_enter_overlay): Remove the last two parameters.
767 (lang_leave_overlay): Take them here instead.
768 * ldgram.y (memspec_at_opt): Set $$ to null if no region is given.
769 (section): Pass LMA and crossref flag to lang_leave_overlay rather
770 than lang_enter_overlay.
771 * ldlang.c (lang_memory_region_lookup): Return null for null names.
772 (lang_output_section_statement_lookup): Initialize update_dot_tree.
773 (lang_size_sections_1): Evaluate it.
774 (lang_leave_output_section_statement): Rework LMA lookup.
775 (overlay_lma, overlay_nocrossrefs): Remove.
3511b595 776 (lang_enter_overlay): Remove LMA and crossref arguments.
9f88b410
RS
777 (lang_enter_overlay_section): Don't set the LMA here.
778 (lang_leave_overlay): Take LMA and crossref arguments. Move the '.'
779 assignment to the last section's update_dot_tree. Unconditionally
780 use the load and run-time regions specified in the OVERLAY statement.
781 Likewise the first section's LMA. Only set the other sections' LMAs
782 when no load region is given.
783
b9a743c8
NC
7842002-05-06 Nick Clifton <nickc@redhat.com>
785
786 * po/sv.po: New translation.
787
a3d60be3
AM
7882002-05-04 Alan Modra <amodra@bigpond.net.au>
789
790 * emultempl/hppaelf.em (build_section_lists): New function.
791 (gld${EMULATION_NAME}_finish): Call elf32_hppa_setup_section_lists
792 and build_section_lists.
793
b7a26f91
KH
7942002-05-03 Kazu Hirata <kazu@cs.umass.edu>
795
796 * ld.h: Fix formatting.
797 * ldexp.c: Likewise.
798 * ldfile.c: Likewise.
799 * ldlang.c: Likewise.
800 * ldmain.c: Likewise.
801 * lexsup.c: Likewise.
802 * pe-dll.c: Likewise.
803
805fc799
AM
8042002-05-02 Alan Modra <amodra@bigpond.net.au>
805
806 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
807 Adjust for ppc64_elf_set_toc change. #include libbfd.h.
808 (build_section_lists): Do output_section tests here.
809
cc7e59b2
TR
8102002-04-30 Tom Rix <trix@redhat.com>
811
812 * emultempl/aix.em : (gld*_parse_arge): Formatting changes.
813
9c1d81c1
AM
8142002-05-01 Alan Modra <amodra@bigpond.net.au>
815
816 Long branch stubs, multiple stub sections.
817 * emultempl/ppc64elf.em: Include ldctor.h.
818 (stub_file): New var.
819 (group_size): New var.
820 (ppc_create_output_section_statements): New function.
821 (struct hook_stub_info): New.
822 (hook_in_stub): New function.
823 (ppc_add_stub_section): New function.
824 (ppc_layout_sections_again): New function.
825 (build_section_lists): New function.
826 (gld${EMULATION_NAME}_finish): Rewrite.
827 (real_func): New var.
828 (ppc_for_each_input_file_wrapper): New function.
829 (ppc_lang_for_each_input_file): New function.
830 (lang_for_each_input_file): Define.
831 (PARSE_AND_LIST_PROLOGUE): Define.
832 (PARSE_AND_LIST_LONGOPTS): Define.
833 (PARSE_AND_LIST_OPTIONS): Define.
834 (PARSE_AND_LIST_ARGS_CASES): Define.
835 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
836
aa67bccf
TR
8372002-04-30 Tom Rix <trix@redhat.com>
838
a59f3d35
AM
839 * emultempl/aix.em (gld*_parse_arge, gld*_before_allocation): Add
840 -blibpath, -bnolibpath support.
841
94349e12
MM
8422002-04-30 Mark Mitchell <mark@codesourcery.com>
843
844 * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o.
845 (eelf32ppcwindiss.c): New target.
846 * Makefile.in: Regenerated.
847 * configure.tgt: Add support for powerpc-*-windiss.
848 * emulparams/elf32ppcwindiss.sh: New file.
a59f3d35 849
7b17f854
RS
8502002-04-30 Richard Sandiford <rsandifo@redhat.com>
851
852 * ldlang.c (print_assignment): Update print_dot for assignments to ".".
853 * ldexp.c (exp_print_token): Add "infix_p" argument.
854 (exp_print_tree): Update accordingly.
855
596dafeb
AM
8562002-04-28 Alan Modra <amodra@bigpond.net.au>
857
858 * Makefile.am (mpw): New maintainer mode rule to make mpw-*.c files.
859 * Makefile.in: Regenerate.
860 * mpw-elfmips.c: Delete.
861 * mpw-eppcmac.c: Delete.
862 * mpw-esh.c: Delete.
863 * mpw-idtmips.c: Delete.
864
219576a4 8652002-04-17 J"orn Rennecke <joern.rennecke@superh.com>
a44d7f9c
JR
866
867 * emulparams/shelf32.sh (MACHINE): Now sh5.
868
944cd72c
TS
8692002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
870
871 * ldgram.y: Fix syntax warning.
872
5835c212
NC
8732002-04-11 Nick Clifton <nickc@cambridge.redhat.com>
874
875 * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Add 'n' in order
876 to prevent "-n" from being taken as an abbreviation for
877 "--no-pipeline-knowledge".
878
024531e2
AM
8792002-04-08 Alan Modra <amodra@bigpond.net.au>
880
d08a14c3
AM
881 * ldlang.c (lang_size_sections_1): Don't complain about
882 SEC_NEVER_LOAD sections having no memory region specified.
883
024531e2
AM
884 * ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix.
885
c657a1f0
MG
8862002-04-07 matthew green <mrg@redhat.com>
887
888 * ld/configure.host (*-*-netbsd*): Add support for NetBSD/ELF.
889
61bef6f1
AM
8902002-04-04 Alan Modra <amodra@bigpond.net.au>
891
892 * dep-in.sed: Cope with absolute paths.
893 * Makefile.am (dep.sed): Subst TOPDIR and BFDDIR.
894 Run "make dep-am".
895 * Makefile.in: Regenerate.
896
49ba2791
TS
8972002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
898
899 * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options.
900
50e60fb5
JJ
9012002-04-03 Jakub Jelinek <jakub@redhat.com>
902
903 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size
904 is smaller than maximum, round dot up to common page boundary.
905
6f12f4ca
AM
9062002-03-28 Alan Modra <amodra@bigpond.net.au>
907
908 * configure.host: Set up for generic hosts first, then tweak as
909 necessary in more specific targets.
910 (HOSTING_LIBS): Include libgcc_eh.a if found.
911
a8f1f017
AJ
9122002-03-23 Andreas Jaeger <aj@suse.de>
913
914 * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it.
915
1d3fdf38
AM
9162002-03-21 Alan Modra <amodra@bigpond.net.au>
917
918 * Makefile.am: Run "make dep-am".
919 * Makefile.in: Regenerate.
920
79b1faa8
AM
9212002-03-21 Albert Chin-A-Young <china@thewrittenword.com>
922
923 * genscripts.sh (LIB_SEARCH_DIRS): Quote path.
924
fcf0e35b
AM
9252002-03-20 Alan Modra <amodra@bigpond.net.au>
926
927 * ldlang.c (ldlang_add_undef): If the output bfd has been opened,
928 add the symbol to the linker hash table immediately.
929 (lang_place_undefineds): Split symbol creation out..
930 (insert_undefined): ..to here.
931
fed2999d
DB
9322002-03-18 David O'Brien <obrien@FreeBSD.org>
933
934 * emultempl/elf32.em: Use lbasename vs. basename to fix problem where
935 the contents of the buffer returned from basename function will are
936 getting overwritten while still being used.
937
219576a4
NC
9382002-03-18 Jan Hubicka <jh@suse.cz>
939 Andreas Jaeger <aj@suse.de>
940 Andreas Schwab <schwab@suse.de>
beb43bb9
JH
941
942 * configure.tgt (x86_64-*-linux-gnu*): Configure i386 as native.
943 * elf_x86_64.sh (ARCH): Set to i386:x86-64
944 set libraries to default to lib64 paths.
945
eb1e0e80
NC
9462002-03-18 Tom Rix <trix@redhat.com>
947
948 * Makefile.am : Add eaix5ppc and eaix5rs6, AIX 5 support.
949 * configure.tgt : Same.
950 * emulparms/aix5ppc.sh : New file. For eaix5ppc.
951 * emulparms/aix5rs6.sh : New file. For eaix5rs6.
952 * emulparms/aixppc.sh : OUPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT
953 emulation parameters for better -b32, -b64 support.
954 * emulparms/aixrs6.sh : Same.
955 * emulparms/ppcmacos.sh : Same.
956 * emultempl/aix.em (choose_target) : Use new emulation parameters
957 OUTPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT.
958 * Makefile.in : Regenerate.
959
a1c259a1
NC
9602002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
961
962 * po/fr.po: Updated version.
963
862120bd
AM
9642002-03-18 Alan Modra <amodra@bigpond.net.au>
965
966 * ldmain.c (main): Move .text readonly flag fudges from here..
967 * ldlang.c (lang_process): ..to here.
968
d35a52e2
AM
9692002-03-14 Alan Modra <amodra@bigpond.net.au>
970
971 * ldlang.c (lang_check): Remove the word size check added in last
972 change. Treat emitrelocations case as for relocatable links.
973
9ce88e60
NC
9742002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
975
976 * po/fr.po: Updated version.
977
30cba025
AM
9782002-03-13 Alan Modra <amodra@bigpond.net.au>
979
980 * ldlang.c (lang_check): Do relocatable link checks first, so that
981 warn_mismatch can't override. Check compatible and word size too.
982
84ec0e6d
DJ
9832002-03-07 Daniel Jacobowitz <drow@mvista.com>
984
985 * ld.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
986
2d13d8c5
JJ
9872002-03-05 Jakub Jelinek <jakub@redhat.com>
988
989 * scripttempl/elf.sc: Only use DATA_SEGMENT_END() together with
990 DATA_SEGMENT_ALIGN.
991
b5090659
L
9922002-03-04 H.J. Lu <hjl@gnu.org>
993
994 * scripttempl/elf.sc: Put .preinit_array, .init_array and
995 .fini_array in the data segment.
996
f42ce16e
AM
9972002-03-04 Alan Modra <amodra@bigpond.net.au>
998
999 * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit.
1000
de77b6ac
RH
10012002-03-01 David Mosberger <davidm@hpl.hp.com>
1002
1003 * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array,
1004 .init_array, and .fini_array.
1005
997e08c0
AS
10062002-02-20 Andreas Schwab <schwab@suse.de>
1007
1008 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold
1009 .IA64_unwind* in a relocatable link.
1010
9a66911f
NC
10112002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1012
1013 * NEWS: Mark 2.12 branch.
1014
d86bcc10
MS
10152002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
1016
1017 * emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit".
1018 * emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit".
1019
69f284c7
TR
10202002-02-18 Tom Rix <trix@redhat.com>
1021
1022 * emultempl/aix.em (gld*_parse_args): Add -brtl support.
1023 (gld*_before_allocation): Same.
a8f1f017 1024 (gld*_create_output_section_statements): Generate
69f284c7
TR
1025 __rtinit if run time linking. Add librtl.a to the link.
1026 (gld*_read_file): Clean.
1027
82bd7b59
AM
10282002-02-18 Alan Modra <amodra@bigpond.net.au>
1029
1030 * emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define.
1031
ac3e50bf
DB
10322002-02-18 David O'Brien <obrien@FreeBSD.org>
1033
6a7f963b 1034 * Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd,
ac3e50bf
DB
1035 eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd,
1036 and eelf64alpha_fbsd.
6a7f963b 1037 * Makefile.in: Regenerate.
ac3e50bf
DB
1038 * configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd,
1039 x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd):
1040 use a FreeBSD-specific emulation rather than the psABI one.
1041 * emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value
1042 for all FreeBSD ELF systems.
1043 * emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI
1044 emulation.
1045 * emulparams/elf32ppc_fbsd.sh: Likewise.
1046 * emulparams/elf64_ia64_fbsd.sh: Likewise.
1047 * emulparams/elf64_sparc_fbsd.sh: Likewise.
1048 * emulparams/elf64alpha_fbsd.sh: Likewise.
1049 * emulparams/elf_i386_fbsd.sh: Likewise.
1050 * emulparams/elf_x86_64_fbsd.sh: Likewise.
1051
6ad738c5
NC
10522002-02-18 Nick Clifton <nickc@cambridge.redhat.com>
1053
1054 * po/tr.po: Updated version.
1055
9673c93c
AM
10562002-02-18 Alan Modra <amodra@bigpond.net.au>
1057
1058 * ld.texinfo (Output Section Fill): Fix amateur texinfo.
1059 (FILL): Likewise.
1060
1c5e6447
HPN
10612002-02-17 Hans-Peter Nilsson <hp@bitrange.com>
1062
1063 * emultempl/mmo.em (mmo_after_open): Don't call
1064 _bfd_mmix_check_all_relocs when producing ELF output.
1065
8bb57516
RH
10662002-02-15 Richard Henderson <rth@redhat.com>
1067
de77b6ac 1068 * emulparams/elf64alpha.sh (NOP): Adjust for big-endian
8bb57516
RH
1069 definition. Emit a unop+nop pair.
1070
49fda6c8
HPN
10712002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1072
83c2d653
HPN
1073 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check
1074 for presence of .MMIX.reg_contents.linker_allocated before early
1075 exit.
1076
49fda6c8
HPN
1077 * NEWS: Mention support for MMIX.
1078
2c382fb6
AM
10792002-02-15 Alan Modra <amodra@bigpond.net.au>
1080
1081 Support arbitrary length fill patterns.
a139d329
AM
1082 * ld.texinfo (Output Section Fill): Describe fill expressions.
1083 (FILL): Refer to the above.
2c382fb6
AM
1084 * ldexp.h (etree_value_type): Add "str" field.
1085 (union etree_union): Add "str" to "value" struct.
1086 (exp_bigintop): Declare.
1087 (exp_get_fill): Declare.
1088 * ldexp.c: Include "safe-ctype.h".
1089 (exp_intop): Set value.str to NULL.
1090 (exp_bigintop): New function.
1091 (new_rel): Pass in "str", and set new.str from it.
1092 (new_rel_from_section): Set new.str to NULL.
1093 (fold_name): Adjust calls to new_rel.
1094 (exp_fold_tree): Likewise.
1095 (exp_get_fill): New function.
1096 * ldgram.y (struct big_int bigint, fill_type *fill): New.
1097 (INT): Returns a "bigint". Adjust all code handling INTs.
1098 (fill_opt): Returns a "fill".
1099 (fill_exp): Split out of fill_opt, use for FILL.
1100 * ldlang.h (struct _fill_type): New.
1101 (fill_type): Move typedef to ldexp.h.
1102 (lang_output_section_statement_type): "fill" is now a pointer.
1103 (lang_fill_statement_type): Likewise.
1104 (lang_padding_statement_type): Likewise.
1105 (lang_add_fill): Now takes a "fill_type *" param.
1106 (lang_leave_output_section_statement): Likewise.
1107 (lang_do_assignments): Likewise.
1108 (lang_size_sections): Likewise.
1109 (lang_leave_overlay_section): Likewise.
1110 (lang_leave_overlay): Likewise.
1111 * ldlang.c: Include ldgram.h after ldexp.h.
1112 (lang_output_section_statement_lookup): Adjust for fill_type change.
1113 (print_fill_statement): Likewise.
1114 (print_padding_statement): Likewise.
1115 (insert_pad): Now takes a "fill_type *" arg.
1116 (size_input_section): Likewise.
1117 (lang_size_sections_1): Likewise.
1118 (lang_size_sections): Likewise.
1119 (lang_do_assignments): Likewise.
1120 (lang_add_fill): Likewise.
1121 (lang_leave_output_section_statement): Likewise.
1122 (lang_leave_overlay_section): Likewise.
1123 (lang_leave_overlay): Likewise.
1124 Adjust all callers of the above function.
1125 * ldlex.l: Include ldgram.h after ldexp.h. Allow hex numbers
1126 starting with "0X" as well as "0x". Return bigint.str for hex
1127 numbers starting with "0x" or "0X", zero bigint.str otherwise.
1128 Always use base 16 for numbers starting with "$".
1129 * ldmain.c: Include ldgram.h after ldexp.h.
1130 * ldwrite.c (build_link_order): Use bfd_data_link_order in place
1131 of bfd_fill_link_order.
1132 * pe-dll.c: Adjust lang_do_assignments calls.
1133 * emultempl/elf32.em: Likewise.
1134 * emultempl/hppaelf.em: Likewise.
1135 * emultempl/ppc64elf.em: Likewise.
1136 * emultempl/beos.em: Include ldgram.h after ldexp.h, adjust
1137 lang_add_assignment call.
1138 * emultempl/pe.em: Likewise.
1139
313e35ee
AM
11402002-02-14 Phil Edwards <pme@gcc.gnu.org>
1141
a139d329 1142 * ld.texinfo (VERSION scripts): Symbol names are globbing patterns.
313e35ee
AM
1143 * ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern;
1144 the pattern in question is not a regexp.
1145 * ldlang.c: Likewise.
1146 * ldlang.h: Likewise.
1147 * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also.
1148
2d20f7bf
JJ
11492002-02-12 Jakub Jelinek <jakub@redhat.com>
1150
1151 * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
1152 * ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
1153 (exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp).
1154 * ldexp.c (exp_data_seg): New variable.
1155 (exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END.
1156 (fold_binary): Handle DATA_SEGMENT_ALIGN.
1157 (exp_fold_tree): Handle DATA_SEGMENT_END.
1158 Pass allocation_done when recursing instead of hardcoding
1159 lang_allocating_phase_enum.
1160 * ldexp.h (exp_data_seg): New.
1161 * ldlang.c (lang_size_sections_1): Renamed from lang_size_sections.
1162 (lang_size_sections): New.
1163 * ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document.
1164 * scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END
1165 if COMMONPAGESIZE is defined.
1166 * emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K.
1167 * emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K.
1168 * emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K.
1169 * emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K.
1170 * emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared
1171 libraries only.
1172
06880219
AM
11732002-02-11 Alan Modra <amodra@bigpond.net.au>
1174
1175 * Makefile.in: Regenerate.
1176
37b0ac0f
DJ
11772002-02-10 Daniel Jacobowitz <drow@mvista.com>
1178
1179 * lexsup.c: Remove strtoul declaration.
1180
4e5bae56
DJ
11812002-02-10 Daniel Jacobowitz <drow@mvista.com>
1182
1183 * ldmain.c: Add prototype for main ().
1184 * lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H.
1185 * emultempl/lnk960.em (lnk960_choose_target): Function should
1186 take two arguments.
1187
1e281515
AM
11882002-02-10 Alan Modra <amodra@bigpond.net.au>
1189
1190 * ldlang.c (entry_section): New initialised variable.
1191 (lang_finish): Use it.
1192 * ldlang.h (entry_section): Declare.
1193 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Set
1194 entry_section to ".opd".
1195
f92d92ff 11962002-02-09 Chris Demetriou <cgd@broadcom.com>
0a9c1c8e
CD
1197
1198 * ld.texinfo (Options): Add back in -nostdlib documentation,
1199 which had been inadvertently removed.
1200
74c44237
HPN
12012002-02-09 Hans-Peter Nilsson <hp@bitrange.com>
1202
1203 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Adjust
1204 register section vma to a sane value after emitting error. Make
1205 fatal conditions cause program exit when emitting message.
1206
5e37cc46
NC
12072002-02-08 Ivan Guzvinec <ivang@opencores.org>
1208
1209 * configure.tgt: Add or32-*-rtems target.
1210
2d92cb7d
AO
12112002-02-08 Alexandre Oliva <aoliva@redhat.com>
1212
1213 Contribute sh64-elf.
1214 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1215 * emulparams/shelf32.sh (STACK_ADDR): Define as formerly defined
1216 in OTHER_RELOCATABLE_SECTIONS.
1217 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
1218 * emulparams/shelf32.sh (STACK_ADDR): Define.
1219 (OTHER_RELOCATABLE_SECTIONS): Renamed to...
1220 (OTHER_SECTIONS): this. Removed stack settings.
1221 * emulparams/shelf64.sh (OTHER_RELOCATABLE_SECTIONS): Do not set.
1222 (OTHER_SECTIONS): Reset after sourcing shelf32.sh.
1223 2001-03-12 DJ Delorie <dj@redhat.com>
1224 * emultempl/sh64elf.em (sh64_elf_$_before_allocation): Disable
1225 relaxing if any shmedia or mixed sections are found.
1226 2001-03-07 DJ Delorie <dj@redhat.com>
1227 * emultempl/sh64elf.em (sh64_elf_before_allocation): Pass f to
1228 einfo. Gracefully decline to output to non-elf formats.
1229 2001-03-06 Hans-Peter Nilsson <hpn@redhat.com>
1230 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS) <.stack>:
1231 Default to _end aligned to next multiple of 0x40000, plus 0x40000.
1232 * emulparams/shelf32.sh: Ditto.
1233 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
1234 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Tweak
1235 comment.
1236 2001-01-10 Ben Elliston <bje@redhat.com>
1237 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Avoid
1238 non-portable shell constructs. From Hans-Peter Nilsson.
1239 2001-01-09 Hans-Peter Nilsson <hpn@cygnus.com>
1240 * emulparams/shelf64.sh (EXTRA_EM_FILE): Define empty.
1241 * Makefile.am (eshelf64.c, eshlelf64.c, eshlelf32.c): Adjust
1242 dependencies to the shell script include chain.
1243 * Makefile.in: Regenerate.
1244 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
1245 * emultempl/sh64elf.em: Update and tweak comments.
1246 (sh64_elf_${EMULATION_NAME}_after_allocation): Always allocate and
1247 make a .cranges section SEC_IN_MEMORY.
1248 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
1249 * emultempl/sh64elf.em
1250 (sh64_elf_${EMULATION_NAME}_before_allocation): Don't stop when
1251 .cranges section found to be necessary; continue and set stored
1252 section contents flags for sections with non-mixed contents.
1253 Use a struct sh64_section_data container and sh64_elf_section_data
1254 to store contents-type flags.
1255 Remove unused update of "isec".
1256 (sh64_elf_${EMULATION_NAME}_after_allocation): Only process
1257 sections marked SHF_SH5_ISA32_MIXED. Use sh64_elf_section_data to
1258 access contents-type flags. Assert that the associated container
1259 is initialized. Use that container, not elf_gp_size, to hold size
1260 of linker-generated cranges contents.
1261 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
1262 * emultempl/sh64elf.em
1263 (sh64_elf_${EMULATION_NAME}_before_allocation): Exit early if
1264 there's already a .cranges section. When section flag difference
1265 is found, don't NULL-check cranges a second time. Tweak comments.
1266 (sh64_elf_${EMULATION_NAME}_after_allocation): Use size after
1267 merging, not max size, as size of ld-generated .cranges contents.
1268 Don't set ELF section flags in output section. When checking for
1269 needed .cranges descriptors, don't use a variable; compare
1270 incoming ELF section flags directly to SHF_SH5_ISA32_MIXED. Tweak
1271 comments.
1272 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
1273 * emultempl/sh64elf.em: New file.
1274 * Makefile.am (eshelf32.c, eshlelf32.c): Adjust dependencies.
1275 * Makefile.in: Regenerate.
1276 * emulparams/shelf32.sh (OUTPUT_FORMAT): Only set if not set.
1277 (OTHER_RELOCATING_SECTIONS): Ditto.
1278 (EXTRA_EM_FILE): New, set to sh64elf if not set.
1279 * emulparams/shlelf32.sh: Stub out all settings except
1280 OUTPUT_FORMAT. Source shelf32.sh.
1281 * emulparams/shelf64.sh: Similar, but also keep ELF_SIZE and
1282 OTHER_RELOCATING_SECTIONS.
1283 (OTHER_RELOCATING_SECTIONS): Remove .cranges.
1284 * emulparams/shlelf64.sh: Stub out all settings except
1285 OUTPUT_FORMAT. Source shelf64.sh.
1286 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
1287 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS): Include
1288 .cranges section.
1289 (DATA_START_SYMBOLS): Define, provide ___data.
1290 (OTHER_READONLY_SYMBOLS): Define, provide ___rodata and align to 8
1291 for consecutive .data section.
1292 (OTHER_GOT_SECTIONS): Define, align to 8 for consecutive .bss
1293 section after .data section.
1294 * emulparams/shlelf64.sh: Ditto.
1295 * emulparams/shelf32.sh: Ditto.
1296 (ALIGNMENT): Define to 8.
1297 * emulparams/shelf32.sh: Ditto.
1298 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
1299 * configure.tgt (sh64-*-elf*): Assign targ_extra_libpath to get
1300 built-in linker scripts.
1301 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
1302 * emulparams/shlelf64.sh: New.
1303 * emulparams/shelf64.sh: New.
1304 * configure.tgt (sh64-*-elf*): Add shelf64 and shlelf64 to
1305 targ_extra_emuls.
1306 * Makefile.am: Add support for shlelf64 and shelf64.
1307 * Makefile.in: Regenerate.
1308 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
1309 * configure.tgt (sh64-*-elf*): Add shelf as default.
1310 Add shlelf to targ_extra_emuls.
1311 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
1312 * emulparams/shelf32.sh: New file.
1313 * emulparams/shlelf32.sh: New file.
1314 * Makefile.am: Add support for shlelf32 and shelf32.
1315 * configure.tgt: Map sh64-*-elf* to shlelf32 and shelf32.
1316 * Makefile.in: Regenerate.
1317
e3dc8847
HPN
13182002-02-05 Hans-Peter Nilsson <hp@axis.com>
1319
1320 * ldlang.c (lang_reset_memory_regions): Rename from
1321 reset_memory_regions. Change all callers. Make public.
1322 * ldlang.h (lang_reset_memory_regions): Prototype.
1323 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call
1324 lang_reset_memory_regions before lang_size_sections.
126730bd
HPN
1325 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
1326 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise.
e3dc8847 1327
8017dbcb
HPN
13282002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
1329
1330 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signed
1331 arithmetic when checking for too many global registers.
1332
006336b8
JT
13332002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
1334
1335 * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o.
1336 (ehppanbsd.c): New rule.
1337 * Makefile.in: Regenerate.
1338 * configure.tgt (hppa*-*-netbsd*): New target.
1339 * emulparams/hppalinux.sh: Add comment to check other files
1340 that source this file it is modified, and list which
1341 files that do.
1342 * emulparams/hppanbsd.sh: New file.
1343
da1f2fec
GK
13442002-02-01 Geoffrey Keating <geoffk@redhat.com>
1345
1346 * scripttempl/xstormy16.sc: Don't allocate extra space for the
1347 stack.
1348
48fa4a5d
HPN
13492002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
1350
1351 Support on-demand global register allocation from
1352 R_MMIX_BASE_PLUS_OFFSET relocs.
1353 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from
1354 mmix_set_reg_section_vma. Call
1355 _bfd_mmix_finalize_linker_allocated_gregs.
1356 (mmix_before_allocation): New function.
1357 (LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation.
1358 (LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation.
1359 * scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP.
1360 (.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated
1361 before .MMIX.reg_contents.
1362 * emultempl/mmo.em (gldmmo_before_allocation): Define to default.
1363 (mmo_after_open): New function.
1364 (LDEMUL_AFTER_OPEN): Define to mmo_after_open.
1365 * emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting. Add
1366 .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents.
1367
3b16e843
NC
13682002-01-31 Ivan Guzvinec <ivang@opencores.org>
1369
1370 * emulparams/or32.sh: New file.
1371 * emulparams/or32elf.sh: New file.
1372 * scripttempl/or32.sc: New file.
1373 * configure.tgt : Add support for or32.
1374 * configure: Regenerate
1375 * Makefile.am: Add support for or32.
1376 * Makefile.in: Regenerate.
1377 * NEWS: Mention support for or32.
1378 * po/ld.pot: Regenerate.
1379
f744d540 13802002-01-29 Chris Demetriou <cgd@broadcom.com>
313e35ee 1381 Mitch Lichtenberg <mpl@broadcom.com>
f744d540
CD
1382
1383 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself.
1384 * emultempl/mipself.em: New file to handle MIPS ELF embedded
1385 reloc creation (ld --embedded-relocs).
1386
4867be41
DJ
13872002-01-27 Daniel Jacobowitz <drow@mvista.com>
1388
1389 * configure: Regenerated.
1390
cd8e197b
HPN
13912002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1392
1393 * Makefile.am (install): Depend on install-info.
1394 * Makefile.in: Regenerate.
1395
9cb61eab
AM
13962002-01-26 Christian Rose <menthos@menthos.com>
1397
1398 * ldmain.c (main): Use full sentences to ease translation.
1399
1caa7b23
NC
14002002-01-26 Nick Clifton <nickc@cambridge.redhat.com>
1401
1402 * po/fr.po: Updated version.
1403
1ddbd152
NC
14042002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
1405
1406 * po/es.po: Updated version.
1407
1e84433f
AJ
14082002-01-25 Andreas Jaeger <aj@suse.de>
1409
1410 * ldlex.l (yy_input): Correct error check.
1411
6d39955e
AM
14122002-01-25 Alan Modra <amodra@bigpond.net.au>
1413
1414 * ldmisc.c (demangle): Put back dots when string not demangled.
1415
a9ed1e1b
RH
14162002-01-22 Richard Henderson <rth@redhat.com>
1417
1418 * emulparams/elf64alpha.sh (NOP): Use unop.
1419
968ec2b9
AJ
14202002-01-21 Andreas Jaeger <aj@suse.de>
1421
1422 * ldlex.l: Use fread instead of read.
1423
9596feea
JT
14242002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
1425
1426 * configure.tgt (ia64-*-netbsd*): New target.
1427
493a6d47
L
14282002-01-21 H.J. Lu <hjl@gnu.org>
1429
1430 * emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to
1431 0.
1432 * emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise.
1433
2a538ba5
AJ
14342002-01-18 Andreas Jaeger <aj@suse.de>
1435
1436 * ldver.c (ldversion): Update year.
1437
328577ad
NC
14382002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1439
1440 * po/ld.pot: Regenerate.
1441
1f808cd5
AM
14422002-01-16 Alan Modra <amodra@bigpond.net.au>
1443
1444 * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em.
1445 * Makefile.in: Regenerate.
1446 * emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define.
1447 * emultempl/ppc64elf.em: New file.
1448
335c5610
DD
14492002-01-15 DJ Delorie <dj@redhat.com>
1450
1451 * scripttempl/pe.sc: Add support for constructor priorities.
1452
c40bbade
DC
14532002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
1454
1455 * emulparams/avr1200.sh (DATA_START): Define as 0x60.
1456 * emulparams/avr23xx.sh: Likewise.
1457 * emulparams/avr4433.sh: Likewise.
1458 * emulparams/avr44x4.sh: Likewise.
1459 * emulparams/avr85xx.sh: Likewise.
1460 * emulparams/avrmega103.sh: Likewise.
1461 * emulparams/avrmega161.sh: Likewise.
1462 * emulparams/avrmega603.sh: Likewise.
1463 * scripttempl/elf32avr.sc: Use DATA_START instead of 0x60.
1464
34efb449
AO
14652002-01-08 Alexandre Oliva <aoliva@redhat.com>
1466
1467 * ldlang.c (walk_wild_section): Exclude object file if enclosing
1468 archive is excluded.
1469
8d05742f
JT
14702002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
1471
1472 * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o.
2a538ba5 1473 (eshelf_nbsd.c): New rule.
8d05742f
JT
1474 (eshlelf_nbsd.c): New rule.
1475 * Makefile.in: Regenerate.
1476 * configure.tgt (sh*le-*-netbsdelf*): New target.
1477 (sh*-*-netbsdelf*): New target.
1478 * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file.
1479 * ld/emulparams/shelf_nbsd.sh: New emulation.
1480 * ld/emulparams/shlelf_nbsd.sh: New emulation.
1481
be2d1673
NC
14822002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
1483
1484 * po/es.po: New file: Spanish translation.
1485 * configure.in (ALL_LINGUAS): Add es.
1486 * configure: Regenerate.
1487
dbab7a7b
NC
14882002-01-06 John Marshall <jmarshall@acm.org>
1489
1490 * ld.texinfo: Note that --emit-relocs is currently only
1491 implemented for ELF.
1492
3dfe7a8c
AM
14932002-01-05 Alan Modra <amodra@bigpond.net.au>
1494
1495 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use
1496 of bfd_section_list_remove and bfd_section_list_insert macros.
1497 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1498 * emultempl/mmo.em (mmo_place_orphan): Likewise.
1499
8a8b2d4b
AJ
15002002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
1501
1502 * configure.tgt (x86_64-*-netbsd*): New target.
1503
9a4c7f16
TR
15042001-12-21 Tom Rix <trix@redhat.com>
1505
8a8b2d4b 1506 (gld*_create_output_section_statements): New function.
9a4c7f16
TR
1507 For -binitfini support.
1508 * emultempl/aix.em (gld*_before_parse): Fix comment.
1509 * emultempl/aix.em (gld*_parse_args): Fix comment.
1510
3695c299
AM
15112001-12-20 Jason Thorpe <thorpej@wasabisystems.com>
1512
cf86e6df
AM
1513 * configure.tgt (mips*-dec-netbsd*): Delete alias for
1514 mips*el-*-netbsd*.
1515 (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls.
1516
3695c299
AM
1517 * configure.tgt (arm-*-netbsdelf*): Add target.
1518 (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls.
1519 * emulparams/armelf_nbsd.sh: Added.
1520 * Makefile.am: Add rules for earmelf_nbsd.
1521 * Makefile.in: Regenerate.
1522
97cb79ae
AJ
15232001-12-19 Andreas Jaeger <aj@suse.de>,
1524 Susanne Oberhauser <froh@suse.de>
1525
1526 * configure.host: Add rules for x86_64-*linux-gnu. Change
1527 s390x-linux entry to use gcc to report configuration, replace gcc
1528 with $CC in s390-linux
1529
9d201f2f
AJ
15302001-12-19 Andreas Jaeger <aj@suse.de>
1531
1532 * ld.texinfo (VERSION): Fix markup.
1533
0b69cd08
MG
15342001-12-18 matthew green <mrg@eterna.com.au>
1535
1536 * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o.
1537 (m68kelfnbsd.c): New rule.
1538 * Makefile.in: Regenerate.
1539 * configure.tgt (m68*-hp-netbsd*): Renamed to ..
1540 (m68*-*-netbsd*4k*): .. this.
1541 (m68*-*-netbsdelf*): New target.
1542 (m68*-*-netbsd*): Also include ELF support.
1543 (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*.
1544 * emulparams/m68kelfnbsd.sh: New emulation.
1545
6b9b879a
JJ
15462001-12-18 Jakub Jelinek <jakub@redhat.com>
1547
1548 * ldgram.y (vers_node): Support anonymous version tags.
1549 * ldlang.c (lang_register_vers_node): Ensure anonymous version
1550 tag is not defined together with non-anonymous versions.
1551 * ld.texinfo: Document it.
1552
9fc877ed
NC
15532001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1554
1555 * po/tr.po: New file: Turkish translation.
1556 * configure.in (ALL_LINGUAS): Add tr.
1557 * configure: Regenerate.
1558
fc18a3f3
RH
15592001-12-17 Jason Thorpe <thorpej@wasabisystems.com>
1560
1561 * Makefile.am: Add rules for eelf64alpha_nbsd.
1562 * Makefile.in: Regenerate.
1563 * configure.tgt (alpha*-*-netbsd*): Set
1564 targ_emul to elf64alpha_nbsd.
1565 * emulparams/elf64alpha_nbsd.sh: Added.
1566
76f63e91
AM
15672001-12-17 Alan Modra <amodra@bigpond.net.au>
1568
1569 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust
1570 section_tail when fiddling with section list.
1571 (gld${EMULATION_NAME}_list_options): Ensure sentences aren't
1572 broken into separate strings to make translation easier.
1573 * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when
1574 fiddling with section list.
1575 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1576
d03b89bd
HPN
15772001-12-16 Hans-Peter Nilsson <hp@bitrange.com>
1578
1579 * scripttempl/mmo.sc: Add .debug_ranges to listed sections.
1580
320fec9a
AM
15812001-12-15 Alan Modra <amodra@bigpond.net.au>
1582
1583 * ldmain.c (main): Initialise link_info.eh_frame_hdr.
1584
65765700
JJ
15852001-12-13 Jakub Jelinek <jakub@redhat.com>
1586
1587 * emultempl/elf32.em (finish): Supply output_bfd
1588 to bfd_elf*_discard_info.
1589 (OPTION_EH_FRAME_HDR): Define.
1590 (longopts): Add --eh-frame-hdr.
1591 (parse_args): Handle it.
1592 (list_options): Add --eh-frame-hdr to help.
1593 * emultempl/hppaelf.em (finish): Supply output_bfd
1594 to bfd_elf*_discard_info.
1595 * scripttempl/elf.sc (.eh_frame_hdr): Add.
1596
89894c62
AM
15972001-12-13 Alan Modra <amodra@bigpond.net.au>
1598
1599 * lexsup.c (parse_args): Don't pass shortopts to second call to
1600 getopt functions. Restore optind rather than decrementing before
1601 second call. Remove errind as it now duplicates last_optind.
1602
583f1926
CF
16032001-12-11 Christopher Faylor <cgf@redhat.com>
1604
1605 * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo.
1606
93fbbb04
GK
16072001-12-07 Geoffrey Keating <geoffk@redhat.com>
1608 Richard Henderson <rth@redhat.com>
1609
1610 * Makefile.am: Add support for xstormy16.
1611 * configure.tgt: Add support for xstormy16.
1612 * Makefile.in: Regenerate.
1613 * emulparams/elf32xstormy16.sh: New file.
1614 * scripttempl/xstormy16.sc: New file.
1615
583f1926
CF
16162001-10-01 Christopher Faylor <cgf@cygnus.com>
1617
fc18a3f3
RH
1618 * Makefile.in (LIB_PATH): Make configurable.
1619 (GENSCRIPTS): Set LIB_PATH in environment.
1620 * configure.in: Substitute LIB_PATH.
1621 * configure: Regenerate.
1622 * configure.tgt (*cygwin): Set LIB_PATH for cross build.
1623 * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS.
583f1926 1624
ff291a48
NC
16252001-12-07 Nick Clifton <nickc@cambridge.redhat.com>
1626
1627 * lexsup.c (ld_options): Insert 'PROGRAM' into the text string
1628 describing the -N option so that it is easier to translate into
1629 foreign languages.
1630
e3c8793a
NC
16312001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1632
1633 * emultempl/pe.em (..._list_options): Replace multiple fprintf
1634 statements describing a single option with a single, newline
1635 escaped fprintf. This allows better translation into other
1636 languages.
9d201f2f 1637
fc18a3f3
RH
1638 * ldmain.c (add_archive_element): Combine multiple strings
1639 into a single string to permit better translation into other
1640 languages.
e3c8793a 1641
f2eab0af
TR
16422001-12-05 Tom Rix <trix@redhat.com>
1643
1644 * Makefile.am: Remove eaixppc64.
9d201f2f 1645 * Makefile.in: Regenerate.
f2eab0af 1646
249172c3
TR
16472001-12-04 Tom Rix <trix@redhat.com>
1648
9d201f2f 1649 * emultempl/aix.em (choose_target): Change default target to
249172c3
TR
1650 OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler
1651 warning.
1652 (gld*_read_file): Fix typo.
1653 (change_symbol_mode): Add prototype.
1654 (is_syscall): Same.
9d201f2f 1655
249172c3
TR
1656 * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete.
1657 * emulparams/aixrs6.sh : Same.
1658 * emulparams/ppcmacos.sh : Same.
1659 * emulparams/aixppc64.sh : Delete file.
1660 * emultempl/aix.em : Formatting changes.
1661
5b5cd1b0
HPN
16622001-12-04 Hans-Peter Nilsson <hp@axis.com>
1663
1664 * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes.
1665 (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting
1666 __Sbss.
1667 (OTHER_END_SYMBOLS): Fix formatting.
1668 * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes.
1669 (OTHER_END_SYMBOLS): Fix formatting.
1670
7cecdbff
AM
16712001-12-04 Alan Modra <amodra@bigpond.net.au>
1672
1673 * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT.
1674
742aeb63 16752001-12-02 Tom Rix <trix@redhat.com>
7cecdbff 1676
742aeb63 1677 * configure.tgt : Remove eaixppc64 emulations.
7cecdbff 1678 * Makefile.in : Remove eaixppc64.c
742aeb63
TR
1679 * ldemul.c (ldemul_choose_target): New parameters argc, argv.
1680 (ldemul_default_target): Same.
1681 * emultempl/gld960.em (gld960_choose_target): Same.
7cecdbff
AM
1682 * emultempl/gld960c.em (gld960_choose_target): Same.
1683 * scripttempl/aix.sc: Remove OUTPUT_FORMAT.
742aeb63
TR
1684 * emultempl/aix.em (is_syscall): syscall_mask now a variable.
1685 * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable.
1686 * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation.
7cecdbff 1687 * emultempl/aix.em (choose_target): New function. Handle emulation of
742aeb63
TR
1688 -b32 and -b64.
1689
48459341
L
16902001-11-27 H.J. Lu <hjl@gnu.org>
1691
1692 * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes.
1693 * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise.
1694 * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise.
1695 * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise.
1696 * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise.
1697 * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise.
1698 * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise.
1699 * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise.
1700
7cecdbff 1701 * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA}
48459341
L
1702 is not empty.
1703 (SDATA): Likewise.
1704 (REL_SDATA): Likewise.
1705 (REL_SBSS): Likewise.
1706 (REL_SDATA2): Likewise.
1707 (REL_SBSS2): Likewise.
1708 (SBSS2): Define if ${NO_SMALL_DATA} is not empty.
1709 (SDATA2): Likewise.
1710
ecfdd20c
SC
17112001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1712
1713 * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
1714 destructor in rom.
7cecdbff 1715 * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.
ecfdd20c 1716
da54c6eb
L
17172001-11-22 H.J. Lu <hjl@gnu.org>
1718
1719 * Makefile.in: Regenerated with automake based on automake
1720 1.4-8 in RedHat 7.1.
1721
465bc359
AM
17222001-11-22 Alan Modra <amodra@bigpond.net.au>
1723
1724 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
1725 (config.status): Delete rule.
1726 Add extra dependencies to cover sourced emulparams files.
1727 * Makefile.in: Regenerate.
1728
1729 * scripttempl/elf.sc: Order <section>, <section>.* and
1730 corresponding linkonce sections as seen in input files.
1731 Formatting fixes. Zero vma of all sections if not relocating.
1732 (STACK): Define and insert if STACK_ADDR defined.
1733 (OTHER_RELOCATING_SECTIONS): Delete.
1734 (OTHER_END_SYMBOLS): Define.
1735 (OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
1736 (OTHER_READWRITE_SECTIONS): Likewise.
1737 (OTHER_GOT_SECTIONS): Likewise.
1738 (OTHER_SDATA_SECTIONS): Likewise.
1739 (OTHER_BSS_SECTIONS): Likewise.
1740 * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
1741 (OTHER_READWRITE_SECTIONS): Likewise.
1742 * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
1743 (OTHER_READWRITE_SECTIONS): Likewise
1744
1745 * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
1746 (STACK_ADDR): Define.
1747 * emulparams/armelf_oabi.sh: As for armelf.sh.
1748 * emulparams/elf32mcore.sh: As for armelf.sh.
1749 * emulparams/h8300elf.sh: As for armelf.sh.
1750 * emulparams/mn10200.sh: As for armelf.sh.
1751 * emulparams/shelf.sh: As for armelf.sh.
1752
1753 * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
1754 (OTHER_END_SYMBOLS): Define.
1755 * emulparams/m32relf.sh: As for elf32fr30.sh.
1756 * emulparams/h8300helf.sh: As for elf32fr30.sh.
1757 * emulparams/h8300self.sh: As for elf32fr30.sh.
1758
1759 * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
1760 defines with RELOCATING test.
1761 (OTHER_SDATA_SECTIONS): Likewise.
1762 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
1763 (OTHER_END_SYMBOLS): ..this.
1764 * emulparams/crislinux.sh: As for criself.sh.
1765
1766 * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
1767 if not relocating.
1768 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
1769 (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order
1770 normal and linkonce sections as seen in input files.
1771 * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
1772 (TEXT_DYNAMIC): Likewise.
1773 (INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
1774 (OTHER_SDATA_SECTIONS): Likewise.
1775 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
1776 * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
1777 * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
1778 * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
1779 * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
1780 (OTHER_PLT_RELOC_SECTIONS): Likewise.
1781 (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce
1782 sections as seen in input files.
1783 * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
1784 * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
1785 if not relocating.
1786 (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
1787 (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
1788 * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
1789 (OTHER_SECTIONS): Instead, use this..
1790 (OTHER_END_SYMBOLS): ..and this.
1791
1792 * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
1793 * emulparams/elf32bsmip.sh: Likewise.
1794 * emulparams/elf32btsmip.sh: Likewise.
1795 * emulparams/elf32ebmip.sh: Likewise.
1796 * emulparams/elf32lmip.sh: Likewise.
1797 * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
1798 * emulparams/elf32lsmip.sh: Likewise.
1799 * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
1800 * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
1801 * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
1802 * emulparams/elf64btsmip.sh: Likewise.
1803 * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
1804 * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
1805 * emulparams/elf32ppclinux.sh: Likewise.
1806 * emulparams/elf32ppcsim.sh: Likewise.
1807 * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
1808 * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
1809 * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
1810 * emulparams/h8300self.sh: Likewise.
1811 * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
1812 * emulparams/sh.sh: Comment.
1813 * emulparams/shl.sh: Source sh.sh, remove duplicates.
1814 * emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
1815 * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
1816
abc6ab0a
AM
18172001-11-21 David Heine <dlheine@tensilica.com>
1818 Alan Modra <amodra@bigpond.net.au>
1819
1820 * ldlang.c (map_input_to_output_sections): Replace "break"
1821 accidentally removed with 2001-08-03 change.
1822 (lang_gc_sections_1): Likewise.
1823
2181f54f
AM
18242001-11-21 Alan Modra <amodra@bigpond.net.au>
1825
1826 * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
1827
ca0b5847
AM
18282001-11-20 Angela Marie Thomas <angela@redhat.com>
1829
1830 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
2181f54f
AM
1831 of false when calling lang_size_sections.
1832 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
ca0b5847 1833
c56feb2b
AM
18342001-11-15 Alan Modra <amodra@bigpond.net.au>
1835
1836 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
1837 function when LDEMUL_FINISH isn't set to the same name. Don't
1838 call ${LDEMUL_FINISH}.
1839 (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined.
1840 * emultempl/armelf.em (arm_elf_finish): Call
1841 gld${EMULATION_NAME}_finish.
1842 * emultempl/hppaelf.em (hppaelf_finish): Rename to
1843 gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and
1844 hppaelf_layout_sections_again if necessary.
1845 (need_laying_out): New var.
1846 (hppaelf_layaout_sections_again): Rename to
1847 hppaelf_layout_sections_again. Clear need_laying_out.
1848 (PARSE_AND_LIST_OPTIONS): Format text.
1849
a48ca7f2
L
18502001-11-14 H.J. Lu <hjl@gnu.org>
1851
1852 * emultempl/armelf.em (arm_elf_finish): Renamed from
1853 gld${EMULATION_NAME}_finish.
1854 (LDEMUL_FINISH): Set to arm_elf_finish.
1855
73d074b4
DJ
18562001-11-14 Daniel Jacobowitz <drow@mvista.com>
1857
1858 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New.
1859 (struct ld_emulation_xfer_struct): Use it.
1860
3b16e843 18612001-11-13 Ross Alexander <ross.alexander@uk.neceur.com>
fc65c602 1862
465bc359 1863 * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add
fc65c602
JL
1864 additional symbols referenced by newer crt0.o files from HP.
1865
f11b7027
NC
18662001-11-12 Anthony Green <green@redhat.com>
1867
1868 * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol.
1869
3bf2994f
AM
18702001-11-12 Alfred M. Szmidt <ams@kemisten.nu>
1871
1872 * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.
1873 * Makefile.in: Regenerate.
1874
ff5dcc92
SC
18752001-11-02 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1876
1877 * ld.texinfo: Use @command for commands, @option for options.
1878 * Makefile.am (POD2MAN): Use 'GNU Development Tools' for
1879 the page man title.
1880 * Makefile.in: Rebuild.
1881
9fb9af6e
CD
18822001-11-04 Chris Demetriou <cgd@broadcom.com>
1883
1884 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
1885 Add support for targets.
2181f54f 1886
3c62831e
NC
18872001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
1888
1889 * configure.in (ALL_LINGUAS): Add "fr" and "sv"
1890 * configure: Regernate.
1891 * po/fr.po: New file.
1892 * po/sv.po: New file.
1893
3a9091c4
NC
18942001-11-01 NIIBE Yutaka <gniibe@m17n.org>
1895
1896 * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls
1897 as little endian default and to support big endian.
2181f54f 1898
361b220e
CD
18992001-11-01 Chris Demetriou <cgd@broadcom.com>
1900
1901 * ld.texinfo (Options): Document new option, -nostdlib.
1902 * lexsup.c (OPTION_NOSTDLIB): New definition.
1903 (ld_options): Add entry for "nostdlib".
1904 (parse_args): Handle OPTIONS_NOSTDLIB.
1905 * ldfile.c (ldfile_add_library_path): Don't add directories
1906 to the search path if they weren't specified on the command line
1907 and -nostdlib was specified.
1908 * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
1909
210a7bd1
NC
19102001-10-31 Nick Clifton <nickc@cambridge.redhat.com>
1911
1912 * lexsup.c (parse_args): Prevent infinite parsing loop when
1913 "-rpath.a" is specified on the command line.
1914 Replace calls to fprintf with calls to einfo.
1915
114283d8
NC
19162001-10-31 John Marshall <jmarshall@acm.org>
1917
1918 * ld.texinfo: A historical requirement that MEMORY and SECTIONS
1919 appear only once across all the linker scripts involved in a link
1920 invocation no longer applies. Make the documentation reflect
1921 that.
1922
7649aa50
NC
19232001-10-31 NIIBE Yutaka <gniibe@m17n.org>
1924
1925 * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
1926 targets.
1927 (sh-*-linux*): Added targ_extra_libpath.
1928
6e814ff8
AM
19292001-10-31 David Heine <dlheine@tensilica.com>
1930
1931 * ldlang.c (lang_size_sections): Keep a valid output_offset field
1932 for padding statements.
1933
3c3bdf30
NC
19342001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1935
1936 * configure.tgt (mmix-*-*): New target.
1937 * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o.
1938 Add dependencies to match.
1939 * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em,
1940 emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em,
1941 scripttempl/mmo.sc: New files.
1942 * gen-doc.texi: @set MMIX.
1943 * ld.texinfo: Ditto.
6e814ff8 1944 [MMIX] Add MMIX node.
3c3bdf30
NC
1945 * Makefile.in: Regenerate.
1946
ca0c1d3e
KH
19472001-10-29 Kazu Hirata <kazu@hxi.com>
1948
1949 * ldlang.c: Fix a comment typo.
1950
1a3d33ce
AM
19512001-10-23 Alan Modra <amodra@bigpond.net.au>
1952
1953 * configure.host: Move alpha*-*-linux-gnu* entry to generic
1954 entries, and match *-*-linux*.
1955
b47c4208
AM
19562001-10-20 Alan Modra <amodra@bigpond.net.au>
1957
1958 * ldgram.y (mri_script_command): Surround processing of INCLUDE
1959 with ldlex_script, ldlex_popstate.
1960 (ifile_p1): Likewise.
1961 * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the
1962 correct slot.
1963 (lex_push_file): Save current lineno to lineno_stack. Set lineno
1964 to 1. Don't BEGIN(SCRIPT).
1965 (lex_redirect): Similarly.
1966 * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
1967
fd521b47
NC
19682001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
1969
1970 * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and
1971 __EH_FRAME_END__ and accept eh frames into data section.
1972 Add ctor and dtor sections.
1973
59d28a94
DD
19742001-10-19 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1975
1976 * pe-dll.c (autofilter_objectlist): Add gcrt0.o.
1977 (auto-export): Fix indentation.
1978
663dd378
DD
19792001-10-18 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1980
1981 * pe-dll.c (autofilter_objectlist): Add startup objects
1982 for profiling.
1983 (auto-export): Constify char * p.
6e814ff8 1984 Extract file basename and use strcmp rather than ststr
663dd378
DD
1985 for object lookup.
1986
31d677f9
CD
19872001-10-18 Chris Demetriou <cgd@broadcom.com>
1988
1989 * ldmain.c (get_emulation): Improve comment about the handling
1990 of -mipsN options.
1991
aa200fe8
AM
19922001-10-17 Alan Modra <amodra@bigpond.net.au>
1993
1994 * po/POTFILES.in: Regenerate.
1995
146e7110
AM
19962001-10-16 Vassili Karpov <malc@pulsesoft.com>
1997
1998 * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
1999 -z nocopyreloc and -z nocombreloc usage strings.
2000
b4330e85
NC
20012001-10-12 Vassili Karpov <malc@pulsesoft.com>
2002
146e7110 2003 * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc
b4330e85
NC
2004 in usage.
2005
5af8a2fb
NC
20062001-10-11 Aleksey Romanov <aromanov@ennovatenetworks.com>
2007
2008 * scripttempl/armaout.sc: Place .bss section after end of aligned
2009 data section to match behaviour of aout code in constructrion of
2010 header.
2011
5b784096
DD
20122001-10-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2013
2014 * pe-dll.c (autofilter_entry_type autofilter_liblist: Add
2015 startup files for mingw32 dlls to list.
2016
61585df2
CD
20172001-10-10 Chris Demetriou <cgd@broadcom.com>
2018
2019 * emultempl/elf32.em: Fix shell 'if' usage for portability.
2020
45cf6f3e
AH
20212001-10-08 Aldy Hernandez <aldyh@redhat.com>
2022
2023 * configure.tgt (targ): Add arm9e-*-elf.
2024
e24d7c12
L
20252001-10-05 H.J. Lu <hjl@gnu.org>
2026
2027 * genscripts.sh: Fix a typo in the last change.
2028
ec38dd05
JJ
20292001-10-05 Jakub Jelinek <jakub@redhat.com>
2030
2031 * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
2032 -z nocombreloc in usage.
2033
cedd6b0d
JB
20342001-10-03 Jim Blandy <jimb@redhat.com>
2035
2036 * genscripts.sh: Include a comment at the top of each generated
2037 script, explaining its purpose.
2038
8bd621d8
AM
20392001-10-03 Vassili Karpov <malc@pulsesoft.com>
2040
2041 * emultempl/elf32.em (parse_args): Handle -z nocopyreloc.
2042 * NEWS: Mention -z nocopyreloc.
2043 * ld.texinfo (Options): Describe nocopyreloc.
2044
fcd8210c
AM
20452001-10-03 Alan Modra <amodra@bigpond.net.au>
2046
2047 * configure: Regenerate.
2048
d32820f2
AM
20492001-10-02 Alan Modra <amodra@bigpond.net.au>
2050
2051 * ldver.h (ld_program_version): Remove declaration.
2052 * lexsup.c (parse_args): Move printing of copyright message..
2053 * ldver.c (ldversion): .. to here.
2054 Use BFD_VERSION_STRING in place of BFD_VERSION.
2055 (ld_program_version): Remove.
2056 * Makefile.am (Makefile): Depend on bfd/configure.in.
2057 Run "make dep-am".
2058 * Makefile.in: Regenerate.
2059
af46bcdc
HPN
20602001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
2061
2062 * Makefile.am: Update dependencies with "make dep-am".
2063 * Makefile.in: Regenerate.
2064
4818e05f 20652001-09-29 John Reiser <jreiser@BitWagon.com>
862517b6 2066
4818e05f
AM
2067 * ldlang.c (lang_common): Conditionally inhibit Common allocation.
2068 * lexsup.c: Add --no-define-common commandline option.
2069 * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
2070 * ldlex.l: Likewise.
2071 * ld.h: Add command_line.inhibit_common_definition.
2072 * ldmain.c (main): Initialize.
2073 * ld.texinfo: Document.
862517b6 2074
a59f3d35
AM
20752001-09-29 Alan Modra <amodra@bigpond.net.au>
2076
2077 * ldlang.c (section_already_linked): Remove assignment to kept_section.
2078
d5e0ebeb
AM
20792001-09-26 Alan Modra <amodra@bigpond.net.au>
2080
2081 * ldmisc.c (USE_STDARG): Remove.
2082 (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
2083 (einfo): Likewise.
2084 (minfo): Likewise.
2085 (lfinfo): Likewise.
2086
2087 * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
2088 declarations. Update copyright.
2089
2f8d8971
NC
20902001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
2091
85c77458
NC
2092 * pe-dll.c: Remove obsoleted declaration of
2093 pe_get_data_import_dll_name.
2094 (pe_create_import_fixup): Fix thinko.
2095
2f8d8971
NC
2096 * ld.texinfo(enable-auto-import): Clarify the explanation.
2097
20982001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
2099
2100 * pe-dll.c (pe_create_import_fixup): Revert previous patch.
2101 * emultemp/pe.em (pe_data_import_dll): Move definition outside of
2102 DLL_SUPPORT controlled code.
2103
72358f65 21042001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
146e7110 2105
72358f65
NC
2106 * emultempl/pe.em(pe_data_import_dll): Make static.
2107 (pe_get_data_import_dll_name): New accessor function.
146e7110 2108 * pe-dll.c(pe_create_import_fixup): call
72358f65
NC
2109 pe_get_data_import_dll_name() from pe.em, instead of
2110 directly accessing pe_data_import_dll variable from pe.em.
2111
3882b010
L
21122001-09-18 Bruno Haible <haible@clisp.cons.org>
2113
2114 * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>.
2115 (def_file_add_directive): Use ISSPACE instead of isspace.
2116 (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
2117 isdigit/isxdigit/isalpha/isalnum.
2118 * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>.
2119 (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
2120 * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>.
2121 (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
2122 isalnum.
2123 * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>.
2124 (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
2125 isupper/tolower.
2126 * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>.
2127 (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
2128 * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>.
2129 (ctor_prio): Use ISDIGIT instead of isdigit.
2130 * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>.
2131 (ldfile_open_file_search): Use ISALPHA instead of isalpha.
2132 (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
2133 isupper/tolower.
2134 * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>.
2135 (stricpy): Use TOLOWER instead of isupper/tolower.
2136 (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
2137 * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>.
2138 (lex_warn_invalid): Use ISPRINT instead of isprint.
2139 * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>.
2140 (main): For gettext, also set the LC_CTYPE locate facet.
2141 (add_keepsyms_file): Use ISSPACE instead of isspace.
2142 * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>.
2143 (is_num, parse_args): Use ISDIGIT instead of isdigit.
2144 * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>.
2145 (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
2146 * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>.
2147 (gldppcmacos_read_file): Use ISSPACE instead of isspace.
2148 * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>.
2149 (quoteput): Use ISSPACE instead of isspace.
2150 (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
2151 instead of isalnum.
2152
db09f25b
AM
21532001-09-18 Alan Modra <amodra@bigpond.net.au>
2154
2155 * deffilep.y (def_stash_module): Constify "name" param.
2156
2157 * pe-dll.c: Replace CONST with const throughout.
2158 (quick_symbol): Constify "n1", "n2", "n3" params.
2159 (make_singleton_name_thunk): Constify "import" param. Make
2160 "buffer_len" a size_t.
2161 (make_import_fixup_entry): Constify "name", "fixup_name",
2162 "dll_symname" params.
2163 (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread.
2164 (pe_get32): Likewise.
2165 (pe_implied_import_dll): Likewise.
2166
2167 * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
2168 (sort_by_section_name): Likewise.
2169
2170 * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
2171 (make_import_fixup): Cast printf arg, rel->address to long rather
2172 than int.
2173 (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
2174
74699268
AM
21752001-09-15 Alan Modra <amodra@bigpond.net.au>
2176
2177 * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
2178 defines BufferSize. Increase buffer size by one.
2179
775cabad
NC
21802001-09-14 Ralf Habacker <Ralf.Habacker@freenet.de>
2181
2182 * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
2183
056a1d49
NC
21842001-09-14 Kevin Lo <kevlo@openbsd.org>
2185
2186 * configure.tgt: Add arm-openbsd target.
2187
a7d792bb
L
21882001-09-12 H.J. Lu <hjl@gnu.org>
2189
2190 * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
2191 eelf64lppc.o to ...
2192 (ALL_64_EMULATIONS): Here.
2193 * Makefile.in: Regenerated.
2194
0d888aac
CW
21952001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
2196
2197 * emultempl/pe.em(make_import_fixup): change signature to
2198 take asection as well as arelec; we need this for proper
146e7110 2199 error reporting. Only call pe_create_import_fixup() if
0d888aac
CW
2200 there is no attempt to add a constant addend to the reloc;
2201 otherwise, report error condition.
2202 * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
2203 since final argument is a pointer to make_import_fixup().
2204 Change call to cb() to match make_import_fixup() signature.
2205 (make_import_fixup_mark): make buffer_len unsigned.
2206 * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
2207
22082001-09-12 Charles Wilson <cwilson@ece.gatech.edu>
2209
2210 * ld.texinfo: add verbose documentation for auto-import
146e7110 2211 direct-addressing workaround, to compliment the terse
0d888aac
CW
2212 error message.
2213
cedacdc0
CM
22142001-09-12 Andrew MacLeod <amacleod@redhat.com>
2215
146e7110 2216 * scripttempl/v850.sc: Add gcc_except_table sections.
cedacdc0 2217
3b16e843 22182001-09-11 Jeffrey A Law (law@cygnus.com)
38be0bb1
JL
2219
2220 * emulparams/h8300helf.sh: Move stack to a much higher memory address.
2221 * emulparams/h8300self.sh: Similarly.
2222
559e4713
NC
22232001-09-05 Danny Smith <dannysmith@users.souceforge.net>
2224
2225 * ld.texinfo (Options, --stack): Correct default value for stack
2226 reserve.
2227
1fdf0249
TR
22282001-09-05 Tom Rix <trix@redhat.com>
2229
2230 * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
146e7110 2231
9b5799b8
AJ
22322001-09-03 Andreas Jaeger <aj@suse.de>
2233
2234 * emultempl/beos.em: Declare prototypes for comparions functions,
2235 adjust definitions.
2236
48f6162b
AJ
22372001-09-02 Andreas Jaeger <aj@suse.de>
2238
2239 * emultempl/aix.em: Add missing prototype.
2240 * emultempl/lnk960.em: Likewise.
2241 * emultempl/vanilla.em: Likewise.
2242 * emultempl/armcoff.em: Likewise.
2243 * emultempl/armelf_oabi.em: Likewise.
2244 * emultempl/beos.em: Likewise.
2245 * emultempl/gld960c.em: Likewise.
2246 * emultempl/gld960.em: Likewise.
2247
2248 * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
2249 for prototype declaration.
2250
39e5585e
EC
22512001-08-31 Eric Christopher <echristo@redhat.com>
2252 Jason Eckhardt <jle@redhat.com>
2253
2254 * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
2255
3fc90ddb
AJ
22562001-08-31 Andreas Jaeger <aj@suse.de>
2257
2258 * emultempl/pe.em: Add missing prototypes.
2259 (gld_${EMULATION_NAME}_after_open): Remove extra args to
2260 pe_find_data_imports.
2261 (pr_sym): Add unused attribute.
2262
d43ded80
PB
22632001-08-29 Joel Sherrill <joel@OARcorp.com>
2264
39e5585e 2265 * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
d43ded80
PB
2266 default from coff to elf.
2267
3946dd2f
JL
22682001-08-29 Jeff Law <law@redhat.com>
2269
2270 * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update
2271 ARCH specification.
2272 * emulparams/h8300self.sh: Similarly.
2273
3b16e843 22742001-08-28 J"orn Rennecke <amylaar@redhat.com>
8af6dd41
JR
2275
2276 * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
2277 eh8300self.o .
2278 (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
2279 * configure.tgt (h8300-*-elf*): New case.
2280 * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
2281 * emulparams/h8300self.sh: New file.
2282 * Makefile.in: Regenerated.
2283
70d0c6e9
NC
22842001-08-28 Nick Clifton <nickc@cambridge.redhat.com>
2285
2286 * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
2287 with macro name.
2288
5c67d4bb
AM
22892001-08-27 Linus Nordberg <linus@swox.com>
2290 Alan Modra <amodra@bigpond.net.au>
2291
2292 * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
2293 (eelf64ppc.c, eelf64lppc.c): Add make targets.
2294 Run "make dep-am"
2295 * Makefile.in: Regenerate.
2296 * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj
2297 entries to correct alphabetical position.
2298 * emulparams/elf64ppc.sh: New.
2299 * emulparams/elf64lppc.sh: New.
2300
08131015
NC
23012001-08-27 Nick Clifton <nickc@cambridge.redhat.com>
2302
2303 * ldmain.c (main): Declare BSIZE as static.
2304
db6751f2
JJ
23052001-08-23 Jakub Jelinek <jakub@redhat.com>
2306
2307 * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
2308 into .rel.dyn resp. .rela.dyn if combreloc.
2309 (get_script): If .x linker script is equal to .xn, only put it
2310 once into the binary.
2311 Add .xc and .xsc scripts.
2312 (parse_args): Handle -z combreloc and -z nocombreloc.
2313 * scripttempl/elf.sc (.rela.sbss): Fix a typo.
2314 For .xc and .xsc scripts put all .rel* or .rela* input sections
2315 but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
2316 * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
2317 is elf.
2318 Strip trailing whitespace from script.
2319 Generate .xc and .xsc scripts if requested.
2320 * ldmain.c (main): Initialize link_info.combreloc and
2321 link_info.spare_dynamic_tags.
2322 * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
2323 (ld_options): Add --spare-dynamic-tags option.
2324 (parse_args): Likewise.
2325 * ld.texinfo: Document -z combreloc and -z nocombreloc.
2326 * ldint.texinfo: Document .xc and .xsc linker scripts.
2327 * NEWS: Add notes about -z combreloc and SHF_MERGE.
2328
63d069c0
L
23292001-08-22 H.J. Lu <hjl@gnu.org>
2330
2331 * emulparams/elf32fr30.sh: Add a newline.
2332
948f9114
AJ
23332001-08-21 Andreas Jaeger <aj@suse.de>
2334
2335 * deffilep.y: Add missing prototypes.
2336 * pe-dll.c: Likewise.
2337
ae7fb08f
AM
23382001-08-20 Alan Modra <amodra@bigpond.net.au>
2339
2af02257
AM
2340 * ldlang.c (insert_pad): Fix typos in last patch.
2341
2342 * ldlang.c: When traversing lang_statement_union_type lists,
2343 consistently use "header.next" rather than "next".
2344 * mpw-eppcmac.c: Likewise.
2345 * emultempl/beos.em: Likewise.
2346 * emultempl/hppaelf.em: Likewise.
2347 * emultempl/pe.em: Likewise.
2348 * ldlang.h (union lang_statement_union): Remove "next" field.
2349
c0c330a7
AM
2350 * ldlang.c (insert_pad): Use offsetof macro.
2351 (lang_size_sections): Always neuter padding statements.
2352 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
2353
ae7fb08f
AM
2354 * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
2355 passed to lang_size_sections.
2356 (pe_exe_fill_sections): Likewise.
2357 * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
2358 (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
2359
fab80407
AM
23602001-08-18 Alan Modra <amodra@bigpond.net.au>
2361
2362 * emultempl/aix.em: Formatting fixes.
2363
b3327aad
AM
23642001-08-18 Alan Modra <amodra@bigpond.net.au>
2365
2366 * ldlang.c (insert_pad): Make use of an existing pad statement if
2367 available. Move code calculating alignment, adjusting section
2368 alignment power, and adjusting dot to ..
2369 (size_input_section): .. here. Remove unused relax param.
2370 (lang_size_sections): Change boolean `relax' param to boolean *.
2371 Adjust call to size_input_section. Make use of insert_pad to
2372 place pad after the assignment statement. If relaxing, zap
2373 padding statements.
2374 (reset_memory_regions): Reset output_bfd section sizes too.
2375 (relax_again): Move to..
2376 (lang_process): ..here. Adjust call to lang_size_sections, and
2377 remove duplicated code.
2378 * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
2379
563e308f
AM
23802001-08-17 Alan Modra <amodra@bigpond.net.au>
2381
2382 * ld.texinfo: Document that fill values now use the four least
2383 significant bytes.
2384 * emulparams/elf32fr30.sh (NOP): Update.
2385 * emulparams/elf32mcore.sh: Likewise.
2386 * emulparams/elf64_s390.sh: Likewise.
2387 * emulparams/elf_i386.sh: Likewise.
2388 * emulparams/elf_i386_be.sh: Likewise.
2389 * emulparams/elf_i386_chaos.sh: Likewise.
2390 * emulparams/elf_i386_ldso.sh: Likewise.
2391 * emulparams/elf_s390.sh: Likewise.
2392 * emulparams/elf_x86_64.sh: Likewise.
2393 * emulparams/i386moss.sh: Likewise.
2394 * emulparams/i386nw.sh: Likewise.
2395 * emulparams/m68kelf.sh: Likewise.
2396 * scripttempl/elf.sc: Update NOP comment.
2397 * scripttempl/elfi370.sc: Likewise.
2398 * scripttempl/elfm68hc11.sc: Likewise.
2399 * scripttempl/elfm68hc12.sc: Likewise.
2400 * scripttempl/nw.sc: Likewise.
2401
b90e1c6f
TR
24022001-08-15 Tom Rix <trix@redhat.com>
2403
2404 * ldgram.y (saved_script_handle): Initialize to NULL.
2405 * ldmain.c (main): Change check on saved_script_handle.
948f9114 2406
39dcfe18
AM
24072001-08-14 Alan Modra <amodra@bigpond.net.au>
2408
cde43e70
AM
2409 * emultempl/elf32.em: Formatting fixes.
2410 (output_prev_sec_find): Test for bfd_ind_section too; do so by
2411 looking at sec->owner.
2412 (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
2413 (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove
2414 unused code, and reorganize orphan section placement code.
2415
39dcfe18
AM
2416 * ldlang.c (wild_doit): Rename to lang_add_section.
2417 * ldlang.h: Here too.
2418 * mpw-elfmips.c: And here.
2419 * emultempl/beos.em: And here.
2420 * emultempl/elf32.em: And here.
2421 * emultempl/hppaelf.em: And here.
2422 * emultempl/pe.em: And here.
2423
908d20b3
RH
24242001-08-13 Richard Henderson <rth@redhat.com>
2425
2426 * emultempl/needrelax.em: New file.
2427 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
2428 * Makefile.am (eelf64_ia64.c): Depend on it.
2429 * Makefile.in: Rebuild.
2430
0f33d40b
AM
24312001-08-13 Alan Modra <amodra@bigpond.net.au>
2432
22af9fd3
AM
2433 * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
2434 output_section is set non-NULL.
2435
0f33d40b
AM
2436 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
2437 `true' for SEC_EXCLUDE sections so that the generic code doesn't
2438 needlessly create an output_section_statement. Treat a correctly
2439 named output_section_statement with NULL bfd_section as compatible.
2440
55ab6103
HPN
24412001-08-13 Hans-Peter Nilsson <hp@bitrange.com>
2442
2443 * emultempl/generic.em: Support EXTRA_EM_FILE.
2444 (ld_${EMULATION_NAME}_emulation): Support emulation parameters
2445 LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
2446 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
2447 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
2448 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
2449 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
2450 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
2451 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
2452 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
2453 LDEMUL_FIND_POTENTIAL_LIBRARIES.
2454
24098abb
RH
24552001-08-12 Richard Henderson <rth@redhat.com>
2456
2457 * scripttempl/elf.sc, scripttempl/elfd30v.sc,
2458 scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
2459 scripttempl/v850.sc: Keep .jcr data.
2460
b9a8de1e 24612001-08-12 H.J. Lu <hjl@gnu.org>
146e7110
AM
2462 Andrew Haley <aph@cambridge.redhat.com>
2463 Nick Clifton <nickc@redhat.com>
b9a8de1e 2464
146e7110 2465 * ldgram.y (had_script): Change name to saved_script_handle.
b9a8de1e
NC
2466 Change type to file handle.
2467 * ld.h (had_script): Rename and retype.
2468 * ldfile.c (ldfile_open_command_file): Save the file handle
2469 used in saved_script_handle.
2470 * lexsup.c (parse_args): Do not allow -c option to alter
2471 saved_script_handle.
2472 * ldmain.c (main): Print out the linker script used if
2473 --verbose is given. Check saved_script_handle to obtain the
2474 external linker script used, or if NULL, dump the builtin
2475 script.
2476 * ld.texinfo: Document that --verbose now dumps the linker
2477 script used, regardless of whether it was an internal or an
2478 external script.
2479
0218d1e4
AJ
24802001-08-10 Andreas Jaeger <aj@suse.de>
2481
2482 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2483 to build warnings.
2484 * configure: Regenerate.
2485
5253f23b
AM
24862001-08-09 Alan Modra <amodra@bigpond.net.au>
2487
73810896
AM
2488 * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
2489
5253f23b
AM
2490 * scripttempl/elf.sc: Move non-text .dynamic section before
2491 .plt/.got/.sdata* group.
2492 (OTHER_GOT_SECTIONS): Move to immediately after .got.
2493 (OTHER_SDATA_SECTIONS): Add.
2494 * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
2495 OTHER_GOT_SECTIONS.
2496 * emulparams/crislinux.sh: Likewise.
2497 * emulparams/elf32b4300.sh: Likewise.
2498 * emulparams/elf32bmip.sh: Likewise.
2499 * emulparams/elf32bmipn32.sh: Likewise.
2500 * emulparams/elf32bsmip.sh: Likewise.
2501 * emulparams/elf32btsmip.sh: Likewise.
2502 * emulparams/elf32ebmip.sh: Likewise.
2503 * emulparams/elf32elmip.sh: Likewise.
2504 * emulparams/elf32l4300.sh: Likewise.
2505 * emulparams/elf32lmip.sh: Likewise.
2506 * emulparams/elf32lsmip.sh: Likewise.
2507 * emulparams/elf32ltsmip.sh: Likewise.
2508 * emulparams/elf64bmip.sh: Likewise.
2509 * emulparams/elf64btsmip.sh: Likewise.
2510 * emulparams/elf64ltsmip.sh: Likewise.
2511
179c732c
AM
25122001-08-08 Alan Modra <amodra@bigpond.net.au>
2513
2514 * genscripts.sh: Source the emulparams script before each output
2515 script is generated so that variables like `RELOCATING' may affect
2516 variables defined in the emulparams script.
2517
3fd36710
AM
25182001-08-04 Alan Modra <amodra@bigpond.net.au>
2519
20713691
AM
2520 * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
2521 order.
2522
3fd36710
AM
2523 * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
2524 ie. iterate over wild_statement.section_list.
2525 (gld${EMULATION_NAME}_place_orphan): Likewise.
2526
de0b1853
SC
25272001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2528
2529 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
2530 .fini[0-4] sections used by _exit
2531 (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
2532 (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
2533 * scripttempl/elfm68hc11.sc: Likewise.
2534
ff7e6f88
L
25352001-08-03 H.J. Lu <hjl@gnu.org>
2536
2537 * emultempl/beos.em (init): Add the missing initialization.
2538
b6bf44ba
AM
25392001-08-03 Alan Modra <amodra@bigpond.net.au>
2540
2541 * ld.texinfo (Input Section Basics): Clarify ordering of output
2542 sections.
2543 * ldlang.c (callback_t): Add wildcard_list param.
2544 (walk_wild_section): Remove "section" param. Rewrite for
2545 lang_wild_statement_type change. Remove unique_section_p test.
2546 (walk_wild_file): Remove "section" param.
2547 (walk_wild): Remove "section" and "file" params.
2548 (lang_gc_wild): Likewise.
2549 (wild): Likewise. Modify for lang_wild_statement_type change.
2550 (wild_sort): Likewise. Add "sec" param.
2551 (gc_section_callback): Likewise.
2552 (output_section_callback): Likewise. Do unique_section_p test.
2553 (map_input_to_output_sections): Modify call to wild.
2554 (lang_gc_sections_1): Likewise.
2555 (print_wild_statement): Modify for lang_wild_statement_type
2556 change.
2557 (lang_add_wild): Replace filename, filenames_sorted param with
2558 filespec. Replace section_name, sections_sorted,
2559 exclude_filename_list with section_list.
2560 * ldlang.h (lang_add_wild): Here too.
2561 (lang_wild_statement_type): Replace section_name, sections_sorted,
2562 and exclude_filename_list with section_list.
2563 * ldgram.y (current_file): Delete.
2564 (%union): Add wildcard_list.
2565 (file_NAME_list): Set type to wildcard_list. Build a linked list
2566 rather than calling lang_add_wild for each entry.
2567 (input_section_spec_no_keep): Call lang_add_wild here instead.
2568 * ld.h (struct wildcard_list): Declare.
2569 * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
2570
b044cda1
CW
25712001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
2572
2573 * ldmain.c (main): initialize link_info.pei386_auto_import
2574 * pe-dll.c: new tables for auto-export filtering
2575 (auto_export): change API, pass abfd for contextual filtering.
b6bf44ba 2576 Loop thru tables of excluded symbols instead of comparing
b044cda1
CW
2577 "by hand".
2578
25792001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>
2580
b6bf44ba
AM
2581 * pe-dll.c: new variable pe_dll_enable_extra_debug. New
2582 static variable current_sec (static struct sec *). Add
b044cda1 2583 forward declaration for add_bfd_to_link.
b6bf44ba
AM
2584 (process_def_file): Don't export undefined symbols. Do not
2585 export symbols starting with "_imp__". Call auto_export()
b044cda1
CW
2586 with new API.
2587 (pe_walk_relocs_of_symbol): New function.
2588 (generate_reloc): add optional extra debugging
b6bf44ba 2589 (pe_dll_generate_def_file): eliminate extraneous initial blank
b044cda1 2590 line in output
b6bf44ba 2591 (make_one): enlarge symtab to make room for __nm__ symbols
b044cda1
CW
2592 (DATA auto-import support).
2593 (make_singleton_name_thunk): New function.
2594 (make_import_fixup_mark): New function.
2595 (make_import_fixup_entry): New function.
2596 (pe_create_import_fixup): New function.
b6bf44ba 2597 (add_bfd_to_link): Specify that 'name' argument is a CONST
b044cda1 2598 char *.
b6bf44ba
AM
2599 * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
2600 declare new functions pe_walk_relocs_of_symbol and
b044cda1
CW
2601 pe_create_import_fixup.
2602 * emultempl/pe.em: add new options --enable-auto-import,
2603 --disable-auto-import, and --enable-extra-pe-debug.
2604 (make_import_fixup): New function.
2605 (pe_find_data_imports): New function.
2606 (pr_sym): New function.
b6bf44ba 2607 (gld_${EMULATION_NAME}_after_open): Add optional extra pe
b044cda1
CW
2608 debugging. Call pe_find_data_imports. Mark .idata as DATA, not
2609 CODE.
2610
26112001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
b6bf44ba 2612
b044cda1
CW
2613 * ld.texinfo: add additional documentation for
2614 --export-all-symbols. Document --out-implib,
2615 --enable-auto-image-base, --disable-auto-image-base,
b6bf44ba
AM
2616 --dll-search-prefix, --enable-auto-import, and
2617 --disable-auto-import.
b044cda1
CW
2618 * ldint.texinfo: Add detailed documentation on auto-import
2619 implementation.
2620
156e34dd
NC
26212001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2622
2623 * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
2624 example.
2625
d6231427
AM
26262001-07-24 Alan Modra <amodra@bigpond.net.au>
2627
2628 * Makefile.am: Update dependencies with "make dep-am".
2629 * Makefile.in: Regenerate
2630
e14ec88b
AM
26312001-07-23 Alan Modra <amodra@bigpond.net.au>
2632
2633 * ldcref.c (check_section_sym_xref): New function.
2634 (check_nocrossrefs): Call it.
2635 (check_nocrossref): Interate over h->refs here instead of..
2636 (check_refs): ..here. Pass in the symbol name, section, and bfd
2637 rather than hash_entry pointers.
2638 (struct check_refs_info): Keep symbol name rather than hash entry.
2639 Remove "same".
2640 (check_reloc_refs): Tweak for above changes in check_refs_info.
2641 Only report references to section syms when symname is NULL to
2642 prevent duplicate messages for the same reloc.
2643
1b577b00
NC
26442001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2645
c7d701b0
NC
2646 * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
2647 available. Do not print NULL trees.
2648 (exp_print_token): Print unknown tokens with values > 126 as
2649 decimal values not ASCII characters.
2650
1545243b
NC
2651 * ldlang.c (lang_leave_overlay): If a region is specified assign
2652 it to all sections inside the overlay unless they have been
2653 assigned to the own, non-default, memory region.
2654
1b577b00
NC
2655 * README: Add header for consistency with other README files.
2656
5030876b
L
26572001-07-14 H.J. Lu <hjl@gnu.org>
2658
2659 * emultempl/elf32.em (output_prev_sec_find): Never return
2660 bfd_abs_section_ptr, bfd_com_section_ptr nor
2661 bfd_und_section_ptr.
2662
18c7a9a5
NC
26632001-07-14 Nick Clifton <nickc@cambridge.redhat.com>
2664
22af9fd3 2665 * Makefile.am (em32relf.c): Change dependency from generic.em to
18c7a9a5
NC
2666 elf32.em.
2667 * Makefile.in: Regenerate.
2668
9ffecff1
MG
26692001-07-14 matthew green <mrg@eterna.com.au>
2670
2671 * configure.tgt (i386-*-netbsdelf*): New target.
2672 (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
2673
95500e1c
JJ
26742001-07-13 Jakub Jelinek <jakub@redhat.com>
2675
2676 * emultempl/elf32.em (output_prev_sec_find): New.
2677 (place_orphan): Use it.
2678
e97cb84f
L
26792001-07-11 H.J. Lu <hjl@gnu.org>
2680
2681 * ldmain.c (main): Fix typos in the last change.
2682
7333607e
JJ
26832001-07-11 Jakub Jelinek <jakub@redhat.com>
2684
2685 * ldmain.c (main): Disallow -F and -f without -shared.
2686
d29d80f2
NC
26872001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
2688
2689 * emultempl/pe.em (after_open): Check for the output_bfd not
2690 having any coff_data structure allocated to it.
2691
c2a1a436
DB
26922001-07-09 David O'Brien <obrien@FreeBSD.org>
2693
2694 * emultempl/elf32.em: Do not assuming that contents of the buffer
2695 returned from basename function will remain unchanged accross other
2696 function calls.
2697
63653551
L
26982001-07-03 H.J. Lu <hjl@gnu.org>
2699
2700 * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
2701 2001-07-03. It creates dynamic entries even for static binaries.
2702
d303a449
L
27032001-07-03 Jakub Jelinek <jakub@redhat.com>
2704
2705 * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
2706 (DYNAMIC): Use it to reserve few dynamic entries for
2707 post-linking tools.
2708
9f22353f
AM
27092001-06-27 Alan Modra <amodra@bigpond.net.au>
2710
2711 * emulparams/hppa64linux.sh: New file.
2712 * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
2713 * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
2714 (ehppa64linux.c): Add rule to make it.
2715 Run "make dep-am".
2716 * Makefile.in: Regenerate.
2717
62bf86b4
HPN
27182001-06-21 Hans-Peter Nilsson <hp@axis.com>
2719
2720 * ld.texinfo (Options, -r): Mention restrictions when using
2721 different object formats.
2722
429d935d
HPN
27232001-06-19 Hans-Peter Nilsson <hp@axis.com>
2724
2725 * ldlang.c (lang_check): Emit fatal error if relocatable link
2726 between different object flavours with relocations in input.
2727
cb840a31
L
27282001-06-19 H.J. Lu <hjl@gnu.org>
2729
2730 * ld.texinfo (-E, --export-dynamic): Mention --version-script.
2731 (--version-script): Mention the language support.
2732
9bf03acc
L
27332001-06-19 H.J. Lu <hjl@gnu.org>
2734
2735 * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
2736
c45021f2
NC
27372001-06-18 H.J. Lu <hjl@gnu.org>
2738
b6bf44ba
AM
2739 * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
2740 (diststuff): Add $(MANS).
2741 * Makefile.in: Regenerated.
c45021f2 2742
b6bf44ba 2743 * ld.1: Removed.
c45021f2 2744
6caa99ab
HPN
27452001-06-18 Hans-Peter Nilsson <hp@axis.com>
2746
605d9b3a
HPN
2747 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
2748 Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
2749 * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
2750 * ld.h (args_type): Remove member export_dynamic. All users
2751 changed to use struct bfd_link_info member.
2752
6caa99ab
HPN
2753 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
2754 $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
2755 * Makefile.in: Regenerate.
2756
6f9efd97
L
27572001-06-18 H.J. Lu <hjl@gnu.org>
2758
2759 * ldlang.c (init_os): Add the newline to the einfo call.
2760 (lang_check): Likewise.
2761 (lang_do_version_exports_section): Likewise.
2762
5af9fd8b
L
27632001-06-15 H.J. Lu <hjl@gnu.org>
2764
2765 * lexsup.c (parse_args); Save optind to report unrecognized
2766 option.
2767
2a096f04
HPN
27682001-06-15 Hans-Peter Nilsson <hp@axis.com>
2769
7e66c3f5
HPN
2770 * ldlang.c (lang_check): Emit fatal error if relocatable link
2771 between different object flavours.
2772
2a096f04
HPN
2773 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
2774 Set new link_info member export_dynamic.
2775 * ldmain.c (main): Initialize new link_info member export_dynamic.
2776
6770ec8c
NC
27772001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
2778
2779 * ldlang.c (walk_wild): Only call walk_wild_file if
2780 lookup_name returns something.
b6bf44ba 2781 (lookup_name): If load_symbols fails, return NULL.
22af9fd3 2782 (load_symbols): Change to a boolean function.
b6bf44ba 2783 (open_input_bfds): If load_symbols fails then do not make the
6770ec8c
NC
2784 executable.
2785
8529105a
AM
27862001-06-08 Alan Modra <amodra@bigpond.net.au>
2787
2788 * ldlang.c (record_bfd_errors): Remove.
2789
2790 * emultempl/aix.em: Fix copyright dates.
2791
8f3aa7a0
AJ
27922001-06-07 Andreas Jaeger <aj@suse.de>
2793
2794 * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
2795 (TEXT_START_ADDR): Likewise.
2796
3277f888
AM
27972001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
2798
2799 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
2800
3763134d
DD
28012001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2802
2803 * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
2804
5929ebc0
L
28052001-05-31 H.J. Lu <hjl@gnu.org>
2806
2807 * ldlang.c (open_input_bfds): Don't change the bfd error
2808 handler whilst loading symbols.
2809
c04a062d
NC
28102001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2811
2812 * configure.tgt: Remove i370-mvs architecture, it is not currently
2813 supported.
2814
96fcab3e
L
28152001-05-25 H.J. Lu <hjl@gnu.org>
2816
2817 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
2818 like emulparams/aixppc.sh.
2819
db8d4f23
L
28202001-05-25 H.J. Lu <hjl@gnu.org>
2821
2822 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
2823 setting of output_filename after bfd_scan_arch.
2824 * emultempl/pe.em: Likewise.
2825
5f642101
L
28262001-05-25 H.J. Lu <hjl@gnu.org>
2827
2828 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
2829 like emulparams/aixppc.sh.
2830
2831 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
2832 instead of ${srcdir}/emultempl/stringify.sed.
2833
64e9ece0
TW
28342001-05-25 Timothy Wall <twall@oculustech.com>
2835
2836 * emulparams/elf64_aix.sh: Change settings to match IBM linker
8f3aa7a0 2837 output.
64e9ece0 2838
c709b096
AM
28392001-05-25 Alan Modra <amodra@one.net.au>
2840
2841 * configure.host: Replace linuxoldld with linux*oldld.
2842 * configure.tgt: Likewise.
2843
6cbdcc6f
L
28442001-05-24 H.J. Lu <hjl@gnu.org>
2845
2846 * emultempl/stringify.sed: Removed again.
2847
86af25fe
L
28482001-05-24 H.J. Lu <hjl@gnu.org>
2849
2850 * emultempl/aix.em (OUTPUT_ARCH): Defined.
2851 (gld${EMULATION_NAME}_before_parse): Initialize
2852 ldfile_output_architecture, ldfile_output_machine and
2853 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
2854 * emultempl/beos.em: Likewise.
2855 * emultempl/elf32.em: Likewise.
2856 * emultempl/linux.em: Likewise.
2857 * emultempl/mipsecoff.em: Likewise.
2858 * emultempl/pe.em: Likewise.
2859 * emultempl/sunos.em: Likewise.
2860
3b1b01cf
TR
28612001-05-24 Tom Rix <trix@redhat.com>
2862
8f3aa7a0 2863 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
3b1b01cf
TR
2864 udate import file format.
2865 (change_symbol_mode) New, same
2866 (is_syscall) New, same
2867 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
2868 * emulparams/aixppc64.sh : same
2869 * emulparams/aixrs6.sh : same
2870 * emulparams/ppcmacos.sh : same
2871 * emultempl/aix.em : use strtoull to parse options
2872 * Makefile.am : add eaixppc64 emulation for xcoff64
2873 * Makefile.in : same
2874 * configure.tgt : same
2875
2876 * scripttempl/aix.sc : default text section offset to 0x10000000
146e7110 2877 default data section offset to 0x20000000
3b1b01cf 2878 add .sv3264 and .sv64 pseudo sections
8f3aa7a0 2879 loader and debug sections use the currect section offset.
3b1b01cf
TR
2880
2881 * emultempl/aix.em : Add xcoff64 support
2882 Add -binitfini support
8f3aa7a0 2883 (gld${EMULATION_NAME}_before_parse) -binitfini
3b1b01cf 2884 (gld${EMULATION_NAME}_parse_args) same
8f3aa7a0 2885 (gld${EMULATION_NAME}_before_allocation) format change for special
3b1b01cf
TR
2886 sections
2887
2888 * emulparams/aixppc64.sh : New file for xcoff64 support
8f3aa7a0 2889
57e6abd2
AO
28902001-05-23 Alexandre Oliva <aoliva@redhat.com>
2891
2892 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
2893 variable to avoid non-portable shell construct.
2894
d1cf510e
NC
28952001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2896
2897 * ldmain.c (get_emulation): Add -mips5 command line argument.
2898
506eee22
NC
28992001-05-22 Alexandre Oliva <aoliva@redhat.com>
2900
2901 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
2902 (ELF_INTERPRETER_NAME): Define it.
2903 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
2904 it.
2905 * configure.tgt (targ_emul, targ_extra_emuls)
2906 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
2907 as primary, elf_i386 as extra.
2908 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
2909 (eelf_i386_ldso.c): New rule.
2910 * Makefile.in: Rebuilt.
2911
29122001-05-22 Nick Clifton <nickc@redhat.com>
2913
2914 * lexsup.c (ld_options): Allow -I to be an alias for
2915 --dynamic-linker. This is for Solaris compatability.
2916 * ld.texinfo: Document that -I can be used.
2917 * ld.1: Regenerate.
2918
d1778b88
AM
29192001-05-16 Alan Modra <amodra@one.net.au>
2920
2921 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
2922 whether an input section is the first one assigned to an output
2923 section.
2924 Assorted formatting fixes.
2925
02649152
DD
29262001-05-14 DJ Delorie <dj@delorie.com>
2927
2928 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
2929 * Makefile.in: Ditto.
2930
579f31ac
JJ
29312001-05-11 Jakub Jelinek <jakub@redhat.com>
2932
2933 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
2934 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
2935 output sections.
2936 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
2937
8550eb6e
JJ
29382001-05-11 Jakub Jelinek <jakub@redhat.com>
2939
2940 * ldlang.c (lang_process): Call bfd_merge_sections.
2941
8e5a525c
AM
29422001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2943
2944 * ldgram.y: Fix typo.
2945
1c9acd94
L
29462001-05-03 H.J. Lu <hjl@gnu.org>
2947
2948 * emultempl/elf32.em: Include "libiberty.h".
2949 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
2950 basename of the bfd filename.
2951 (gld${EMULATION_NAME}_stat_needed): Likewise.
2952 (gld${EMULATION_NAME}_try_needed): Likewise.
2953 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
2954
14fe918e
L
29552001-05-02 H.J. Lu <hjl@gnu.org>
2956
2957 * emultempl/pe.em: Include <ctype.h>.
2958
c7e40348
NC
29592001-05-02 Johan Rydberg <jrydberg@opencores.org>
2960
b6bf44ba 2961 * emulparams/elf32openrisc.sh: New file.
c7e40348 2962
b6bf44ba
AM
2963 * Makefile.am: Add OpenRISC target.
2964 * Makefile.in: Regenerated.
c7e40348 2965
b6bf44ba 2966 * configure.tgt: Add openrisc-*-* mapping.
c7e40348
NC
2967
29682001-05-02 Nick Clifton <nickc@redhat.com>
2969
2970 * emultempl/aix.em: Replace buystring with xstrdup.
2971 * emultempl/beos.em: Replace buystring with xstrdup.
8f3aa7a0 2972
d1b2b2dc
L
29732001-05-02 H.J. Lu <hjl@gnu.org>
2974
2975 * ldfile.c: Include "libiberty.h".
2976 * ldlex.l: Likewise.
2977
2978 * ldmisc.c (buystring): Removed.
2979 * ldmisc.h: Likewise.
2980
2981 * ldfile.c: Replace buystring with xstrdup.
2982 * ldlang.c: Likewise.
2983 * ldlex.l: Likewise.
2984 * ldmain.c: Likewise.
2985 * ldmisc.c: Likewise.
2986 * lexsup.c: Likewise.
2987 * mpw-eppcmac.c: Likewise.
2988
35714f2a
AJ
29892001-04-30 Andreas Jaeger <aj@suse.de>
2990
2991 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
2992
884fb58e
NC
29932001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
2994
b6bf44ba
AM
2995 * ldlang.c (load_symbols): Give emulation a chance
2996 to process unrecognized file before fatal error is
2997 reported, not after.
884fb58e 2998
87748b32
NC
29992001-04-27 Sean McNeil <sean@mcneil.com>
3000
3001 * configure.tgt: Add arm-vxworks target.
3002 * scripttempl/armcoff.sc: Support .text or .data as a section name
3003 prefix.
3004 Define _etext.
35714f2a 3005
7ce691ae
C
30062001-04-13 J.T. Conklin <jtc@redback.com>
3007
3008 * ld.texinfo: Document --fatal-warnings.
3009 * ld.1: Regenerate.
3010
3011 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
35714f2a 3012 warnings have been turned into errors.
7ce691ae
C
3013 * lexsup.c (OPTION_WARN_FATAL): Define.
3014 (ld_options): Entry for --fatal-warnings.
3015 (parse_args): Handle OPTION_WARN_FATAL.
3016 * ld.h (ld_config_type): Add fatal_warnings field.
3017
f5fa8ca2
JJ
30182001-04-13 Jakub Jelinek <jakub@redhat.com>
3019
3020 * ldmain.c (main): Default to discard_sec_merge.
3021 * lexsup.c (OPTION_DISCARD_NONE): Define.
3022 (ld_options): Add --discard-none.
3023 (parse_args): Handle OPTION_DISCARD_NONE.
3024 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
3025 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
3026 all its input sections match.
3027
fdec3cfc
L
30282001-04-05 Steven J. Hill <sjhill@cotw.com>
3029
3030 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
3031 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
3032 (eelf32ltsmip.c): New target.
3033 (eelf64btsmip.c): Likewise.
3034 (eelf64ltsmip.c): Likewise.
3035 * Makefile.in: Regenerated.
3036
3037 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
3038 target.
3039 (mips*-*-linux-gnu*): Likewise.
3040
3041 * emulparams/elf32ltsmip.sh: New. Traditional little endian
3042 MIPS taget.
35714f2a 3043 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
fdec3cfc
L
3044 target.
3045 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
3046 endian target.
3047
589bad82
HPN
30482001-04-05 Hans-Peter Nilsson <hp@axis.com>
3049
3050 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
3051 correct value of __Stext here.
3052 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
3053 .startup section.
3054
3055 * emulparams/crislinux.sh: Remove FIXME.
3056
94202e16
AM
30572001-04-02 Alan Modra <alan@linuxcare.com.au>
3058
3059 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
3060 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
3061
1268a053
HPN
30622001-03-27 Hans-Peter Nilsson <hp@axis.com>
3063
3064 * configure.tgt (cris-*-*): Change default emulation to criself.
3065 (cris-*-*aout*): New rule.
3066
d85e9ff7
AM
30672001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com>
3068
3069 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
3070 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
3071
0879a67a
AJ
30722001-03-26 Andreas Jaeger <aj@suse.de>
3073
3074 * ld.texinfo (Overview): Fix syntax in texi code.
3075
0285c67d
NC
30762001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3077
3078 * ld.texinfo: Put @c man indications to generate the ld man page.
3079 When generating man, define all the variables. Define SEEALSO
3080 and SYNOPSIS. Re-organize some lines to avoid the cross references.
3081 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
3082 (ld.1): Generate from ld.texinfo.
3083 * Makefile.in: Regenerate.
3084
c20ec07b
NC
30852001-03-23 Mark Elbrecht <snowball3@bigfoot.com>
3086
3087 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
146e7110 3088 and '-fdata-sections'. Set the VMA of STABS sections to zero.
c20ec07b 3089
cc5ce052
UD
30902001-03-17 Ulrich Drepper <drepper@redhat.com>
3091
3092 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
3093 is an absolute path look only for this file and not along the path.
3094
a1ab1d2a
UD
30952001-03-17 Ulrich Drepper <drepper@redhat.com>
3096
3097 * emultempl/elf32.em (OPTION_GROUP): New macro.
3098 Add new option Bgroup to longopts.
3099 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
3100 (gld*_list_options): Add -Bgroup and -z defs.
3101 * ld.1: Document -Bgroup and -z defs.
3102 * ld.texinfo: Likewise.
3103
788fca5a
MM
31042001-03-07 Michael Meissner <meissner@redhat.com>
3105
3106 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
3107 with sections created by -fdata-sections.
3108 (.dynbss,.bss): Ditto.
3109
1c7566d1
AM
31102001-03-05 Alan Modra <alan@linuxcare.com.au>
3111
3112 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
3113 after_allocation_default, not gld..._before_allocation.
3114
27b7e12d
AM
31152001-02-27 Alan Modra <alan@linuxcare.com.au>
3116
3117 * configure.in (BFD_VERSION): New.
3118 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
3119 * configure: Regenerate.
3120 * Makefile.am: Run "make dep-am"
3121 * Makefile.in: Regenerate.
3122
2bc551c7
TW
31232001-02-26 Timothy Wall <twall@cygnus.com>
3124
3125 * emulparams/elf64_aix.sh: Add additional read-only sections;
3126 uncomment lines which are now required.
3127
1276aefa
NC
31282001-02-26 H.J. Lu <hjl@gnu.org>
3129
3130 * ldlang.c (open_input_bfds): Set the bfd error handler so
b6bf44ba
AM
3131 that problems can be caught whilst loading symbols.
3132 (record_bfd_errors): New function: Report BFD errors and mark
3133 the executable output as being invalid.
1276aefa 3134
41c49998
TW
31352001-02-22 Timothy Wall <twall@cygnus.com>
3136
3137 * configure.host: Add configuration for ia64-*-aix*.
3138 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
3139 Add dependencies for eelf64_aix.c.
3140 * Makefile.in: Regenerate.
3141 * configure.tgt: Add ia64-*-aix* mapping.
3142 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
a2b64bed 3143 * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
0879a67a
AJ
3144 AIX-specific test.
3145
78f85fd7
L
31462001-02-20 H.J. Lu <hjl@gnu.org>
3147
3148 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
3149 false if we found the file.
3150
1ac7e077 31512001-02-18 David O'Brien <obrien@FreeBSD.org>
fb33b906
DB
3152
3153 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
3154 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
3155
e135f41b
NC
31562001-02-18 lars brinkhoff <lars@nocrew.org>
3157
3158 * Makefile.am: Add PDP-11 target.
3159 * configure.tgt: Likewise.
3160 * emulparams/pdp11.sh: New file.
3161
a842aceb
DB
31622001-02-17 David O'Brien <obrien@FreeBSD.org>
3163
3164 * configure.host: Add a generic FreeBSD configuration entry such that
3165 all [modern] FreeBSD systems on all platforms will look the same.
3166
24174db0
L
31672001-02-14 H.J. Lu <hjl@gnu.org>
3168
3169 * configure.tgt: Remove mention of earmelf_linux26.
3170
30c3c13a
RH
31712001-02-13 Richard Henderson <rth@redhat.com>
3172
3173 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
3174
b46a87b1
L
31752001-02-13 H.J. Lu <hjl@gnu.org>
3176
3177 * ldexp.h (node_type): Add etree_provided.
3178 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
3179 type to etree_provided if defined by PROVIDE. Allow updating
0879a67a 3180 for etree_provided.
b46a87b1
L
3181 (exp_print_tree): Handle etree_provided.
3182 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
3183 etree_provided.
3184
f3988fd9
RH
31852001-02-09 David Mosberger <davidm@hpl.hp.com>
3186
3187 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
3188 .IA_64.unwind.* pattern to unwind table section and
3189 .IA_64.unwind_info* pattern to unwind info section.
3190
a85d7ed0
NC
31912001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
3192
3193 * Makefile.am: Add linux target for S/390.
3194 * Makefile.in: Likewise.
3195 * configure.host: Likewise.
3196 * configure.tgt: Likewise.
3197 * emulparams/elf64_s390.sh: New file.
3198 * emulparams/elf_s390.sh: New file.
3199
780248c4
JJ
32002001-02-09 Jakub Jelinek <jakub@redhat.com>
3201
3202 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
3203 targ_extra_libpath.
3204 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
3205
0e2534bd
PB
32062001-02-06 Philip Blundell <philb@gnu.org>
3207
3208 * Makefile.am: Remove mention of earmelf_linux26.
3209 * Makefile.in: Regenerate.
3210
46c1ea57
PB
32112001-02-04 Philip Blundell <philb@gnu.org>
3212
3213 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
3214 * emulparams/armelf_linux26.sh: Delete.
3215 * configure.tgt: Remove mention of armelf_linux26 emulation.
3216
0088edd2
NC
32172001-02-01 Nick Clifton <nickc@redhat.com>
3218
3219 * ld.1: Replace occurances of -oformat with --oformat.
3220
02aa14fb
AM
32212001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
3222
3223 * ldlang.c (lang_leave_overlay): Don't set lma_region when
3224 load_base is specified.
3225
f813923c
HPN
32262001-01-24 Hans-Peter Nilsson <hp@axis.com>
3227
3228 * emultempl/elf32.em: Correct spelling in comments and listed
3229 options.
3230
c1eb1488
AM
32312001-01-23 Alan Modra <alan@linuxcare.com.au>
3232
3233 * ldlang.c (lang_leave_overlay): Only set lma_region from the
3234 default for the first section of a group of overlay sections.
3235
d9fc3714
AM
32362001-01-22 Alan Modra <alan@linuxcare.com.au>
3237
3238 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
3239 * Makefile.in: Regenerate.
3240 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
3241 Check for null tool_dir.
3242
6be0ca94
JW
32432001-01-16 Jim Wilson <wilson@redhat.com>
3244
3245 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
3246 and IA_64.unwind.info.
3247
b9247304
L
32482001-01-16 H.J. Lu <hjl@gnu.org>
3249
3250 * ldlang.c (lang_check): Merge the private data only if the
3251 input file has contents.
3252
577a0623
AM
32532001-01-14 Alan Modra <alan@linuxcare.com.au>
3254
d952f17a
AM
3255 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
3256
ffd6e9de
AM
3257 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
3258 enabling search for libmilli. On a relocatable link, make .text
3259 sections unique.
3260 (LDEMUL_AFTER_PARSE): Define.
3261 (hppaelf_finish): Correct spelling of relocatable in comments.
3262
577a0623
AM
3263 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3264 rummage through the script for sections on the unique list.
3265 Correct length of strncmp for ".note".
3266 (gld${EMULATION_NAME}_check_needed): Rearrange function.
3267
3268 * ldlang.c (unique_section_list): New var.
3269 (unique_section_p): New function.
3270 (walk_wild_section): Don't match sections on unique_section_list.
3271 (lang_add_unique): New function.
ffd6e9de 3272 Correct spelling of relocatable in comments.
577a0623
AM
3273
3274 * ldlang.h (struct unique_sections): Declare.
3275 (unique_section_list): Declare.
3276 (unique_section_p): Declare.
3277 (lang_add_unique): Declare.
3278
3279 * lexsup.c (ld_options): Allow --unique to take an optional arg.
3280 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
3281
3282 * ld.texinfo (--unique): Update.
3283
b7ed8fad
NC
32842001-01-13 Nick Clifton <nickc@redhat.com>
3285
3286 * lexsup.c (parse_args): Remove spurious white space.
3287
d0398d6a
NC
32882001-01-12 Nick Clifton <nickc@redhat.com>
3289
3290 * lexsup.c (parse_args): Update copyright date.
3291
350fdb00
PB
32922001-01-12 Philip Blundell <pb@futuretv.com>
3293
3294 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
3295
60c6797e
KH
32962001-01-10 Kazu Hirata <kazu@hxi.com>
3297
3298 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
3299 * scripttempl/h8300h.sc: Fix formatting.
3300 * scripttempl/h8300s.sc: Likewise.
69f06969
KH
3301 * scripttempl/h8500.sc: Likewise.
3302 * scripttempl/h8500b.sc: Likewise.
3303 * scripttempl/h8500c.sc: Likewise.
3304 * scripttempl/h8500m.sc: Likewise.
3305 * scripttempl/h8500s.sc: Likewise.
60c6797e 3306
482e8b32
DB
33072000-01-07 David O'Brien <obrien@BSDi.com>
3308
3309 * emultempl/elf32.em: Only perform Linux ld hints processing when
3310 targeting Linux.
3311
d7ed7ca6
PB
33122001-01-07 Philip Blundell <philb@gnu.org>
3313
3314 * ld.texinfo (Bug Reporting): Update email address for reports.
3315
0fc3347a
NC
33162000-12-31 Nick Clifton <nickc@redhat.com>
3317
3318 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
3319 options by checking for a return value of '?' not -1.
3320
e4897a32
NC
33212000-12-28 Nick Clifton <nickc@redhat.com>
3322
3323 * lexsup.c (struct ld_option): Add new enum value:
3324 EXACTLY_TWO_DASHES.
3325 (ld_options[]): Change -omagic, -output and -oformat options
3326 to be EXACTLY_TWO_DASHES.
3327 (OUTPUT_COUNT): Use ARRAY_SIZE.
3328 (parse_args): Change parameter 'argc' to unsigned.
3329 Place EXACTLY_TWO_DASHES options into new really_longopts
3330 array.
3331 If getopt_long_only fails, try calling getopt_long using the
3332 really_longopts array.
3333 (help): Print a double dash for both EXACTLY_TWO_DASHES and
3334 TWO_DASHES options.
3335
3336 * ldlex.h: Fix prototype of parse_args.
3337
3338 * ld.texinfo: Document that long options starting with 'o'
3339 must be preceeded by two dashes. Change example of a single
3340 dashed long option from -oformat to -trace-symbol.
3341
1122a5fc
NC
33422000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3343
3344 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
3345 (longopts[]): New --no-default-excludes option.
3346 (gld_${EMULATION_NAME}_list_options): Document.
3347 (gld_${EMULATION_NAME}_parse_args): Handle.
3348
037849a9
NC
33492000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3350
3351 * ldlang.c (new_stat): Revert the last beautification with "innocent"
3352 whitespace, it breaks the K&R C preprocessor.
3353
7ec229ce
DD
33542000-12-11 DJ Delorie <dj@redhat.com>
3355
3356 * ld.texinfo: Add notes about --whole-archive and gcc.
3357
b79e8c78
NC
33582000-11-18 Fred Fish <fnf@be.com>
3359
3360 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
3361 (ld_options): Entry for --allow-shlib-undefined.
3362 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
3363 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
3364 to false.
3365 * ld.texinfo: Document new command line switch.
d952f17a 3366
9a8e2505
GK
33672000-12-12 Geoffrey Keating <geoffk@redhat.com>
3368
3369 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
3370 .fixup is actually read/write.
3371 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
3372 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
3373 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
3374
3b16e843 33752000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
3376
3377 * NEWS: Add note about x86_64 architecture.
3378
93b63cd3
DD
33792000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
3380
3381 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
3382 Set DWARF2 sections to a VMA of zero.
3383
68b2fc7a 33842000-12-01 Joel Sherrill <joel@OARcorp.com>
24f6971a 3385
d952f17a 3386 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
24f6971a
NC
3387 New targets.
3388 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
3389 (sparc*-*-rtems*): Switched from a.out to ELF.
3390
2be3aa03
NC
33912000-11-30 Jan Hubicka <jh@suse.cz>
3392
3393 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
3394 (eelf_x86_64.c): New.
3395 * Makefile.in: Regenerate.
3396 * configure.tgt: Add support for x86_64-*-linux-gnu*.
3397 * emulparams/elf_x86_64.sh: New.
3398
8c899858
HPN
33992000-11-30 Hans-Peter Nilsson <hp@axis.com>
3400
3401 * emulparams/crislinux.sh (ENTRY): Change back to _start.
3402 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
3403
3404 * scripttempl/crisaout.sc: Change all RELOCATING not related to
3405 merging non-a.out sections into CONSTRUCTING.
3406
e47b9e39
NC
34072000-11-28 Nick Clifton <nickc@redhat.com>
3408
3409 * ld.1 (COPYING): Mention that the GNU Free Documentation
3410 License is present in the sources, but not the output, and
3411 also available from the GNU website.
3412 (GNU Free Documentation License): Comment out this section.
3413
ad95f82a
DB
34142000-11-28 David O'Brien <obrien@dragon.nuxi.com>
3415
3416 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
3417 does not use them.
3418
fd89e65f
DB
34192000-11-25 David O'Brien <obrien@FreeBSD.org>
3420
3421 * ld.1: Remove old date so it does not give the impression the manpage
3422 is way out of date.
3423
077b8428
NC
34242000-11-24 Nick Clifton <nickc@redhat.com>
3425
3426 * configure.tgt (xscale-coff): Add target.
3427 (xscale-elf): Add target.
3428
49425d28
NC
34292000-11-24 Fred Fish <fnf@be.com>
3430
d952f17a
AM
3431 * ldmain.c (main): Remove redundant init of config.make_executable
3432 to true.
49425d28 3433
d3480244
RH
34342000-11-15 Richard Henderson <rth@redhat.com>
3435
3436 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
3437
1ce7de8b
KH
34382000-11-14 Kazu Hirata <kazu@hxi.com>
3439
3440 * scripttempl/h8300.sc: Fix formatting.
3441 * scripttempl/h8300h.sc: Likewise.
3442 * scripttempl/h8300s.sc: Likewise.
3443
3b16e843 34442000-11-14 Denis Chertykov <denisc@overta.ru>
208d5cd0
DC
3445
3446 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
3447
2e418547
PB
34482000-11-09 Philip Blundell <pb@futuretv.com>
3449
3450 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
3451 around orphan sections whose names can be represented in C.
3452
c940e6fc
JW
34532000-11-07 Jim Wilson <wilson@redhat.com>
3454
3455 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
3456 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
3457
704c465c
NC
34582000-11-06 Nick Clifton <nickc@redhat.com>
3459
3460 * ld.texinfo: Add GNU Free Documentation License.
3461 * ldint.texinfo: Add GNU Free Documentation License.
cf055d54 3462 * ld.1: Add GNU Free Documentation License.
704c465c 3463
dca7760f
AM
34642000-11-05 Alan Modra <alan@linuxcare.com.au>
3465
3466 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
3467 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
3468
3469 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
3470 Move 2000-11-02 Makefile.in changes to this file.
3471 * Makefile.in: Regenerate.
3472
40a633d5
NC
34732000-11-03 Nick Clifton <nickc@redhat.com>
3474
3475 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
3476 constructors and destructors.
3477 * scripttempl/h8300h.sc: Ditto.
3478 * scripttempl/h8300s.sc: Ditto.
3479 * scripttempl/h8500.sc: Ditto.
3480 * scripttempl/h8500b.sc: Ditto.
3481 * scripttempl/h8500c.sc: Ditto.
3482 * scripttempl/h8500m.sc: Ditto.
3483 * scripttempl/h8500s.sc: Ditto.
3484 * scripttempl/v850.sc: Ditto.
3485 * scripttempl/w65.sc: Ditto.
3486 * scripttempl/z8000.sc: Ditto.
3487
59ff2774
NC
34882000-11-02 Per Lundberg <plundis@chaosdev.org>
3489
3490 * Makefile.in (e_i386_chaos.c): New rule.
3491 (ALL_EMULATIONS): Added e_i386_chaos.o.
3492 * emulparams/elf_i386_chaos.sh: New file.
3493 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
3494
645571e1
JJ
34952000-10-20 Jakub Jelinek <jakub@redhat.com>
3496
3497 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
3498 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
3499 Fix sed invocation, so that it coped with '/' in Solaris 64bit
3500 library path suffix.
3501 Based on patch by Andrew Macleod <amacleod@cygnus.com>.
3502
c5975a45
HPN
35032000-10-18 Hans-Peter Nilsson <hp@axis.com>
3504
3505 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
3506 for consecutive sections.
3507
ea20a7da
CC
35082000-10-17 Chandrakala Chavva <cchavva@redhat.com>
3509
d952f17a
AM
3510 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
3511 options.
3512 * ld.texinfo: Added notes about this new option.
ea20a7da 3513
6e45556a
NC
35142000-10-16 Nick Clifton <nickc@redhat.com>
3515
3516 * emultempl/pe.em (_after_open): Add tests of return values from
3517 bfd functions. Emit appropriate error messages if necessary.
3518
b9a69188
NC
35192000-10-13 Nick Clifton <nickc@redhat.com>
3520
3521 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
102c86f8
NC
3522 local variables - they are not used, but leave in the call to
3523 bfd_canonicalize_symtab.
b9a69188
NC
3524 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
3525 pe_dll_search_prefix.
3526
627427de 35272000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
d952f17a 3528
627427de
DD
3529 * emultempl/pe.em (pe_dll_search_prefix): New variable,
3530 (longopts): New --dll-search-prefix option.
3531 (gld_${EMULATION_NAME}_list_options): Document.
3532 (gld_${EMULATION_NAME}_parse_args): Handle.
3533 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
3534 dynamically, search for a dll named '<prefix><basename>.dll'
3535 in preference to 'lib<basename>.dll' if --dll-search-prefix
3536 is specified.
3537
24376d1b
AM
35382000-10-12 Alan Modra <alan@linuxcare.com.au>
3539
3540 * ldlang.c (section_already_linked): Set kept_section instead of
3541 sec->comdat->sec.
3542
e47d05ad
KH
35432000-10-10 Kazu Hirata <kazu@hxi.com>
3544
3545 * deffile.h: Fix formatting.
3546 * lexsup.c: Likewise.
3547 * mri.c: Likewise.
3548
23a87948
DD
35492000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
3550
3551 * pe-dll.c (make_one): Do not generate code thunk for DATA
3552 exports.
3553 (process_def_file): deduce DATA flag for auto-export sumbols.
3554
86b1cc60
KH
35552000-10-09 Kazu Hirata <kazu@hxi.com>
3556
89cdebba
KH
3557 * ld.h: Fix formatting.
3558 * ldcref.c: Likewise.
3559 * ldctor.h: Likewise.
3560 * ldemul.c: Likewise.
3561 * ldemul.h: Likewise.
3562 * ldexp.c: Likewise.
3563 * ldexp.h: Likewise.
3564 * ldfile.c: Likewise.
3565 * ldfile.h: Likewise.
3566 * ldlang.c: Likewise.
3567 * ldlang.h: Likewise.
3568 * ldmain.c: Likewise.
7bfd51a3
KH
3569 * pe-dll.c: Likewise.
3570
3571 * pe-dll.c: Revert some formatting fixes.
86b1cc60 3572
d643799d
KH
35732000-10-08 Kazu Hirata <kazu@hxi.com>
3574
3575 * pe-dll.c: Fix formatting.
3576
08da4cac
KH
35772000-10-05 Kazu Hirata <kazu@hxi.com>
3578
3579 * ldlang.c: Fix formatting.
3580
c2a94a7a
DD
35812000-10-03 DJ Delorie <dj@redhat.com>
3582
3583 * pe-dll.c (fill_edata): initialize entire block
3584 (make_one): fill in correct section.
3585
8c95a62e
KH
35862000-10-03 Kazu Hirata <kazu@hxi.com>
3587
3588 * ldexp.c: Fix formatting.
3589
486e80e2
DD
35902000-10-02 DJ Delorie <dj@redhat.com>
3591
3592 * emultempl/pe.em (gld_*_after_open): detect case where there two
3593 import libraries for same dll; rename one to ensure proper link
3594 order.
3595
3596 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
3597 typo
3598 (generate_edata): fix typo
3599
24dd9f75
HPN
36002000-09-29 Hans-Peter Nilsson <hp@axis.com>
3601
3602 * scripttempl/crisaout.sc (ENTRY): Now __start.
3603 (.text): Add default setting for __start.
3604 Remove CONSTRUCTORS handling.
3605 (/DISCARD/): Add .gnu.warning.*.
3606 * emulparams/crislinux.sh (ENTRY): Now __start.
3607 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
3608 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
3609 (ENTRY): Now __start.
3610 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
3611 (EXECUTABLE_SYMBOLS): Add default setting for __start.
3612
4de2d33d
KH
36132000-09-29 Kazu Hirata <kazu@hxi.com>
3614
5cc18311
KH
3615 * deffile.h: Fix formatting.
3616 * ld.h: Likewise.
3617 * ldcref.c: Likewise.
4de2d33d 3618 * ldctor.c: Likewise.
5cc18311 3619 * ldctor.h: Likewise.
4de2d33d 3620 * ldemul.c: Likewise.
5cc18311 3621 * ldemul.h: Likewise.
4de2d33d 3622 * ldexp.c: Likewise.
5cc18311 3623 * ldexp.h: Likewise.
4de2d33d 3624 * ldfile.c: Likewise.
5cc18311 3625 * ldfile.h: Likewise.
4de2d33d 3626 * ldlang.c: Likewise.
5cc18311
KH
3627 * ldlang.h: Likewise.
3628 * lexsup.c: Likewise.
3629 * mri.c: Likewise.
3630 * pe-dll.c: Likewise.
4de2d33d 3631
45b1f63c
DD
36322000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
3633
3634 * pe-dll.c (process_def_file): Uninitialized data wasn't
3635 exported with --export-all-symbols switch.
d952f17a 3636
45b1f63c
DD
36372000-09-28 DJ Delorie <dj@redhat.com>
3638
3639 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
3640 noname work properly.
3641
47d89dba
AM
36422000-09-28 Alan Modra <alan@linuxcare.com.au>
3643
3644 * ld.texinfo (HPPA ELF32): New section.
3645
3646 * emultempl/hppaelf.em (group_size): New.
3647 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
3648 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
3649 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
3650 options to prevent abbreviations matching.
3651 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
3652 (PARSE_AND_LIST_ARGS_CASES): Handle it.
3653
36bdbeec
NC
36542000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3655
3656 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
3657 on the m68*-*-elf target. Make it support COFF input objects.
3658
6d5e62f8
KH
36592000-09-21 Kazu Hirata <kazu@hxi.com>
3660
3661 * ldmain.c: Fix formatting.
3662 * ldmisc.c: Likewise.
3663 * ldver.c: Likewise.
3664 * ldwrite.c: Likewise.
3665
e2eb67d9
AM
36662000-09-21 Alan Modra <alan@linuxcare.com.au>
3667
3668 * ldwrite.c (clone_section): Silence gcc warnings.
3669
b3ea3584
AM
36702000-09-20 Alan Modra <alan@linuxcare.com.au>
3671
3672 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
3673 out of memory failure.
3674
3675 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
3676 (clone_section): Handle out of memory failures. Rename var to
3677 avoid c++ reserved word.
3678
25f72752
AM
36792000-09-18 Alan Modra <alan@linuxcare.com.au>
3680
3681 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
3682 stub_name param to stub_sec_name.
3683 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
3684
0752970e
NC
36852000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3686
3687 * emultempl/m68kelf.em: New file.
3688 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
3689 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
3690 * Makefile.in: Regenerate.
3691
92b7e9d8
AM
36922000-09-15 Alan Modra <alan@linuxcare.com.au>
3693
3694 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
3695 only as needed.
3696
9b14b192
NC
36972000-09-13 Nick Clifton <nickc@redhat.com>
3698
3699 * ldmain.c (multiple_definition): Disable relaxation if
3700 multiple symbol definitions are encountered - otherwise the
3701 linker could abort with an assertion failure.
3702
891fa266
NC
37032000-09-10 Nick Clifton <nickc@redhat.com>
3704
3705 * mri.c: Fix formatting.
3706
5d64ca4e
L
37072000-09-07 H.J. Lu <hjl@gnu.org>
3708
3709 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
3710 * configure: Rebuild.
3711
dd94604f
L
37122000-09-07 H.J. Lu <hjl@gnu.org>
3713
3714 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
3715 * Makefile.in: Rebuild.
3716
71bfc0ae
AM
37172000-09-07 Alan Modra <alan@linuxcare.com.au>
3718
3719 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
3720 broken list handling. Create __start_SECNAME and __stop_SECNAME
3721 when no place-holder. Add some comments. Test both SEC_CODE and
3722 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
ed15ac6a 3723 Handle case where no output section statement created.
71bfc0ae 3724
4a428502
AO
37252000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
3726
3727 * configure.tgt (sh-*-linux*): Added.
3728 * Makefile.am: Added eshelf_linux and eshlelf_linux.
3729 * Makefile.in: Rebuilt.
3730 * emulparams/shelf_linux.sh: New file.
3731 * emulparams/shlelf_linux.sh: New file.
3732
f9989030
AM
37332000-09-06 Alan Modra <alan@linuxcare.com.au>
3734
3735 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3736 try shuffling sections when the orphan happens to be the place
3737 holder. Keep count of unique section names generated so we speed
3738 the search for a new name.
3739
58cccadb
AO
37402000-09-06 Alexandre Oliva <aoliva@redhat.com>
3741
3742 * configure: Rebuilt with new libtool.m4.
3743
5b343f5a
NC
37442000-09-05 Nick Clifton <nickc@redhat.com>
3745
3746 * Makefile.in: Regenerate.
3747 * aclocal.m4: Regenerate.
3748 * configure: Regenerate.
3749 * config.in: Regenerate.
3750 * po/ld.pot: Regenerate.
3751
3752 * ldint.texinfo: Remove CVS revision marker - it foils local
3753 comparisons.
3754
3755 * emultempl/ticoff.em: Remove extraneous comma.
50bbae35 3756
a854a4a7
AM
37572000-09-05 Alan Modra <alan@linuxcare.com.au>
3758
3231d22e
AM
3759 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
3760 to stub section flags.
3761 (hppa_for_each_input_file_wrapper): New.
3762 (hppa_lang_for_each_input_file): New.
3763 (lang_for_each_input_file): Define to call above.
3764 (multi_subspace): New.
3765 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
3766 (PARSE_AND_LIST_PROLOGUE): Define.
3767 (PARSE_AND_LIST_LONGOPTS): Define.
3768 (PARSE_AND_LIST_OPTIONS): Define.
3769 (PARSE_AND_LIST_ARGS_CASES): Define.
3770 (hppaelf_finish): Call elf32_hppa_set_gp.
3771 (hppaelf_set_output_arch): Remove.
3772 (LDEMUL_SET_OUTPUT_ARCH): Remove.
3773
3774 * emulparams/hppalinux.sh (ELFSIZE): Define.
3775 (MACHINE): Define.
3776 (OTHER_READONLY_SECTIONS): Define.
3777 (DATA_PLT): Define.
3778 (GENERATE_SHLIB_SCRIPT): Define.
3779
5f992e62
AM
3780 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
3781 to const throughout. Change `void *' to `PTR' throughout.
3782 (lang_memory_default): Function is local to file, add `static'.
3783
3784 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
3785 (ehppalinux.c): Likewise.
3786 (earmelf.c): Likewise.
3787 (earmelf_linux.c): Likewise.
3788 (earmelf_linux26.c): Likewise.
3789 * Makefile.in: Regenerate.
3790
a854a4a7
AM
3791 * ld.h (ld_config_type): Add unique_orphan_sections.
3792 * lexsup.c (OPTION_UNIQUE): Define.
3793 (ld_options): Add "--unique".
3794 (parse_args): Handle it.
3795 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3796 search for an existing output section if unique_orphan_sections is
3797 set. Make use of bfd_get_unique_section_name rather than
3798 duplicating code here.
3799 * ld.texinfo: Describe --unique.
3800
3801 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
3802 optional arg to split-by-file.
3803 (parse_args): Handle them.
3804 * ld.texinfo: Update description of these options.
3805 * ldwrite.c (clone_section): Pass in the section name. Replace
3806 local code with bfd_get_unique_section_name.
3807 (split_sections): Tidy code and comments. Use a list traversal
3808 more appropriate to the list construction. Handle cooked section
3809 sizes. Split when split_by_reloc reached rather than exceeded.
3810 Track section size and split when split_by_file reached. Fix
3811 link_order_tail (even though it's not used).
3812 (ldwrite): Modify condition for calling split_sections to suit
3813 changed split_by_reloc and split_by_file.
3814 * ldmain.c (main): Init config.split_by_reloc and
3815 config.split_by_file to -1.
3816 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
3817 Change split_by_file to bfd_size_type.
3818
18e03609
NC
38192000-09-02 Nick Clifton <nickc@redhat.com>
3820
3821 * configure.in: Increase version number to 2.10.91.
3822 * NEWS: Mention new ability to support removal of duplicate DWARF2
3823 debug information.
3824 * configure: Regenerate.
3825 * aclocal.m4: Regenerate.
3826 * config.in: Regenerate.
3827
3a9d486c
NC
38282000-09-02 Daniel Berlin <dberlin@redhat.com>
3829
3830 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
3831 sections.
a2b64bed 3832 * scripttempl/elf32avr.sc: Ditto.
3a9d486c
NC
3833 * scripttempl/elfd10v.sc: Ditto.
3834 * scripttempl/elfd30v.sc: Ditto.
3835 * scripttempl/elfi370.sc: Ditto.
3836 * scripttempl/elfm68hc11.sc: Ditto.
3837 * scripttempl/elfm68hc12.sc: Ditto.
3838 * scripttempl/elfi386beos.sc: Ditto.
3839 * scripttempl/v850.sc: Ditto.
50bbae35 3840
ac48eca1
AO
38412000-08-31 Alexandre Oliva <aoliva@redhat.com>
3842
3843 * acinclude.m4: Include libtool and gettext macros from the
3844 top level.
3845 * aclocal.m4, configure: Rebuilt.
3846
c13b1b77
NC
38472000-08-25 Nick Clifton <nickc@redhat.com>
3848
3849 * ldlang.c (open_output): When choosing the target for a
3850 particular endianness, do nothing if the target is not
3851 supported.
3852
dcb0bd0e
L
38532000-08-25 H.J. Lu <hjl@gnu.org>
3854
3855 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
3856 check -rpath nor LD_RUN_PATH for cross link.
3857 * ld.texinfo: Document the change.
3858
5bcac8a4
HPN
38592000-08-24 Hans-Peter Nilsson <hp@axis.com>
3860
3861 * NEWS: Mention support for CRIS.
3862
6dd8c765
L
38632000-08-23 H.J. Lu <hjl@gnu.org>
3864
3865 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
3866 the current runpath list from bfd_elf_get_runpath_list ()
3867 before search.
3868
ec4eb78a
L
38692000-08-22 H.J. Lu <hjl@gnu.org>
3870
3871 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
3872 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
3873 LD_LIBRARY_PATH for native linker. Display the needed DSO if
3874 trace_file_tries is non-zero.
3875 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
3876 if trace_file_tries is non-zero.
3877
3878 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
a8175964 3879 * NEWS: Mention it.
ec4eb78a 3880
22b36938
JE
38812000-08-14 Jason Eckhardt <jle@cygnus.com>
3882
3883 * NEWS: Mention i860 support.
3884
d73e9da0
AS
38852000-08-14 Andreas Schwab <schwab@suse.de>
3886
3887 * scripttempl/elf.sc: Fix last change to use correct comment
50bbae35 3888 syntax.
d73e9da0 3889
9ac4db9c
GK
38902000-08-10 Geoff Keating <geoffk@cygnus.com>
3891
3892 * scripttempl/elf.sc: Add a comment giving the correspondence
3893 between sections, per-datum sections, and linkonce sections. Make
3894 the comment true even for .bss, .sdata, .sdata2, .sbss, and
3895 .sbss2.
3896
165589e4
JE
38972000-08-10 Jason Eckhardt <jle@cygnus.com>
3898
3899 * emulparams/elf32_i860.sh: New file.
3900 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
3901 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
3902 (eelf32_i860.c): New rule.
3903 * Makefile.in: Regenerate.
3904
345a835d
NC
39052000-08-10 Nick Clifton <nickc@cygnus.com>
3906
3907 * emulparams/mipspe.sh (ENTRY): Add definition.
3908
e374f1d9
NC
39092000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
3910
3911 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
3912 in error message.
3913
236d5abf
NC
39142000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3915
3916 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
3917 the final size of .bss section.
3918 * scripttempl/elfm68hc12.sc: Likewise.
3919
4b209b22
AM
39202000-08-04 Alan Modra <alan@linuxcare.com.au>
3921
3922 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
3923 gld${EMULATION_NAME}_parse_args for consistency. Combine
3924 lastoptind and prevoptind vars, and keep track of last optind.
3925 (gld_${EMULATION_NAME}_list_options): Rename to
3926 gld${EMULATION_NAME}_list_options.
3927
28423a68
AM
39282000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
3929
3930 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
3931 (i586-sco-sysv5uw7.1.0).
3932
b2009ff7
L
39332000-07-27 H.J. Lu <hjl@gnu.org>
3934
3935 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
3936 (PARSE_AND_LIST_PROLOGUE): New.
3937 (PARSE_AND_LIST_LONGOPTS): Likewise.
3938 (PARSE_AND_LIST_OPTIONS): Likewise.
3939 (PARSE_AND_LIST_ARGS_CASES): Likewise.
3940 (PARSE_AND_LIST_EPILOGUE): Likewise.
3941
04925e1e
AM
39422000-07-28 Alan Modra <alan@linuxcare.com.au>
3943
41392f03
AM
3944 * emultempl/armelf.em: Elide functions common to elf32.em,
3945 ie. most of the file.
3946 (arm_elf_after_open): New. Do arm specific things then call
3947 gld${EMULATION_NAME}_after_open.
3948 (arm_elf_before_allocation): New. Call
3949 gld${EMULATION_NAME}_before_allocation then do arm specifics.
3950 (PARSE_AND_LIST_PROLOGUE): Define.
3951 (PARSE_AND_LIST_SHORTOPTS): Define.
3952 (PARSE_AND_LIST_LONGOPTS): Define.
3953 (PARSE_AND_LIST_OPTIONS): Define.
3954 (PARSE_AND_LIST_ARGS_CASES): Define.
3955 (LDEMUL_AFTER_OPEN): Define.
3956 (LDEMUL_BEFORE_ALLOCATION): Define.
3957 (LDEMUL_BEFORE_PARSE): Define.
3958 (LDEMUL_FINISH): Define.
3959
3960 * emultempl/hppaelf.em: Similarly zap most of this file.
3961 (hppaelf_add_stub_section): Prototype.
3962 (hppaelf_layaout_sections_again): Prototype.
3963 (hook_in_stub): Prototype.
3964 (LDEMUL_SET_OUTPUT_ARCH): Define.
3965 (LDEMUL_FINISH): Define.
3966 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
3967
3968 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
3969 (EXTRA_EM_FILE): New.
3970 * emulparams/armelf_linux.sh: Likewise.
3971 * emulparams/armelf_linux26.sh: Likewise.
3972 * emulparams/hppalinux.sh: Likewise.
3973 * emulparams/hppaelf.sh: Likewise.
3974 (NOP): Define.
3975
3976 * emultempl/elf32.em: Fix formatting.
3977 (EXTRA_EM_FILE): Source it.
3978 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
3979 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
3980 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
3981 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
3982 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
3983 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
3984 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
3985 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
3986 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
3987 allow functions in this file to be overridden.
3988 (PARSE_AND_LIST_SHORTOPTS): Handle it.
3989
3990 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
3991
04925e1e
AM
3992 * emultempl/elf32.em: Reorganize file.
3993
88cdf297
NC
39942000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
3995
3996 * emulparams/elf64alpha.sh: Implement "-taso" emulation
3997 specific option to fit 64-bit executable in the lower
3998 31-bit address range. This is done by changing start
3999 address of .interp (the very first section of executable)
4000 and then setting EF_ALPHA_32BIT elf header flag.
4001
20bccb34
NC
40022000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4003
4004 * emultempl/m68kcoff.em: New file.
4005 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
4006 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
4007 generic.em.
4008 * Makefile.in: Regenerate.
4009
699845ef
L
40102000-07-20 H.J. Lu <hjl@gnu.org>
4011
4012 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
4013 and "disable-new-dtags" to stop getopt from treating -d/-e as
4014 abbreviations for these options.
4015
6c1439be
L
40162000-07-20 H.J. Lu <hjl@gnu.org>
4017
4018 * ld.texinfo: Add documentation for --disable-new-dtags and
4019 --enable-new-dtags.
4020
4021 * ldmain.c (main): Initialize link_info.new_dtags to false.
4022
4023 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
4024 --disable-new-dtags and --enable-new-dtags.
4025 (gld_${EMULATION_NAME}_list_options): Likewise.
4026
28c309a2
NC
40272000-07-05 Kenneth Block <krblock@computer.org>
4028
a2b64bed
NC
4029 * lexsup.c: Add optional style to demangle switch
4030 * ld.texinfo: Document optional style to demangle switch.
50bbae35 4031
9d06555c
HPN
40322000-07-20 Hans-Peter Nilsson <hp@axis.com>
4033
4034 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
4035 ecrislinux.o.
4036 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
4037 Regenerate dependencies.
4038 * Makefile.in: Rebuild.
4039 * configure.tgt (cris-*-*): New target.
4040 * emulparams/crisaout.sh, emulparams/criself.sh,
4041 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
4042 * po/POTFILES.in, po/ld.pot: Regenerate.
4043
19e3be22
L
40442000-07-20 H.J. Lu <hjl@gnu.org>
4045
4046 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
4047 Print out ignored -z options.
4048
e0ee487b
L
40492000-07-19 H.J. Lu <hjl@gnu.org>
4050
19e3be22
L
4051 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
4052 (PARSE_AND_LIST_PROLOGUE): New.
4053 (PARSE_AND_LIST_LONGOPTS): Likewise.
4054 (PARSE_AND_LIST_OPTIONS): Likewise.
4055 (PARSE_AND_LIST_ARGS_CASES): Likewise.
4056
4057 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
4058
4059 * lexsup.c (ld_options): Comment out 'z'.
4060 (parse_args): Likewise.
4061
4062 * emultempl/elf32.em: Include "elf/common.h".
4063 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
4064 options.
4065 (gld_${EMULATION_NAME}_list_options): Likewise.
4066
4067 * ld.texinfo: Add documentation for the recognized -z options.
e0ee487b 4068
49e56c49
L
40692000-07-19 H.J. Lu <hjl@gnu.org>
4070
4071 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
4072 bfd_elf_set_dt_needed_soname ().
4073
9d68bc82
DD
40742000-07-18 DJ Delorie <dj@cygnus.com>
4075
4076 * pe-dll.c (pe_dll_id_target): check object target name also
4077
53db15ed
HPN
40782000-07-18 Hans-Peter Nilsson <hp@axis.com>
4079
4080 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
4081 ${INIT_END} if relocating.
4082 (.fini): Likewise ${FINI_START} and ${FINI_END}.
4083
0ad8cf4c
DD
40842000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
4085
a2b64bed 4086 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
0ad8cf4c
DD
4087 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
4088 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
4089 errors introduced by the old dynamic lib search order.
4090
874c8c99
DD
40912000-07-17 DJ Delorie <dj@cygnus.com>
4092
4093 * pe-dll.c (process_def_file): auto-export data items also
4094 (pe_process_import_defs): also see if _imp_ form needed
4095
5b4cf3f4
DD
40962000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
4097
4098 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
4099 for dll import libraries
4100
062739d1
NC
41012000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
4102
4103 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
d952f17a 4104 gcc 2.95.2 and later.
062739d1 4105
1c64c4ed
NC
41062000-07-11 Kazu Hirata <kazu@hxi.com>
4107
50bbae35
AM
4108 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
4109 message.
1c64c4ed 4110
b71e2778
AM
41112000-07-10 Alan Modra <alan@linuxcare.com.au>
4112
4113 * ldemul.h (struct lang_input_statement_struct): Remove forward
4114 declaration.
4115 (struct search_dirs): Likewise.
4116 * ldfile.h (struct lang_input_statement_struct): Likewise.
4117 Protect file from multiple inclusion.
4118 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
4119 declaration from macro to file scope.
4120
4121 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
4122 * ldgram.y: Likewise here.
4123 * ldlang.c: And here.
4124 * ldmain.c: And here.
4125 * mpw-elfmips.c: And here.
4126 * mpw-eppcmac.c: And here.
4127 * emultempl/aix.em: And here.
4128 * emultempl/armcoff.em: And here.
4129 * emultempl/armelf.em: And here.
4130 * emultempl/armelf_oabi.em: And here.
4131 * emultempl/beos.em: And here.
4132 * emultempl/elf32.em: And here.
4133 * emultempl/hppaelf.em: And here.
4134 * emultempl/linux.em: And here.
4135 * emultempl/lnk960.em: And here.
4136 * emultempl/pe.em: And here.
4137 * emultempl/sunos.em: And here.
4138 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
4139 * mpw-idtmips.c: Ditto.
4140 * emultempl/generic.em: Ditto.
4141 * emultempl/gld960.em: Ditto.
4142 * emultempl/gld960c.em: Ditto.
4143 * emultempl/mipsecoff.em: Ditto.
4144 * emultempl/ticoff.em: Ditto.
4145 * emultempl/vanilla.em: Ditto.
4146
4147 * pe-dll.c: Include ldfile.h
4148 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
4149
4150 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
4151 arguments to bfd_elf32_size_dynamic_sections call.
4152 (gldelf32ebmip_place_orphan): Add missing arguments to
4153 lang_leave_output_section_statement call.
4154
2ef53d66
L
41552000-07-10 H.J. Lu <hjl@gnu.org>
4156
4157 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
4158 DLL_SUPPORT.
4159 (strhash): Likewise.
4160 (compute_dll_image_base): Likewise.
4161 (pe_undef_found_sym): Likewise.
4162 (pe_undef_cdecl_match): Likewise.
4163 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
4164 argument "arch" with ATTRIBUTE_UNUSED.
4165
9a8cbb09
AM
41662000-07-10 Alan Modra <alan@linuxcare.com.au>
4167
4168 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
4169
4170 From Ryan Bradetich <rbradetich@uswest.net>
4171 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
50bbae35 4172
4900fc06
AM
41732000-07-09 Alan Modra <alan@linuxcare.com.au>
4174
4175 Changes to create multiple linker stubs, positioned immediately
4176 before the section where they are required.
4177 * emultempl/hppaelf.em: Include elf32-hppa.h.
4178 (stub_sec, file_chain): Delete.
4179 (hppaelf_create_output_section_statements): Don't make a stub
4180 section here.
4181 (hook_stub_info): New struct.
4182 (hook_in_stub): New function.
4183 (hppaelf_add_stub_section): New function.
4184 (hppaelf_finish): Do nothing for relocateable links. Modify the
4185 call to elf32_hppa_size_stubs. Move code for updating section
4186 layout from here...
4187 (hppaelf_layaout_sections_again): ..to here, a new function.
4188
4189 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
4190 broken list handling. Pass in a pointer to the list.
4191 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
4192 for above changes.
4193 (hppaelf_before_parse): Prototype.
4194 (hppaelf_set_output_arch): Prototype.
4195 (hppaelf_create_output_section_statements): Prototype.
4196 (hppaelf_delete_padding_statements): Prototype.
4197 (hppaelf_finish): Prototype.
4198
4199 Merge from elf32.em
4200 * emultempl/hppaelf.em: Include ctype.h.
4201 (struct orphan_save): New.
4202 (gld${EMULATION_NAME}_place_orphan): New.
4203 (output_rel_find): New.
4204 (hppaelf_get_script): Update from elf32.em.
4205 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
4206 Change emulation_name field to "${EMULATION_NAME}". Add
50bbae35 4207 gld${EMULATION_NAME}_place_orphan.
4900fc06
AM
4208
4209 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
4210 ehppalinux.o, sort it. Regenerate dependencies.
4211 (ehppalinux.c): Depend on hppaelf.em
4212 * Makefile.in: Regenerate.
4213
4214 * configure.tgt: targ_emul=hppalinux for hppa*linux
4215
4216 * emulparams/hppalinux.sh: New.
4217 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
4218
227aeb07
AM
42192000-07-08 Alan Modra <alan@linuxcare.com.au>
4220
4221 * lexsup.c (parse_args): Copy section name.
4222
28609fd4 42232000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
602e90d3 4224
2ef53d66 4225 * emultempl/pe.em: institute the following search order for
602e90d3
DD
4226 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
4227 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
4228 static lib (libfoo.a) if none of the above are found.
4229
5f577f7d
DD
42302000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
4231
50bbae35 4232 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
5f577f7d 4233 (longopts): New --{enable,disable}-auto-image-base options.
50bbae35 4234 (gld_${EMULATION_NAME}_list_options): Document.
5f577f7d
DD
4235 (gld_${EMULATION_NAME}_parse): Handle.
4236 (strhash): New static function.
50bbae35 4237 (compute_dll_image_base): New static function.
5f577f7d
DD
4238 (gld_${EMULATION_NAME}_set_symbols): Use.
4239
9a8cbb09 42402000-07-05 DJ Delorie <dj@redhat.com>
302ab118
DD
4241
4242 * MAINTAINERS: new
4243
3548145d 42442000-07-01 Koundinya K <kk@ddeorg.soft.net>
50bbae35
AM
4245
4246 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
4247 * emulparams/elf32btsmip.sh: New file.
4248 * Makefile.am: Add traditional mips target.
4249 * Makefile.in: Rebuild.
4250
67798033
L
42512000-07-01 H.J. Lu <hjl@gnu.org>
4252
4253 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
4254 automake to use YLWRAP.
4255 * Makefile.in: Rebuild.
4256
0bdaf48b
AM
42572000-07-01 Alan Modra <alan@linuxcare.com.au>
4258
4259 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
4260 (CLEANFILES): Add DEPA.
4261 * Makefile.in: Regenerate.
4262
c9e769c2
TW
42632000-06-30 Timothy Wall <twall@ppc>
4264
4265 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
4266 the page in the upper octet of the address.
4267
65aa24b6
NC
42682000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
4269
4270 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
4271
4667035e
AM
42722000-06-24 Alan Modra <alan@linuxcare.com.au>
4273
4274 * NEWS: arm-elf does --gc-sections too.
4275
1581f8c9
AM
42762000-06-22 Alan Modra <alan@linuxcare.com.au>
4277
4278 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
4279 find one.
4280 * Makefile.in: Regenerate.
4281
01580992
L
42822000-06-21 H.J. Lu <hjl@gnu.org>
4283
4284 * Makefile.am: Rebuild dependency.
4285 * Makefile.in: Rebuild.
4286
bbeb2e03
L
42872000-06-20 H.J. Lu <hjl@gnu.org>
4288
4289 * Makefile.am: Rebuild dependency.
4290 * Makefile.in: Rebuild.
4291
74459f0e
TW
42922000-06-20 Timothy Wall <twall@cygnus.com>
4293
4294 * scripttempl/tic54xcoff.sc: New.
4295 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
4296 * gen-doc.texi: Add flag for TI COFF.
4297 * ld.texinfo: Add documentation for TI COFF handling switches.
4298 * emultempl/ticoff.em: New. TI COFF handling.
4299 * configure.tgt: Add tic54x target.
4300 * Makefile.am: Add tic54x target.
4301 * Makefile.in: Ditto.
4302
2ab47eed
AM
43032000-06-20 Alan Modra <alan@linuxcare.com.au>
4304
4305 * ldmain.c (set_scripts_dir): Correct pointer comparison when
4306 checking for backslashes.
4307
919e4093
AM
43082000-06-19 Alan Modra <alan@linuxcare.com.au>
4309
4310 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
4311
987fd5b4
AM
43122000-06-18 Alan Modra <alan@linuxcare.com.au>
4313
4314 * NEWS: Update list of targets supporting --gc-sections.
4315
4316 * scripttempl/elf.sc: KEEP .eh_frame contents.
4317 * scripttempl/elfd30v.sc: Same here.
4318
60bcf0fa
NC
43192000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
4320
4321 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
4322 and m68hc11 (elf).
4323 * Makefile.in: Rebuild.
4324 * configure.tgt: Recognize m68hc12 and m68hc11.
4325 * scripttempl/elfm68hc12.sc: New file.
4326 * emulparams/m68hc12elfb: New emulation.
4327 * emulparams/m68hc12elf: New emulation.
4328 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
4329 (includes a memory.x script to define the ROM and RAM banks).
4330 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
4331 New configuration files for support of Motorola 68hc11
4332
c7c54483
AM
43332000-06-15 Alan Modra <alan@linuxcare.com.au>
4334
4335 * ldmain.c (main): Only change SEC_READONLY for final link.
4336
bcef29e6
L
43372000-06-13 H.J. Lu <hjl@gnu.org>
4338
4339 * configure: Regenerate.
4340
946efd95
DB
43412000-06-08 David O'Brien <obrien@FreeBSD.org>
4342
4343 * configure.in (VERSION): Update to show this is the CVS mainline.
4344
57a6fd07
DB
43452000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4346
4347 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
4348 input objects to be ECOFF.
4349 (check_sections): einfo takes %B, not %P, to print a BFD name.
4350
e06cae36
L
43512000-06-05 Michael Matz <matz@ifh.de>
4352
4353 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
d952f17a 4354 version scripts.
e06cae36 4355
d952f17a 4356 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
e06cae36 4357
2f0b56c0
DC
43582000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
4359
4360 * emulparams/avr1200.sh (STACK): Define as 0.
4361 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
4362 * emulparams/avr4433.sh (STACK): Likewise.
4363 * emulparams/avr44x4.sh (STACK): Likewise.
4364 * emulparams/avr85xx.sh (STACK): Likewise.
4365 * emulparams/avrmega103.sh (STACK): Likewise.
4366 * emulparams/avrmega161.sh (STACK): Likewise.
4367 * emulparams/avrmega603.sh (STACK): Likewise.
4368 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
4369 (__stack): Define from ${STACK} for main().
4370
2114f57b
AM
43712000-05-26 Alan Modra <alan@linuxcare.com.au>
4372
4373 * Makefile.am: Update dependencies with "make dep-am"
4374 * Makefile.in: Regenerate.
4375
5af11cab
AM
43762000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
4377
4378 * ldmain.c: Include filenames.h.
4379 (set_scripts_dir): Support backslashes in program name.
4380
1f0df59a
NC
43812000-05-22 Igor Shevlyakov <igor@windriver.com>
4382
4383 * ldmain.c (main): When deciding if ".text" section should be
50bbae35
AM
4384 read-only, don't forget to reset SEC_READONLY because it
4385 could be already set.
1f0df59a 4386
176355da
NC
43872000-05-22 Thomas de Lellis <tdel@windriver.com>
4388
50bbae35
AM
4389 * ld.1: Add documentation for new command line option:
4390 --section-start <sectionname>=<sectionorg>
4391 This is a generic version of -Ttext etc. which accepts
4392 any section name as a parameter instead of just text/data/
4393 bss.
4394 * ld.texinfo: More docs.
4395 * NEWS: More docs.
4396 * lexsup.c: (parse_args): Recognize new command line option.
176355da 4397 (ld_options): Add new option.
50bbae35 4398
8c5ff972
L
43992000-05-18 H.J. Lu <hjl@gnu.org>
4400
4401 * lexsup.c (parse_args): `i' == `r', not `q'.
4402
3b16e843 44032000-05-18 Jeffrey A Law (law@cygnus.com)
0b76fe77
JL
4404
4405 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
4406
a712da20
NC
44072000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
4408 Rick Gorton <gorton@scrugs.lkg.dec.com>
50bbae35 4409
a712da20
NC
4410 Add support for '-q' == '--emit-relocs' switch.
4411 * ldmain.c (main): Default to false.
4412 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
4413 * NEWS: Describe the emitrelocations switch.
4414 * ld.texinfo: Describe the emitrelocations switch.
4415
690a460e
NC
44162000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
4417
a2b64bed 4418 * emultempl/pe.em (_open_dynamic_archive): New function: Search
690a460e
NC
4419 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
4420 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
4421 link options.
50bbae35 4422
c2f1343c
AM
44232000-05-15 David O'Brien <obrien@FreeBSD.org>
4424
4425 * lexsup.c (parse_args): Update the year in the copyright notice.
4426
897083bd
AM
44272000-05-13 Alan Modra <alan@linuxcare.com.au>
4428
4429 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
4430 Replace defines with those from intl/libgettext.h to quieten gcc
4431 warnings.
4432
cd4c806a
L
44332000-05-10 H.J. Lu <hjl@gnu.org>
4434
4435 * ldlang.c (open_input_bfds): Don't load the same file within
4436 a group again if the whole archive has been loaded already.
4437
93697284
AM
44382000-05-03 Alan Modra <alan@linuxcare.com.au>
4439
4440 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
4441 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
4442 strtoul.
4443
3b16e843 44442000-05-01 Jim Wilson <wilson@cygnus.com>
ebd6fc29 4445
99a4150f 4446 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
50bbae35 4447
ebd6fc29
JW
4448 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
4449 host "ia64-*-linux-gnu*".
4450
a1934524
AM
44512000-04-29 Andreas Jaeger <aj@suse.de>
4452
4453 * ld.h: Correctly check GCC version.
4454
3b16e843 44552000-04-25 Jeffrey A Law (law@cygnus.com)
730a39a0
JL
4456
4457 * Makefile.am: Add PA64 support. Add missing dependencies for
4458 PA32 elf support.
4459 * Makefile.in: Rebuilt.
4460 * configure.tgt: Add PA64 support (currently disabled).
4461
aea4bd9d
AM
44622000-04-25 Alan Modra <alan@linuxcare.com.au>
4463
4464 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
4465 (output_rel_find): New function.
4466 (hold_section, hold_use): Delete.
4467 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
4468 hold_interp): Make local to place_orphan.
4469 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
4470 rather than place_section to find possible previous use of orphan.
4471 Similarly find the place-holder output sections. Use returned
4472 value from lang_enter_output_section_statement rather than calling
4473 lang_output_section_statement_lookup.
4474 * emultempl/armelf.em: Same here.
4475 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
4476
4477 * ldlang.c (lang_enter_output_section_statement): Return output
4478 section statement.
4479 * ldlang.h (lang_enter_output_section_statement): Change
4480 declaration too.
4481
4482 * ldlang.h (lang_output_section_statement): Export it.
4483 * ldlang.c (lang_output_section_statement): Ditto.
4484
2b5fc1f5
NC
44852000-04-24 Nick Clifton <nickc@cygnus.com>
4486
4487 * ld.texinfo (Output Section Data): Add note that section data
4488 commands cannot appear outside of section directives.
4489
d8475ff6
JL
44902000-04-2 Matthew Green <mrg@cygnus.com>
4491
4492 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
4493
3b16e843
NC
44942000-04-21 Richard Henderson <rth@cygnus.com>
4495 David Mosberger <davidm@hpl.hp.com>
800eeca4
JW
4496
4497 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
4498 (eelf64_ia64.c): New rule.
4499 * Makefile.in: Rebuild.
4500 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
4501 * emulparams/elf64_ia64.sh: New file.
50bbae35 4502
c9637625
RH
45032000-04-21 Richard Henderson <rth@cygnus.com>
4504
4505 * scripttempl/elfd30v.sc: Place .gcc_except_table.
4506
28ea9521
AM
45072000-04-19 Alan Modra <alan@linuxcare.com.au>
4508
4509 * dep-in.sed: Match space at start of file name, not at end.
4510
20d04697
L
45112000-04-18 H.J. Lu <hjl@gnu.org>
4512
4513 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
4514 lang_leave_output_section_statement () after calling
4515 lang_enter_output_section_statement ().
4516 * emultempl/armelf.em: Likewise.
4517
5ba47421
AM
45182000-04-18 Alan Modra <alan@linuxcare.com.au>
4519
4520 * emultempl/elf32.em (struct orphan_save): Add section field.
4521 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
4522 better order, and place first orphan section as we did before the
4523 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
4524 Don't call make_bfd_section here, let wild_doit do the job for us.
4525 Don't build a statement list when we'll only throw it away.
4526 * emultempl/armelf.em: Ditto.
4527 * emultempl/pe.em: Similarly.
4528
bdbe5705
GK
45292000-04-14 Geoff Keating <geoffk@cygnus.com>
4530
4531 * scripttempl/elfppc.sc: Remove.
4532 * emulparams/elf32ppc.sh: Use elf.sc.
4533 * emulparams/elf32lppc.sh: Use elf.sc.
4534 * emulparams/elf32ppclinux.sh: Use elf.sc.
4535 * emulparams/elf32ppcsim.sh: New file.
4536 * emulparams/elf32lppcsim.sh: New file.
4537 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
4538 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
4539 * Makefile.in: Regenerate.
4540 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
4541
01cc8ff8
AM
45422000-04-14 Alan Modra <alan@linuxcare.com.au>
4543
5ba47421 4544 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
01cc8ff8 4545 ~SEC_ALLOC sections too. Init start address of debug sections.
5ba47421
AM
4546 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
4547 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
01cc8ff8
AM
4548 Also set all relocateable section start addresses.
4549
6c86c541
GK
45502000-04-13 Geoff Keating <geoffk@cygnus.com>
4551
4552 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
4553 Add new BSS_PLT variable for when .plt need not be contained in
4554 the file. Move _etext so that it is also after .fini, and provide
4555 both etext and _etext with a leading underscore. Mark the start
4556 and end of .sbss.
4557
6a345e87
AM
45582000-04-12 Alan Modra <alan@linuxcare.com.au>
4559
4560 * emultempl/elf32.em (struct orphan_save): New.
4561 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
4562 hold_interp): Make them struct orphan_save.
4563 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
4564 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
4565 the end of the relevant section list. Also add associated section
4566 statements to the end of any previous orphan statements.
4567 * emultempl/armelf.em: Similarly.
4568 * emultempl/pe.em: Similarly.
4569
8be86746
AM
45702000-04-11 Alan Modra <alan@linuxcare.com.au>
4571
4572 * ld.texinfo (Simple Example): Remove extraneous paragraph.
4573
3b16e843 45742000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
50bbae35 4575
a2d91340 4576 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
50bbae35 4577 --enable-build-warnings option.
a2d91340
AC
4578 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
4579 * Makefile.in, configure: Re-generate.
4580
41b49281
AM
45812000-04-04 Alan Modra <alan@linuxcare.com.au>
4582
8ad3436c
AM
4583 * po/ld.pot: Regenerate.
4584
4585 * lexsup.c (help): Restore translated part of bug string.
4586
41b49281
AM
4587 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
4588 (DEP): Quote when passing vars to sub-make. Add warning message
4589 to end.
4590 (DEP1): Rewrite for "gcc -MM".
4591 (CLEANFILES): Add DEP2.
4592 Update dependencies.
4593 * Makefile.in: Regenerate.
4594
c20f4f8c
AM
45952000-04-03 Alan Modra <alan@linuxcare.com.au>
4596
4597 * ld.h: #include "bin-bugs.h"
4598 * lexsup.c (help): Use REPORT_BUGS_TO.
4599
adde6300
AM
46002000-03-27 Denis Chertykov <denisc@overta.ru>
4601
4602 * configure.tgt (avr-*-*): New target support.
4603 * Makefile.am: Likewise.
4604 * scripttempl/elf32avr.sc: New script file.
4605 * emulparams/avr1200.sh: New file.
4606 * emulparams/avr23xx.sh: New file.
4607 * emulparams/avr4433.sh New file.
4608 * emulparams/avr44x4.sh New file.
4609 * emulparams/avr85xx.sh New file.
4610 * emulparams/avrmega103.sh New file.
4611 * emulparams/avrmega161.sh New file.
4612 * emulparams/avrmega603.sh New file.
4613 * Makefile.in: Regenerate.
4614
9282ff41
L
46152000-03-09 Andreas Jaeger <aj@suse.de>
4616
4617 * Makefile.am (check-DEJAGNU): Also unset LANG.
4618 * Makefile.in: Rebuild.
4619
a9998805
ILT
46202000-03-06 Ian Lance Taylor <ian@zembu.com>
4621
4622 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
4623 archive.
4624
f9bc20e7
NC
46252000-03-02 H.J. Lu <hjl@gnu.org>
4626
4627 * emulparams/elf32mcore.sh: Include "getopt.h".
4628
4e277b38
ILT
46292000-03-01 Ian Lance Taylor <ian@zembu.com>
4630
4631 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
4632
f0c87f88
NC
46332000-03-01 H.J. Lu <hjl@gnu.org>
4634
4635 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
4636 * emulparams/shpe.sh: Likewise.
4637
46382000-03-01 Nick Clifton <nickc@cygnus.com>
4639
4640 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
4641 to unused parameters.
4642
4643 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
4644 functions only used by DLL code.
4645 (_place_orphan): Initialise 'dollar'.
4646
b6f29aaa
L
46472000-03-01 H.J. Lu <hjl@gnu.org>
4648
4649 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
4650 indicate if the undefined symbol is a fatal error or not.
4651 Don't delete the output file if "fatal" is false.
4652
af28fce3
L
46532000-02-29 H.J. Lu <hjl@gnu.org>
4654
50bbae35 4655 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
af28fce3
L
4656 Set LC_COLLATE and LC_ALL to null and export them. It is for
4657 sort which expects the C locale.
4658 Add $(LIBS) to all $(HOSTING_LIBS).
4659 * Makefile.in: Rebuild.
4660
40d109bf
AM
46612000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
4662
4663 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
4664 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
4665 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
4666 (ld_emulation_xfer_struct): Add missing NULL initialiser for
4667 find_potential_libraries.
4668
db5be682
JB
46692000-02-28 Jim Blandy <jimb@redhat.com>
4670
4671 * ldgram.y (exclude_name_list): Don't require a comma to separate
50bbae35 4672 list entries; the lexer considers commas to be valid part of a
db5be682
JB
4673 filename, so in something like `foo, bar' the comma is considered
4674 part of the first filename, `foo,'.
4675 * ld.texinfo: Update section on EXCLUDE_FILE lists.
4676
3558ff4c
ILT
46772000-02-27 Loren J. Rittle <ljrittle@acm.org>
4678
4679 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
4680 host "i[3456]86-*-freebsdelf*".
4681
4eee2681
ILT
46822000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
4683
4684 * scripttempl/i386go32.sc: Move misplaced semicolons.
4685
8d75d12d
ILT
46862000-02-25 Ian Lance Taylor <ian@zembu.com>
4687
4688 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
4689 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
4690 (eelf64hppa.c, ehppaelf.c): Remove targets.
4691 * Makefile.in: Rebuild.
4692
a1836d49
AO
46932000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4694
ad51fb57
AO
4695 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
4696 GNU/Linux/sparc, but keep the default as 32.
4697
a1836d49
AO
4698 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
4699 it default if sparcv9 or sparc64.
4700
344a211f
NC
47012000-02-24 Nick Clifton <nickc@cygnus.com>
4702
4703 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
4704 * Makefile.in: Regenerate.
4705 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
4706
4707 * ldemul.h (ld_emulation_xfer_struct): Add new field:
4708 find_potential_libraries.
4709 * ldemul.c (ldemul_find_potential_libraries): New function.
4710
4711 * ldfile.c (ldfile_open_file_search): Allow function to be
50bbae35 4712 exported.
344a211f
NC
4713 (ldfile_open_file): Call ldemul_find_potential_libraries.
4714 * ldfile.h: Add prototype for ldfile_open_file_search.
4715
4716 * pe-dll.c: Add support for ARM, MIPS and SH targets.
4717
4718 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
4719 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
4720
4721 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
4722 (gld_X_find_potential_libraries): New function. Search for
4723 libraries called "*.lib".
4724
a2b64bed 4725 * scripttempl/pe.sc: Add .pdata section.
344a211f 4726
eaba1dd3
RH
47272000-02-23 Richard Henderson <rth@cygnus.com>
4728
4729 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
4730 Add and use memory regions.
4731
5b93d8bb
AM
47322000-02-23 Linas Vepstas (linas@linas.org)
4733
4734 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
4735
4736 * Makefile.am: Add support for Linux/IBM 370.
4737 * configure.tgt: Likewise.
4738
4739 * Makefile.in: Regenerate.
4740
f6af82bd
AM
47412000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
4742
4743 * ldlang.c (print_input_section, print_data_statement,
4744 print_reloc_statement, print_padding_statement, insert_pad,
4745 size_input_section, lang_check_section_addresses,
4746 lang_size_sections, lang_do_assignments, lang_set_startof,
50bbae35 4747 lang_one_common): Change `opb' to unsigned.
f6af82bd
AM
4748 (lang_do_assignments): Also change `size' to unsigned.
4749
9e673ad1
RH
47502000-02-16 Richard Henderson <rth@cygnus.com>
4751
4752 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
4753
562d3460
TW
47542000-02-16 Timothy Wall <twall@cygnus.com>
4755
4756 * mri.c (mri_draw_tree): Add default LMA region argument to call
4757 to lang_leave_output_section_statement.
4758 * ldlang.h: Update prototypes with LMA region arguments.
4759 * ldlang.c (lang_size_sections): Encapsulate region bounds
4760 checking in os_check_region call.
4761 (os_check_region): New function.
4762 (lang_output_section_statement_lookup): Initialize lma_region.
4763 (lang_leave_output_section_statement): Add LMA region argument.
4764 (lang_leave_overlay): Ditto.
4765 * ldgram.y: Handle LMA region syntax.
4766 * ld.texinfo (Output Section Description): Describe LMA region usage.
4767 * emultempl/armelf.em (gld$place_orphan): Add default value for
01cc8ff8 4768 lma region in call to lang_leave_output_section_statement.
562d3460 4769 * emultempl/elf32.em (gld$place_orphan): Add default value for
01cc8ff8 4770 lma region in call to lang_leave_output_section_statement.
562d3460 4771 * emultempl/pe.em (gld$place_orphan): Add default value for
01cc8ff8 4772 lma region in call to lang_leave_output_section_statement.
50bbae35
AM
4773
4774
9e4ed18c
TW
47752000-02-04 Timothy Wall <twall@redhat.com>
4776
4777 * ldlang.c (lang_check_section_addresses): Use bytes instead of
4778 octets when calculating section end addresses.
4779
32edc927
TW
47802000-02-04 Timothy Wall <twall@redhat.com>
4781
4782 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
4783
4cbfc3ac
TW
47842000-02-03 Timothy Wall <twall@redhat.com>
4785
a2b64bed 4786 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
4cbfc3ac 4787 octet count.
a2b64bed 4788 * ldlang.c (print_input_section, print_data_statement,
4cbfc3ac
TW
4789 print_reloc_statement, print_padding_statement): Print target
4790 address values and section sizes as bytes, not octets.
4791 (insert_pad) Calculate padding size in octets, and adjust "dot"
4792 by bytes.
4793 (size_input_section) Always adjust "dot" by bytes, not octets.
4794 (lang_check_section_addresses, lang_do_assignments) Adjust
4795 "dot" by bytes, not octets. Use the larger of the directive size
4796 or octets_per_byte for the number of octets actually allocated in
4797 the output section.
4798 (lang_set_startof) Make sure STARTOF returns a target address.
4799 (lang_one_common) Record size changes in octets.
4800 (lang_abs_symbol_at_end_of) Section end symbol's value is
4801 recorded in target bytes.
68b2fc7a 4802 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
4cbfc3ac 4803 to be clear about behavior when an octet is smaller than one byte.
50bbae35 4804
305c7206
AM
48052000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
4806
4807 * ldcref.c (output_cref): Don't pass message strings to printf
4808 as format arg.
4809 Update copyright.
4810
4811 * ldmisc.c (vfinfo): Same here.
4812 Update copyright.
4813
e1c47aa4
AM
48142000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
4815
4816 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
4817 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
4818 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
4819 Add missing NULL initialisers, and comments.
4820
4821 * testsuite/ld-srec/sr3.cc (__rethrow): New.
4822
13392b77
NC
48232000-01-21 Nick Clifton <nickc@cygnus.com>
4824
4825 * ldlang.c (lang_size_sections): Fix typo in comment.
4826
cce4c4c5
NC
48272000-01-18 H.J. Lu <hjl@gnu.org>
4828
4829 * ldlang.c (lang_size_sections): Also update the current
4830 address of a region if the SEC_NEVER_LOAD bit is not set.
4831
0decc840
NC
48322000-01-10 Philip Blundell <pb@futuretv.com>
4833
4834 * configure.tgt (arm*-*-conix*): New target.
4835
4e53152f
NC
48362000-01-07 Nick Clifton <nickc@cygnus.com>
4837
4838 * ld.texinfo (Options): Remind users to preceed linker command
fa19fce0
NC
4839 line switches with -Wl, (or whatever is appropriate) if it is
4840 being invoked by a comnpiler driver program.
50bbae35 4841 Fix description of the behaviour of the -n command line switch.
4e53152f 4842
3b16e843 48432000-01-05 Catherine Moore <clm@cygnus.com>
18625d54
CM
4844
4845 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
4846 (name_list): New.
4847 * ld.texinfo (EXCLUDE_FILE): Update documentation.
4848 * ldgram.y (wildcard_spec): Support a list of excluded_files.
4849 (exclude_name_list): New.
4850 ldlang.c (walk_wild_section): Support list of excluded files.
4851 (print_wild_statement): Likewise.
4852 (lang_add_wild): Likewise.
4853 * ldlang.h (lang_wild_statement_type): Likewise.
4854 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
6ddeca85 4855
5aaace27
NC
48562000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
4857
870df5dc
NC
4858 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
4859 (process_def_file): Use.
4860 (pe_dll_compat_implib): New variable.
4861 (make_one): Use.
50bbae35 4862
870df5dc
NC
4863 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
4864 pe_dll_compat_implib.
50bbae35
AM
4865
4866 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
870df5dc
NC
4867 compat-implib options.
4868 (gld_${EMULATION_NAME}_list_options): List new options.
4869 (gld_${EMULATION_NAME}_parse_args): Handle.
4870
50bbae35 4871 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
5aaace27 4872 dll.
50bbae35
AM
4873
4874 * deffilep.y (opt_name): Allow "." in name.
5aaace27 4875
2f6d2f85 4876For older changes see ChangeLog-9899
252b5132
RH
4877\f
4878Local Variables:
4879mode: change-log
4880left-margin: 8
4881fill-column: 74
4882version-control: never
4883End:
This page took 0.438259 seconds and 4 git commands to generate.