* emulparams/elf64ppc.sh (MAXPAGESIZE): Set to 0x10000.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
a86a09cc
AM
12002-10-02 Alan Modra <amodra@bigpond.net.au>
2
3 * emulparams/elf64ppc.sh (MAXPAGESIZE): Set to 0x10000.
4
ba493122
AM
52002-09-30 Alan Modra <amodra@bigpond.net.au>
6
1bf0a4d9
AM
7 * scripttempl/elfd30v.sc: Order reloc sections placing .plt last.
8 * scripttempl/elfm68hc11.sc: Likewise.
9 * scripttempl/elfm68hc12.sc: Likewise.
10
ba493122
AM
11 * emultempl/elf32.em (output_rel_find): Always place orphan loadable
12 reloc sections just before .rel.plt/.rela.plt.
13 (gld${EMULATION_NAME}_place_orphan <.rel>): Remove combreloc code.
14 Only put loadable reloc sections in hold_rel.
15
fdb9132d
L
162002-09-29 H.J. Lu <hjl@gnu.org>
17
42f98619 18 * emulparams/elf32ppc.sh (OTHER_GOT_RELOC_SECTIONS): New.
fdb9132d 19
ff326826
DJ
202002-09-25 Daniel Jacobowitz <drow@mvista.com>
21
22 From "Anita Kulkarni" <AnitaK@kpit.com>
23 * scripttempl/sh.sc: Handle .eh_frame* and .gcc_exc*
24 sections.
25
0ae1cf52
AM
262002-09-25 Alan Modra <amodra@bigpond.net.au>
27
1ddd7b13
AM
28 * genscripts.sh (SEGMENT_SIZE): Use MAXPAGESIZE before
29 TARGET_PAGE_SIZE.
30 * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Incorporate
31 SEGMENT_SIZE alignment.
32 * emulparams/elf64ppc.sh (DATA_ADDR): Delete.
33 (SEGMENT_SIZE): Define.
34
0ae1cf52
AM
35 * ldexp.c (fold_unary): New. Split out from exp_fold_tree.
36 (fold_binary): Correct abs - non-abs case.
37 (fold_trinary): New. Split out from exp_fold_tree.
38
06143382
AM
392002-09-24 Alan Modra <amodra@bigpond.net.au>
40
41 * emulparams/elf64ppc.sh (DATA_ADDR): Define.
42 * emulparams/elf64_aix.sh (DATA_ADDR): Don't use a fixed address
43 for start of .data, instead align up to 256M boundary.
44 * scripttempl/aix.sc: Likewise.
45
8e616ecc
DD
462002-09-22 Mark Elbrecht <snowball3@softhome.net>
47
48 * scripttempl/i386go32.sc: Handle bss unique sections.
49
5cfb2bb2
AM
502002-09-21 Alan Modra <amodra@bigpond.net.au>
51
52 * ldmisc.c (vfinfo <%C,%D,%G>): Always output bfd, section and offset.
53
dd2e0905
SC
542002-09-17 Stan Cox <scox@redhat.com>
55
56 * emulparams/elf32bmipn32-defs.sh: New file.
57 * emulparams/elf32bmipn32.sh: Use elf32bmipn32-defs.sh.
58 * emulparams/elf32btsmipn32.sh: Likewise.
59 * emulparams/elf64bmip.sh: Likewise.
60 * emulparams/elf64btsmip.sh: Likewise.
61
4ada7262
DB
622002-09-16 Bruno Haible <bruno@clisp.org>
63
64 * emulparams/elf_i386_fbsd.sh: Set OUTPUT_FORMAT to
65 elf32-i386-freebsd.
66 * emulparams/elf64alpha_fbsd.sh: Set OUTPUT_FORMAT to
67 elf64-alpha-freebsd.
68
e09f4395
NC
692002-09-11 Nick Clifton <nickc@redhat.com>
70
004d9caf
NC
71 * NEWS: New TI port supports both C4x and C3x series of DSPs.
72
e09f4395
NC
73 * po/tr.po: Updated Turkish translation.
74
004d9caf 752002-09-06 Jeffrey A Law (law@redhat.com)
0b3a6a28
JL
76
77 * configure.tgt (h8300-*-hms*, h8500-*-hms*): Restore.
78
3e369e96
NC
792002-09-02 Nick Clifton <nickc@redhat.com>
80
67010b46
NC
81 * scripttempl/v850.sc: Add EXTERN references to __ctbpm __gp and
82 __ep.
83 * emulparams/v850.sh (TEMPLATE_NAME): Define.
3e369e96 84
5435462c
NC
852002-08-30 Nick Clifton <nickc@redhat.com>
86
87 * scripttempl/elfd10v.sc (MEMORY): Remove UNIFIED, it is not
88 used. Change INSN to start at 0x01000000 and extend for
89 256K (ignoring holes). Start the STACK on a word aligned
90 boundary.
91 (.rodata): Start it at the READONLY_START_ADDR.
92
5c368657
AM
932002-08-30 Alan Modra <amodra@bigpond.net.au>
94
95 * emulparams/elf32ppc.sh (ARCH): Set to "powerpc:common".
96
026df7c5
NC
972002-08-28 Svein E. Seldal <Svein.Seldal@solidas.com>
98
99 * Makefile.am: Add etic4xcoff.o in ALL_EMULATIONS list and
100 added makefile targets for this file.
101 * Makefile.in: Regenerate.
102 * configure.tgt: Added tic4x-coff and c4x-coff emulations.
103 * NEWS: Mention new port.
104
1052002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
106
107 * emulparams/tic3xcoff.sh: New file.
108 * emulparams/tic4xcoff.sh: New file.
109 * scripttempl/tic3xcoff.sc: New file.
110 * scripttempl/tic4xcoff.sc: New file.
111
c89e8944
AM
1122002-08-28 Alan Modra <amodra@bigpond.net.au>
113
114 * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Replace strtoll,
115 strtoul and strtoull with bfd_scan_vma.
116 (gld${EMULATION_NAME}_read_file): Likewise.
117
6459ecfa
AM
1182002-08-28 Alan Modra <amodra@bigpond.net.au>
119
120 * configure.tgt: Remove h8[35]00-*-hms*. Add h8500-*-rtems*.
121
ad5211be
NC
1222002-08-27 Egor Duda <deo@logos-m.ru>
123
124 * scripttempl/pe.sc: Handle .rdata_runtime_pseudo_reloc sections.
125 Add symbols for application to access them.
126
88f7bcd5
NC
1272002-08-27 Nick Clifton <nickc@redhat.com>
128
129 * emultempl/armelf.em: Revert this patch, it is not needed.
130
131 2002-08-22 Adam Nemet <anemet@lnxw.com>
132
8e523c23
NC
1332002-08-20 Dan Kegel <dank@kegel.com>
134
135 * configure.in: added --with-lib-path argument to ld's configure
136 to set LIB_PATH.
137 * ld/NEWS: Document new switch.
138 * ld/README: Mention new switch.
139 * configure: Regenerate.
140 * Makefile.in: Regenerate.
141
142 Based on this patch:
143 2001-04-25 Christopher Faylor <cgf@cygnus.com>
144
145 * Makefile.in (LIB_PATH): Make configurable.
146 (GENSCRIPTS): Set LIB_PATH in environment.
147 * configure.in: Substitute LIB_PATH.
148
d9a7f7ab
NC
1492002-08-22 Adam Nemet <anemet@lnxw.com>
150
151 * emultempl/armelf.em: Include elf-bfd.h and elf/arm.h.
152 (arm_elf_finish): Set the last bit of DT_INIT and DT_FINI
153 depending on the type of the function.
154 (arm_elf_convert_thumb_symbol_to_address): New function.
155
ed71e111
NC
1562002-08-22 Graeme Peterson <gp@qnx.com>
157
158 * Makefile.am: Add esh{l}elf_nto.o files.
159 * Makefile.in: Regenerate.
160 * configure.tgt: Add support for sh-**-nto* targets.
161 * emulparams/shelf_nto.sh: New file.
162 * emulparams/shlelf_nto.sh: New file.
163
7abb6dea
AM
1642002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
165
166 * ldlang.c (offsetof): Define if not defined.
167
e9229007
L
1682002-08-14 H.J. Lu <hjl@gnu.org>
169
170 * configure.tgt: Always enable 64bit emulations for 32bit
171 Linux/mips.
172
c553bb91
AM
1732002-08-13 Alan Modra <amodra@bigpond.net.au>
174
175 * emulparams/elf32_dlx.sh (TARGET_PAGE_SIZE): Set to 1.
176 (MAXPAGESIZE): Set to 1.
177
178 * ld.h (ALIGN_N): Delete.
179 * ldexp.h (align_n): Declare.
180 * ldexp.c (align_n): New function.
181 (fold_binary): Use align_n instead of ALIGN_N.
182 (exp_fold_tree): Likewise.
183 * ldlang.c (lang_size_sections_1): Likewise.
184 (lang_one_common): Likewise.
3c6706bb 185 * ld.texinfo (ALIGN): Remove power of 2 restriction.
c553bb91 186
59bc061d
NC
1872002-07-31 Graeme Peterson <gp@qnx.com>
188
189 * configure.tgt: Add support for powerpc{le}-*-nto* targets.
190 * Makefile.am: Add eelf32{l}ppcnto.o files.
191 * Makefile.in: Regenerate.
192 * emulparams/elf32lppcnto.sh: New file.
193 * emulparams/elf32ppcnto.sh: New file.
194
31941635
L
1952002-08-07 H.J. Lu <hjl@gnu.org>
196
197 * ld.texinfo: Document --no-undefined-version.
198
199 * ldlang.c (lang_new_vers_pattern): Set the `symver' and
200 `script.' fields to 0.
201
202 * ldmain.c (main): Initialize the allow_undefined_version to
203 true.
204
205 * lexsup.c (OPTION_NO_UNDEFINED_VERSION): New.
206 (ld_options): Add --no-undefined-version.
207 (parse_args): Support OPTION_NO_UNDEFINED_VERSION.
208
2004afbc
NC
2092002-08-07 Nick Clifton <nickc@redhat.com>
210
211 * emultempl/armelf.em (arm_elf_before_allocation): Only search for
212 an interworking bfd if there are input bfds. (107501)
213
7fc44b9c
AM
2142002-08-06 Alan Modra <amodra@bigpond.net.au>
215
216 * emultempl/aix.em (gld*_before_parse): Set default arch. Reverts
217 2002-05-10 change.
218
24a1ba0f
NC
2192002-08-01 Nick Clifton <nickc@redhat.com>
220
221 * emulparams/armelf.sh: Revert previous delta.
222 * scripttempl/elf.sc: Revert previous delta.
223
ebc6e014
L
2242002-07-31 H.J. Lu <hjl@gnu.org>
225
226 * configure.tgt (powerpc*-*-linux*): Enable elf64ppc for
227 --enable-64-bit-bfd.
228
39a2a3eb
L
2292002-07-31 H.J. Lu <hjl@gnu.org>
230
231 * configure.tgt: Enable x86-64 emulation for Linux/i386 if
232 64bit BFD is selected.
233
a0dfa6a8
L
2342002-07-31 H.J. Lu <hjl@gnu.org>
235
236 * configure.tgt: Enable 64bit emulations for 32bit Linux/mips
237 if 64bit BFD is selected.
238
f7c33884
NC
2392002-07-31 Ian Dall <ian@sibyl.beware.dropbear.id.au>
240
241 * emultempl/netbsd.em (LDEMUL_BEFORE_PARSE): New file to custom set
242 link_info.common_skip_ar_aymbols.
243 * emulparams/ns32knbsd.sh (EXTRA_EM_FILE): Refer to extra file.
244
245 * ldmain.c (main): Initialize new field
246 link_info.common_skip_ar_aymbols.
247
8f64befb
NC
2482002-07-31 Adam Nemet <anemet@lnxw.com>
249
250 * emulparams/armelf.sh (OTHER_PLT_SECTIONS): New variable. Set it
251 to .plt.thumb.
252 * scripttempl/elf.sc: Comment it. Use the same way as ${PLT} is
253 used.
254
500800ca
NC
2552002-07-31 Nick Clifton <nickc@redhat.com>
256
257 * NEWS: Retroactively add entry for Lars Brinkhoff's contribution
258 of the PDP-11 and 2.11BSD a.out support.
259
7808a785
TS
2602002-07-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
261
262 * Makefile.am (eelf32btsmipn32.o, eelf32ltsmipn32.o): New emulations
263 for n32 ABI support.
264 * Makefile.in: Regenerate.
265 * configure.tgt (mips64*el-*-linux-gnu*,mips64*-*-linux-gnu*): Add
266 n32 ABI emulations for these 64 bit targets.
267 * emulparams/elf32bmipn32.sh: Expand comment.
268 * emulparams/elf32btsmipn32.sh: New file, for traditional big endian
269 n32 ABI.
270 * emulparams/elf32ltsmipn32.sh: Likewise for little endian.
271
7e392df6
NC
2722002-07-30 Graeme Peterson <gp@qnx.com>
273
274 * configure.tgt: Add support for arm-*-nto target.
275 * Makefile.am: Add earmnto.o file.
276 * Makefile.in: Regenerate.
277 * NEWS: Mention port of ARM support to QNX.
278 * emulparams/armnto.sh: New file.
279
704afa60
JJ
2802002-07-30 Jakub Jelinek <jakub@redhat.com>
281
282 * ldlang.c (lang_add_section): Don't turn .tbss into normal sections
283 for relocatable link.
284 (lang_size_sections_1): Don't make .tbss zero size for relocatable
285 link.
286
7dcd22c2
BS
2872002-07-26 Bernd Schmidt <bernds@redhat.com>
288
289 * emulparams/elf32frv.sh (OTHER_RELOCATING_SECTIONS): Delete.
290 (STACK_ADDR): New.
291
219576a4
NC
2922002-07-25 Nick Clifton <nickc@redhat.com>
293
294 * po/sv.po: Updated Swedish translation.
295 * po/es.po: Updated Spanish translation.
296 * po/fr.po: Updated French translation.
297
ff3063f5
NC
2982002-07-24 Nick Clifton <nickc@redhat.com>
299
300 * po/sv.po: Updated Swedish translation.
301 * po/es.po: Updated Spanish translation.
302
0461a601
NC
3032002-07-23 Nick Clifton <nickc@redhat.com>
304
ff3063f5 305 * po/fr.po: Updated French translation.
0461a601 306
25844aae
AM
3072002-07-20 Alan Modra <amodra@bigpond.net.au>
308
309 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
310 bomb on /DISCARD/ input section.
311 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
312 * emultempl/mmo.em (mmo_place_orphan): Likewise.
313
3595bd6e
HPN
3142002-07-19 Hans-Peter Nilsson <hp@bitrange.com>
315
316 * emultempl/mmo.em (mmo_place_orphan): Handle case of no .text
317 output section.
318
cf88bb9f
NC
3192002-07-16 Denis Chertykov <denisc@overta.ru>
320 Nick Clifton <nickc@redhat.com>
321 Frank Ch. Eigler <fche@redhat.com>
322 John Healy <jhealy@redhat.com>
323
324 * configure.tgt: Add support for ip2k-elf.
325 * Makefile.am: Add support for ip2k-elf.
326 * Makefile.in: Regenerate.
327 * emulparams/elf32ip2k.sh: New file.
328 * scripttempl/ip2k.sc: New file
329 * NEWS: Mention support for new port.
330
2cbb2eef
NC
3312002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
332
333 * NEWS: Add 'Changes in 2.13'.
334
96a94295
L
3352002-07-14 H.J. Lu <hjl@gnu.org>
336
337 * ld.texinfo: Document a .symver takes precedence over a
338 version script.
339
120d20f2
AM
3402002-07-12 Alan Modra <amodra@bigpond.net.au>
341
342 * emulparams/elf64ppc.sh (ARCH): Set to powerpc:common64.
343 (COMMONPAGESIZE): Define.
344
0d2ddeb2
AM
3452002-07-09 Alan Modra <amodra@bigpond.net.au>
346
347 * emulparams/hppanbsd.sh: Remark that hppaobsd.sh references this file.
348
554690ed
AM
3492002-07-09 Federico G. Schwindt <fgsch@olimpo.com.br>
350
351 * configure.tgt: Add support for alpha-*-openbsd*, hppa-*-openbsd*,
352 powerpc-*-openbsd* and sparc64-*-openbsd*.
353 * Makefile.am (ALL_EMULATIONS): Add ehppaobsd.o.
354 * Makefile.in: Regenerate.
355 * emulparams/hppaobsd.sh: New file.
356
34786259
AM
3572002-07-05 Alan Modra <amodra@bigpond.net.au>
358
359 * ldlang.c (print_wild_statement): Fix output formatting.
360
4bd5a393
AM
3612002-07-04 Alan Modra <amodra@bigpond.net.au>
362
363 * ldlang.c: (strip_excluded_output_sections): New function.
364 (lang_process): Call it.
365 (lang_size_sections_1): Revert 2002-06-10 change.
366
ce4f7385
AM
3672002-07-03 Alan Modra <amodra@bigpond.net.au>
368
369 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
370 Run "make dep-am".
371 * Makefile.in: Regenerate.
372
b7b482a3
AM
3732002-07-02 Alan Modra <amodra@bigpond.net.au>
374
71daf8b4
AM
375 * ldfile.c (ldfile_try_open_bfd): Formatting.
376
b7b482a3
AM
377 * ldmisc.c (demangle): Move so that it doesn't intrude between
378 vfinfo comment and body. Add comment.
379
29e2951e
AM
3802002-07-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
381
382 * emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format.
383
e3e942e9
AM
3842002-07-01 Alan Modra <amodra@bigpond.net.au>
385
386 * ldlang.h (entry_sym): Make it a struct bfd_sym_chain.
387 * ldlang.c (entry_sym): Likewise.
388 (ldlang_undef_chain_list_type): Likewise.
389 (lang_finish): Adjust references to entry_symbol.
390 (lang_add_entry): Likewise.
391 (lang_gc_sections): Use link_info.gc_sym_list.
392 (lang_process): Set link_info.gc_sym_list.
393 * ldlex.l: Include bfdlink.h.
394 * ldmain.c (main): Init link_info.gc_sym_list.
395 * emultempl/aix.em: Adjust references to entry_symbol.
396 * emultempl/armcoff.em: Likewise.
397 * emultempl/armelf.em: Likewise.
398 * emultempl/pe.em: Likewise.
399 * emultempl/ppc64elf.em (ppc_after_open): New function.
400 (LDEMUL_AFTER_OPEN): Define.
401 * emulparams/elf64ppc.sh: KEEP .opd sections.
402
a66c0f2c
SC
4032002-06-29 Stephane Carrez <stcarrez@nerim.fr>
404
405 * emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.
406 * emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define.
407 * emulparams/m68hc11elf.sh (EEPROM_SIZE): Define.
408 (EEPROM_START_ADDR): Define.
409 (EEPROM_MEMORY): Define.
410 * emulparams/m68hc12elf.sh: Likewise.
411 * scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs
412 section to put soft registers in .page0.
413 * scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss.
414
2b67cf00
JL
4152002-06-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
416
417 * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
418 section. Add ${RELOCATING-0}.
419
219576a4 4202002-06-26 J"orn Rennecke <joern.rennecke@superh.com>
164c4054
JR
421
422 * emulparams/shelf.sh (STACK_ADDR): Don't define.
423 (OTHER_SECTIONS): Define.
424 * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef.
425 (OTHER_SECTIONS): Undef.
426
fc28fbc2
AM
4272002-06-26 Alan Modra <amodra@bigpond.net.au>
428
429 * ldmisc.c (demangle): Restore dots stripped from sym name.
430
a13a0de8
L
4312002-06-25 H.J. Lu <hjl@gnu.org>
432
433 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
434 * Makefile.in: Regenerated.
435
b553b183
NC
4362002-06-20 Nick Clifton <nickc@cambridge.redhat.com>
437
438 * ld.texinfo (Bug Reporting): Update text to suggest a limit on
439 the size of attached object files, to allow make the object files
440 available via FTP or HTTP and to mention that the mail will be
441 sent to a mailing list.
442
2755afba
NC
4432002-06-20 Nathanael Nerode <neroden@twcny.rr.com>
444
445 * ld/configure.host (romp): Drop support.
446
7d0a848e
CD
4472002-06-18 Chris Demetriou <cgd@broadcom.com>
448
449 * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Check
450 section flags for SEC_DATA, rather than for SEC_CODE being unset.
451
8505f884
CD
4522002-06-18 Chris Demetriou <cgd@broadcom.com>
453
454 * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Fix
455 format specifier used to print BFD name.
456
7d553a40
DB
4572002-06-18 Dave Brolley <brolley@redhat.com>
458
459 From Catherine Moore, Michael Meissner, Jim Blandy:
460 * emulparams/elf32frv.sh: New file.
461 * configure.tgt: Support frv-*-*.
462 * Makefile.am (ALL_EMULATIONS): Add eelf32frv.o.
463 (eelf32frv.c): New target.
464
82434356
TR
4652002-06-17 Tom Rix <trix@redhat.com>
466
a59f3d35 467 * emultempl/elf32.em: gld*_get_script: Check for
82434356
TR
468 GENERATE_COMBRELOC_SCRIPT.
469 * scripttempl/elfd10v.sc : Fix STACK and INSN.
470 * emulparams/d10velf.sh : Fix TEXT_START_ADDR.
471
219576a4 4722002-06-13 J"orn Rennecke <joern.rennecke@superh.com>
5d9b5481
JR
473
474 * configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf.
475
c4bb8067
L
4762002-06-12 H.J. Lu <hjl@gnu.org>
477
478 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Return
479 false if xvec doesn't match.
480
e052cfbe
RS
4812002-06-10 Richard Sandiford <rsandifo@redhat.com>
482
483 * ldlang.c (lang_size_sections_1): Skip removed output sections.
484
4da711b1
AM
4852002-06-08 Alan Modra <amodra@bigpond.net.au>
486
487 * ldexp.c: Replace CONST with const.
488 * ldfile.c: Likewise.
489 * ldfile.h: Likewise.
490 * ldlex.l: Likewise.
491 * mri.c: Likewise.
492 * pe-dll.h: Likewise.
493
eb95bb9a
AM
4942002-06-07 Alan Modra <amodra@bigpond.net.au>
495
496 * emultempl/ppc64elf.em (new_vers_pattern): Warning fix.
497
e0076ab3
NC
4982002-06-07 Charles Wilson <cwilson@ece.gatech.edu>
499
500 * ld/ldmain.c (main): initialize link_info.pei386_auto_import
501 to -1 == implicit enable.
502 * ld/emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
503 initialize link_info.pei386_auto_import to -1 == implicit
504 enable.
505 (gld_${EMULATION_NAME}_parse_args): When processing
506 --enable-auto-import and --disable-auto-import options, use
507 '1' and '0' instead of 'true' and 'false'.
508 (pe_find_data_imports): Only issue message about auto-import
509 when the feature is implicitly enabled. Downgrade message to
510 informational instead of warning.
511
f13a5424
AM
5122002-06-07 Alan Modra <amodra@bigpond.net.au>
513
514 * scripttempl/elf.sc (.tbss): Fix mismatched parentheses/braces.
515
1abffd82
JL
5162002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
517
518 * configure.host (hppa*64*-*-hpux11*): Define NATIVE_LIB_DIRS,
519 HOSTING_CRT0 and HOSTING_LIBS.
520
e0076ab3 5212002-06-05 J"orn Rennecke <joern.rennecke@superh.com>
7a33bc10
JR
522
523 * configure.tgt (shle*-*-elf*, sh64le-*-elf*): New configurations.
524
4a5e698d
JT
5252002-06-05 Jason Thorpe <thorpej@wasabisystems.com>
526
527 * emulparams/ns32knbsd.sh (EXECUTABLE_SYMBOLS): Set _DYNAMIC to 0.
528 (NONPAGED_TEXT_START_ADDR): Set to 0x1000.
529
1d475d82
AM
5302002-06-05 Alan Modra <amodra@bigpond.net.au>
531
532 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place
533 SEC_EXCLUDE sections when doing a relocatable link.
534
5b0e55b6
JT
5352002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
536
537 * Makefile.am (ALL_EMULATIONS): Add eshelf32_nbsd.o,
538 eshlelf32_nbsd.o, eshelf64_nbsd.o, and eshlelf64_nbsd.o.
539 (eshelf32_nbsd.c, eshelf64_nbsd.c, eshlelf32_nbsd.c)
540 (eshlelf64_nbsd.c): New rules.
541 * Makefile.in: Regenerate.
542 * configure.tgt (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*)
543 (sh64-*-netbsd*): New targets.
544 * emulparams/shelf32_nbsd.sh: New file.
545 * emulparams/shelf64_nbsd.sh: New file.
546 * emulparams/shlelf32_nbsd.sh: New file.
547 * emulparams/shlelf64_nbsd.sh: New file.
548
9ad85d9b
AM
5492002-06-04 Alan Modra <amodra@bigpond.net.au>
550
551 * ldlang.c (section_already_linked): Call bfd_discard_group. Typo fix.
552
0c9b4fee
MM
5532002-06-02 Marek Michalkiewicz <marekm@amelek.gda.pl>
554
555 * scripttempl/avr.sc: Changes to support current GCC and avr-libc,
556 C++ constructors/destructors, loosely based on the m68hc11 port.
557
2c538bde
AM
5582002-05-31 Alan Modra <amodra@bigpond.net.au>
559
560 * Makefile.in: Regenerate.
561 * aclocal.m4: Regenerate.
562 * config.in: Regenerate.
563 * configure: Regenerate.
564
a0cb91c6
AM
5652002-05-31 Graeme Peterson <gp@qnx.com>
566
567 * Makefile.am (ALL_EMULATIONS): Add ei386nto.o.
568 (ei386nto.c): Add rule.
569 * Makefile.in: Regenerate.
570 * configure.tgt: Add i[3456]86-*-nto-qnx*.
571 * emulparams/i386nto.sh: New file.
572
37020578
JT
5732002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
574
575 * NEWS: Add entry for VAX ELF support.
576
ab68f3e0 5772002-05-29 Matt Thomas <matt@3am-software.com>
a59f3d35 578 Jason Thorpe <thorpej@wasabisystems.com>
ab68f3e0
JT
579
580 * Makefile.am (ALL_EMULATIONS): Add eelf32vax.o and evaxnbsd.o.
581 (eelf32vax.c)
582 (evaxnbsd.c): New rules.
583 * Makefile.in: Regenerate.
584 * configure.tgt (vax-*-netbsdelf*)
585 (vax-*-netbsdaout*)
586 (vax-*-netbsd*): New targets.
587 * emulparams/elf32vax.sh: New file.
588 * emulparams/vaxnbsd.sh: New file.
589
8afb0e02
NC
5902002-05-29 Adam Nemet <anemet@lnxw.com>
591
592 * emultempl/armelf.em (arm_elf_after_open): Don't determine
593 bfd_for_interwork, instead add glue sections to each input bfd.
594 (bfd_for_interwork): New global.
595 (arm_elf_set_bfd_for_interworking): New function.
596 (arm_elf_before_allocation): Use it.
597
d172d4ba
NC
5982002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
599
600 * Makefile.am: Add DLX make target.
601 * configure.tgt: Add DLX configuration.
602 * Makefile.in: Regenerate.
603 * emulparams/elf32_dlx.sh: New file
604 * scripttempl/dlx.sc: New file
605
b4477fa8
NC
6062002-05-27 Per Lundberg <per@caleb.dnsalias.org>
607
608 * Makefile.am (eelf_i386_chaos): Use elf_chaos.sc script.
609 * Makefile.in: Regenerate.
610 * emulparams/elf_chaos.sh: Use elf_chaos script.
611 * scripttempl/elf_chaos.sc: New file.
612
ee3cc2e2
RS
6132002-05-27 Richard Sandiford <rsandifo@redhat.com>
614
615 * ldlang.c (lang_size_sections_1): Move check for conflicting load
616 addresses and regions from here...
617 (lang_get_regions): ...to this new function.
618 (lang_leave_output_section_statement): Use lang_get_regions.
619 (lang_leave_overlay): Likewise.
620 * mri.c (mri_draw_tree): Pass null as last argument to
621 lang_leave_output_section_statement.
622 * emultempl/elf32.em (gld*_place_orphan): Likewise.
623 * emultempl/mmo.em (mmo_place_orphan): Likewise.
624 * emultempl/pe.em (gld*_place_orphan): Likewise.
625
aa501e5c
JT
6262002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
627
628 * configure.tgt: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
629
658957db
KH
6302002-05-25 Kazu Hirata <kazu@cs.umass.edu>
631
632 * ldemul.c: Fix formatting.
633 * ldfile.c: Likewise.
634 * pe-dll.c: Likewise.
635 * pe-dll.h: Likewise.
636
3511b595
AM
6372002-05-25 Alan Modra <amodra@bigpond.net.au>
638
0d6d936f
AM
639 * ldlang.c (lang_process): Formatting, grammar.
640
3511b595
AM
641 * ldlex.l: Use #include "" instead of <> for local header files.
642
436e8db0
NC
6432002-05-24 TAMURA Kent <kent@netbsd.org>
644
645 * configure.tgt: Add a target for i386-netbsdpe.
646
13ae64f3
JJ
6472002-05-23 Jakub Jelinek <jakub@redhat.com>
648
649 * scripttempl/elf.sc: Add .rel{,a}.t{bss,data}, .tdata and .tbss.
650 * ldlang.c (lang_add_section): Set SEC_THREAD_LOCAL for
651 output section if necessary. Handle .tbss.
652 (lang_size_sections): Clear _raw_size for .tbss section
653 (it allocates space in PT_TLS segment only).
654 * ldwrite.c (build_link_order): Build link order for .tbss too.
655
68b2fc7a
AM
6562002-05-23 Alan Modra <amodra@bigpond.net.au>
657
658 * configure.in: Correct spelling of AC_PREREQ.
659
70b0be79
CF
6602002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
661
662 * pe-dll.c (autofilter_liblist): Add more system libs excluded by
663 default.
664 (autofilter_objlist): Add crtbegin.o, crtend.o.
665
6662002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
667
668 * emultempl/pe.em (OPTION_EXCLUDE_LIBS): Add new define.
669 (longopts): Add new option --exclude-libs.
670 (gld_${EMULATION_NAME}_list_options): Give quick help about it.
671 (gld_${EMULATION_NAME}_parse_args): Use it.
672 * pe-dll.h (pe_dll_add_excludes): Add second param to prototype.
673 * pe-dll.c (exclude_list_struct): Add field type to distinguish symbols
674 from whole archives.
675 (pe_dll_add_excludes): Set excludes->type.
676 (auto_export): Add new variable libname and set to archive basename if
677 abfd. Use it when filtering default and user-specified libarary
678 excludes. Let string "ALL" mean all libs when filtering user-specified
679 libs.
680 * ld.texinfo: Document --exclude-libs.
681
fac1652d
AM
6822002-05-22 Alan Modra <amodra@bigpond.net.au>
683
684 * ldemul.c (ldemul_new_vers_pattern): New function.
685 * ldemul.h (ldemul_new_vers_pattern): Declare.
686 (struct ld_emulation_xfer_struct): Add new_vers_pattern.
687 * ldlang.c (lang_new_vers_pattern): Call ldemul_new_vers_pattern.
688 * emultempl/ppc64elf.em (dotsyms): New static var.
689 (gld${EMULATION_NAME}_new_vers_pattern): New function.
690 (LDEMUL_NEW_VERS_PATTERN): Define.
691 (PARSE_AND_LIST_PROLOGUE): Add OPTION_DOTSYMS, OPTION_NO_DOTSYMS.
692 (PARSE_AND_LIST_LONGOPTS): Likewise.
693 (PARSE_AND_LIST_ARGS_CASES): Handle them.
694 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Update
695 initialiser.
696 * emultempl/armcoff.em: Likewise.
697 * emultempl/armelf_oabi.em: Likewise.
698 * emultempl/beos.em: Likewise.
699 * emultempl/elf32.em: Likewise.
700 * emultempl/generic.em: Likewise.
701 * emultempl/gld960.em: Likewise.
702 * emultempl/gld960c.em: Likewise.
703 * emultempl/linux.em: Likewise.
704 * emultempl/lnk960.em: Likewise.
705 * emultempl/m68kcoff.em: Likewise.
706 * emultempl/mipsecoff.em: Likewise.
707 * emultempl/pe.em: Likewise.
708 * emultempl/sunos.em: Likewise.
709 * emultempl/ticoff.em: Likewise.
710 * emultempl/vanilla.em: Likewise.
711
eb3d6bb8
AM
7122002-05-22 Alan Modra <amodra@bigpond.net.au>
713
714 * genscripts.sh (LIB_PATH): For native targets, concatenate $libdir
715 and $NATIVE_LIB_DIRS. Add $tool_lib before other libs.
716 (LIB_SEARCH_DIRS): No need to use "tr".
717 (COMPILE_IN): Only set for native targets.
718 * configure.host (NATIVE_LIB_DIRS): Specify all native search dirs
719 here, rather than adding lib:/usr/lib:/usr/local/lib in genscripts.sh.
720 * configure.tgt (powerpc*): Set tdir_*.
721 (powerpcle*): Correct targ_extra_emuls.
722 * emulparams/elf32ppc.sh (LIB_PATH): Set up native 64 bit dirs.
723 * emulparams/elf64ppc.sh (LIB_PATH): Likewise.
724
54f24647
AM
7252002-05-22 Alan Modra <amodra@bigpond.net.au>
726
727 * emultempl/pe.em (set_pe_subsystem): Don't set "cmdline" when
728 calling lang_add_entry.
729
aa713662
L
7302002-05-21 H.J. Lu (hjl@gnu.org)
731
732 * emultempl/elf32.em (gld${EMULATION_NAME}_parse_args): Handle
733 "-z muldefs".
734 (gld${EMULATION_NAME}_list_options): Add "-z muldefs".
735
736 * ld.texinfo: Updated for --allow-multiple-definition and
737 "-z muldefs".
738
739 * ldmain.c (main): Initialize the allow_multiple_definition
740 field to false.
741
742 * lexsup.c (OPTION_ALLOW_MULTIPLE_DEFINITION): New.
743 (ld_options): Add --allow-multiple-definition.
744 (parse_args): Support OPTION_ALLOW_MULTIPLE_DEFINITION.
745
658f2588
JT
7462002-05-21 Jason Thorpe <thorpej@wasabisystems.com>
747
748 * Makefile.am (ALL_EMULATIONS): Add earmelfb_nbsd.o.
749 (earmelfb_nbsd.c): New rule.
a59f3d35 750 * Makefile.in: Regenerate.
658f2588 751 * configure.tgt (armeb-*-netbsdelf*): New target.
a59f3d35 752 (arm-*-netbsdelf*): Add armelfb_nbsd to targ_extra_emuls.
658f2588
JT
753 (arm-*-netbsd*): Likewise.
754 * emulparams/armelfb_nbsd.sh: New file.
755
ca10c62d
TR
7562002-05-18 Tom Rix <trix@redhat.com>
757
a59f3d35 758 * emultempl/aix.em (gld*_parse_args): Add -bnortl and -bnortllib
ca10c62d
TR
759 support.
760
fae1e84f
MM
7612002-05-17 Marek Michalkiewicz <marekm@amelek.gda.pl>
762
763 * Makefile.am: Add new emulations avr1, avr2, avr3, avr4, avr5.
764 * Makefile.in: Regenerate.
765 * configure.tgt (avr-*-*): Add avr[1-5] to targ_extra_emuls.
766
7c8bf1e8
MM
7672002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
768
769 * emulparams/avr1.sh: New file.
770 * emulparams/avr2.sh: New file.
771 * emulparams/avr3.sh: New file.
772 * emulparams/avr4.sh: New file.
773 * emulparams/avr5.sh: New file.
774 * scripttempl/avr.sc: New file.
775
c2c01aa7
AM
7762002-05-15 Alan Modra <amodra@bigpond.net.au>
777
778 * ldlang.c (section_already_linked): Call bfd_link_just_syms.
779 (lang_place_orphans): Abort if just_syms_flag.
780
f1f0d9ab
TR
7812002-05-10 Tom Rix <trix@redhat.com>
782
a59f3d35 783 * emultempl/aix.em: (gld*_set_output_arch): New function. Use
f1f0d9ab
TR
784 architecture and machine information in the output bfd.
785 (gld*_before_parse): Remove old arch and machine code.
786 (choose_target): Rename to gld*_choose_target.
a59f3d35
AM
787 (rtld): Change type to int.
788 * ldfile.c (ldfile_try_open_bfd): Disable compatiblity check for
f1f0d9ab
TR
789 objects in XCOFF archives.
790 * ldfile.h: Update copyright date.
791
f4d73366
JJ
7922002-05-10 Jakub Jelinek <jakub@redhat.com>
793
794 * ldmain.c (main): Enable -z combreloc by default.
795
d3d8a9ee
NC
7962002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
797
798 * Makefile.am: Honour DESTDIR.
799 * Makefile.in: Regenerate.
800
9f88b410
RS
8012002-05-07 Richard Sandiford <rsandifo@redhat.com>
802
803 * ldlang.h (lang_output_section_statement_type): Add update_dot_tree.
804 (lang_enter_overlay): Remove the last two parameters.
805 (lang_leave_overlay): Take them here instead.
806 * ldgram.y (memspec_at_opt): Set $$ to null if no region is given.
807 (section): Pass LMA and crossref flag to lang_leave_overlay rather
808 than lang_enter_overlay.
809 * ldlang.c (lang_memory_region_lookup): Return null for null names.
810 (lang_output_section_statement_lookup): Initialize update_dot_tree.
811 (lang_size_sections_1): Evaluate it.
812 (lang_leave_output_section_statement): Rework LMA lookup.
813 (overlay_lma, overlay_nocrossrefs): Remove.
3511b595 814 (lang_enter_overlay): Remove LMA and crossref arguments.
9f88b410
RS
815 (lang_enter_overlay_section): Don't set the LMA here.
816 (lang_leave_overlay): Take LMA and crossref arguments. Move the '.'
817 assignment to the last section's update_dot_tree. Unconditionally
818 use the load and run-time regions specified in the OVERLAY statement.
819 Likewise the first section's LMA. Only set the other sections' LMAs
820 when no load region is given.
821
b9a743c8
NC
8222002-05-06 Nick Clifton <nickc@redhat.com>
823
824 * po/sv.po: New translation.
825
a3d60be3
AM
8262002-05-04 Alan Modra <amodra@bigpond.net.au>
827
828 * emultempl/hppaelf.em (build_section_lists): New function.
829 (gld${EMULATION_NAME}_finish): Call elf32_hppa_setup_section_lists
830 and build_section_lists.
831
b7a26f91
KH
8322002-05-03 Kazu Hirata <kazu@cs.umass.edu>
833
834 * ld.h: Fix formatting.
835 * ldexp.c: Likewise.
836 * ldfile.c: Likewise.
837 * ldlang.c: Likewise.
838 * ldmain.c: Likewise.
839 * lexsup.c: Likewise.
840 * pe-dll.c: Likewise.
841
805fc799
AM
8422002-05-02 Alan Modra <amodra@bigpond.net.au>
843
844 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
845 Adjust for ppc64_elf_set_toc change. #include libbfd.h.
846 (build_section_lists): Do output_section tests here.
847
cc7e59b2
TR
8482002-04-30 Tom Rix <trix@redhat.com>
849
850 * emultempl/aix.em : (gld*_parse_arge): Formatting changes.
851
9c1d81c1
AM
8522002-05-01 Alan Modra <amodra@bigpond.net.au>
853
854 Long branch stubs, multiple stub sections.
855 * emultempl/ppc64elf.em: Include ldctor.h.
856 (stub_file): New var.
857 (group_size): New var.
858 (ppc_create_output_section_statements): New function.
859 (struct hook_stub_info): New.
860 (hook_in_stub): New function.
861 (ppc_add_stub_section): New function.
862 (ppc_layout_sections_again): New function.
863 (build_section_lists): New function.
864 (gld${EMULATION_NAME}_finish): Rewrite.
865 (real_func): New var.
866 (ppc_for_each_input_file_wrapper): New function.
867 (ppc_lang_for_each_input_file): New function.
868 (lang_for_each_input_file): Define.
869 (PARSE_AND_LIST_PROLOGUE): Define.
870 (PARSE_AND_LIST_LONGOPTS): Define.
871 (PARSE_AND_LIST_OPTIONS): Define.
872 (PARSE_AND_LIST_ARGS_CASES): Define.
873 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
874
aa67bccf
TR
8752002-04-30 Tom Rix <trix@redhat.com>
876
a59f3d35
AM
877 * emultempl/aix.em (gld*_parse_arge, gld*_before_allocation): Add
878 -blibpath, -bnolibpath support.
879
94349e12
MM
8802002-04-30 Mark Mitchell <mark@codesourcery.com>
881
882 * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o.
883 (eelf32ppcwindiss.c): New target.
884 * Makefile.in: Regenerated.
885 * configure.tgt: Add support for powerpc-*-windiss.
886 * emulparams/elf32ppcwindiss.sh: New file.
a59f3d35 887
7b17f854
RS
8882002-04-30 Richard Sandiford <rsandifo@redhat.com>
889
890 * ldlang.c (print_assignment): Update print_dot for assignments to ".".
891 * ldexp.c (exp_print_token): Add "infix_p" argument.
892 (exp_print_tree): Update accordingly.
893
596dafeb
AM
8942002-04-28 Alan Modra <amodra@bigpond.net.au>
895
896 * Makefile.am (mpw): New maintainer mode rule to make mpw-*.c files.
897 * Makefile.in: Regenerate.
898 * mpw-elfmips.c: Delete.
899 * mpw-eppcmac.c: Delete.
900 * mpw-esh.c: Delete.
901 * mpw-idtmips.c: Delete.
902
219576a4 9032002-04-17 J"orn Rennecke <joern.rennecke@superh.com>
a44d7f9c
JR
904
905 * emulparams/shelf32.sh (MACHINE): Now sh5.
906
944cd72c
TS
9072002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
908
909 * ldgram.y: Fix syntax warning.
910
5835c212
NC
9112002-04-11 Nick Clifton <nickc@cambridge.redhat.com>
912
913 * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Add 'n' in order
914 to prevent "-n" from being taken as an abbreviation for
915 "--no-pipeline-knowledge".
916
024531e2
AM
9172002-04-08 Alan Modra <amodra@bigpond.net.au>
918
d08a14c3
AM
919 * ldlang.c (lang_size_sections_1): Don't complain about
920 SEC_NEVER_LOAD sections having no memory region specified.
921
024531e2
AM
922 * ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix.
923
c657a1f0
MG
9242002-04-07 matthew green <mrg@redhat.com>
925
926 * ld/configure.host (*-*-netbsd*): Add support for NetBSD/ELF.
927
61bef6f1
AM
9282002-04-04 Alan Modra <amodra@bigpond.net.au>
929
930 * dep-in.sed: Cope with absolute paths.
931 * Makefile.am (dep.sed): Subst TOPDIR and BFDDIR.
932 Run "make dep-am".
933 * Makefile.in: Regenerate.
934
49ba2791
TS
9352002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
936
937 * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options.
938
50e60fb5
JJ
9392002-04-03 Jakub Jelinek <jakub@redhat.com>
940
941 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size
942 is smaller than maximum, round dot up to common page boundary.
943
6f12f4ca
AM
9442002-03-28 Alan Modra <amodra@bigpond.net.au>
945
946 * configure.host: Set up for generic hosts first, then tweak as
947 necessary in more specific targets.
948 (HOSTING_LIBS): Include libgcc_eh.a if found.
949
a8f1f017
AJ
9502002-03-23 Andreas Jaeger <aj@suse.de>
951
952 * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it.
953
1d3fdf38
AM
9542002-03-21 Alan Modra <amodra@bigpond.net.au>
955
956 * Makefile.am: Run "make dep-am".
957 * Makefile.in: Regenerate.
958
79b1faa8
AM
9592002-03-21 Albert Chin-A-Young <china@thewrittenword.com>
960
961 * genscripts.sh (LIB_SEARCH_DIRS): Quote path.
962
fcf0e35b
AM
9632002-03-20 Alan Modra <amodra@bigpond.net.au>
964
965 * ldlang.c (ldlang_add_undef): If the output bfd has been opened,
966 add the symbol to the linker hash table immediately.
967 (lang_place_undefineds): Split symbol creation out..
968 (insert_undefined): ..to here.
969
fed2999d
DB
9702002-03-18 David O'Brien <obrien@FreeBSD.org>
971
972 * emultempl/elf32.em: Use lbasename vs. basename to fix problem where
973 the contents of the buffer returned from basename function will are
974 getting overwritten while still being used.
975
219576a4
NC
9762002-03-18 Jan Hubicka <jh@suse.cz>
977 Andreas Jaeger <aj@suse.de>
978 Andreas Schwab <schwab@suse.de>
beb43bb9
JH
979
980 * configure.tgt (x86_64-*-linux-gnu*): Configure i386 as native.
981 * elf_x86_64.sh (ARCH): Set to i386:x86-64
982 set libraries to default to lib64 paths.
983
eb1e0e80
NC
9842002-03-18 Tom Rix <trix@redhat.com>
985
986 * Makefile.am : Add eaix5ppc and eaix5rs6, AIX 5 support.
987 * configure.tgt : Same.
988 * emulparms/aix5ppc.sh : New file. For eaix5ppc.
989 * emulparms/aix5rs6.sh : New file. For eaix5rs6.
990 * emulparms/aixppc.sh : OUPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT
991 emulation parameters for better -b32, -b64 support.
992 * emulparms/aixrs6.sh : Same.
993 * emulparms/ppcmacos.sh : Same.
994 * emultempl/aix.em (choose_target) : Use new emulation parameters
995 OUTPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT.
996 * Makefile.in : Regenerate.
997
a1c259a1
NC
9982002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
999
1000 * po/fr.po: Updated version.
1001
862120bd
AM
10022002-03-18 Alan Modra <amodra@bigpond.net.au>
1003
1004 * ldmain.c (main): Move .text readonly flag fudges from here..
1005 * ldlang.c (lang_process): ..to here.
1006
d35a52e2
AM
10072002-03-14 Alan Modra <amodra@bigpond.net.au>
1008
1009 * ldlang.c (lang_check): Remove the word size check added in last
1010 change. Treat emitrelocations case as for relocatable links.
1011
9ce88e60
NC
10122002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1013
1014 * po/fr.po: Updated version.
1015
30cba025
AM
10162002-03-13 Alan Modra <amodra@bigpond.net.au>
1017
1018 * ldlang.c (lang_check): Do relocatable link checks first, so that
1019 warn_mismatch can't override. Check compatible and word size too.
1020
84ec0e6d
DJ
10212002-03-07 Daniel Jacobowitz <drow@mvista.com>
1022
1023 * ld.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
1024
2d13d8c5
JJ
10252002-03-05 Jakub Jelinek <jakub@redhat.com>
1026
1027 * scripttempl/elf.sc: Only use DATA_SEGMENT_END() together with
1028 DATA_SEGMENT_ALIGN.
1029
b5090659
L
10302002-03-04 H.J. Lu <hjl@gnu.org>
1031
1032 * scripttempl/elf.sc: Put .preinit_array, .init_array and
1033 .fini_array in the data segment.
1034
f42ce16e
AM
10352002-03-04 Alan Modra <amodra@bigpond.net.au>
1036
1037 * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit.
1038
de77b6ac
RH
10392002-03-01 David Mosberger <davidm@hpl.hp.com>
1040
1041 * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array,
1042 .init_array, and .fini_array.
1043
997e08c0
AS
10442002-02-20 Andreas Schwab <schwab@suse.de>
1045
1046 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold
1047 .IA64_unwind* in a relocatable link.
1048
9a66911f
NC
10492002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1050
1051 * NEWS: Mark 2.12 branch.
1052
d86bcc10
MS
10532002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
1054
1055 * emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit".
1056 * emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit".
1057
69f284c7
TR
10582002-02-18 Tom Rix <trix@redhat.com>
1059
1060 * emultempl/aix.em (gld*_parse_args): Add -brtl support.
1061 (gld*_before_allocation): Same.
a8f1f017 1062 (gld*_create_output_section_statements): Generate
69f284c7
TR
1063 __rtinit if run time linking. Add librtl.a to the link.
1064 (gld*_read_file): Clean.
1065
82bd7b59
AM
10662002-02-18 Alan Modra <amodra@bigpond.net.au>
1067
1068 * emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define.
1069
ac3e50bf
DB
10702002-02-18 David O'Brien <obrien@FreeBSD.org>
1071
6a7f963b 1072 * Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd,
ac3e50bf
DB
1073 eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd,
1074 and eelf64alpha_fbsd.
6a7f963b 1075 * Makefile.in: Regenerate.
ac3e50bf
DB
1076 * configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd,
1077 x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd):
1078 use a FreeBSD-specific emulation rather than the psABI one.
1079 * emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value
1080 for all FreeBSD ELF systems.
1081 * emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI
1082 emulation.
1083 * emulparams/elf32ppc_fbsd.sh: Likewise.
1084 * emulparams/elf64_ia64_fbsd.sh: Likewise.
1085 * emulparams/elf64_sparc_fbsd.sh: Likewise.
1086 * emulparams/elf64alpha_fbsd.sh: Likewise.
1087 * emulparams/elf_i386_fbsd.sh: Likewise.
1088 * emulparams/elf_x86_64_fbsd.sh: Likewise.
1089
6ad738c5
NC
10902002-02-18 Nick Clifton <nickc@cambridge.redhat.com>
1091
1092 * po/tr.po: Updated version.
1093
9673c93c
AM
10942002-02-18 Alan Modra <amodra@bigpond.net.au>
1095
1096 * ld.texinfo (Output Section Fill): Fix amateur texinfo.
1097 (FILL): Likewise.
1098
1c5e6447
HPN
10992002-02-17 Hans-Peter Nilsson <hp@bitrange.com>
1100
1101 * emultempl/mmo.em (mmo_after_open): Don't call
1102 _bfd_mmix_check_all_relocs when producing ELF output.
1103
8bb57516
RH
11042002-02-15 Richard Henderson <rth@redhat.com>
1105
de77b6ac 1106 * emulparams/elf64alpha.sh (NOP): Adjust for big-endian
8bb57516
RH
1107 definition. Emit a unop+nop pair.
1108
49fda6c8
HPN
11092002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1110
83c2d653
HPN
1111 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check
1112 for presence of .MMIX.reg_contents.linker_allocated before early
1113 exit.
1114
49fda6c8
HPN
1115 * NEWS: Mention support for MMIX.
1116
2c382fb6
AM
11172002-02-15 Alan Modra <amodra@bigpond.net.au>
1118
1119 Support arbitrary length fill patterns.
a139d329
AM
1120 * ld.texinfo (Output Section Fill): Describe fill expressions.
1121 (FILL): Refer to the above.
2c382fb6
AM
1122 * ldexp.h (etree_value_type): Add "str" field.
1123 (union etree_union): Add "str" to "value" struct.
1124 (exp_bigintop): Declare.
1125 (exp_get_fill): Declare.
1126 * ldexp.c: Include "safe-ctype.h".
1127 (exp_intop): Set value.str to NULL.
1128 (exp_bigintop): New function.
1129 (new_rel): Pass in "str", and set new.str from it.
1130 (new_rel_from_section): Set new.str to NULL.
1131 (fold_name): Adjust calls to new_rel.
1132 (exp_fold_tree): Likewise.
1133 (exp_get_fill): New function.
1134 * ldgram.y (struct big_int bigint, fill_type *fill): New.
1135 (INT): Returns a "bigint". Adjust all code handling INTs.
1136 (fill_opt): Returns a "fill".
1137 (fill_exp): Split out of fill_opt, use for FILL.
1138 * ldlang.h (struct _fill_type): New.
1139 (fill_type): Move typedef to ldexp.h.
1140 (lang_output_section_statement_type): "fill" is now a pointer.
1141 (lang_fill_statement_type): Likewise.
1142 (lang_padding_statement_type): Likewise.
1143 (lang_add_fill): Now takes a "fill_type *" param.
1144 (lang_leave_output_section_statement): Likewise.
1145 (lang_do_assignments): Likewise.
1146 (lang_size_sections): Likewise.
1147 (lang_leave_overlay_section): Likewise.
1148 (lang_leave_overlay): Likewise.
1149 * ldlang.c: Include ldgram.h after ldexp.h.
1150 (lang_output_section_statement_lookup): Adjust for fill_type change.
1151 (print_fill_statement): Likewise.
1152 (print_padding_statement): Likewise.
1153 (insert_pad): Now takes a "fill_type *" arg.
1154 (size_input_section): Likewise.
1155 (lang_size_sections_1): Likewise.
1156 (lang_size_sections): Likewise.
1157 (lang_do_assignments): Likewise.
1158 (lang_add_fill): Likewise.
1159 (lang_leave_output_section_statement): Likewise.
1160 (lang_leave_overlay_section): Likewise.
1161 (lang_leave_overlay): Likewise.
1162 Adjust all callers of the above function.
1163 * ldlex.l: Include ldgram.h after ldexp.h. Allow hex numbers
1164 starting with "0X" as well as "0x". Return bigint.str for hex
1165 numbers starting with "0x" or "0X", zero bigint.str otherwise.
1166 Always use base 16 for numbers starting with "$".
1167 * ldmain.c: Include ldgram.h after ldexp.h.
1168 * ldwrite.c (build_link_order): Use bfd_data_link_order in place
1169 of bfd_fill_link_order.
1170 * pe-dll.c: Adjust lang_do_assignments calls.
1171 * emultempl/elf32.em: Likewise.
1172 * emultempl/hppaelf.em: Likewise.
1173 * emultempl/ppc64elf.em: Likewise.
1174 * emultempl/beos.em: Include ldgram.h after ldexp.h, adjust
1175 lang_add_assignment call.
1176 * emultempl/pe.em: Likewise.
1177
313e35ee
AM
11782002-02-14 Phil Edwards <pme@gcc.gnu.org>
1179
a139d329 1180 * ld.texinfo (VERSION scripts): Symbol names are globbing patterns.
313e35ee
AM
1181 * ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern;
1182 the pattern in question is not a regexp.
1183 * ldlang.c: Likewise.
1184 * ldlang.h: Likewise.
1185 * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also.
1186
2d20f7bf
JJ
11872002-02-12 Jakub Jelinek <jakub@redhat.com>
1188
1189 * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
1190 * ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
1191 (exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp).
1192 * ldexp.c (exp_data_seg): New variable.
1193 (exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END.
1194 (fold_binary): Handle DATA_SEGMENT_ALIGN.
1195 (exp_fold_tree): Handle DATA_SEGMENT_END.
1196 Pass allocation_done when recursing instead of hardcoding
1197 lang_allocating_phase_enum.
1198 * ldexp.h (exp_data_seg): New.
1199 * ldlang.c (lang_size_sections_1): Renamed from lang_size_sections.
1200 (lang_size_sections): New.
1201 * ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document.
1202 * scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END
1203 if COMMONPAGESIZE is defined.
1204 * emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K.
1205 * emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K.
1206 * emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K.
1207 * emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K.
1208 * emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared
1209 libraries only.
1210
06880219
AM
12112002-02-11 Alan Modra <amodra@bigpond.net.au>
1212
1213 * Makefile.in: Regenerate.
1214
37b0ac0f
DJ
12152002-02-10 Daniel Jacobowitz <drow@mvista.com>
1216
1217 * lexsup.c: Remove strtoul declaration.
1218
4e5bae56
DJ
12192002-02-10 Daniel Jacobowitz <drow@mvista.com>
1220
1221 * ldmain.c: Add prototype for main ().
1222 * lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H.
1223 * emultempl/lnk960.em (lnk960_choose_target): Function should
1224 take two arguments.
1225
1e281515
AM
12262002-02-10 Alan Modra <amodra@bigpond.net.au>
1227
1228 * ldlang.c (entry_section): New initialised variable.
1229 (lang_finish): Use it.
1230 * ldlang.h (entry_section): Declare.
1231 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Set
1232 entry_section to ".opd".
1233
f92d92ff 12342002-02-09 Chris Demetriou <cgd@broadcom.com>
0a9c1c8e
CD
1235
1236 * ld.texinfo (Options): Add back in -nostdlib documentation,
1237 which had been inadvertently removed.
1238
74c44237
HPN
12392002-02-09 Hans-Peter Nilsson <hp@bitrange.com>
1240
1241 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Adjust
1242 register section vma to a sane value after emitting error. Make
1243 fatal conditions cause program exit when emitting message.
1244
5e37cc46
NC
12452002-02-08 Ivan Guzvinec <ivang@opencores.org>
1246
1247 * configure.tgt: Add or32-*-rtems target.
1248
2d92cb7d
AO
12492002-02-08 Alexandre Oliva <aoliva@redhat.com>
1250
1251 Contribute sh64-elf.
1252 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1253 * emulparams/shelf32.sh (STACK_ADDR): Define as formerly defined
1254 in OTHER_RELOCATABLE_SECTIONS.
1255 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
1256 * emulparams/shelf32.sh (STACK_ADDR): Define.
1257 (OTHER_RELOCATABLE_SECTIONS): Renamed to...
1258 (OTHER_SECTIONS): this. Removed stack settings.
1259 * emulparams/shelf64.sh (OTHER_RELOCATABLE_SECTIONS): Do not set.
1260 (OTHER_SECTIONS): Reset after sourcing shelf32.sh.
1261 2001-03-12 DJ Delorie <dj@redhat.com>
1262 * emultempl/sh64elf.em (sh64_elf_$_before_allocation): Disable
1263 relaxing if any shmedia or mixed sections are found.
1264 2001-03-07 DJ Delorie <dj@redhat.com>
1265 * emultempl/sh64elf.em (sh64_elf_before_allocation): Pass f to
1266 einfo. Gracefully decline to output to non-elf formats.
1267 2001-03-06 Hans-Peter Nilsson <hpn@redhat.com>
1268 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS) <.stack>:
1269 Default to _end aligned to next multiple of 0x40000, plus 0x40000.
1270 * emulparams/shelf32.sh: Ditto.
1271 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
1272 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Tweak
1273 comment.
1274 2001-01-10 Ben Elliston <bje@redhat.com>
1275 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Avoid
1276 non-portable shell constructs. From Hans-Peter Nilsson.
1277 2001-01-09 Hans-Peter Nilsson <hpn@cygnus.com>
1278 * emulparams/shelf64.sh (EXTRA_EM_FILE): Define empty.
1279 * Makefile.am (eshelf64.c, eshlelf64.c, eshlelf32.c): Adjust
1280 dependencies to the shell script include chain.
1281 * Makefile.in: Regenerate.
1282 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
1283 * emultempl/sh64elf.em: Update and tweak comments.
1284 (sh64_elf_${EMULATION_NAME}_after_allocation): Always allocate and
1285 make a .cranges section SEC_IN_MEMORY.
1286 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
1287 * emultempl/sh64elf.em
1288 (sh64_elf_${EMULATION_NAME}_before_allocation): Don't stop when
1289 .cranges section found to be necessary; continue and set stored
1290 section contents flags for sections with non-mixed contents.
1291 Use a struct sh64_section_data container and sh64_elf_section_data
1292 to store contents-type flags.
1293 Remove unused update of "isec".
1294 (sh64_elf_${EMULATION_NAME}_after_allocation): Only process
1295 sections marked SHF_SH5_ISA32_MIXED. Use sh64_elf_section_data to
1296 access contents-type flags. Assert that the associated container
1297 is initialized. Use that container, not elf_gp_size, to hold size
1298 of linker-generated cranges contents.
1299 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
1300 * emultempl/sh64elf.em
1301 (sh64_elf_${EMULATION_NAME}_before_allocation): Exit early if
1302 there's already a .cranges section. When section flag difference
1303 is found, don't NULL-check cranges a second time. Tweak comments.
1304 (sh64_elf_${EMULATION_NAME}_after_allocation): Use size after
1305 merging, not max size, as size of ld-generated .cranges contents.
1306 Don't set ELF section flags in output section. When checking for
1307 needed .cranges descriptors, don't use a variable; compare
1308 incoming ELF section flags directly to SHF_SH5_ISA32_MIXED. Tweak
1309 comments.
1310 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
1311 * emultempl/sh64elf.em: New file.
1312 * Makefile.am (eshelf32.c, eshlelf32.c): Adjust dependencies.
1313 * Makefile.in: Regenerate.
1314 * emulparams/shelf32.sh (OUTPUT_FORMAT): Only set if not set.
1315 (OTHER_RELOCATING_SECTIONS): Ditto.
1316 (EXTRA_EM_FILE): New, set to sh64elf if not set.
1317 * emulparams/shlelf32.sh: Stub out all settings except
1318 OUTPUT_FORMAT. Source shelf32.sh.
1319 * emulparams/shelf64.sh: Similar, but also keep ELF_SIZE and
1320 OTHER_RELOCATING_SECTIONS.
1321 (OTHER_RELOCATING_SECTIONS): Remove .cranges.
1322 * emulparams/shlelf64.sh: Stub out all settings except
1323 OUTPUT_FORMAT. Source shelf64.sh.
1324 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
1325 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS): Include
1326 .cranges section.
1327 (DATA_START_SYMBOLS): Define, provide ___data.
1328 (OTHER_READONLY_SYMBOLS): Define, provide ___rodata and align to 8
1329 for consecutive .data section.
1330 (OTHER_GOT_SECTIONS): Define, align to 8 for consecutive .bss
1331 section after .data section.
1332 * emulparams/shlelf64.sh: Ditto.
1333 * emulparams/shelf32.sh: Ditto.
1334 (ALIGNMENT): Define to 8.
1335 * emulparams/shelf32.sh: Ditto.
1336 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
1337 * configure.tgt (sh64-*-elf*): Assign targ_extra_libpath to get
1338 built-in linker scripts.
1339 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
1340 * emulparams/shlelf64.sh: New.
1341 * emulparams/shelf64.sh: New.
1342 * configure.tgt (sh64-*-elf*): Add shelf64 and shlelf64 to
1343 targ_extra_emuls.
1344 * Makefile.am: Add support for shlelf64 and shelf64.
1345 * Makefile.in: Regenerate.
1346 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
1347 * configure.tgt (sh64-*-elf*): Add shelf as default.
1348 Add shlelf to targ_extra_emuls.
1349 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
1350 * emulparams/shelf32.sh: New file.
1351 * emulparams/shlelf32.sh: New file.
1352 * Makefile.am: Add support for shlelf32 and shelf32.
1353 * configure.tgt: Map sh64-*-elf* to shlelf32 and shelf32.
1354 * Makefile.in: Regenerate.
1355
e3dc8847
HPN
13562002-02-05 Hans-Peter Nilsson <hp@axis.com>
1357
1358 * ldlang.c (lang_reset_memory_regions): Rename from
1359 reset_memory_regions. Change all callers. Make public.
1360 * ldlang.h (lang_reset_memory_regions): Prototype.
1361 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call
1362 lang_reset_memory_regions before lang_size_sections.
126730bd
HPN
1363 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
1364 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise.
e3dc8847 1365
8017dbcb
HPN
13662002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
1367
1368 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signed
1369 arithmetic when checking for too many global registers.
1370
006336b8
JT
13712002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
1372
1373 * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o.
1374 (ehppanbsd.c): New rule.
1375 * Makefile.in: Regenerate.
1376 * configure.tgt (hppa*-*-netbsd*): New target.
1377 * emulparams/hppalinux.sh: Add comment to check other files
1378 that source this file it is modified, and list which
1379 files that do.
1380 * emulparams/hppanbsd.sh: New file.
1381
da1f2fec
GK
13822002-02-01 Geoffrey Keating <geoffk@redhat.com>
1383
1384 * scripttempl/xstormy16.sc: Don't allocate extra space for the
1385 stack.
1386
48fa4a5d
HPN
13872002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
1388
1389 Support on-demand global register allocation from
1390 R_MMIX_BASE_PLUS_OFFSET relocs.
1391 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from
1392 mmix_set_reg_section_vma. Call
1393 _bfd_mmix_finalize_linker_allocated_gregs.
1394 (mmix_before_allocation): New function.
1395 (LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation.
1396 (LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation.
1397 * scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP.
1398 (.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated
1399 before .MMIX.reg_contents.
1400 * emultempl/mmo.em (gldmmo_before_allocation): Define to default.
1401 (mmo_after_open): New function.
1402 (LDEMUL_AFTER_OPEN): Define to mmo_after_open.
1403 * emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting. Add
1404 .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents.
1405
3b16e843
NC
14062002-01-31 Ivan Guzvinec <ivang@opencores.org>
1407
1408 * emulparams/or32.sh: New file.
1409 * emulparams/or32elf.sh: New file.
1410 * scripttempl/or32.sc: New file.
1411 * configure.tgt : Add support for or32.
1412 * configure: Regenerate
1413 * Makefile.am: Add support for or32.
1414 * Makefile.in: Regenerate.
1415 * NEWS: Mention support for or32.
1416 * po/ld.pot: Regenerate.
1417
f744d540 14182002-01-29 Chris Demetriou <cgd@broadcom.com>
313e35ee 1419 Mitch Lichtenberg <mpl@broadcom.com>
f744d540
CD
1420
1421 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself.
1422 * emultempl/mipself.em: New file to handle MIPS ELF embedded
1423 reloc creation (ld --embedded-relocs).
1424
4867be41
DJ
14252002-01-27 Daniel Jacobowitz <drow@mvista.com>
1426
1427 * configure: Regenerated.
1428
cd8e197b
HPN
14292002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1430
1431 * Makefile.am (install): Depend on install-info.
1432 * Makefile.in: Regenerate.
1433
9cb61eab
AM
14342002-01-26 Christian Rose <menthos@menthos.com>
1435
1436 * ldmain.c (main): Use full sentences to ease translation.
1437
1caa7b23
NC
14382002-01-26 Nick Clifton <nickc@cambridge.redhat.com>
1439
1440 * po/fr.po: Updated version.
1441
1ddbd152
NC
14422002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
1443
1444 * po/es.po: Updated version.
1445
1e84433f
AJ
14462002-01-25 Andreas Jaeger <aj@suse.de>
1447
1448 * ldlex.l (yy_input): Correct error check.
1449
6d39955e
AM
14502002-01-25 Alan Modra <amodra@bigpond.net.au>
1451
1452 * ldmisc.c (demangle): Put back dots when string not demangled.
1453
a9ed1e1b
RH
14542002-01-22 Richard Henderson <rth@redhat.com>
1455
1456 * emulparams/elf64alpha.sh (NOP): Use unop.
1457
968ec2b9
AJ
14582002-01-21 Andreas Jaeger <aj@suse.de>
1459
1460 * ldlex.l: Use fread instead of read.
1461
9596feea
JT
14622002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
1463
1464 * configure.tgt (ia64-*-netbsd*): New target.
1465
493a6d47
L
14662002-01-21 H.J. Lu <hjl@gnu.org>
1467
1468 * emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to
1469 0.
1470 * emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise.
1471
2a538ba5
AJ
14722002-01-18 Andreas Jaeger <aj@suse.de>
1473
1474 * ldver.c (ldversion): Update year.
1475
328577ad
NC
14762002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1477
1478 * po/ld.pot: Regenerate.
1479
1f808cd5
AM
14802002-01-16 Alan Modra <amodra@bigpond.net.au>
1481
1482 * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em.
1483 * Makefile.in: Regenerate.
1484 * emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define.
1485 * emultempl/ppc64elf.em: New file.
1486
335c5610
DD
14872002-01-15 DJ Delorie <dj@redhat.com>
1488
1489 * scripttempl/pe.sc: Add support for constructor priorities.
1490
c40bbade
DC
14912002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
1492
1493 * emulparams/avr1200.sh (DATA_START): Define as 0x60.
1494 * emulparams/avr23xx.sh: Likewise.
1495 * emulparams/avr4433.sh: Likewise.
1496 * emulparams/avr44x4.sh: Likewise.
1497 * emulparams/avr85xx.sh: Likewise.
1498 * emulparams/avrmega103.sh: Likewise.
1499 * emulparams/avrmega161.sh: Likewise.
1500 * emulparams/avrmega603.sh: Likewise.
1501 * scripttempl/elf32avr.sc: Use DATA_START instead of 0x60.
1502
34efb449
AO
15032002-01-08 Alexandre Oliva <aoliva@redhat.com>
1504
1505 * ldlang.c (walk_wild_section): Exclude object file if enclosing
1506 archive is excluded.
1507
8d05742f
JT
15082002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
1509
1510 * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o.
2a538ba5 1511 (eshelf_nbsd.c): New rule.
8d05742f
JT
1512 (eshlelf_nbsd.c): New rule.
1513 * Makefile.in: Regenerate.
1514 * configure.tgt (sh*le-*-netbsdelf*): New target.
1515 (sh*-*-netbsdelf*): New target.
1516 * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file.
1517 * ld/emulparams/shelf_nbsd.sh: New emulation.
1518 * ld/emulparams/shlelf_nbsd.sh: New emulation.
1519
be2d1673
NC
15202002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
1521
1522 * po/es.po: New file: Spanish translation.
1523 * configure.in (ALL_LINGUAS): Add es.
1524 * configure: Regenerate.
1525
dbab7a7b
NC
15262002-01-06 John Marshall <jmarshall@acm.org>
1527
1528 * ld.texinfo: Note that --emit-relocs is currently only
1529 implemented for ELF.
1530
3dfe7a8c
AM
15312002-01-05 Alan Modra <amodra@bigpond.net.au>
1532
1533 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use
1534 of bfd_section_list_remove and bfd_section_list_insert macros.
1535 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1536 * emultempl/mmo.em (mmo_place_orphan): Likewise.
1537
8a8b2d4b
AJ
15382002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
1539
1540 * configure.tgt (x86_64-*-netbsd*): New target.
1541
9a4c7f16
TR
15422001-12-21 Tom Rix <trix@redhat.com>
1543
8a8b2d4b 1544 (gld*_create_output_section_statements): New function.
9a4c7f16
TR
1545 For -binitfini support.
1546 * emultempl/aix.em (gld*_before_parse): Fix comment.
1547 * emultempl/aix.em (gld*_parse_args): Fix comment.
1548
3695c299
AM
15492001-12-20 Jason Thorpe <thorpej@wasabisystems.com>
1550
cf86e6df
AM
1551 * configure.tgt (mips*-dec-netbsd*): Delete alias for
1552 mips*el-*-netbsd*.
1553 (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls.
1554
3695c299
AM
1555 * configure.tgt (arm-*-netbsdelf*): Add target.
1556 (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls.
1557 * emulparams/armelf_nbsd.sh: Added.
1558 * Makefile.am: Add rules for earmelf_nbsd.
1559 * Makefile.in: Regenerate.
1560
97cb79ae
AJ
15612001-12-19 Andreas Jaeger <aj@suse.de>,
1562 Susanne Oberhauser <froh@suse.de>
1563
1564 * configure.host: Add rules for x86_64-*linux-gnu. Change
1565 s390x-linux entry to use gcc to report configuration, replace gcc
1566 with $CC in s390-linux
1567
9d201f2f
AJ
15682001-12-19 Andreas Jaeger <aj@suse.de>
1569
1570 * ld.texinfo (VERSION): Fix markup.
1571
0b69cd08
MG
15722001-12-18 matthew green <mrg@eterna.com.au>
1573
1574 * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o.
1575 (m68kelfnbsd.c): New rule.
1576 * Makefile.in: Regenerate.
1577 * configure.tgt (m68*-hp-netbsd*): Renamed to ..
1578 (m68*-*-netbsd*4k*): .. this.
1579 (m68*-*-netbsdelf*): New target.
1580 (m68*-*-netbsd*): Also include ELF support.
1581 (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*.
1582 * emulparams/m68kelfnbsd.sh: New emulation.
1583
6b9b879a
JJ
15842001-12-18 Jakub Jelinek <jakub@redhat.com>
1585
1586 * ldgram.y (vers_node): Support anonymous version tags.
1587 * ldlang.c (lang_register_vers_node): Ensure anonymous version
1588 tag is not defined together with non-anonymous versions.
1589 * ld.texinfo: Document it.
1590
9fc877ed
NC
15912001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1592
1593 * po/tr.po: New file: Turkish translation.
1594 * configure.in (ALL_LINGUAS): Add tr.
1595 * configure: Regenerate.
1596
fc18a3f3
RH
15972001-12-17 Jason Thorpe <thorpej@wasabisystems.com>
1598
1599 * Makefile.am: Add rules for eelf64alpha_nbsd.
1600 * Makefile.in: Regenerate.
1601 * configure.tgt (alpha*-*-netbsd*): Set
1602 targ_emul to elf64alpha_nbsd.
1603 * emulparams/elf64alpha_nbsd.sh: Added.
1604
76f63e91
AM
16052001-12-17 Alan Modra <amodra@bigpond.net.au>
1606
1607 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust
1608 section_tail when fiddling with section list.
1609 (gld${EMULATION_NAME}_list_options): Ensure sentences aren't
1610 broken into separate strings to make translation easier.
1611 * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when
1612 fiddling with section list.
1613 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1614
d03b89bd
HPN
16152001-12-16 Hans-Peter Nilsson <hp@bitrange.com>
1616
1617 * scripttempl/mmo.sc: Add .debug_ranges to listed sections.
1618
320fec9a
AM
16192001-12-15 Alan Modra <amodra@bigpond.net.au>
1620
1621 * ldmain.c (main): Initialise link_info.eh_frame_hdr.
1622
65765700
JJ
16232001-12-13 Jakub Jelinek <jakub@redhat.com>
1624
1625 * emultempl/elf32.em (finish): Supply output_bfd
1626 to bfd_elf*_discard_info.
1627 (OPTION_EH_FRAME_HDR): Define.
1628 (longopts): Add --eh-frame-hdr.
1629 (parse_args): Handle it.
1630 (list_options): Add --eh-frame-hdr to help.
1631 * emultempl/hppaelf.em (finish): Supply output_bfd
1632 to bfd_elf*_discard_info.
1633 * scripttempl/elf.sc (.eh_frame_hdr): Add.
1634
89894c62
AM
16352001-12-13 Alan Modra <amodra@bigpond.net.au>
1636
1637 * lexsup.c (parse_args): Don't pass shortopts to second call to
1638 getopt functions. Restore optind rather than decrementing before
1639 second call. Remove errind as it now duplicates last_optind.
1640
583f1926
CF
16412001-12-11 Christopher Faylor <cgf@redhat.com>
1642
1643 * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo.
1644
93fbbb04
GK
16452001-12-07 Geoffrey Keating <geoffk@redhat.com>
1646 Richard Henderson <rth@redhat.com>
1647
1648 * Makefile.am: Add support for xstormy16.
1649 * configure.tgt: Add support for xstormy16.
1650 * Makefile.in: Regenerate.
1651 * emulparams/elf32xstormy16.sh: New file.
1652 * scripttempl/xstormy16.sc: New file.
1653
583f1926
CF
16542001-10-01 Christopher Faylor <cgf@cygnus.com>
1655
fc18a3f3
RH
1656 * Makefile.in (LIB_PATH): Make configurable.
1657 (GENSCRIPTS): Set LIB_PATH in environment.
1658 * configure.in: Substitute LIB_PATH.
1659 * configure: Regenerate.
1660 * configure.tgt (*cygwin): Set LIB_PATH for cross build.
1661 * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS.
583f1926 1662
ff291a48
NC
16632001-12-07 Nick Clifton <nickc@cambridge.redhat.com>
1664
1665 * lexsup.c (ld_options): Insert 'PROGRAM' into the text string
1666 describing the -N option so that it is easier to translate into
1667 foreign languages.
1668
e3c8793a
NC
16692001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1670
1671 * emultempl/pe.em (..._list_options): Replace multiple fprintf
1672 statements describing a single option with a single, newline
1673 escaped fprintf. This allows better translation into other
1674 languages.
9d201f2f 1675
fc18a3f3
RH
1676 * ldmain.c (add_archive_element): Combine multiple strings
1677 into a single string to permit better translation into other
1678 languages.
e3c8793a 1679
f2eab0af
TR
16802001-12-05 Tom Rix <trix@redhat.com>
1681
1682 * Makefile.am: Remove eaixppc64.
9d201f2f 1683 * Makefile.in: Regenerate.
f2eab0af 1684
249172c3
TR
16852001-12-04 Tom Rix <trix@redhat.com>
1686
9d201f2f 1687 * emultempl/aix.em (choose_target): Change default target to
249172c3
TR
1688 OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler
1689 warning.
1690 (gld*_read_file): Fix typo.
1691 (change_symbol_mode): Add prototype.
1692 (is_syscall): Same.
9d201f2f 1693
249172c3
TR
1694 * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete.
1695 * emulparams/aixrs6.sh : Same.
1696 * emulparams/ppcmacos.sh : Same.
1697 * emulparams/aixppc64.sh : Delete file.
1698 * emultempl/aix.em : Formatting changes.
1699
5b5cd1b0
HPN
17002001-12-04 Hans-Peter Nilsson <hp@axis.com>
1701
1702 * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes.
1703 (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting
1704 __Sbss.
1705 (OTHER_END_SYMBOLS): Fix formatting.
1706 * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes.
1707 (OTHER_END_SYMBOLS): Fix formatting.
1708
7cecdbff
AM
17092001-12-04 Alan Modra <amodra@bigpond.net.au>
1710
1711 * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT.
1712
742aeb63 17132001-12-02 Tom Rix <trix@redhat.com>
7cecdbff 1714
742aeb63 1715 * configure.tgt : Remove eaixppc64 emulations.
7cecdbff 1716 * Makefile.in : Remove eaixppc64.c
742aeb63
TR
1717 * ldemul.c (ldemul_choose_target): New parameters argc, argv.
1718 (ldemul_default_target): Same.
1719 * emultempl/gld960.em (gld960_choose_target): Same.
7cecdbff
AM
1720 * emultempl/gld960c.em (gld960_choose_target): Same.
1721 * scripttempl/aix.sc: Remove OUTPUT_FORMAT.
742aeb63
TR
1722 * emultempl/aix.em (is_syscall): syscall_mask now a variable.
1723 * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable.
1724 * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation.
7cecdbff 1725 * emultempl/aix.em (choose_target): New function. Handle emulation of
742aeb63
TR
1726 -b32 and -b64.
1727
48459341
L
17282001-11-27 H.J. Lu <hjl@gnu.org>
1729
1730 * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes.
1731 * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise.
1732 * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise.
1733 * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise.
1734 * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise.
1735 * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise.
1736 * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise.
1737 * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise.
1738
7cecdbff 1739 * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA}
48459341
L
1740 is not empty.
1741 (SDATA): Likewise.
1742 (REL_SDATA): Likewise.
1743 (REL_SBSS): Likewise.
1744 (REL_SDATA2): Likewise.
1745 (REL_SBSS2): Likewise.
1746 (SBSS2): Define if ${NO_SMALL_DATA} is not empty.
1747 (SDATA2): Likewise.
1748
ecfdd20c
SC
17492001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1750
1751 * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
1752 destructor in rom.
7cecdbff 1753 * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.
ecfdd20c 1754
da54c6eb
L
17552001-11-22 H.J. Lu <hjl@gnu.org>
1756
1757 * Makefile.in: Regenerated with automake based on automake
1758 1.4-8 in RedHat 7.1.
1759
465bc359
AM
17602001-11-22 Alan Modra <amodra@bigpond.net.au>
1761
1762 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
1763 (config.status): Delete rule.
1764 Add extra dependencies to cover sourced emulparams files.
1765 * Makefile.in: Regenerate.
1766
1767 * scripttempl/elf.sc: Order <section>, <section>.* and
1768 corresponding linkonce sections as seen in input files.
1769 Formatting fixes. Zero vma of all sections if not relocating.
1770 (STACK): Define and insert if STACK_ADDR defined.
1771 (OTHER_RELOCATING_SECTIONS): Delete.
1772 (OTHER_END_SYMBOLS): Define.
1773 (OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
1774 (OTHER_READWRITE_SECTIONS): Likewise.
1775 (OTHER_GOT_SECTIONS): Likewise.
1776 (OTHER_SDATA_SECTIONS): Likewise.
1777 (OTHER_BSS_SECTIONS): Likewise.
1778 * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
1779 (OTHER_READWRITE_SECTIONS): Likewise.
1780 * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
1781 (OTHER_READWRITE_SECTIONS): Likewise
1782
1783 * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
1784 (STACK_ADDR): Define.
1785 * emulparams/armelf_oabi.sh: As for armelf.sh.
1786 * emulparams/elf32mcore.sh: As for armelf.sh.
1787 * emulparams/h8300elf.sh: As for armelf.sh.
1788 * emulparams/mn10200.sh: As for armelf.sh.
1789 * emulparams/shelf.sh: As for armelf.sh.
1790
1791 * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
1792 (OTHER_END_SYMBOLS): Define.
1793 * emulparams/m32relf.sh: As for elf32fr30.sh.
1794 * emulparams/h8300helf.sh: As for elf32fr30.sh.
1795 * emulparams/h8300self.sh: As for elf32fr30.sh.
1796
1797 * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
1798 defines with RELOCATING test.
1799 (OTHER_SDATA_SECTIONS): Likewise.
1800 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
1801 (OTHER_END_SYMBOLS): ..this.
1802 * emulparams/crislinux.sh: As for criself.sh.
1803
1804 * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
1805 if not relocating.
1806 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
1807 (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order
1808 normal and linkonce sections as seen in input files.
1809 * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
1810 (TEXT_DYNAMIC): Likewise.
1811 (INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
1812 (OTHER_SDATA_SECTIONS): Likewise.
1813 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
1814 * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
1815 * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
1816 * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
1817 * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
1818 (OTHER_PLT_RELOC_SECTIONS): Likewise.
1819 (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce
1820 sections as seen in input files.
1821 * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
1822 * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
1823 if not relocating.
1824 (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
1825 (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
1826 * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
1827 (OTHER_SECTIONS): Instead, use this..
1828 (OTHER_END_SYMBOLS): ..and this.
1829
1830 * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
1831 * emulparams/elf32bsmip.sh: Likewise.
1832 * emulparams/elf32btsmip.sh: Likewise.
1833 * emulparams/elf32ebmip.sh: Likewise.
1834 * emulparams/elf32lmip.sh: Likewise.
1835 * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
1836 * emulparams/elf32lsmip.sh: Likewise.
1837 * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
1838 * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
1839 * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
1840 * emulparams/elf64btsmip.sh: Likewise.
1841 * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
1842 * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
1843 * emulparams/elf32ppclinux.sh: Likewise.
1844 * emulparams/elf32ppcsim.sh: Likewise.
1845 * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
1846 * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
1847 * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
1848 * emulparams/h8300self.sh: Likewise.
1849 * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
1850 * emulparams/sh.sh: Comment.
1851 * emulparams/shl.sh: Source sh.sh, remove duplicates.
1852 * emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
1853 * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
1854
abc6ab0a
AM
18552001-11-21 David Heine <dlheine@tensilica.com>
1856 Alan Modra <amodra@bigpond.net.au>
1857
1858 * ldlang.c (map_input_to_output_sections): Replace "break"
1859 accidentally removed with 2001-08-03 change.
1860 (lang_gc_sections_1): Likewise.
1861
2181f54f
AM
18622001-11-21 Alan Modra <amodra@bigpond.net.au>
1863
1864 * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
1865
ca0b5847
AM
18662001-11-20 Angela Marie Thomas <angela@redhat.com>
1867
1868 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
2181f54f
AM
1869 of false when calling lang_size_sections.
1870 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
ca0b5847 1871
c56feb2b
AM
18722001-11-15 Alan Modra <amodra@bigpond.net.au>
1873
1874 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
1875 function when LDEMUL_FINISH isn't set to the same name. Don't
1876 call ${LDEMUL_FINISH}.
1877 (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined.
1878 * emultempl/armelf.em (arm_elf_finish): Call
1879 gld${EMULATION_NAME}_finish.
1880 * emultempl/hppaelf.em (hppaelf_finish): Rename to
1881 gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and
1882 hppaelf_layout_sections_again if necessary.
1883 (need_laying_out): New var.
1884 (hppaelf_layaout_sections_again): Rename to
1885 hppaelf_layout_sections_again. Clear need_laying_out.
1886 (PARSE_AND_LIST_OPTIONS): Format text.
1887
a48ca7f2
L
18882001-11-14 H.J. Lu <hjl@gnu.org>
1889
1890 * emultempl/armelf.em (arm_elf_finish): Renamed from
1891 gld${EMULATION_NAME}_finish.
1892 (LDEMUL_FINISH): Set to arm_elf_finish.
1893
73d074b4
DJ
18942001-11-14 Daniel Jacobowitz <drow@mvista.com>
1895
1896 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New.
1897 (struct ld_emulation_xfer_struct): Use it.
1898
3b16e843 18992001-11-13 Ross Alexander <ross.alexander@uk.neceur.com>
fc65c602 1900
465bc359 1901 * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add
fc65c602
JL
1902 additional symbols referenced by newer crt0.o files from HP.
1903
f11b7027
NC
19042001-11-12 Anthony Green <green@redhat.com>
1905
1906 * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol.
1907
3bf2994f
AM
19082001-11-12 Alfred M. Szmidt <ams@kemisten.nu>
1909
1910 * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.
1911 * Makefile.in: Regenerate.
1912
ff5dcc92
SC
19132001-11-02 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1914
1915 * ld.texinfo: Use @command for commands, @option for options.
1916 * Makefile.am (POD2MAN): Use 'GNU Development Tools' for
1917 the page man title.
1918 * Makefile.in: Rebuild.
1919
9fb9af6e
CD
19202001-11-04 Chris Demetriou <cgd@broadcom.com>
1921
1922 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
1923 Add support for targets.
2181f54f 1924
3c62831e
NC
19252001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
1926
1927 * configure.in (ALL_LINGUAS): Add "fr" and "sv"
1928 * configure: Regernate.
1929 * po/fr.po: New file.
1930 * po/sv.po: New file.
1931
3a9091c4
NC
19322001-11-01 NIIBE Yutaka <gniibe@m17n.org>
1933
1934 * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls
1935 as little endian default and to support big endian.
2181f54f 1936
361b220e
CD
19372001-11-01 Chris Demetriou <cgd@broadcom.com>
1938
1939 * ld.texinfo (Options): Document new option, -nostdlib.
1940 * lexsup.c (OPTION_NOSTDLIB): New definition.
1941 (ld_options): Add entry for "nostdlib".
1942 (parse_args): Handle OPTIONS_NOSTDLIB.
1943 * ldfile.c (ldfile_add_library_path): Don't add directories
1944 to the search path if they weren't specified on the command line
1945 and -nostdlib was specified.
1946 * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
1947
210a7bd1
NC
19482001-10-31 Nick Clifton <nickc@cambridge.redhat.com>
1949
1950 * lexsup.c (parse_args): Prevent infinite parsing loop when
1951 "-rpath.a" is specified on the command line.
1952 Replace calls to fprintf with calls to einfo.
1953
114283d8
NC
19542001-10-31 John Marshall <jmarshall@acm.org>
1955
1956 * ld.texinfo: A historical requirement that MEMORY and SECTIONS
1957 appear only once across all the linker scripts involved in a link
1958 invocation no longer applies. Make the documentation reflect
1959 that.
1960
7649aa50
NC
19612001-10-31 NIIBE Yutaka <gniibe@m17n.org>
1962
1963 * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
1964 targets.
1965 (sh-*-linux*): Added targ_extra_libpath.
1966
6e814ff8
AM
19672001-10-31 David Heine <dlheine@tensilica.com>
1968
1969 * ldlang.c (lang_size_sections): Keep a valid output_offset field
1970 for padding statements.
1971
3c3bdf30
NC
19722001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1973
1974 * configure.tgt (mmix-*-*): New target.
1975 * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o.
1976 Add dependencies to match.
1977 * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em,
1978 emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em,
1979 scripttempl/mmo.sc: New files.
1980 * gen-doc.texi: @set MMIX.
1981 * ld.texinfo: Ditto.
6e814ff8 1982 [MMIX] Add MMIX node.
3c3bdf30
NC
1983 * Makefile.in: Regenerate.
1984
ca0c1d3e
KH
19852001-10-29 Kazu Hirata <kazu@hxi.com>
1986
1987 * ldlang.c: Fix a comment typo.
1988
1a3d33ce
AM
19892001-10-23 Alan Modra <amodra@bigpond.net.au>
1990
1991 * configure.host: Move alpha*-*-linux-gnu* entry to generic
1992 entries, and match *-*-linux*.
1993
b47c4208
AM
19942001-10-20 Alan Modra <amodra@bigpond.net.au>
1995
1996 * ldgram.y (mri_script_command): Surround processing of INCLUDE
1997 with ldlex_script, ldlex_popstate.
1998 (ifile_p1): Likewise.
1999 * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the
2000 correct slot.
2001 (lex_push_file): Save current lineno to lineno_stack. Set lineno
2002 to 1. Don't BEGIN(SCRIPT).
2003 (lex_redirect): Similarly.
2004 * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
2005
fd521b47
NC
20062001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
2007
2008 * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and
2009 __EH_FRAME_END__ and accept eh frames into data section.
2010 Add ctor and dtor sections.
2011
59d28a94
DD
20122001-10-19 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2013
2014 * pe-dll.c (autofilter_objectlist): Add gcrt0.o.
2015 (auto-export): Fix indentation.
2016
663dd378
DD
20172001-10-18 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2018
2019 * pe-dll.c (autofilter_objectlist): Add startup objects
2020 for profiling.
2021 (auto-export): Constify char * p.
6e814ff8 2022 Extract file basename and use strcmp rather than ststr
663dd378
DD
2023 for object lookup.
2024
31d677f9
CD
20252001-10-18 Chris Demetriou <cgd@broadcom.com>
2026
2027 * ldmain.c (get_emulation): Improve comment about the handling
2028 of -mipsN options.
2029
aa200fe8
AM
20302001-10-17 Alan Modra <amodra@bigpond.net.au>
2031
2032 * po/POTFILES.in: Regenerate.
2033
146e7110
AM
20342001-10-16 Vassili Karpov <malc@pulsesoft.com>
2035
2036 * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
2037 -z nocopyreloc and -z nocombreloc usage strings.
2038
b4330e85
NC
20392001-10-12 Vassili Karpov <malc@pulsesoft.com>
2040
146e7110 2041 * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc
b4330e85
NC
2042 in usage.
2043
5af8a2fb
NC
20442001-10-11 Aleksey Romanov <aromanov@ennovatenetworks.com>
2045
2046 * scripttempl/armaout.sc: Place .bss section after end of aligned
2047 data section to match behaviour of aout code in constructrion of
2048 header.
2049
5b784096
DD
20502001-10-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2051
2052 * pe-dll.c (autofilter_entry_type autofilter_liblist: Add
2053 startup files for mingw32 dlls to list.
2054
61585df2
CD
20552001-10-10 Chris Demetriou <cgd@broadcom.com>
2056
2057 * emultempl/elf32.em: Fix shell 'if' usage for portability.
2058
45cf6f3e
AH
20592001-10-08 Aldy Hernandez <aldyh@redhat.com>
2060
2061 * configure.tgt (targ): Add arm9e-*-elf.
2062
e24d7c12
L
20632001-10-05 H.J. Lu <hjl@gnu.org>
2064
2065 * genscripts.sh: Fix a typo in the last change.
2066
ec38dd05
JJ
20672001-10-05 Jakub Jelinek <jakub@redhat.com>
2068
2069 * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
2070 -z nocombreloc in usage.
2071
cedd6b0d
JB
20722001-10-03 Jim Blandy <jimb@redhat.com>
2073
2074 * genscripts.sh: Include a comment at the top of each generated
2075 script, explaining its purpose.
2076
8bd621d8
AM
20772001-10-03 Vassili Karpov <malc@pulsesoft.com>
2078
2079 * emultempl/elf32.em (parse_args): Handle -z nocopyreloc.
2080 * NEWS: Mention -z nocopyreloc.
2081 * ld.texinfo (Options): Describe nocopyreloc.
2082
fcd8210c
AM
20832001-10-03 Alan Modra <amodra@bigpond.net.au>
2084
2085 * configure: Regenerate.
2086
d32820f2
AM
20872001-10-02 Alan Modra <amodra@bigpond.net.au>
2088
2089 * ldver.h (ld_program_version): Remove declaration.
2090 * lexsup.c (parse_args): Move printing of copyright message..
2091 * ldver.c (ldversion): .. to here.
2092 Use BFD_VERSION_STRING in place of BFD_VERSION.
2093 (ld_program_version): Remove.
2094 * Makefile.am (Makefile): Depend on bfd/configure.in.
2095 Run "make dep-am".
2096 * Makefile.in: Regenerate.
2097
af46bcdc
HPN
20982001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
2099
2100 * Makefile.am: Update dependencies with "make dep-am".
2101 * Makefile.in: Regenerate.
2102
4818e05f 21032001-09-29 John Reiser <jreiser@BitWagon.com>
862517b6 2104
4818e05f
AM
2105 * ldlang.c (lang_common): Conditionally inhibit Common allocation.
2106 * lexsup.c: Add --no-define-common commandline option.
2107 * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
2108 * ldlex.l: Likewise.
2109 * ld.h: Add command_line.inhibit_common_definition.
2110 * ldmain.c (main): Initialize.
2111 * ld.texinfo: Document.
862517b6 2112
a59f3d35
AM
21132001-09-29 Alan Modra <amodra@bigpond.net.au>
2114
2115 * ldlang.c (section_already_linked): Remove assignment to kept_section.
2116
d5e0ebeb
AM
21172001-09-26 Alan Modra <amodra@bigpond.net.au>
2118
2119 * ldmisc.c (USE_STDARG): Remove.
2120 (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
2121 (einfo): Likewise.
2122 (minfo): Likewise.
2123 (lfinfo): Likewise.
2124
2125 * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
2126 declarations. Update copyright.
2127
2f8d8971
NC
21282001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
2129
85c77458
NC
2130 * pe-dll.c: Remove obsoleted declaration of
2131 pe_get_data_import_dll_name.
2132 (pe_create_import_fixup): Fix thinko.
2133
2f8d8971
NC
2134 * ld.texinfo(enable-auto-import): Clarify the explanation.
2135
21362001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
2137
2138 * pe-dll.c (pe_create_import_fixup): Revert previous patch.
2139 * emultemp/pe.em (pe_data_import_dll): Move definition outside of
2140 DLL_SUPPORT controlled code.
2141
72358f65 21422001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
146e7110 2143
72358f65
NC
2144 * emultempl/pe.em(pe_data_import_dll): Make static.
2145 (pe_get_data_import_dll_name): New accessor function.
146e7110 2146 * pe-dll.c(pe_create_import_fixup): call
72358f65
NC
2147 pe_get_data_import_dll_name() from pe.em, instead of
2148 directly accessing pe_data_import_dll variable from pe.em.
2149
3882b010
L
21502001-09-18 Bruno Haible <haible@clisp.cons.org>
2151
2152 * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>.
2153 (def_file_add_directive): Use ISSPACE instead of isspace.
2154 (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
2155 isdigit/isxdigit/isalpha/isalnum.
2156 * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>.
2157 (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
2158 * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>.
2159 (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
2160 isalnum.
2161 * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>.
2162 (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
2163 isupper/tolower.
2164 * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>.
2165 (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
2166 * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>.
2167 (ctor_prio): Use ISDIGIT instead of isdigit.
2168 * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>.
2169 (ldfile_open_file_search): Use ISALPHA instead of isalpha.
2170 (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
2171 isupper/tolower.
2172 * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>.
2173 (stricpy): Use TOLOWER instead of isupper/tolower.
2174 (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
2175 * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>.
2176 (lex_warn_invalid): Use ISPRINT instead of isprint.
2177 * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>.
2178 (main): For gettext, also set the LC_CTYPE locate facet.
2179 (add_keepsyms_file): Use ISSPACE instead of isspace.
2180 * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>.
2181 (is_num, parse_args): Use ISDIGIT instead of isdigit.
2182 * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>.
2183 (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
2184 * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>.
2185 (gldppcmacos_read_file): Use ISSPACE instead of isspace.
2186 * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>.
2187 (quoteput): Use ISSPACE instead of isspace.
2188 (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
2189 instead of isalnum.
2190
db09f25b
AM
21912001-09-18 Alan Modra <amodra@bigpond.net.au>
2192
2193 * deffilep.y (def_stash_module): Constify "name" param.
2194
2195 * pe-dll.c: Replace CONST with const throughout.
2196 (quick_symbol): Constify "n1", "n2", "n3" params.
2197 (make_singleton_name_thunk): Constify "import" param. Make
2198 "buffer_len" a size_t.
2199 (make_import_fixup_entry): Constify "name", "fixup_name",
2200 "dll_symname" params.
2201 (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread.
2202 (pe_get32): Likewise.
2203 (pe_implied_import_dll): Likewise.
2204
2205 * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
2206 (sort_by_section_name): Likewise.
2207
2208 * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
2209 (make_import_fixup): Cast printf arg, rel->address to long rather
2210 than int.
2211 (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
2212
74699268
AM
22132001-09-15 Alan Modra <amodra@bigpond.net.au>
2214
2215 * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
2216 defines BufferSize. Increase buffer size by one.
2217
775cabad
NC
22182001-09-14 Ralf Habacker <Ralf.Habacker@freenet.de>
2219
2220 * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
2221
056a1d49
NC
22222001-09-14 Kevin Lo <kevlo@openbsd.org>
2223
2224 * configure.tgt: Add arm-openbsd target.
2225
a7d792bb
L
22262001-09-12 H.J. Lu <hjl@gnu.org>
2227
2228 * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
2229 eelf64lppc.o to ...
2230 (ALL_64_EMULATIONS): Here.
2231 * Makefile.in: Regenerated.
2232
0d888aac
CW
22332001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
2234
2235 * emultempl/pe.em(make_import_fixup): change signature to
2236 take asection as well as arelec; we need this for proper
146e7110 2237 error reporting. Only call pe_create_import_fixup() if
0d888aac
CW
2238 there is no attempt to add a constant addend to the reloc;
2239 otherwise, report error condition.
2240 * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
2241 since final argument is a pointer to make_import_fixup().
2242 Change call to cb() to match make_import_fixup() signature.
2243 (make_import_fixup_mark): make buffer_len unsigned.
2244 * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
2245
22462001-09-12 Charles Wilson <cwilson@ece.gatech.edu>
2247
2248 * ld.texinfo: add verbose documentation for auto-import
146e7110 2249 direct-addressing workaround, to compliment the terse
0d888aac
CW
2250 error message.
2251
cedacdc0
CM
22522001-09-12 Andrew MacLeod <amacleod@redhat.com>
2253
146e7110 2254 * scripttempl/v850.sc: Add gcc_except_table sections.
cedacdc0 2255
3b16e843 22562001-09-11 Jeffrey A Law (law@cygnus.com)
38be0bb1
JL
2257
2258 * emulparams/h8300helf.sh: Move stack to a much higher memory address.
2259 * emulparams/h8300self.sh: Similarly.
2260
559e4713
NC
22612001-09-05 Danny Smith <dannysmith@users.souceforge.net>
2262
2263 * ld.texinfo (Options, --stack): Correct default value for stack
2264 reserve.
2265
1fdf0249
TR
22662001-09-05 Tom Rix <trix@redhat.com>
2267
2268 * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
146e7110 2269
9b5799b8
AJ
22702001-09-03 Andreas Jaeger <aj@suse.de>
2271
2272 * emultempl/beos.em: Declare prototypes for comparions functions,
2273 adjust definitions.
2274
48f6162b
AJ
22752001-09-02 Andreas Jaeger <aj@suse.de>
2276
2277 * emultempl/aix.em: Add missing prototype.
2278 * emultempl/lnk960.em: Likewise.
2279 * emultempl/vanilla.em: Likewise.
2280 * emultempl/armcoff.em: Likewise.
2281 * emultempl/armelf_oabi.em: Likewise.
2282 * emultempl/beos.em: Likewise.
2283 * emultempl/gld960c.em: Likewise.
2284 * emultempl/gld960.em: Likewise.
2285
2286 * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
2287 for prototype declaration.
2288
39e5585e
EC
22892001-08-31 Eric Christopher <echristo@redhat.com>
2290 Jason Eckhardt <jle@redhat.com>
2291
2292 * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
2293
3fc90ddb
AJ
22942001-08-31 Andreas Jaeger <aj@suse.de>
2295
2296 * emultempl/pe.em: Add missing prototypes.
2297 (gld_${EMULATION_NAME}_after_open): Remove extra args to
2298 pe_find_data_imports.
2299 (pr_sym): Add unused attribute.
2300
d43ded80
PB
23012001-08-29 Joel Sherrill <joel@OARcorp.com>
2302
39e5585e 2303 * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
d43ded80
PB
2304 default from coff to elf.
2305
3946dd2f
JL
23062001-08-29 Jeff Law <law@redhat.com>
2307
2308 * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update
2309 ARCH specification.
2310 * emulparams/h8300self.sh: Similarly.
2311
3b16e843 23122001-08-28 J"orn Rennecke <amylaar@redhat.com>
8af6dd41
JR
2313
2314 * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
2315 eh8300self.o .
2316 (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
2317 * configure.tgt (h8300-*-elf*): New case.
2318 * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
2319 * emulparams/h8300self.sh: New file.
2320 * Makefile.in: Regenerated.
2321
70d0c6e9
NC
23222001-08-28 Nick Clifton <nickc@cambridge.redhat.com>
2323
2324 * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
2325 with macro name.
2326
5c67d4bb
AM
23272001-08-27 Linus Nordberg <linus@swox.com>
2328 Alan Modra <amodra@bigpond.net.au>
2329
2330 * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
2331 (eelf64ppc.c, eelf64lppc.c): Add make targets.
2332 Run "make dep-am"
2333 * Makefile.in: Regenerate.
2334 * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj
2335 entries to correct alphabetical position.
2336 * emulparams/elf64ppc.sh: New.
2337 * emulparams/elf64lppc.sh: New.
2338
08131015
NC
23392001-08-27 Nick Clifton <nickc@cambridge.redhat.com>
2340
2341 * ldmain.c (main): Declare BSIZE as static.
2342
db6751f2
JJ
23432001-08-23 Jakub Jelinek <jakub@redhat.com>
2344
2345 * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
2346 into .rel.dyn resp. .rela.dyn if combreloc.
2347 (get_script): If .x linker script is equal to .xn, only put it
2348 once into the binary.
2349 Add .xc and .xsc scripts.
2350 (parse_args): Handle -z combreloc and -z nocombreloc.
2351 * scripttempl/elf.sc (.rela.sbss): Fix a typo.
2352 For .xc and .xsc scripts put all .rel* or .rela* input sections
2353 but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
2354 * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
2355 is elf.
2356 Strip trailing whitespace from script.
2357 Generate .xc and .xsc scripts if requested.
2358 * ldmain.c (main): Initialize link_info.combreloc and
2359 link_info.spare_dynamic_tags.
2360 * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
2361 (ld_options): Add --spare-dynamic-tags option.
2362 (parse_args): Likewise.
2363 * ld.texinfo: Document -z combreloc and -z nocombreloc.
2364 * ldint.texinfo: Document .xc and .xsc linker scripts.
2365 * NEWS: Add notes about -z combreloc and SHF_MERGE.
2366
63d069c0
L
23672001-08-22 H.J. Lu <hjl@gnu.org>
2368
2369 * emulparams/elf32fr30.sh: Add a newline.
2370
948f9114
AJ
23712001-08-21 Andreas Jaeger <aj@suse.de>
2372
2373 * deffilep.y: Add missing prototypes.
2374 * pe-dll.c: Likewise.
2375
ae7fb08f
AM
23762001-08-20 Alan Modra <amodra@bigpond.net.au>
2377
2af02257
AM
2378 * ldlang.c (insert_pad): Fix typos in last patch.
2379
2380 * ldlang.c: When traversing lang_statement_union_type lists,
2381 consistently use "header.next" rather than "next".
2382 * mpw-eppcmac.c: Likewise.
2383 * emultempl/beos.em: Likewise.
2384 * emultempl/hppaelf.em: Likewise.
2385 * emultempl/pe.em: Likewise.
2386 * ldlang.h (union lang_statement_union): Remove "next" field.
2387
c0c330a7
AM
2388 * ldlang.c (insert_pad): Use offsetof macro.
2389 (lang_size_sections): Always neuter padding statements.
2390 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
2391
ae7fb08f
AM
2392 * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
2393 passed to lang_size_sections.
2394 (pe_exe_fill_sections): Likewise.
2395 * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
2396 (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
2397
fab80407
AM
23982001-08-18 Alan Modra <amodra@bigpond.net.au>
2399
2400 * emultempl/aix.em: Formatting fixes.
2401
b3327aad
AM
24022001-08-18 Alan Modra <amodra@bigpond.net.au>
2403
2404 * ldlang.c (insert_pad): Make use of an existing pad statement if
2405 available. Move code calculating alignment, adjusting section
2406 alignment power, and adjusting dot to ..
2407 (size_input_section): .. here. Remove unused relax param.
2408 (lang_size_sections): Change boolean `relax' param to boolean *.
2409 Adjust call to size_input_section. Make use of insert_pad to
2410 place pad after the assignment statement. If relaxing, zap
2411 padding statements.
2412 (reset_memory_regions): Reset output_bfd section sizes too.
2413 (relax_again): Move to..
2414 (lang_process): ..here. Adjust call to lang_size_sections, and
2415 remove duplicated code.
2416 * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
2417
563e308f
AM
24182001-08-17 Alan Modra <amodra@bigpond.net.au>
2419
2420 * ld.texinfo: Document that fill values now use the four least
2421 significant bytes.
2422 * emulparams/elf32fr30.sh (NOP): Update.
2423 * emulparams/elf32mcore.sh: Likewise.
2424 * emulparams/elf64_s390.sh: Likewise.
2425 * emulparams/elf_i386.sh: Likewise.
2426 * emulparams/elf_i386_be.sh: Likewise.
2427 * emulparams/elf_i386_chaos.sh: Likewise.
2428 * emulparams/elf_i386_ldso.sh: Likewise.
2429 * emulparams/elf_s390.sh: Likewise.
2430 * emulparams/elf_x86_64.sh: Likewise.
2431 * emulparams/i386moss.sh: Likewise.
2432 * emulparams/i386nw.sh: Likewise.
2433 * emulparams/m68kelf.sh: Likewise.
2434 * scripttempl/elf.sc: Update NOP comment.
2435 * scripttempl/elfi370.sc: Likewise.
2436 * scripttempl/elfm68hc11.sc: Likewise.
2437 * scripttempl/elfm68hc12.sc: Likewise.
2438 * scripttempl/nw.sc: Likewise.
2439
b90e1c6f
TR
24402001-08-15 Tom Rix <trix@redhat.com>
2441
2442 * ldgram.y (saved_script_handle): Initialize to NULL.
2443 * ldmain.c (main): Change check on saved_script_handle.
948f9114 2444
39dcfe18
AM
24452001-08-14 Alan Modra <amodra@bigpond.net.au>
2446
cde43e70
AM
2447 * emultempl/elf32.em: Formatting fixes.
2448 (output_prev_sec_find): Test for bfd_ind_section too; do so by
2449 looking at sec->owner.
2450 (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
2451 (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove
2452 unused code, and reorganize orphan section placement code.
2453
39dcfe18
AM
2454 * ldlang.c (wild_doit): Rename to lang_add_section.
2455 * ldlang.h: Here too.
2456 * mpw-elfmips.c: And here.
2457 * emultempl/beos.em: And here.
2458 * emultempl/elf32.em: And here.
2459 * emultempl/hppaelf.em: And here.
2460 * emultempl/pe.em: And here.
2461
908d20b3
RH
24622001-08-13 Richard Henderson <rth@redhat.com>
2463
2464 * emultempl/needrelax.em: New file.
2465 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
2466 * Makefile.am (eelf64_ia64.c): Depend on it.
2467 * Makefile.in: Rebuild.
2468
0f33d40b
AM
24692001-08-13 Alan Modra <amodra@bigpond.net.au>
2470
22af9fd3
AM
2471 * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
2472 output_section is set non-NULL.
2473
0f33d40b
AM
2474 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
2475 `true' for SEC_EXCLUDE sections so that the generic code doesn't
2476 needlessly create an output_section_statement. Treat a correctly
2477 named output_section_statement with NULL bfd_section as compatible.
2478
55ab6103
HPN
24792001-08-13 Hans-Peter Nilsson <hp@bitrange.com>
2480
2481 * emultempl/generic.em: Support EXTRA_EM_FILE.
2482 (ld_${EMULATION_NAME}_emulation): Support emulation parameters
2483 LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
2484 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
2485 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
2486 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
2487 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
2488 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
2489 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
2490 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
2491 LDEMUL_FIND_POTENTIAL_LIBRARIES.
2492
24098abb
RH
24932001-08-12 Richard Henderson <rth@redhat.com>
2494
2495 * scripttempl/elf.sc, scripttempl/elfd30v.sc,
2496 scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
2497 scripttempl/v850.sc: Keep .jcr data.
2498
b9a8de1e 24992001-08-12 H.J. Lu <hjl@gnu.org>
146e7110
AM
2500 Andrew Haley <aph@cambridge.redhat.com>
2501 Nick Clifton <nickc@redhat.com>
b9a8de1e 2502
146e7110 2503 * ldgram.y (had_script): Change name to saved_script_handle.
b9a8de1e
NC
2504 Change type to file handle.
2505 * ld.h (had_script): Rename and retype.
2506 * ldfile.c (ldfile_open_command_file): Save the file handle
2507 used in saved_script_handle.
2508 * lexsup.c (parse_args): Do not allow -c option to alter
2509 saved_script_handle.
2510 * ldmain.c (main): Print out the linker script used if
2511 --verbose is given. Check saved_script_handle to obtain the
2512 external linker script used, or if NULL, dump the builtin
2513 script.
2514 * ld.texinfo: Document that --verbose now dumps the linker
2515 script used, regardless of whether it was an internal or an
2516 external script.
2517
0218d1e4
AJ
25182001-08-10 Andreas Jaeger <aj@suse.de>
2519
2520 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2521 to build warnings.
2522 * configure: Regenerate.
2523
5253f23b
AM
25242001-08-09 Alan Modra <amodra@bigpond.net.au>
2525
73810896
AM
2526 * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
2527
5253f23b
AM
2528 * scripttempl/elf.sc: Move non-text .dynamic section before
2529 .plt/.got/.sdata* group.
2530 (OTHER_GOT_SECTIONS): Move to immediately after .got.
2531 (OTHER_SDATA_SECTIONS): Add.
2532 * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
2533 OTHER_GOT_SECTIONS.
2534 * emulparams/crislinux.sh: Likewise.
2535 * emulparams/elf32b4300.sh: Likewise.
2536 * emulparams/elf32bmip.sh: Likewise.
2537 * emulparams/elf32bmipn32.sh: Likewise.
2538 * emulparams/elf32bsmip.sh: Likewise.
2539 * emulparams/elf32btsmip.sh: Likewise.
2540 * emulparams/elf32ebmip.sh: Likewise.
2541 * emulparams/elf32elmip.sh: Likewise.
2542 * emulparams/elf32l4300.sh: Likewise.
2543 * emulparams/elf32lmip.sh: Likewise.
2544 * emulparams/elf32lsmip.sh: Likewise.
2545 * emulparams/elf32ltsmip.sh: Likewise.
2546 * emulparams/elf64bmip.sh: Likewise.
2547 * emulparams/elf64btsmip.sh: Likewise.
2548 * emulparams/elf64ltsmip.sh: Likewise.
2549
179c732c
AM
25502001-08-08 Alan Modra <amodra@bigpond.net.au>
2551
2552 * genscripts.sh: Source the emulparams script before each output
2553 script is generated so that variables like `RELOCATING' may affect
2554 variables defined in the emulparams script.
2555
3fd36710
AM
25562001-08-04 Alan Modra <amodra@bigpond.net.au>
2557
20713691
AM
2558 * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
2559 order.
2560
3fd36710
AM
2561 * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
2562 ie. iterate over wild_statement.section_list.
2563 (gld${EMULATION_NAME}_place_orphan): Likewise.
2564
de0b1853
SC
25652001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2566
2567 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
2568 .fini[0-4] sections used by _exit
2569 (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
2570 (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
2571 * scripttempl/elfm68hc11.sc: Likewise.
2572
ff7e6f88
L
25732001-08-03 H.J. Lu <hjl@gnu.org>
2574
2575 * emultempl/beos.em (init): Add the missing initialization.
2576
b6bf44ba
AM
25772001-08-03 Alan Modra <amodra@bigpond.net.au>
2578
2579 * ld.texinfo (Input Section Basics): Clarify ordering of output
2580 sections.
2581 * ldlang.c (callback_t): Add wildcard_list param.
2582 (walk_wild_section): Remove "section" param. Rewrite for
2583 lang_wild_statement_type change. Remove unique_section_p test.
2584 (walk_wild_file): Remove "section" param.
2585 (walk_wild): Remove "section" and "file" params.
2586 (lang_gc_wild): Likewise.
2587 (wild): Likewise. Modify for lang_wild_statement_type change.
2588 (wild_sort): Likewise. Add "sec" param.
2589 (gc_section_callback): Likewise.
2590 (output_section_callback): Likewise. Do unique_section_p test.
2591 (map_input_to_output_sections): Modify call to wild.
2592 (lang_gc_sections_1): Likewise.
2593 (print_wild_statement): Modify for lang_wild_statement_type
2594 change.
2595 (lang_add_wild): Replace filename, filenames_sorted param with
2596 filespec. Replace section_name, sections_sorted,
2597 exclude_filename_list with section_list.
2598 * ldlang.h (lang_add_wild): Here too.
2599 (lang_wild_statement_type): Replace section_name, sections_sorted,
2600 and exclude_filename_list with section_list.
2601 * ldgram.y (current_file): Delete.
2602 (%union): Add wildcard_list.
2603 (file_NAME_list): Set type to wildcard_list. Build a linked list
2604 rather than calling lang_add_wild for each entry.
2605 (input_section_spec_no_keep): Call lang_add_wild here instead.
2606 * ld.h (struct wildcard_list): Declare.
2607 * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
2608
b044cda1
CW
26092001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
2610
2611 * ldmain.c (main): initialize link_info.pei386_auto_import
2612 * pe-dll.c: new tables for auto-export filtering
2613 (auto_export): change API, pass abfd for contextual filtering.
b6bf44ba 2614 Loop thru tables of excluded symbols instead of comparing
b044cda1
CW
2615 "by hand".
2616
26172001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>
2618
b6bf44ba
AM
2619 * pe-dll.c: new variable pe_dll_enable_extra_debug. New
2620 static variable current_sec (static struct sec *). Add
b044cda1 2621 forward declaration for add_bfd_to_link.
b6bf44ba
AM
2622 (process_def_file): Don't export undefined symbols. Do not
2623 export symbols starting with "_imp__". Call auto_export()
b044cda1
CW
2624 with new API.
2625 (pe_walk_relocs_of_symbol): New function.
2626 (generate_reloc): add optional extra debugging
b6bf44ba 2627 (pe_dll_generate_def_file): eliminate extraneous initial blank
b044cda1 2628 line in output
b6bf44ba 2629 (make_one): enlarge symtab to make room for __nm__ symbols
b044cda1
CW
2630 (DATA auto-import support).
2631 (make_singleton_name_thunk): New function.
2632 (make_import_fixup_mark): New function.
2633 (make_import_fixup_entry): New function.
2634 (pe_create_import_fixup): New function.
b6bf44ba 2635 (add_bfd_to_link): Specify that 'name' argument is a CONST
b044cda1 2636 char *.
b6bf44ba
AM
2637 * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
2638 declare new functions pe_walk_relocs_of_symbol and
b044cda1
CW
2639 pe_create_import_fixup.
2640 * emultempl/pe.em: add new options --enable-auto-import,
2641 --disable-auto-import, and --enable-extra-pe-debug.
2642 (make_import_fixup): New function.
2643 (pe_find_data_imports): New function.
2644 (pr_sym): New function.
b6bf44ba 2645 (gld_${EMULATION_NAME}_after_open): Add optional extra pe
b044cda1
CW
2646 debugging. Call pe_find_data_imports. Mark .idata as DATA, not
2647 CODE.
2648
26492001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
b6bf44ba 2650
b044cda1
CW
2651 * ld.texinfo: add additional documentation for
2652 --export-all-symbols. Document --out-implib,
2653 --enable-auto-image-base, --disable-auto-image-base,
b6bf44ba
AM
2654 --dll-search-prefix, --enable-auto-import, and
2655 --disable-auto-import.
b044cda1
CW
2656 * ldint.texinfo: Add detailed documentation on auto-import
2657 implementation.
2658
156e34dd
NC
26592001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2660
2661 * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
2662 example.
2663
d6231427
AM
26642001-07-24 Alan Modra <amodra@bigpond.net.au>
2665
2666 * Makefile.am: Update dependencies with "make dep-am".
2667 * Makefile.in: Regenerate
2668
e14ec88b
AM
26692001-07-23 Alan Modra <amodra@bigpond.net.au>
2670
2671 * ldcref.c (check_section_sym_xref): New function.
2672 (check_nocrossrefs): Call it.
2673 (check_nocrossref): Interate over h->refs here instead of..
2674 (check_refs): ..here. Pass in the symbol name, section, and bfd
2675 rather than hash_entry pointers.
2676 (struct check_refs_info): Keep symbol name rather than hash entry.
2677 Remove "same".
2678 (check_reloc_refs): Tweak for above changes in check_refs_info.
2679 Only report references to section syms when symname is NULL to
2680 prevent duplicate messages for the same reloc.
2681
1b577b00
NC
26822001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2683
c7d701b0
NC
2684 * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
2685 available. Do not print NULL trees.
2686 (exp_print_token): Print unknown tokens with values > 126 as
2687 decimal values not ASCII characters.
2688
1545243b
NC
2689 * ldlang.c (lang_leave_overlay): If a region is specified assign
2690 it to all sections inside the overlay unless they have been
2691 assigned to the own, non-default, memory region.
2692
1b577b00
NC
2693 * README: Add header for consistency with other README files.
2694
5030876b
L
26952001-07-14 H.J. Lu <hjl@gnu.org>
2696
2697 * emultempl/elf32.em (output_prev_sec_find): Never return
2698 bfd_abs_section_ptr, bfd_com_section_ptr nor
2699 bfd_und_section_ptr.
2700
18c7a9a5
NC
27012001-07-14 Nick Clifton <nickc@cambridge.redhat.com>
2702
22af9fd3 2703 * Makefile.am (em32relf.c): Change dependency from generic.em to
18c7a9a5
NC
2704 elf32.em.
2705 * Makefile.in: Regenerate.
2706
9ffecff1
MG
27072001-07-14 matthew green <mrg@eterna.com.au>
2708
2709 * configure.tgt (i386-*-netbsdelf*): New target.
2710 (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
2711
95500e1c
JJ
27122001-07-13 Jakub Jelinek <jakub@redhat.com>
2713
2714 * emultempl/elf32.em (output_prev_sec_find): New.
2715 (place_orphan): Use it.
2716
e97cb84f
L
27172001-07-11 H.J. Lu <hjl@gnu.org>
2718
2719 * ldmain.c (main): Fix typos in the last change.
2720
7333607e
JJ
27212001-07-11 Jakub Jelinek <jakub@redhat.com>
2722
2723 * ldmain.c (main): Disallow -F and -f without -shared.
2724
d29d80f2
NC
27252001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
2726
2727 * emultempl/pe.em (after_open): Check for the output_bfd not
2728 having any coff_data structure allocated to it.
2729
c2a1a436
DB
27302001-07-09 David O'Brien <obrien@FreeBSD.org>
2731
2732 * emultempl/elf32.em: Do not assuming that contents of the buffer
2733 returned from basename function will remain unchanged accross other
2734 function calls.
2735
63653551
L
27362001-07-03 H.J. Lu <hjl@gnu.org>
2737
2738 * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
2739 2001-07-03. It creates dynamic entries even for static binaries.
2740
d303a449
L
27412001-07-03 Jakub Jelinek <jakub@redhat.com>
2742
2743 * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
2744 (DYNAMIC): Use it to reserve few dynamic entries for
2745 post-linking tools.
2746
9f22353f
AM
27472001-06-27 Alan Modra <amodra@bigpond.net.au>
2748
2749 * emulparams/hppa64linux.sh: New file.
2750 * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
2751 * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
2752 (ehppa64linux.c): Add rule to make it.
2753 Run "make dep-am".
2754 * Makefile.in: Regenerate.
2755
62bf86b4
HPN
27562001-06-21 Hans-Peter Nilsson <hp@axis.com>
2757
2758 * ld.texinfo (Options, -r): Mention restrictions when using
2759 different object formats.
2760
429d935d
HPN
27612001-06-19 Hans-Peter Nilsson <hp@axis.com>
2762
2763 * ldlang.c (lang_check): Emit fatal error if relocatable link
2764 between different object flavours with relocations in input.
2765
cb840a31
L
27662001-06-19 H.J. Lu <hjl@gnu.org>
2767
2768 * ld.texinfo (-E, --export-dynamic): Mention --version-script.
2769 (--version-script): Mention the language support.
2770
9bf03acc
L
27712001-06-19 H.J. Lu <hjl@gnu.org>
2772
2773 * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
2774
c45021f2
NC
27752001-06-18 H.J. Lu <hjl@gnu.org>
2776
b6bf44ba
AM
2777 * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
2778 (diststuff): Add $(MANS).
2779 * Makefile.in: Regenerated.
c45021f2 2780
b6bf44ba 2781 * ld.1: Removed.
c45021f2 2782
6caa99ab
HPN
27832001-06-18 Hans-Peter Nilsson <hp@axis.com>
2784
605d9b3a
HPN
2785 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
2786 Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
2787 * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
2788 * ld.h (args_type): Remove member export_dynamic. All users
2789 changed to use struct bfd_link_info member.
2790
6caa99ab
HPN
2791 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
2792 $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
2793 * Makefile.in: Regenerate.
2794
6f9efd97
L
27952001-06-18 H.J. Lu <hjl@gnu.org>
2796
2797 * ldlang.c (init_os): Add the newline to the einfo call.
2798 (lang_check): Likewise.
2799 (lang_do_version_exports_section): Likewise.
2800
5af9fd8b
L
28012001-06-15 H.J. Lu <hjl@gnu.org>
2802
2803 * lexsup.c (parse_args); Save optind to report unrecognized
2804 option.
2805
2a096f04
HPN
28062001-06-15 Hans-Peter Nilsson <hp@axis.com>
2807
7e66c3f5
HPN
2808 * ldlang.c (lang_check): Emit fatal error if relocatable link
2809 between different object flavours.
2810
2a096f04
HPN
2811 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
2812 Set new link_info member export_dynamic.
2813 * ldmain.c (main): Initialize new link_info member export_dynamic.
2814
6770ec8c
NC
28152001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
2816
2817 * ldlang.c (walk_wild): Only call walk_wild_file if
2818 lookup_name returns something.
b6bf44ba 2819 (lookup_name): If load_symbols fails, return NULL.
22af9fd3 2820 (load_symbols): Change to a boolean function.
b6bf44ba 2821 (open_input_bfds): If load_symbols fails then do not make the
6770ec8c
NC
2822 executable.
2823
8529105a
AM
28242001-06-08 Alan Modra <amodra@bigpond.net.au>
2825
2826 * ldlang.c (record_bfd_errors): Remove.
2827
2828 * emultempl/aix.em: Fix copyright dates.
2829
8f3aa7a0
AJ
28302001-06-07 Andreas Jaeger <aj@suse.de>
2831
2832 * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
2833 (TEXT_START_ADDR): Likewise.
2834
3277f888
AM
28352001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
2836
2837 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
2838
3763134d
DD
28392001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2840
2841 * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
2842
5929ebc0
L
28432001-05-31 H.J. Lu <hjl@gnu.org>
2844
2845 * ldlang.c (open_input_bfds): Don't change the bfd error
2846 handler whilst loading symbols.
2847
c04a062d
NC
28482001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2849
2850 * configure.tgt: Remove i370-mvs architecture, it is not currently
2851 supported.
2852
96fcab3e
L
28532001-05-25 H.J. Lu <hjl@gnu.org>
2854
2855 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
2856 like emulparams/aixppc.sh.
2857
db8d4f23
L
28582001-05-25 H.J. Lu <hjl@gnu.org>
2859
2860 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
2861 setting of output_filename after bfd_scan_arch.
2862 * emultempl/pe.em: Likewise.
2863
5f642101
L
28642001-05-25 H.J. Lu <hjl@gnu.org>
2865
2866 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
2867 like emulparams/aixppc.sh.
2868
2869 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
2870 instead of ${srcdir}/emultempl/stringify.sed.
2871
64e9ece0
TW
28722001-05-25 Timothy Wall <twall@oculustech.com>
2873
2874 * emulparams/elf64_aix.sh: Change settings to match IBM linker
8f3aa7a0 2875 output.
64e9ece0 2876
c709b096
AM
28772001-05-25 Alan Modra <amodra@one.net.au>
2878
2879 * configure.host: Replace linuxoldld with linux*oldld.
2880 * configure.tgt: Likewise.
2881
6cbdcc6f
L
28822001-05-24 H.J. Lu <hjl@gnu.org>
2883
2884 * emultempl/stringify.sed: Removed again.
2885
86af25fe
L
28862001-05-24 H.J. Lu <hjl@gnu.org>
2887
2888 * emultempl/aix.em (OUTPUT_ARCH): Defined.
2889 (gld${EMULATION_NAME}_before_parse): Initialize
2890 ldfile_output_architecture, ldfile_output_machine and
2891 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
2892 * emultempl/beos.em: Likewise.
2893 * emultempl/elf32.em: Likewise.
2894 * emultempl/linux.em: Likewise.
2895 * emultempl/mipsecoff.em: Likewise.
2896 * emultempl/pe.em: Likewise.
2897 * emultempl/sunos.em: Likewise.
2898
3b1b01cf
TR
28992001-05-24 Tom Rix <trix@redhat.com>
2900
8f3aa7a0 2901 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
3b1b01cf
TR
2902 udate import file format.
2903 (change_symbol_mode) New, same
2904 (is_syscall) New, same
2905 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
2906 * emulparams/aixppc64.sh : same
2907 * emulparams/aixrs6.sh : same
2908 * emulparams/ppcmacos.sh : same
2909 * emultempl/aix.em : use strtoull to parse options
2910 * Makefile.am : add eaixppc64 emulation for xcoff64
2911 * Makefile.in : same
2912 * configure.tgt : same
2913
2914 * scripttempl/aix.sc : default text section offset to 0x10000000
146e7110 2915 default data section offset to 0x20000000
3b1b01cf 2916 add .sv3264 and .sv64 pseudo sections
8f3aa7a0 2917 loader and debug sections use the currect section offset.
3b1b01cf
TR
2918
2919 * emultempl/aix.em : Add xcoff64 support
2920 Add -binitfini support
8f3aa7a0 2921 (gld${EMULATION_NAME}_before_parse) -binitfini
3b1b01cf 2922 (gld${EMULATION_NAME}_parse_args) same
8f3aa7a0 2923 (gld${EMULATION_NAME}_before_allocation) format change for special
3b1b01cf
TR
2924 sections
2925
2926 * emulparams/aixppc64.sh : New file for xcoff64 support
8f3aa7a0 2927
57e6abd2
AO
29282001-05-23 Alexandre Oliva <aoliva@redhat.com>
2929
2930 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
2931 variable to avoid non-portable shell construct.
2932
d1cf510e
NC
29332001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2934
2935 * ldmain.c (get_emulation): Add -mips5 command line argument.
2936
506eee22
NC
29372001-05-22 Alexandre Oliva <aoliva@redhat.com>
2938
2939 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
2940 (ELF_INTERPRETER_NAME): Define it.
2941 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
2942 it.
2943 * configure.tgt (targ_emul, targ_extra_emuls)
2944 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
2945 as primary, elf_i386 as extra.
2946 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
2947 (eelf_i386_ldso.c): New rule.
2948 * Makefile.in: Rebuilt.
2949
29502001-05-22 Nick Clifton <nickc@redhat.com>
2951
2952 * lexsup.c (ld_options): Allow -I to be an alias for
2953 --dynamic-linker. This is for Solaris compatability.
2954 * ld.texinfo: Document that -I can be used.
2955 * ld.1: Regenerate.
2956
d1778b88
AM
29572001-05-16 Alan Modra <amodra@one.net.au>
2958
2959 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
2960 whether an input section is the first one assigned to an output
2961 section.
2962 Assorted formatting fixes.
2963
02649152
DD
29642001-05-14 DJ Delorie <dj@delorie.com>
2965
2966 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
2967 * Makefile.in: Ditto.
2968
579f31ac
JJ
29692001-05-11 Jakub Jelinek <jakub@redhat.com>
2970
2971 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
2972 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
2973 output sections.
2974 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
2975
8550eb6e
JJ
29762001-05-11 Jakub Jelinek <jakub@redhat.com>
2977
2978 * ldlang.c (lang_process): Call bfd_merge_sections.
2979
8e5a525c
AM
29802001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2981
2982 * ldgram.y: Fix typo.
2983
1c9acd94
L
29842001-05-03 H.J. Lu <hjl@gnu.org>
2985
2986 * emultempl/elf32.em: Include "libiberty.h".
2987 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
2988 basename of the bfd filename.
2989 (gld${EMULATION_NAME}_stat_needed): Likewise.
2990 (gld${EMULATION_NAME}_try_needed): Likewise.
2991 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
2992
14fe918e
L
29932001-05-02 H.J. Lu <hjl@gnu.org>
2994
2995 * emultempl/pe.em: Include <ctype.h>.
2996
c7e40348
NC
29972001-05-02 Johan Rydberg <jrydberg@opencores.org>
2998
b6bf44ba 2999 * emulparams/elf32openrisc.sh: New file.
c7e40348 3000
b6bf44ba
AM
3001 * Makefile.am: Add OpenRISC target.
3002 * Makefile.in: Regenerated.
c7e40348 3003
b6bf44ba 3004 * configure.tgt: Add openrisc-*-* mapping.
c7e40348
NC
3005
30062001-05-02 Nick Clifton <nickc@redhat.com>
3007
3008 * emultempl/aix.em: Replace buystring with xstrdup.
3009 * emultempl/beos.em: Replace buystring with xstrdup.
8f3aa7a0 3010
d1b2b2dc
L
30112001-05-02 H.J. Lu <hjl@gnu.org>
3012
3013 * ldfile.c: Include "libiberty.h".
3014 * ldlex.l: Likewise.
3015
3016 * ldmisc.c (buystring): Removed.
3017 * ldmisc.h: Likewise.
3018
3019 * ldfile.c: Replace buystring with xstrdup.
3020 * ldlang.c: Likewise.
3021 * ldlex.l: Likewise.
3022 * ldmain.c: Likewise.
3023 * ldmisc.c: Likewise.
3024 * lexsup.c: Likewise.
3025 * mpw-eppcmac.c: Likewise.
3026
35714f2a
AJ
30272001-04-30 Andreas Jaeger <aj@suse.de>
3028
3029 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
3030
884fb58e
NC
30312001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
3032
b6bf44ba
AM
3033 * ldlang.c (load_symbols): Give emulation a chance
3034 to process unrecognized file before fatal error is
3035 reported, not after.
884fb58e 3036
87748b32
NC
30372001-04-27 Sean McNeil <sean@mcneil.com>
3038
3039 * configure.tgt: Add arm-vxworks target.
3040 * scripttempl/armcoff.sc: Support .text or .data as a section name
3041 prefix.
3042 Define _etext.
35714f2a 3043
7ce691ae
C
30442001-04-13 J.T. Conklin <jtc@redback.com>
3045
3046 * ld.texinfo: Document --fatal-warnings.
3047 * ld.1: Regenerate.
3048
3049 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
35714f2a 3050 warnings have been turned into errors.
7ce691ae
C
3051 * lexsup.c (OPTION_WARN_FATAL): Define.
3052 (ld_options): Entry for --fatal-warnings.
3053 (parse_args): Handle OPTION_WARN_FATAL.
3054 * ld.h (ld_config_type): Add fatal_warnings field.
3055
f5fa8ca2
JJ
30562001-04-13 Jakub Jelinek <jakub@redhat.com>
3057
3058 * ldmain.c (main): Default to discard_sec_merge.
3059 * lexsup.c (OPTION_DISCARD_NONE): Define.
3060 (ld_options): Add --discard-none.
3061 (parse_args): Handle OPTION_DISCARD_NONE.
3062 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
3063 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
3064 all its input sections match.
3065
fdec3cfc
L
30662001-04-05 Steven J. Hill <sjhill@cotw.com>
3067
3068 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
3069 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
3070 (eelf32ltsmip.c): New target.
3071 (eelf64btsmip.c): Likewise.
3072 (eelf64ltsmip.c): Likewise.
3073 * Makefile.in: Regenerated.
3074
3075 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
3076 target.
3077 (mips*-*-linux-gnu*): Likewise.
3078
3079 * emulparams/elf32ltsmip.sh: New. Traditional little endian
3080 MIPS taget.
35714f2a 3081 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
fdec3cfc
L
3082 target.
3083 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
3084 endian target.
3085
589bad82
HPN
30862001-04-05 Hans-Peter Nilsson <hp@axis.com>
3087
3088 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
3089 correct value of __Stext here.
3090 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
3091 .startup section.
3092
3093 * emulparams/crislinux.sh: Remove FIXME.
3094
94202e16
AM
30952001-04-02 Alan Modra <alan@linuxcare.com.au>
3096
3097 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
3098 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
3099
1268a053
HPN
31002001-03-27 Hans-Peter Nilsson <hp@axis.com>
3101
3102 * configure.tgt (cris-*-*): Change default emulation to criself.
3103 (cris-*-*aout*): New rule.
3104
d85e9ff7
AM
31052001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com>
3106
3107 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
3108 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
3109
0879a67a
AJ
31102001-03-26 Andreas Jaeger <aj@suse.de>
3111
3112 * ld.texinfo (Overview): Fix syntax in texi code.
3113
0285c67d
NC
31142001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3115
3116 * ld.texinfo: Put @c man indications to generate the ld man page.
3117 When generating man, define all the variables. Define SEEALSO
3118 and SYNOPSIS. Re-organize some lines to avoid the cross references.
3119 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
3120 (ld.1): Generate from ld.texinfo.
3121 * Makefile.in: Regenerate.
3122
c20ec07b
NC
31232001-03-23 Mark Elbrecht <snowball3@bigfoot.com>
3124
3125 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
146e7110 3126 and '-fdata-sections'. Set the VMA of STABS sections to zero.
c20ec07b 3127
cc5ce052
UD
31282001-03-17 Ulrich Drepper <drepper@redhat.com>
3129
3130 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
3131 is an absolute path look only for this file and not along the path.
3132
a1ab1d2a
UD
31332001-03-17 Ulrich Drepper <drepper@redhat.com>
3134
3135 * emultempl/elf32.em (OPTION_GROUP): New macro.
3136 Add new option Bgroup to longopts.
3137 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
3138 (gld*_list_options): Add -Bgroup and -z defs.
3139 * ld.1: Document -Bgroup and -z defs.
3140 * ld.texinfo: Likewise.
3141
788fca5a
MM
31422001-03-07 Michael Meissner <meissner@redhat.com>
3143
3144 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
3145 with sections created by -fdata-sections.
3146 (.dynbss,.bss): Ditto.
3147
1c7566d1
AM
31482001-03-05 Alan Modra <alan@linuxcare.com.au>
3149
3150 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
3151 after_allocation_default, not gld..._before_allocation.
3152
27b7e12d
AM
31532001-02-27 Alan Modra <alan@linuxcare.com.au>
3154
3155 * configure.in (BFD_VERSION): New.
3156 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
3157 * configure: Regenerate.
3158 * Makefile.am: Run "make dep-am"
3159 * Makefile.in: Regenerate.
3160
2bc551c7
TW
31612001-02-26 Timothy Wall <twall@cygnus.com>
3162
3163 * emulparams/elf64_aix.sh: Add additional read-only sections;
3164 uncomment lines which are now required.
3165
1276aefa
NC
31662001-02-26 H.J. Lu <hjl@gnu.org>
3167
3168 * ldlang.c (open_input_bfds): Set the bfd error handler so
b6bf44ba
AM
3169 that problems can be caught whilst loading symbols.
3170 (record_bfd_errors): New function: Report BFD errors and mark
3171 the executable output as being invalid.
1276aefa 3172
41c49998
TW
31732001-02-22 Timothy Wall <twall@cygnus.com>
3174
3175 * configure.host: Add configuration for ia64-*-aix*.
3176 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
3177 Add dependencies for eelf64_aix.c.
3178 * Makefile.in: Regenerate.
3179 * configure.tgt: Add ia64-*-aix* mapping.
3180 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
a2b64bed 3181 * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
0879a67a
AJ
3182 AIX-specific test.
3183
78f85fd7
L
31842001-02-20 H.J. Lu <hjl@gnu.org>
3185
3186 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
3187 false if we found the file.
3188
1ac7e077 31892001-02-18 David O'Brien <obrien@FreeBSD.org>
fb33b906
DB
3190
3191 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
3192 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
3193
e135f41b
NC
31942001-02-18 lars brinkhoff <lars@nocrew.org>
3195
3196 * Makefile.am: Add PDP-11 target.
3197 * configure.tgt: Likewise.
3198 * emulparams/pdp11.sh: New file.
3199
a842aceb
DB
32002001-02-17 David O'Brien <obrien@FreeBSD.org>
3201
3202 * configure.host: Add a generic FreeBSD configuration entry such that
3203 all [modern] FreeBSD systems on all platforms will look the same.
3204
24174db0
L
32052001-02-14 H.J. Lu <hjl@gnu.org>
3206
3207 * configure.tgt: Remove mention of earmelf_linux26.
3208
30c3c13a
RH
32092001-02-13 Richard Henderson <rth@redhat.com>
3210
3211 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
3212
b46a87b1
L
32132001-02-13 H.J. Lu <hjl@gnu.org>
3214
3215 * ldexp.h (node_type): Add etree_provided.
3216 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
3217 type to etree_provided if defined by PROVIDE. Allow updating
0879a67a 3218 for etree_provided.
b46a87b1
L
3219 (exp_print_tree): Handle etree_provided.
3220 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
3221 etree_provided.
3222
f3988fd9
RH
32232001-02-09 David Mosberger <davidm@hpl.hp.com>
3224
3225 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
3226 .IA_64.unwind.* pattern to unwind table section and
3227 .IA_64.unwind_info* pattern to unwind info section.
3228
a85d7ed0
NC
32292001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
3230
3231 * Makefile.am: Add linux target for S/390.
3232 * Makefile.in: Likewise.
3233 * configure.host: Likewise.
3234 * configure.tgt: Likewise.
3235 * emulparams/elf64_s390.sh: New file.
3236 * emulparams/elf_s390.sh: New file.
3237
780248c4
JJ
32382001-02-09 Jakub Jelinek <jakub@redhat.com>
3239
3240 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
3241 targ_extra_libpath.
3242 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
3243
0e2534bd
PB
32442001-02-06 Philip Blundell <philb@gnu.org>
3245
3246 * Makefile.am: Remove mention of earmelf_linux26.
3247 * Makefile.in: Regenerate.
3248
46c1ea57
PB
32492001-02-04 Philip Blundell <philb@gnu.org>
3250
3251 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
3252 * emulparams/armelf_linux26.sh: Delete.
3253 * configure.tgt: Remove mention of armelf_linux26 emulation.
3254
0088edd2
NC
32552001-02-01 Nick Clifton <nickc@redhat.com>
3256
3257 * ld.1: Replace occurances of -oformat with --oformat.
3258
02aa14fb
AM
32592001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
3260
3261 * ldlang.c (lang_leave_overlay): Don't set lma_region when
3262 load_base is specified.
3263
f813923c
HPN
32642001-01-24 Hans-Peter Nilsson <hp@axis.com>
3265
3266 * emultempl/elf32.em: Correct spelling in comments and listed
3267 options.
3268
c1eb1488
AM
32692001-01-23 Alan Modra <alan@linuxcare.com.au>
3270
3271 * ldlang.c (lang_leave_overlay): Only set lma_region from the
3272 default for the first section of a group of overlay sections.
3273
d9fc3714
AM
32742001-01-22 Alan Modra <alan@linuxcare.com.au>
3275
3276 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
3277 * Makefile.in: Regenerate.
3278 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
3279 Check for null tool_dir.
3280
6be0ca94
JW
32812001-01-16 Jim Wilson <wilson@redhat.com>
3282
3283 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
3284 and IA_64.unwind.info.
3285
b9247304
L
32862001-01-16 H.J. Lu <hjl@gnu.org>
3287
3288 * ldlang.c (lang_check): Merge the private data only if the
3289 input file has contents.
3290
577a0623
AM
32912001-01-14 Alan Modra <alan@linuxcare.com.au>
3292
d952f17a
AM
3293 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
3294
ffd6e9de
AM
3295 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
3296 enabling search for libmilli. On a relocatable link, make .text
3297 sections unique.
3298 (LDEMUL_AFTER_PARSE): Define.
3299 (hppaelf_finish): Correct spelling of relocatable in comments.
3300
577a0623
AM
3301 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3302 rummage through the script for sections on the unique list.
3303 Correct length of strncmp for ".note".
3304 (gld${EMULATION_NAME}_check_needed): Rearrange function.
3305
3306 * ldlang.c (unique_section_list): New var.
3307 (unique_section_p): New function.
3308 (walk_wild_section): Don't match sections on unique_section_list.
3309 (lang_add_unique): New function.
ffd6e9de 3310 Correct spelling of relocatable in comments.
577a0623
AM
3311
3312 * ldlang.h (struct unique_sections): Declare.
3313 (unique_section_list): Declare.
3314 (unique_section_p): Declare.
3315 (lang_add_unique): Declare.
3316
3317 * lexsup.c (ld_options): Allow --unique to take an optional arg.
3318 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
3319
3320 * ld.texinfo (--unique): Update.
3321
b7ed8fad
NC
33222001-01-13 Nick Clifton <nickc@redhat.com>
3323
3324 * lexsup.c (parse_args): Remove spurious white space.
3325
d0398d6a
NC
33262001-01-12 Nick Clifton <nickc@redhat.com>
3327
3328 * lexsup.c (parse_args): Update copyright date.
3329
350fdb00
PB
33302001-01-12 Philip Blundell <pb@futuretv.com>
3331
3332 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
3333
60c6797e
KH
33342001-01-10 Kazu Hirata <kazu@hxi.com>
3335
3336 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
3337 * scripttempl/h8300h.sc: Fix formatting.
3338 * scripttempl/h8300s.sc: Likewise.
69f06969
KH
3339 * scripttempl/h8500.sc: Likewise.
3340 * scripttempl/h8500b.sc: Likewise.
3341 * scripttempl/h8500c.sc: Likewise.
3342 * scripttempl/h8500m.sc: Likewise.
3343 * scripttempl/h8500s.sc: Likewise.
60c6797e 3344
482e8b32
DB
33452000-01-07 David O'Brien <obrien@BSDi.com>
3346
3347 * emultempl/elf32.em: Only perform Linux ld hints processing when
3348 targeting Linux.
3349
d7ed7ca6
PB
33502001-01-07 Philip Blundell <philb@gnu.org>
3351
3352 * ld.texinfo (Bug Reporting): Update email address for reports.
3353
0fc3347a
NC
33542000-12-31 Nick Clifton <nickc@redhat.com>
3355
3356 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
3357 options by checking for a return value of '?' not -1.
3358
e4897a32
NC
33592000-12-28 Nick Clifton <nickc@redhat.com>
3360
3361 * lexsup.c (struct ld_option): Add new enum value:
3362 EXACTLY_TWO_DASHES.
3363 (ld_options[]): Change -omagic, -output and -oformat options
3364 to be EXACTLY_TWO_DASHES.
3365 (OUTPUT_COUNT): Use ARRAY_SIZE.
3366 (parse_args): Change parameter 'argc' to unsigned.
3367 Place EXACTLY_TWO_DASHES options into new really_longopts
3368 array.
3369 If getopt_long_only fails, try calling getopt_long using the
3370 really_longopts array.
3371 (help): Print a double dash for both EXACTLY_TWO_DASHES and
3372 TWO_DASHES options.
3373
3374 * ldlex.h: Fix prototype of parse_args.
3375
3376 * ld.texinfo: Document that long options starting with 'o'
3377 must be preceeded by two dashes. Change example of a single
3378 dashed long option from -oformat to -trace-symbol.
3379
1122a5fc
NC
33802000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3381
3382 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
3383 (longopts[]): New --no-default-excludes option.
3384 (gld_${EMULATION_NAME}_list_options): Document.
3385 (gld_${EMULATION_NAME}_parse_args): Handle.
3386
037849a9
NC
33872000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3388
3389 * ldlang.c (new_stat): Revert the last beautification with "innocent"
3390 whitespace, it breaks the K&R C preprocessor.
3391
7ec229ce
DD
33922000-12-11 DJ Delorie <dj@redhat.com>
3393
3394 * ld.texinfo: Add notes about --whole-archive and gcc.
3395
b79e8c78
NC
33962000-11-18 Fred Fish <fnf@be.com>
3397
3398 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
3399 (ld_options): Entry for --allow-shlib-undefined.
3400 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
3401 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
3402 to false.
3403 * ld.texinfo: Document new command line switch.
d952f17a 3404
9a8e2505
GK
34052000-12-12 Geoffrey Keating <geoffk@redhat.com>
3406
3407 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
3408 .fixup is actually read/write.
3409 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
3410 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
3411 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
3412
3b16e843 34132000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
3414
3415 * NEWS: Add note about x86_64 architecture.
3416
93b63cd3
DD
34172000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
3418
3419 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
3420 Set DWARF2 sections to a VMA of zero.
3421
68b2fc7a 34222000-12-01 Joel Sherrill <joel@OARcorp.com>
24f6971a 3423
d952f17a 3424 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
24f6971a
NC
3425 New targets.
3426 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
3427 (sparc*-*-rtems*): Switched from a.out to ELF.
3428
2be3aa03
NC
34292000-11-30 Jan Hubicka <jh@suse.cz>
3430
3431 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
3432 (eelf_x86_64.c): New.
3433 * Makefile.in: Regenerate.
3434 * configure.tgt: Add support for x86_64-*-linux-gnu*.
3435 * emulparams/elf_x86_64.sh: New.
3436
8c899858
HPN
34372000-11-30 Hans-Peter Nilsson <hp@axis.com>
3438
3439 * emulparams/crislinux.sh (ENTRY): Change back to _start.
3440 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
3441
3442 * scripttempl/crisaout.sc: Change all RELOCATING not related to
3443 merging non-a.out sections into CONSTRUCTING.
3444
e47b9e39
NC
34452000-11-28 Nick Clifton <nickc@redhat.com>
3446
3447 * ld.1 (COPYING): Mention that the GNU Free Documentation
3448 License is present in the sources, but not the output, and
3449 also available from the GNU website.
3450 (GNU Free Documentation License): Comment out this section.
3451
ad95f82a
DB
34522000-11-28 David O'Brien <obrien@dragon.nuxi.com>
3453
3454 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
3455 does not use them.
3456
fd89e65f
DB
34572000-11-25 David O'Brien <obrien@FreeBSD.org>
3458
3459 * ld.1: Remove old date so it does not give the impression the manpage
3460 is way out of date.
3461
077b8428
NC
34622000-11-24 Nick Clifton <nickc@redhat.com>
3463
3464 * configure.tgt (xscale-coff): Add target.
3465 (xscale-elf): Add target.
3466
49425d28
NC
34672000-11-24 Fred Fish <fnf@be.com>
3468
d952f17a
AM
3469 * ldmain.c (main): Remove redundant init of config.make_executable
3470 to true.
49425d28 3471
d3480244
RH
34722000-11-15 Richard Henderson <rth@redhat.com>
3473
3474 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
3475
1ce7de8b
KH
34762000-11-14 Kazu Hirata <kazu@hxi.com>
3477
3478 * scripttempl/h8300.sc: Fix formatting.
3479 * scripttempl/h8300h.sc: Likewise.
3480 * scripttempl/h8300s.sc: Likewise.
3481
3b16e843 34822000-11-14 Denis Chertykov <denisc@overta.ru>
208d5cd0
DC
3483
3484 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
3485
2e418547
PB
34862000-11-09 Philip Blundell <pb@futuretv.com>
3487
3488 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
3489 around orphan sections whose names can be represented in C.
3490
c940e6fc
JW
34912000-11-07 Jim Wilson <wilson@redhat.com>
3492
3493 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
3494 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
3495
704c465c
NC
34962000-11-06 Nick Clifton <nickc@redhat.com>
3497
3498 * ld.texinfo: Add GNU Free Documentation License.
3499 * ldint.texinfo: Add GNU Free Documentation License.
cf055d54 3500 * ld.1: Add GNU Free Documentation License.
704c465c 3501
dca7760f
AM
35022000-11-05 Alan Modra <alan@linuxcare.com.au>
3503
3504 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
3505 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
3506
3507 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
3508 Move 2000-11-02 Makefile.in changes to this file.
3509 * Makefile.in: Regenerate.
3510
40a633d5
NC
35112000-11-03 Nick Clifton <nickc@redhat.com>
3512
3513 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
3514 constructors and destructors.
3515 * scripttempl/h8300h.sc: Ditto.
3516 * scripttempl/h8300s.sc: Ditto.
3517 * scripttempl/h8500.sc: Ditto.
3518 * scripttempl/h8500b.sc: Ditto.
3519 * scripttempl/h8500c.sc: Ditto.
3520 * scripttempl/h8500m.sc: Ditto.
3521 * scripttempl/h8500s.sc: Ditto.
3522 * scripttempl/v850.sc: Ditto.
3523 * scripttempl/w65.sc: Ditto.
3524 * scripttempl/z8000.sc: Ditto.
3525
59ff2774
NC
35262000-11-02 Per Lundberg <plundis@chaosdev.org>
3527
3528 * Makefile.in (e_i386_chaos.c): New rule.
3529 (ALL_EMULATIONS): Added e_i386_chaos.o.
3530 * emulparams/elf_i386_chaos.sh: New file.
3531 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
3532
645571e1
JJ
35332000-10-20 Jakub Jelinek <jakub@redhat.com>
3534
3535 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
3536 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
3537 Fix sed invocation, so that it coped with '/' in Solaris 64bit
3538 library path suffix.
3539 Based on patch by Andrew Macleod <amacleod@cygnus.com>.
3540
c5975a45
HPN
35412000-10-18 Hans-Peter Nilsson <hp@axis.com>
3542
3543 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
3544 for consecutive sections.
3545
ea20a7da
CC
35462000-10-17 Chandrakala Chavva <cchavva@redhat.com>
3547
d952f17a
AM
3548 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
3549 options.
3550 * ld.texinfo: Added notes about this new option.
ea20a7da 3551
6e45556a
NC
35522000-10-16 Nick Clifton <nickc@redhat.com>
3553
3554 * emultempl/pe.em (_after_open): Add tests of return values from
3555 bfd functions. Emit appropriate error messages if necessary.
3556
b9a69188
NC
35572000-10-13 Nick Clifton <nickc@redhat.com>
3558
3559 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
102c86f8
NC
3560 local variables - they are not used, but leave in the call to
3561 bfd_canonicalize_symtab.
b9a69188
NC
3562 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
3563 pe_dll_search_prefix.
3564
627427de 35652000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
d952f17a 3566
627427de
DD
3567 * emultempl/pe.em (pe_dll_search_prefix): New variable,
3568 (longopts): New --dll-search-prefix option.
3569 (gld_${EMULATION_NAME}_list_options): Document.
3570 (gld_${EMULATION_NAME}_parse_args): Handle.
3571 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
3572 dynamically, search for a dll named '<prefix><basename>.dll'
3573 in preference to 'lib<basename>.dll' if --dll-search-prefix
3574 is specified.
3575
24376d1b
AM
35762000-10-12 Alan Modra <alan@linuxcare.com.au>
3577
3578 * ldlang.c (section_already_linked): Set kept_section instead of
3579 sec->comdat->sec.
3580
e47d05ad
KH
35812000-10-10 Kazu Hirata <kazu@hxi.com>
3582
3583 * deffile.h: Fix formatting.
3584 * lexsup.c: Likewise.
3585 * mri.c: Likewise.
3586
23a87948
DD
35872000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
3588
3589 * pe-dll.c (make_one): Do not generate code thunk for DATA
3590 exports.
3591 (process_def_file): deduce DATA flag for auto-export sumbols.
3592
86b1cc60
KH
35932000-10-09 Kazu Hirata <kazu@hxi.com>
3594
89cdebba
KH
3595 * ld.h: Fix formatting.
3596 * ldcref.c: Likewise.
3597 * ldctor.h: Likewise.
3598 * ldemul.c: Likewise.
3599 * ldemul.h: Likewise.
3600 * ldexp.c: Likewise.
3601 * ldexp.h: Likewise.
3602 * ldfile.c: Likewise.
3603 * ldfile.h: Likewise.
3604 * ldlang.c: Likewise.
3605 * ldlang.h: Likewise.
3606 * ldmain.c: Likewise.
7bfd51a3
KH
3607 * pe-dll.c: Likewise.
3608
3609 * pe-dll.c: Revert some formatting fixes.
86b1cc60 3610
d643799d
KH
36112000-10-08 Kazu Hirata <kazu@hxi.com>
3612
3613 * pe-dll.c: Fix formatting.
3614
08da4cac
KH
36152000-10-05 Kazu Hirata <kazu@hxi.com>
3616
3617 * ldlang.c: Fix formatting.
3618
c2a94a7a
DD
36192000-10-03 DJ Delorie <dj@redhat.com>
3620
3621 * pe-dll.c (fill_edata): initialize entire block
3622 (make_one): fill in correct section.
3623
8c95a62e
KH
36242000-10-03 Kazu Hirata <kazu@hxi.com>
3625
3626 * ldexp.c: Fix formatting.
3627
486e80e2
DD
36282000-10-02 DJ Delorie <dj@redhat.com>
3629
3630 * emultempl/pe.em (gld_*_after_open): detect case where there two
3631 import libraries for same dll; rename one to ensure proper link
3632 order.
3633
3634 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
3635 typo
3636 (generate_edata): fix typo
3637
24dd9f75
HPN
36382000-09-29 Hans-Peter Nilsson <hp@axis.com>
3639
3640 * scripttempl/crisaout.sc (ENTRY): Now __start.
3641 (.text): Add default setting for __start.
3642 Remove CONSTRUCTORS handling.
3643 (/DISCARD/): Add .gnu.warning.*.
3644 * emulparams/crislinux.sh (ENTRY): Now __start.
3645 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
3646 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
3647 (ENTRY): Now __start.
3648 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
3649 (EXECUTABLE_SYMBOLS): Add default setting for __start.
3650
4de2d33d
KH
36512000-09-29 Kazu Hirata <kazu@hxi.com>
3652
5cc18311
KH
3653 * deffile.h: Fix formatting.
3654 * ld.h: Likewise.
3655 * ldcref.c: Likewise.
4de2d33d 3656 * ldctor.c: Likewise.
5cc18311 3657 * ldctor.h: Likewise.
4de2d33d 3658 * ldemul.c: Likewise.
5cc18311 3659 * ldemul.h: Likewise.
4de2d33d 3660 * ldexp.c: Likewise.
5cc18311 3661 * ldexp.h: Likewise.
4de2d33d 3662 * ldfile.c: Likewise.
5cc18311 3663 * ldfile.h: Likewise.
4de2d33d 3664 * ldlang.c: Likewise.
5cc18311
KH
3665 * ldlang.h: Likewise.
3666 * lexsup.c: Likewise.
3667 * mri.c: Likewise.
3668 * pe-dll.c: Likewise.
4de2d33d 3669
45b1f63c
DD
36702000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
3671
3672 * pe-dll.c (process_def_file): Uninitialized data wasn't
3673 exported with --export-all-symbols switch.
d952f17a 3674
45b1f63c
DD
36752000-09-28 DJ Delorie <dj@redhat.com>
3676
3677 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
3678 noname work properly.
3679
47d89dba
AM
36802000-09-28 Alan Modra <alan@linuxcare.com.au>
3681
3682 * ld.texinfo (HPPA ELF32): New section.
3683
3684 * emultempl/hppaelf.em (group_size): New.
3685 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
3686 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
3687 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
3688 options to prevent abbreviations matching.
3689 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
3690 (PARSE_AND_LIST_ARGS_CASES): Handle it.
3691
36bdbeec
NC
36922000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3693
3694 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
3695 on the m68*-*-elf target. Make it support COFF input objects.
3696
6d5e62f8
KH
36972000-09-21 Kazu Hirata <kazu@hxi.com>
3698
3699 * ldmain.c: Fix formatting.
3700 * ldmisc.c: Likewise.
3701 * ldver.c: Likewise.
3702 * ldwrite.c: Likewise.
3703
e2eb67d9
AM
37042000-09-21 Alan Modra <alan@linuxcare.com.au>
3705
3706 * ldwrite.c (clone_section): Silence gcc warnings.
3707
b3ea3584
AM
37082000-09-20 Alan Modra <alan@linuxcare.com.au>
3709
3710 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
3711 out of memory failure.
3712
3713 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
3714 (clone_section): Handle out of memory failures. Rename var to
3715 avoid c++ reserved word.
3716
25f72752
AM
37172000-09-18 Alan Modra <alan@linuxcare.com.au>
3718
3719 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
3720 stub_name param to stub_sec_name.
3721 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
3722
0752970e
NC
37232000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3724
3725 * emultempl/m68kelf.em: New file.
3726 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
3727 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
3728 * Makefile.in: Regenerate.
3729
92b7e9d8
AM
37302000-09-15 Alan Modra <alan@linuxcare.com.au>
3731
3732 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
3733 only as needed.
3734
9b14b192
NC
37352000-09-13 Nick Clifton <nickc@redhat.com>
3736
3737 * ldmain.c (multiple_definition): Disable relaxation if
3738 multiple symbol definitions are encountered - otherwise the
3739 linker could abort with an assertion failure.
3740
891fa266
NC
37412000-09-10 Nick Clifton <nickc@redhat.com>
3742
3743 * mri.c: Fix formatting.
3744
5d64ca4e
L
37452000-09-07 H.J. Lu <hjl@gnu.org>
3746
3747 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
3748 * configure: Rebuild.
3749
dd94604f
L
37502000-09-07 H.J. Lu <hjl@gnu.org>
3751
3752 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
3753 * Makefile.in: Rebuild.
3754
71bfc0ae
AM
37552000-09-07 Alan Modra <alan@linuxcare.com.au>
3756
3757 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
3758 broken list handling. Create __start_SECNAME and __stop_SECNAME
3759 when no place-holder. Add some comments. Test both SEC_CODE and
3760 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
ed15ac6a 3761 Handle case where no output section statement created.
71bfc0ae 3762
4a428502
AO
37632000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
3764
3765 * configure.tgt (sh-*-linux*): Added.
3766 * Makefile.am: Added eshelf_linux and eshlelf_linux.
3767 * Makefile.in: Rebuilt.
3768 * emulparams/shelf_linux.sh: New file.
3769 * emulparams/shlelf_linux.sh: New file.
3770
f9989030
AM
37712000-09-06 Alan Modra <alan@linuxcare.com.au>
3772
3773 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3774 try shuffling sections when the orphan happens to be the place
3775 holder. Keep count of unique section names generated so we speed
3776 the search for a new name.
3777
58cccadb
AO
37782000-09-06 Alexandre Oliva <aoliva@redhat.com>
3779
3780 * configure: Rebuilt with new libtool.m4.
3781
5b343f5a
NC
37822000-09-05 Nick Clifton <nickc@redhat.com>
3783
3784 * Makefile.in: Regenerate.
3785 * aclocal.m4: Regenerate.
3786 * configure: Regenerate.
3787 * config.in: Regenerate.
3788 * po/ld.pot: Regenerate.
3789
3790 * ldint.texinfo: Remove CVS revision marker - it foils local
3791 comparisons.
3792
3793 * emultempl/ticoff.em: Remove extraneous comma.
50bbae35 3794
a854a4a7
AM
37952000-09-05 Alan Modra <alan@linuxcare.com.au>
3796
3231d22e
AM
3797 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
3798 to stub section flags.
3799 (hppa_for_each_input_file_wrapper): New.
3800 (hppa_lang_for_each_input_file): New.
3801 (lang_for_each_input_file): Define to call above.
3802 (multi_subspace): New.
3803 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
3804 (PARSE_AND_LIST_PROLOGUE): Define.
3805 (PARSE_AND_LIST_LONGOPTS): Define.
3806 (PARSE_AND_LIST_OPTIONS): Define.
3807 (PARSE_AND_LIST_ARGS_CASES): Define.
3808 (hppaelf_finish): Call elf32_hppa_set_gp.
3809 (hppaelf_set_output_arch): Remove.
3810 (LDEMUL_SET_OUTPUT_ARCH): Remove.
3811
3812 * emulparams/hppalinux.sh (ELFSIZE): Define.
3813 (MACHINE): Define.
3814 (OTHER_READONLY_SECTIONS): Define.
3815 (DATA_PLT): Define.
3816 (GENERATE_SHLIB_SCRIPT): Define.
3817
5f992e62
AM
3818 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
3819 to const throughout. Change `void *' to `PTR' throughout.
3820 (lang_memory_default): Function is local to file, add `static'.
3821
3822 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
3823 (ehppalinux.c): Likewise.
3824 (earmelf.c): Likewise.
3825 (earmelf_linux.c): Likewise.
3826 (earmelf_linux26.c): Likewise.
3827 * Makefile.in: Regenerate.
3828
a854a4a7
AM
3829 * ld.h (ld_config_type): Add unique_orphan_sections.
3830 * lexsup.c (OPTION_UNIQUE): Define.
3831 (ld_options): Add "--unique".
3832 (parse_args): Handle it.
3833 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3834 search for an existing output section if unique_orphan_sections is
3835 set. Make use of bfd_get_unique_section_name rather than
3836 duplicating code here.
3837 * ld.texinfo: Describe --unique.
3838
3839 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
3840 optional arg to split-by-file.
3841 (parse_args): Handle them.
3842 * ld.texinfo: Update description of these options.
3843 * ldwrite.c (clone_section): Pass in the section name. Replace
3844 local code with bfd_get_unique_section_name.
3845 (split_sections): Tidy code and comments. Use a list traversal
3846 more appropriate to the list construction. Handle cooked section
3847 sizes. Split when split_by_reloc reached rather than exceeded.
3848 Track section size and split when split_by_file reached. Fix
3849 link_order_tail (even though it's not used).
3850 (ldwrite): Modify condition for calling split_sections to suit
3851 changed split_by_reloc and split_by_file.
3852 * ldmain.c (main): Init config.split_by_reloc and
3853 config.split_by_file to -1.
3854 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
3855 Change split_by_file to bfd_size_type.
3856
18e03609
NC
38572000-09-02 Nick Clifton <nickc@redhat.com>
3858
3859 * configure.in: Increase version number to 2.10.91.
3860 * NEWS: Mention new ability to support removal of duplicate DWARF2
3861 debug information.
3862 * configure: Regenerate.
3863 * aclocal.m4: Regenerate.
3864 * config.in: Regenerate.
3865
3a9d486c
NC
38662000-09-02 Daniel Berlin <dberlin@redhat.com>
3867
3868 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
3869 sections.
a2b64bed 3870 * scripttempl/elf32avr.sc: Ditto.
3a9d486c
NC
3871 * scripttempl/elfd10v.sc: Ditto.
3872 * scripttempl/elfd30v.sc: Ditto.
3873 * scripttempl/elfi370.sc: Ditto.
3874 * scripttempl/elfm68hc11.sc: Ditto.
3875 * scripttempl/elfm68hc12.sc: Ditto.
3876 * scripttempl/elfi386beos.sc: Ditto.
3877 * scripttempl/v850.sc: Ditto.
50bbae35 3878
ac48eca1
AO
38792000-08-31 Alexandre Oliva <aoliva@redhat.com>
3880
3881 * acinclude.m4: Include libtool and gettext macros from the
3882 top level.
3883 * aclocal.m4, configure: Rebuilt.
3884
c13b1b77
NC
38852000-08-25 Nick Clifton <nickc@redhat.com>
3886
3887 * ldlang.c (open_output): When choosing the target for a
3888 particular endianness, do nothing if the target is not
3889 supported.
3890
dcb0bd0e
L
38912000-08-25 H.J. Lu <hjl@gnu.org>
3892
3893 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
3894 check -rpath nor LD_RUN_PATH for cross link.
3895 * ld.texinfo: Document the change.
3896
5bcac8a4
HPN
38972000-08-24 Hans-Peter Nilsson <hp@axis.com>
3898
3899 * NEWS: Mention support for CRIS.
3900
6dd8c765
L
39012000-08-23 H.J. Lu <hjl@gnu.org>
3902
3903 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
3904 the current runpath list from bfd_elf_get_runpath_list ()
3905 before search.
3906
ec4eb78a
L
39072000-08-22 H.J. Lu <hjl@gnu.org>
3908
3909 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
3910 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
3911 LD_LIBRARY_PATH for native linker. Display the needed DSO if
3912 trace_file_tries is non-zero.
3913 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
3914 if trace_file_tries is non-zero.
3915
3916 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
a8175964 3917 * NEWS: Mention it.
ec4eb78a 3918
22b36938
JE
39192000-08-14 Jason Eckhardt <jle@cygnus.com>
3920
3921 * NEWS: Mention i860 support.
3922
d73e9da0
AS
39232000-08-14 Andreas Schwab <schwab@suse.de>
3924
3925 * scripttempl/elf.sc: Fix last change to use correct comment
50bbae35 3926 syntax.
d73e9da0 3927
9ac4db9c
GK
39282000-08-10 Geoff Keating <geoffk@cygnus.com>
3929
3930 * scripttempl/elf.sc: Add a comment giving the correspondence
3931 between sections, per-datum sections, and linkonce sections. Make
3932 the comment true even for .bss, .sdata, .sdata2, .sbss, and
3933 .sbss2.
3934
165589e4
JE
39352000-08-10 Jason Eckhardt <jle@cygnus.com>
3936
3937 * emulparams/elf32_i860.sh: New file.
3938 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
3939 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
3940 (eelf32_i860.c): New rule.
3941 * Makefile.in: Regenerate.
3942
345a835d
NC
39432000-08-10 Nick Clifton <nickc@cygnus.com>
3944
3945 * emulparams/mipspe.sh (ENTRY): Add definition.
3946
e374f1d9
NC
39472000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
3948
3949 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
3950 in error message.
3951
236d5abf
NC
39522000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3953
3954 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
3955 the final size of .bss section.
3956 * scripttempl/elfm68hc12.sc: Likewise.
3957
4b209b22
AM
39582000-08-04 Alan Modra <alan@linuxcare.com.au>
3959
3960 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
3961 gld${EMULATION_NAME}_parse_args for consistency. Combine
3962 lastoptind and prevoptind vars, and keep track of last optind.
3963 (gld_${EMULATION_NAME}_list_options): Rename to
3964 gld${EMULATION_NAME}_list_options.
3965
28423a68
AM
39662000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
3967
3968 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
3969 (i586-sco-sysv5uw7.1.0).
3970
b2009ff7
L
39712000-07-27 H.J. Lu <hjl@gnu.org>
3972
3973 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
3974 (PARSE_AND_LIST_PROLOGUE): New.
3975 (PARSE_AND_LIST_LONGOPTS): Likewise.
3976 (PARSE_AND_LIST_OPTIONS): Likewise.
3977 (PARSE_AND_LIST_ARGS_CASES): Likewise.
3978 (PARSE_AND_LIST_EPILOGUE): Likewise.
3979
04925e1e
AM
39802000-07-28 Alan Modra <alan@linuxcare.com.au>
3981
41392f03
AM
3982 * emultempl/armelf.em: Elide functions common to elf32.em,
3983 ie. most of the file.
3984 (arm_elf_after_open): New. Do arm specific things then call
3985 gld${EMULATION_NAME}_after_open.
3986 (arm_elf_before_allocation): New. Call
3987 gld${EMULATION_NAME}_before_allocation then do arm specifics.
3988 (PARSE_AND_LIST_PROLOGUE): Define.
3989 (PARSE_AND_LIST_SHORTOPTS): Define.
3990 (PARSE_AND_LIST_LONGOPTS): Define.
3991 (PARSE_AND_LIST_OPTIONS): Define.
3992 (PARSE_AND_LIST_ARGS_CASES): Define.
3993 (LDEMUL_AFTER_OPEN): Define.
3994 (LDEMUL_BEFORE_ALLOCATION): Define.
3995 (LDEMUL_BEFORE_PARSE): Define.
3996 (LDEMUL_FINISH): Define.
3997
3998 * emultempl/hppaelf.em: Similarly zap most of this file.
3999 (hppaelf_add_stub_section): Prototype.
4000 (hppaelf_layaout_sections_again): Prototype.
4001 (hook_in_stub): Prototype.
4002 (LDEMUL_SET_OUTPUT_ARCH): Define.
4003 (LDEMUL_FINISH): Define.
4004 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
4005
4006 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
4007 (EXTRA_EM_FILE): New.
4008 * emulparams/armelf_linux.sh: Likewise.
4009 * emulparams/armelf_linux26.sh: Likewise.
4010 * emulparams/hppalinux.sh: Likewise.
4011 * emulparams/hppaelf.sh: Likewise.
4012 (NOP): Define.
4013
4014 * emultempl/elf32.em: Fix formatting.
4015 (EXTRA_EM_FILE): Source it.
4016 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
4017 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
4018 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
4019 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
4020 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
4021 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
4022 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
4023 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
4024 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
4025 allow functions in this file to be overridden.
4026 (PARSE_AND_LIST_SHORTOPTS): Handle it.
4027
4028 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
4029
04925e1e
AM
4030 * emultempl/elf32.em: Reorganize file.
4031
88cdf297
NC
40322000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
4033
4034 * emulparams/elf64alpha.sh: Implement "-taso" emulation
4035 specific option to fit 64-bit executable in the lower
4036 31-bit address range. This is done by changing start
4037 address of .interp (the very first section of executable)
4038 and then setting EF_ALPHA_32BIT elf header flag.
4039
20bccb34
NC
40402000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4041
4042 * emultempl/m68kcoff.em: New file.
4043 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
4044 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
4045 generic.em.
4046 * Makefile.in: Regenerate.
4047
699845ef
L
40482000-07-20 H.J. Lu <hjl@gnu.org>
4049
4050 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
4051 and "disable-new-dtags" to stop getopt from treating -d/-e as
4052 abbreviations for these options.
4053
6c1439be
L
40542000-07-20 H.J. Lu <hjl@gnu.org>
4055
4056 * ld.texinfo: Add documentation for --disable-new-dtags and
4057 --enable-new-dtags.
4058
4059 * ldmain.c (main): Initialize link_info.new_dtags to false.
4060
4061 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
4062 --disable-new-dtags and --enable-new-dtags.
4063 (gld_${EMULATION_NAME}_list_options): Likewise.
4064
28c309a2
NC
40652000-07-05 Kenneth Block <krblock@computer.org>
4066
a2b64bed
NC
4067 * lexsup.c: Add optional style to demangle switch
4068 * ld.texinfo: Document optional style to demangle switch.
50bbae35 4069
9d06555c
HPN
40702000-07-20 Hans-Peter Nilsson <hp@axis.com>
4071
4072 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
4073 ecrislinux.o.
4074 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
4075 Regenerate dependencies.
4076 * Makefile.in: Rebuild.
4077 * configure.tgt (cris-*-*): New target.
4078 * emulparams/crisaout.sh, emulparams/criself.sh,
4079 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
4080 * po/POTFILES.in, po/ld.pot: Regenerate.
4081
19e3be22
L
40822000-07-20 H.J. Lu <hjl@gnu.org>
4083
4084 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
4085 Print out ignored -z options.
4086
e0ee487b
L
40872000-07-19 H.J. Lu <hjl@gnu.org>
4088
19e3be22
L
4089 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
4090 (PARSE_AND_LIST_PROLOGUE): New.
4091 (PARSE_AND_LIST_LONGOPTS): Likewise.
4092 (PARSE_AND_LIST_OPTIONS): Likewise.
4093 (PARSE_AND_LIST_ARGS_CASES): Likewise.
4094
4095 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
4096
4097 * lexsup.c (ld_options): Comment out 'z'.
4098 (parse_args): Likewise.
4099
4100 * emultempl/elf32.em: Include "elf/common.h".
4101 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
4102 options.
4103 (gld_${EMULATION_NAME}_list_options): Likewise.
4104
4105 * ld.texinfo: Add documentation for the recognized -z options.
e0ee487b 4106
49e56c49
L
41072000-07-19 H.J. Lu <hjl@gnu.org>
4108
4109 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
4110 bfd_elf_set_dt_needed_soname ().
4111
9d68bc82
DD
41122000-07-18 DJ Delorie <dj@cygnus.com>
4113
4114 * pe-dll.c (pe_dll_id_target): check object target name also
4115
53db15ed
HPN
41162000-07-18 Hans-Peter Nilsson <hp@axis.com>
4117
4118 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
4119 ${INIT_END} if relocating.
4120 (.fini): Likewise ${FINI_START} and ${FINI_END}.
4121
0ad8cf4c
DD
41222000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
4123
a2b64bed 4124 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
0ad8cf4c
DD
4125 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
4126 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
4127 errors introduced by the old dynamic lib search order.
4128
874c8c99
DD
41292000-07-17 DJ Delorie <dj@cygnus.com>
4130
4131 * pe-dll.c (process_def_file): auto-export data items also
4132 (pe_process_import_defs): also see if _imp_ form needed
4133
5b4cf3f4
DD
41342000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
4135
4136 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
4137 for dll import libraries
4138
062739d1
NC
41392000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
4140
4141 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
d952f17a 4142 gcc 2.95.2 and later.
062739d1 4143
1c64c4ed
NC
41442000-07-11 Kazu Hirata <kazu@hxi.com>
4145
50bbae35
AM
4146 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
4147 message.
1c64c4ed 4148
b71e2778
AM
41492000-07-10 Alan Modra <alan@linuxcare.com.au>
4150
4151 * ldemul.h (struct lang_input_statement_struct): Remove forward
4152 declaration.
4153 (struct search_dirs): Likewise.
4154 * ldfile.h (struct lang_input_statement_struct): Likewise.
4155 Protect file from multiple inclusion.
4156 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
4157 declaration from macro to file scope.
4158
4159 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
4160 * ldgram.y: Likewise here.
4161 * ldlang.c: And here.
4162 * ldmain.c: And here.
4163 * mpw-elfmips.c: And here.
4164 * mpw-eppcmac.c: And here.
4165 * emultempl/aix.em: And here.
4166 * emultempl/armcoff.em: And here.
4167 * emultempl/armelf.em: And here.
4168 * emultempl/armelf_oabi.em: And here.
4169 * emultempl/beos.em: And here.
4170 * emultempl/elf32.em: And here.
4171 * emultempl/hppaelf.em: And here.
4172 * emultempl/linux.em: And here.
4173 * emultempl/lnk960.em: And here.
4174 * emultempl/pe.em: And here.
4175 * emultempl/sunos.em: And here.
4176 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
4177 * mpw-idtmips.c: Ditto.
4178 * emultempl/generic.em: Ditto.
4179 * emultempl/gld960.em: Ditto.
4180 * emultempl/gld960c.em: Ditto.
4181 * emultempl/mipsecoff.em: Ditto.
4182 * emultempl/ticoff.em: Ditto.
4183 * emultempl/vanilla.em: Ditto.
4184
4185 * pe-dll.c: Include ldfile.h
4186 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
4187
4188 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
4189 arguments to bfd_elf32_size_dynamic_sections call.
4190 (gldelf32ebmip_place_orphan): Add missing arguments to
4191 lang_leave_output_section_statement call.
4192
2ef53d66
L
41932000-07-10 H.J. Lu <hjl@gnu.org>
4194
4195 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
4196 DLL_SUPPORT.
4197 (strhash): Likewise.
4198 (compute_dll_image_base): Likewise.
4199 (pe_undef_found_sym): Likewise.
4200 (pe_undef_cdecl_match): Likewise.
4201 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
4202 argument "arch" with ATTRIBUTE_UNUSED.
4203
9a8cbb09
AM
42042000-07-10 Alan Modra <alan@linuxcare.com.au>
4205
4206 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
4207
4208 From Ryan Bradetich <rbradetich@uswest.net>
4209 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
50bbae35 4210
4900fc06
AM
42112000-07-09 Alan Modra <alan@linuxcare.com.au>
4212
4213 Changes to create multiple linker stubs, positioned immediately
4214 before the section where they are required.
4215 * emultempl/hppaelf.em: Include elf32-hppa.h.
4216 (stub_sec, file_chain): Delete.
4217 (hppaelf_create_output_section_statements): Don't make a stub
4218 section here.
4219 (hook_stub_info): New struct.
4220 (hook_in_stub): New function.
4221 (hppaelf_add_stub_section): New function.
4222 (hppaelf_finish): Do nothing for relocateable links. Modify the
4223 call to elf32_hppa_size_stubs. Move code for updating section
4224 layout from here...
4225 (hppaelf_layaout_sections_again): ..to here, a new function.
4226
4227 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
4228 broken list handling. Pass in a pointer to the list.
4229 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
4230 for above changes.
4231 (hppaelf_before_parse): Prototype.
4232 (hppaelf_set_output_arch): Prototype.
4233 (hppaelf_create_output_section_statements): Prototype.
4234 (hppaelf_delete_padding_statements): Prototype.
4235 (hppaelf_finish): Prototype.
4236
4237 Merge from elf32.em
4238 * emultempl/hppaelf.em: Include ctype.h.
4239 (struct orphan_save): New.
4240 (gld${EMULATION_NAME}_place_orphan): New.
4241 (output_rel_find): New.
4242 (hppaelf_get_script): Update from elf32.em.
4243 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
4244 Change emulation_name field to "${EMULATION_NAME}". Add
50bbae35 4245 gld${EMULATION_NAME}_place_orphan.
4900fc06
AM
4246
4247 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
4248 ehppalinux.o, sort it. Regenerate dependencies.
4249 (ehppalinux.c): Depend on hppaelf.em
4250 * Makefile.in: Regenerate.
4251
4252 * configure.tgt: targ_emul=hppalinux for hppa*linux
4253
4254 * emulparams/hppalinux.sh: New.
4255 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
4256
227aeb07
AM
42572000-07-08 Alan Modra <alan@linuxcare.com.au>
4258
4259 * lexsup.c (parse_args): Copy section name.
4260
28609fd4 42612000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
602e90d3 4262
2ef53d66 4263 * emultempl/pe.em: institute the following search order for
602e90d3
DD
4264 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
4265 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
4266 static lib (libfoo.a) if none of the above are found.
4267
5f577f7d
DD
42682000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
4269
50bbae35 4270 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
5f577f7d 4271 (longopts): New --{enable,disable}-auto-image-base options.
50bbae35 4272 (gld_${EMULATION_NAME}_list_options): Document.
5f577f7d
DD
4273 (gld_${EMULATION_NAME}_parse): Handle.
4274 (strhash): New static function.
50bbae35 4275 (compute_dll_image_base): New static function.
5f577f7d
DD
4276 (gld_${EMULATION_NAME}_set_symbols): Use.
4277
9a8cbb09 42782000-07-05 DJ Delorie <dj@redhat.com>
302ab118
DD
4279
4280 * MAINTAINERS: new
4281
3548145d 42822000-07-01 Koundinya K <kk@ddeorg.soft.net>
50bbae35
AM
4283
4284 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
4285 * emulparams/elf32btsmip.sh: New file.
4286 * Makefile.am: Add traditional mips target.
4287 * Makefile.in: Rebuild.
4288
67798033
L
42892000-07-01 H.J. Lu <hjl@gnu.org>
4290
4291 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
4292 automake to use YLWRAP.
4293 * Makefile.in: Rebuild.
4294
0bdaf48b
AM
42952000-07-01 Alan Modra <alan@linuxcare.com.au>
4296
4297 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
4298 (CLEANFILES): Add DEPA.
4299 * Makefile.in: Regenerate.
4300
c9e769c2
TW
43012000-06-30 Timothy Wall <twall@ppc>
4302
4303 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
4304 the page in the upper octet of the address.
4305
65aa24b6
NC
43062000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
4307
4308 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
4309
4667035e
AM
43102000-06-24 Alan Modra <alan@linuxcare.com.au>
4311
4312 * NEWS: arm-elf does --gc-sections too.
4313
1581f8c9
AM
43142000-06-22 Alan Modra <alan@linuxcare.com.au>
4315
4316 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
4317 find one.
4318 * Makefile.in: Regenerate.
4319
01580992
L
43202000-06-21 H.J. Lu <hjl@gnu.org>
4321
4322 * Makefile.am: Rebuild dependency.
4323 * Makefile.in: Rebuild.
4324
bbeb2e03
L
43252000-06-20 H.J. Lu <hjl@gnu.org>
4326
4327 * Makefile.am: Rebuild dependency.
4328 * Makefile.in: Rebuild.
4329
74459f0e
TW
43302000-06-20 Timothy Wall <twall@cygnus.com>
4331
4332 * scripttempl/tic54xcoff.sc: New.
4333 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
4334 * gen-doc.texi: Add flag for TI COFF.
4335 * ld.texinfo: Add documentation for TI COFF handling switches.
4336 * emultempl/ticoff.em: New. TI COFF handling.
4337 * configure.tgt: Add tic54x target.
4338 * Makefile.am: Add tic54x target.
4339 * Makefile.in: Ditto.
4340
2ab47eed
AM
43412000-06-20 Alan Modra <alan@linuxcare.com.au>
4342
4343 * ldmain.c (set_scripts_dir): Correct pointer comparison when
4344 checking for backslashes.
4345
919e4093
AM
43462000-06-19 Alan Modra <alan@linuxcare.com.au>
4347
4348 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
4349
987fd5b4
AM
43502000-06-18 Alan Modra <alan@linuxcare.com.au>
4351
4352 * NEWS: Update list of targets supporting --gc-sections.
4353
4354 * scripttempl/elf.sc: KEEP .eh_frame contents.
4355 * scripttempl/elfd30v.sc: Same here.
4356
60bcf0fa
NC
43572000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
4358
4359 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
4360 and m68hc11 (elf).
4361 * Makefile.in: Rebuild.
4362 * configure.tgt: Recognize m68hc12 and m68hc11.
4363 * scripttempl/elfm68hc12.sc: New file.
4364 * emulparams/m68hc12elfb: New emulation.
4365 * emulparams/m68hc12elf: New emulation.
4366 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
4367 (includes a memory.x script to define the ROM and RAM banks).
4368 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
4369 New configuration files for support of Motorola 68hc11
4370
c7c54483
AM
43712000-06-15 Alan Modra <alan@linuxcare.com.au>
4372
4373 * ldmain.c (main): Only change SEC_READONLY for final link.
4374
bcef29e6
L
43752000-06-13 H.J. Lu <hjl@gnu.org>
4376
4377 * configure: Regenerate.
4378
946efd95
DB
43792000-06-08 David O'Brien <obrien@FreeBSD.org>
4380
4381 * configure.in (VERSION): Update to show this is the CVS mainline.
4382
57a6fd07
DB
43832000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4384
4385 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
4386 input objects to be ECOFF.
4387 (check_sections): einfo takes %B, not %P, to print a BFD name.
4388
e06cae36
L
43892000-06-05 Michael Matz <matz@ifh.de>
4390
4391 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
d952f17a 4392 version scripts.
e06cae36 4393
d952f17a 4394 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
e06cae36 4395
2f0b56c0
DC
43962000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
4397
4398 * emulparams/avr1200.sh (STACK): Define as 0.
4399 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
4400 * emulparams/avr4433.sh (STACK): Likewise.
4401 * emulparams/avr44x4.sh (STACK): Likewise.
4402 * emulparams/avr85xx.sh (STACK): Likewise.
4403 * emulparams/avrmega103.sh (STACK): Likewise.
4404 * emulparams/avrmega161.sh (STACK): Likewise.
4405 * emulparams/avrmega603.sh (STACK): Likewise.
4406 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
4407 (__stack): Define from ${STACK} for main().
4408
2114f57b
AM
44092000-05-26 Alan Modra <alan@linuxcare.com.au>
4410
4411 * Makefile.am: Update dependencies with "make dep-am"
4412 * Makefile.in: Regenerate.
4413
5af11cab
AM
44142000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
4415
4416 * ldmain.c: Include filenames.h.
4417 (set_scripts_dir): Support backslashes in program name.
4418
1f0df59a
NC
44192000-05-22 Igor Shevlyakov <igor@windriver.com>
4420
4421 * ldmain.c (main): When deciding if ".text" section should be
50bbae35
AM
4422 read-only, don't forget to reset SEC_READONLY because it
4423 could be already set.
1f0df59a 4424
176355da
NC
44252000-05-22 Thomas de Lellis <tdel@windriver.com>
4426
50bbae35
AM
4427 * ld.1: Add documentation for new command line option:
4428 --section-start <sectionname>=<sectionorg>
4429 This is a generic version of -Ttext etc. which accepts
4430 any section name as a parameter instead of just text/data/
4431 bss.
4432 * ld.texinfo: More docs.
4433 * NEWS: More docs.
4434 * lexsup.c: (parse_args): Recognize new command line option.
176355da 4435 (ld_options): Add new option.
50bbae35 4436
8c5ff972
L
44372000-05-18 H.J. Lu <hjl@gnu.org>
4438
4439 * lexsup.c (parse_args): `i' == `r', not `q'.
4440
3b16e843 44412000-05-18 Jeffrey A Law (law@cygnus.com)
0b76fe77
JL
4442
4443 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
4444
a712da20
NC
44452000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
4446 Rick Gorton <gorton@scrugs.lkg.dec.com>
50bbae35 4447
a712da20
NC
4448 Add support for '-q' == '--emit-relocs' switch.
4449 * ldmain.c (main): Default to false.
4450 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
4451 * NEWS: Describe the emitrelocations switch.
4452 * ld.texinfo: Describe the emitrelocations switch.
4453
690a460e
NC
44542000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
4455
a2b64bed 4456 * emultempl/pe.em (_open_dynamic_archive): New function: Search
690a460e
NC
4457 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
4458 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
4459 link options.
50bbae35 4460
c2f1343c
AM
44612000-05-15 David O'Brien <obrien@FreeBSD.org>
4462
4463 * lexsup.c (parse_args): Update the year in the copyright notice.
4464
897083bd
AM
44652000-05-13 Alan Modra <alan@linuxcare.com.au>
4466
4467 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
4468 Replace defines with those from intl/libgettext.h to quieten gcc
4469 warnings.
4470
cd4c806a
L
44712000-05-10 H.J. Lu <hjl@gnu.org>
4472
4473 * ldlang.c (open_input_bfds): Don't load the same file within
4474 a group again if the whole archive has been loaded already.
4475
93697284
AM
44762000-05-03 Alan Modra <alan@linuxcare.com.au>
4477
4478 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
4479 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
4480 strtoul.
4481
3b16e843 44822000-05-01 Jim Wilson <wilson@cygnus.com>
ebd6fc29 4483
99a4150f 4484 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
50bbae35 4485
ebd6fc29
JW
4486 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
4487 host "ia64-*-linux-gnu*".
4488
a1934524
AM
44892000-04-29 Andreas Jaeger <aj@suse.de>
4490
4491 * ld.h: Correctly check GCC version.
4492
3b16e843 44932000-04-25 Jeffrey A Law (law@cygnus.com)
730a39a0
JL
4494
4495 * Makefile.am: Add PA64 support. Add missing dependencies for
4496 PA32 elf support.
4497 * Makefile.in: Rebuilt.
4498 * configure.tgt: Add PA64 support (currently disabled).
4499
aea4bd9d
AM
45002000-04-25 Alan Modra <alan@linuxcare.com.au>
4501
4502 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
4503 (output_rel_find): New function.
4504 (hold_section, hold_use): Delete.
4505 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
4506 hold_interp): Make local to place_orphan.
4507 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
4508 rather than place_section to find possible previous use of orphan.
4509 Similarly find the place-holder output sections. Use returned
4510 value from lang_enter_output_section_statement rather than calling
4511 lang_output_section_statement_lookup.
4512 * emultempl/armelf.em: Same here.
4513 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
4514
4515 * ldlang.c (lang_enter_output_section_statement): Return output
4516 section statement.
4517 * ldlang.h (lang_enter_output_section_statement): Change
4518 declaration too.
4519
4520 * ldlang.h (lang_output_section_statement): Export it.
4521 * ldlang.c (lang_output_section_statement): Ditto.
4522
2b5fc1f5
NC
45232000-04-24 Nick Clifton <nickc@cygnus.com>
4524
4525 * ld.texinfo (Output Section Data): Add note that section data
4526 commands cannot appear outside of section directives.
4527
d8475ff6
JL
45282000-04-2 Matthew Green <mrg@cygnus.com>
4529
4530 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
4531
3b16e843
NC
45322000-04-21 Richard Henderson <rth@cygnus.com>
4533 David Mosberger <davidm@hpl.hp.com>
800eeca4
JW
4534
4535 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
4536 (eelf64_ia64.c): New rule.
4537 * Makefile.in: Rebuild.
4538 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
4539 * emulparams/elf64_ia64.sh: New file.
50bbae35 4540
c9637625
RH
45412000-04-21 Richard Henderson <rth@cygnus.com>
4542
4543 * scripttempl/elfd30v.sc: Place .gcc_except_table.
4544
28ea9521
AM
45452000-04-19 Alan Modra <alan@linuxcare.com.au>
4546
4547 * dep-in.sed: Match space at start of file name, not at end.
4548
20d04697
L
45492000-04-18 H.J. Lu <hjl@gnu.org>
4550
4551 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
4552 lang_leave_output_section_statement () after calling
4553 lang_enter_output_section_statement ().
4554 * emultempl/armelf.em: Likewise.
4555
5ba47421
AM
45562000-04-18 Alan Modra <alan@linuxcare.com.au>
4557
4558 * emultempl/elf32.em (struct orphan_save): Add section field.
4559 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
4560 better order, and place first orphan section as we did before the
4561 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
4562 Don't call make_bfd_section here, let wild_doit do the job for us.
4563 Don't build a statement list when we'll only throw it away.
4564 * emultempl/armelf.em: Ditto.
4565 * emultempl/pe.em: Similarly.
4566
bdbe5705
GK
45672000-04-14 Geoff Keating <geoffk@cygnus.com>
4568
4569 * scripttempl/elfppc.sc: Remove.
4570 * emulparams/elf32ppc.sh: Use elf.sc.
4571 * emulparams/elf32lppc.sh: Use elf.sc.
4572 * emulparams/elf32ppclinux.sh: Use elf.sc.
4573 * emulparams/elf32ppcsim.sh: New file.
4574 * emulparams/elf32lppcsim.sh: New file.
4575 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
4576 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
4577 * Makefile.in: Regenerate.
4578 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
4579
01cc8ff8
AM
45802000-04-14 Alan Modra <alan@linuxcare.com.au>
4581
5ba47421 4582 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
01cc8ff8 4583 ~SEC_ALLOC sections too. Init start address of debug sections.
5ba47421
AM
4584 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
4585 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
01cc8ff8
AM
4586 Also set all relocateable section start addresses.
4587
6c86c541
GK
45882000-04-13 Geoff Keating <geoffk@cygnus.com>
4589
4590 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
4591 Add new BSS_PLT variable for when .plt need not be contained in
4592 the file. Move _etext so that it is also after .fini, and provide
4593 both etext and _etext with a leading underscore. Mark the start
4594 and end of .sbss.
4595
6a345e87
AM
45962000-04-12 Alan Modra <alan@linuxcare.com.au>
4597
4598 * emultempl/elf32.em (struct orphan_save): New.
4599 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
4600 hold_interp): Make them struct orphan_save.
4601 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
4602 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
4603 the end of the relevant section list. Also add associated section
4604 statements to the end of any previous orphan statements.
4605 * emultempl/armelf.em: Similarly.
4606 * emultempl/pe.em: Similarly.
4607
8be86746
AM
46082000-04-11 Alan Modra <alan@linuxcare.com.au>
4609
4610 * ld.texinfo (Simple Example): Remove extraneous paragraph.
4611
3b16e843 46122000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
50bbae35 4613
a2d91340 4614 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
50bbae35 4615 --enable-build-warnings option.
a2d91340
AC
4616 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
4617 * Makefile.in, configure: Re-generate.
4618
41b49281
AM
46192000-04-04 Alan Modra <alan@linuxcare.com.au>
4620
8ad3436c
AM
4621 * po/ld.pot: Regenerate.
4622
4623 * lexsup.c (help): Restore translated part of bug string.
4624
41b49281
AM
4625 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
4626 (DEP): Quote when passing vars to sub-make. Add warning message
4627 to end.
4628 (DEP1): Rewrite for "gcc -MM".
4629 (CLEANFILES): Add DEP2.
4630 Update dependencies.
4631 * Makefile.in: Regenerate.
4632
c20f4f8c
AM
46332000-04-03 Alan Modra <alan@linuxcare.com.au>
4634
4635 * ld.h: #include "bin-bugs.h"
4636 * lexsup.c (help): Use REPORT_BUGS_TO.
4637
adde6300
AM
46382000-03-27 Denis Chertykov <denisc@overta.ru>
4639
4640 * configure.tgt (avr-*-*): New target support.
4641 * Makefile.am: Likewise.
4642 * scripttempl/elf32avr.sc: New script file.
4643 * emulparams/avr1200.sh: New file.
4644 * emulparams/avr23xx.sh: New file.
4645 * emulparams/avr4433.sh New file.
4646 * emulparams/avr44x4.sh New file.
4647 * emulparams/avr85xx.sh New file.
4648 * emulparams/avrmega103.sh New file.
4649 * emulparams/avrmega161.sh New file.
4650 * emulparams/avrmega603.sh New file.
4651 * Makefile.in: Regenerate.
4652
9282ff41
L
46532000-03-09 Andreas Jaeger <aj@suse.de>
4654
4655 * Makefile.am (check-DEJAGNU): Also unset LANG.
4656 * Makefile.in: Rebuild.
4657
a9998805
ILT
46582000-03-06 Ian Lance Taylor <ian@zembu.com>
4659
4660 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
4661 archive.
4662
f9bc20e7
NC
46632000-03-02 H.J. Lu <hjl@gnu.org>
4664
4665 * emulparams/elf32mcore.sh: Include "getopt.h".
4666
4e277b38
ILT
46672000-03-01 Ian Lance Taylor <ian@zembu.com>
4668
4669 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
4670
f0c87f88
NC
46712000-03-01 H.J. Lu <hjl@gnu.org>
4672
4673 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
4674 * emulparams/shpe.sh: Likewise.
4675
46762000-03-01 Nick Clifton <nickc@cygnus.com>
4677
4678 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
4679 to unused parameters.
4680
4681 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
4682 functions only used by DLL code.
4683 (_place_orphan): Initialise 'dollar'.
4684
b6f29aaa
L
46852000-03-01 H.J. Lu <hjl@gnu.org>
4686
4687 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
4688 indicate if the undefined symbol is a fatal error or not.
4689 Don't delete the output file if "fatal" is false.
4690
af28fce3
L
46912000-02-29 H.J. Lu <hjl@gnu.org>
4692
50bbae35 4693 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
af28fce3
L
4694 Set LC_COLLATE and LC_ALL to null and export them. It is for
4695 sort which expects the C locale.
4696 Add $(LIBS) to all $(HOSTING_LIBS).
4697 * Makefile.in: Rebuild.
4698
40d109bf
AM
46992000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
4700
4701 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
4702 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
4703 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
4704 (ld_emulation_xfer_struct): Add missing NULL initialiser for
4705 find_potential_libraries.
4706
db5be682
JB
47072000-02-28 Jim Blandy <jimb@redhat.com>
4708
4709 * ldgram.y (exclude_name_list): Don't require a comma to separate
50bbae35 4710 list entries; the lexer considers commas to be valid part of a
db5be682
JB
4711 filename, so in something like `foo, bar' the comma is considered
4712 part of the first filename, `foo,'.
4713 * ld.texinfo: Update section on EXCLUDE_FILE lists.
4714
3558ff4c
ILT
47152000-02-27 Loren J. Rittle <ljrittle@acm.org>
4716
4717 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
4718 host "i[3456]86-*-freebsdelf*".
4719
4eee2681
ILT
47202000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
4721
4722 * scripttempl/i386go32.sc: Move misplaced semicolons.
4723
8d75d12d
ILT
47242000-02-25 Ian Lance Taylor <ian@zembu.com>
4725
4726 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
4727 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
4728 (eelf64hppa.c, ehppaelf.c): Remove targets.
4729 * Makefile.in: Rebuild.
4730
a1836d49
AO
47312000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4732
ad51fb57
AO
4733 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
4734 GNU/Linux/sparc, but keep the default as 32.
4735
a1836d49
AO
4736 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
4737 it default if sparcv9 or sparc64.
4738
344a211f
NC
47392000-02-24 Nick Clifton <nickc@cygnus.com>
4740
4741 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
4742 * Makefile.in: Regenerate.
4743 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
4744
4745 * ldemul.h (ld_emulation_xfer_struct): Add new field:
4746 find_potential_libraries.
4747 * ldemul.c (ldemul_find_potential_libraries): New function.
4748
4749 * ldfile.c (ldfile_open_file_search): Allow function to be
50bbae35 4750 exported.
344a211f
NC
4751 (ldfile_open_file): Call ldemul_find_potential_libraries.
4752 * ldfile.h: Add prototype for ldfile_open_file_search.
4753
4754 * pe-dll.c: Add support for ARM, MIPS and SH targets.
4755
4756 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
4757 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
4758
4759 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
4760 (gld_X_find_potential_libraries): New function. Search for
4761 libraries called "*.lib".
4762
a2b64bed 4763 * scripttempl/pe.sc: Add .pdata section.
344a211f 4764
eaba1dd3
RH
47652000-02-23 Richard Henderson <rth@cygnus.com>
4766
4767 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
4768 Add and use memory regions.
4769
5b93d8bb
AM
47702000-02-23 Linas Vepstas (linas@linas.org)
4771
4772 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
4773
4774 * Makefile.am: Add support for Linux/IBM 370.
4775 * configure.tgt: Likewise.
4776
4777 * Makefile.in: Regenerate.
4778
f6af82bd
AM
47792000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
4780
4781 * ldlang.c (print_input_section, print_data_statement,
4782 print_reloc_statement, print_padding_statement, insert_pad,
4783 size_input_section, lang_check_section_addresses,
4784 lang_size_sections, lang_do_assignments, lang_set_startof,
50bbae35 4785 lang_one_common): Change `opb' to unsigned.
f6af82bd
AM
4786 (lang_do_assignments): Also change `size' to unsigned.
4787
9e673ad1
RH
47882000-02-16 Richard Henderson <rth@cygnus.com>
4789
4790 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
4791
562d3460
TW
47922000-02-16 Timothy Wall <twall@cygnus.com>
4793
4794 * mri.c (mri_draw_tree): Add default LMA region argument to call
4795 to lang_leave_output_section_statement.
4796 * ldlang.h: Update prototypes with LMA region arguments.
4797 * ldlang.c (lang_size_sections): Encapsulate region bounds
4798 checking in os_check_region call.
4799 (os_check_region): New function.
4800 (lang_output_section_statement_lookup): Initialize lma_region.
4801 (lang_leave_output_section_statement): Add LMA region argument.
4802 (lang_leave_overlay): Ditto.
4803 * ldgram.y: Handle LMA region syntax.
4804 * ld.texinfo (Output Section Description): Describe LMA region usage.
4805 * emultempl/armelf.em (gld$place_orphan): Add default value for
01cc8ff8 4806 lma region in call to lang_leave_output_section_statement.
562d3460 4807 * emultempl/elf32.em (gld$place_orphan): Add default value for
01cc8ff8 4808 lma region in call to lang_leave_output_section_statement.
562d3460 4809 * emultempl/pe.em (gld$place_orphan): Add default value for
01cc8ff8 4810 lma region in call to lang_leave_output_section_statement.
50bbae35
AM
4811
4812
9e4ed18c
TW
48132000-02-04 Timothy Wall <twall@redhat.com>
4814
4815 * ldlang.c (lang_check_section_addresses): Use bytes instead of
4816 octets when calculating section end addresses.
4817
32edc927
TW
48182000-02-04 Timothy Wall <twall@redhat.com>
4819
4820 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
4821
4cbfc3ac
TW
48222000-02-03 Timothy Wall <twall@redhat.com>
4823
a2b64bed 4824 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
4cbfc3ac 4825 octet count.
a2b64bed 4826 * ldlang.c (print_input_section, print_data_statement,
4cbfc3ac
TW
4827 print_reloc_statement, print_padding_statement): Print target
4828 address values and section sizes as bytes, not octets.
4829 (insert_pad) Calculate padding size in octets, and adjust "dot"
4830 by bytes.
4831 (size_input_section) Always adjust "dot" by bytes, not octets.
4832 (lang_check_section_addresses, lang_do_assignments) Adjust
4833 "dot" by bytes, not octets. Use the larger of the directive size
4834 or octets_per_byte for the number of octets actually allocated in
4835 the output section.
4836 (lang_set_startof) Make sure STARTOF returns a target address.
4837 (lang_one_common) Record size changes in octets.
4838 (lang_abs_symbol_at_end_of) Section end symbol's value is
4839 recorded in target bytes.
68b2fc7a 4840 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
4cbfc3ac 4841 to be clear about behavior when an octet is smaller than one byte.
50bbae35 4842
305c7206
AM
48432000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
4844
4845 * ldcref.c (output_cref): Don't pass message strings to printf
4846 as format arg.
4847 Update copyright.
4848
4849 * ldmisc.c (vfinfo): Same here.
4850 Update copyright.
4851
e1c47aa4
AM
48522000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
4853
4854 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
4855 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
4856 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
4857 Add missing NULL initialisers, and comments.
4858
4859 * testsuite/ld-srec/sr3.cc (__rethrow): New.
4860
13392b77
NC
48612000-01-21 Nick Clifton <nickc@cygnus.com>
4862
4863 * ldlang.c (lang_size_sections): Fix typo in comment.
4864
cce4c4c5
NC
48652000-01-18 H.J. Lu <hjl@gnu.org>
4866
4867 * ldlang.c (lang_size_sections): Also update the current
4868 address of a region if the SEC_NEVER_LOAD bit is not set.
4869
0decc840
NC
48702000-01-10 Philip Blundell <pb@futuretv.com>
4871
4872 * configure.tgt (arm*-*-conix*): New target.
4873
4e53152f
NC
48742000-01-07 Nick Clifton <nickc@cygnus.com>
4875
4876 * ld.texinfo (Options): Remind users to preceed linker command
fa19fce0
NC
4877 line switches with -Wl, (or whatever is appropriate) if it is
4878 being invoked by a comnpiler driver program.
50bbae35 4879 Fix description of the behaviour of the -n command line switch.
4e53152f 4880
3b16e843 48812000-01-05 Catherine Moore <clm@cygnus.com>
18625d54
CM
4882
4883 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
4884 (name_list): New.
4885 * ld.texinfo (EXCLUDE_FILE): Update documentation.
4886 * ldgram.y (wildcard_spec): Support a list of excluded_files.
4887 (exclude_name_list): New.
4888 ldlang.c (walk_wild_section): Support list of excluded files.
4889 (print_wild_statement): Likewise.
4890 (lang_add_wild): Likewise.
4891 * ldlang.h (lang_wild_statement_type): Likewise.
4892 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
6ddeca85 4893
5aaace27
NC
48942000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
4895
870df5dc
NC
4896 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
4897 (process_def_file): Use.
4898 (pe_dll_compat_implib): New variable.
4899 (make_one): Use.
50bbae35 4900
870df5dc
NC
4901 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
4902 pe_dll_compat_implib.
50bbae35
AM
4903
4904 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
870df5dc
NC
4905 compat-implib options.
4906 (gld_${EMULATION_NAME}_list_options): List new options.
4907 (gld_${EMULATION_NAME}_parse_args): Handle.
4908
50bbae35 4909 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
5aaace27 4910 dll.
50bbae35
AM
4911
4912 * deffilep.y (opt_name): Allow "." in name.
5aaace27 4913
2f6d2f85 4914For older changes see ChangeLog-9899
252b5132
RH
4915\f
4916Local Variables:
4917mode: change-log
4918left-margin: 8
4919fill-column: 74
4920version-control: never
4921End:
This page took 0.414222 seconds and 4 git commands to generate.