*** empty log message ***
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
b553b183
NC
12002-06-20 Nick Clifton <nickc@cambridge.redhat.com>
2
3 * ld.texinfo (Bug Reporting): Update text to suggest a limit on
4 the size of attached object files, to allow make the object files
5 available via FTP or HTTP and to mention that the mail will be
6 sent to a mailing list.
7
2755afba
NC
82002-06-20 Nathanael Nerode <neroden@twcny.rr.com>
9
10 * ld/configure.host (romp): Drop support.
11
7d0a848e
CD
122002-06-18 Chris Demetriou <cgd@broadcom.com>
13
14 * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Check
15 section flags for SEC_DATA, rather than for SEC_CODE being unset.
16
8505f884
CD
172002-06-18 Chris Demetriou <cgd@broadcom.com>
18
19 * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Fix
20 format specifier used to print BFD name.
21
7d553a40
DB
222002-06-18 Dave Brolley <brolley@redhat.com>
23
24 From Catherine Moore, Michael Meissner, Jim Blandy:
25 * emulparams/elf32frv.sh: New file.
26 * configure.tgt: Support frv-*-*.
27 * Makefile.am (ALL_EMULATIONS): Add eelf32frv.o.
28 (eelf32frv.c): New target.
29
82434356
TR
302002-06-17 Tom Rix <trix@redhat.com>
31
32 * emultempl/elf32.em: gld*_get_script: Check for
33 GENERATE_COMBRELOC_SCRIPT.
34 * scripttempl/elfd10v.sc : Fix STACK and INSN.
35 * emulparams/d10velf.sh : Fix TEXT_START_ADDR.
36
5d9b5481
JR
37Thu Jun 13 20:18:38 2002 J"orn Rennecke <joern.rennecke@superh.com>
38
39 * configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf.
40
c4bb8067
L
412002-06-12 H.J. Lu <hjl@gnu.org>
42
43 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Return
44 false if xvec doesn't match.
45
e052cfbe
RS
462002-06-10 Richard Sandiford <rsandifo@redhat.com>
47
48 * ldlang.c (lang_size_sections_1): Skip removed output sections.
49
4da711b1
AM
502002-06-08 Alan Modra <amodra@bigpond.net.au>
51
52 * ldexp.c: Replace CONST with const.
53 * ldfile.c: Likewise.
54 * ldfile.h: Likewise.
55 * ldlex.l: Likewise.
56 * mri.c: Likewise.
57 * pe-dll.h: Likewise.
58
eb95bb9a
AM
592002-06-07 Alan Modra <amodra@bigpond.net.au>
60
61 * emultempl/ppc64elf.em (new_vers_pattern): Warning fix.
62
e0076ab3
NC
632002-06-07 Charles Wilson <cwilson@ece.gatech.edu>
64
65 * ld/ldmain.c (main): initialize link_info.pei386_auto_import
66 to -1 == implicit enable.
67 * ld/emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
68 initialize link_info.pei386_auto_import to -1 == implicit
69 enable.
70 (gld_${EMULATION_NAME}_parse_args): When processing
71 --enable-auto-import and --disable-auto-import options, use
72 '1' and '0' instead of 'true' and 'false'.
73 (pe_find_data_imports): Only issue message about auto-import
74 when the feature is implicitly enabled. Downgrade message to
75 informational instead of warning.
76
f13a5424
AM
772002-06-07 Alan Modra <amodra@bigpond.net.au>
78
79 * scripttempl/elf.sc (.tbss): Fix mismatched parentheses/braces.
80
1abffd82
JL
812002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
82
83 * configure.host (hppa*64*-*-hpux11*): Define NATIVE_LIB_DIRS,
84 HOSTING_CRT0 and HOSTING_LIBS.
85
e0076ab3 862002-06-05 J"orn Rennecke <joern.rennecke@superh.com>
7a33bc10
JR
87
88 * configure.tgt (shle*-*-elf*, sh64le-*-elf*): New configurations.
89
4a5e698d
JT
902002-06-05 Jason Thorpe <thorpej@wasabisystems.com>
91
92 * emulparams/ns32knbsd.sh (EXECUTABLE_SYMBOLS): Set _DYNAMIC to 0.
93 (NONPAGED_TEXT_START_ADDR): Set to 0x1000.
94
1d475d82
AM
952002-06-05 Alan Modra <amodra@bigpond.net.au>
96
97 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place
98 SEC_EXCLUDE sections when doing a relocatable link.
99
5b0e55b6
JT
1002002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
101
102 * Makefile.am (ALL_EMULATIONS): Add eshelf32_nbsd.o,
103 eshlelf32_nbsd.o, eshelf64_nbsd.o, and eshlelf64_nbsd.o.
104 (eshelf32_nbsd.c, eshelf64_nbsd.c, eshlelf32_nbsd.c)
105 (eshlelf64_nbsd.c): New rules.
106 * Makefile.in: Regenerate.
107 * configure.tgt (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*)
108 (sh64-*-netbsd*): New targets.
109 * emulparams/shelf32_nbsd.sh: New file.
110 * emulparams/shelf64_nbsd.sh: New file.
111 * emulparams/shlelf32_nbsd.sh: New file.
112 * emulparams/shlelf64_nbsd.sh: New file.
113
9ad85d9b
AM
1142002-06-04 Alan Modra <amodra@bigpond.net.au>
115
116 * ldlang.c (section_already_linked): Call bfd_discard_group. Typo fix.
117
0c9b4fee
MM
1182002-06-02 Marek Michalkiewicz <marekm@amelek.gda.pl>
119
120 * scripttempl/avr.sc: Changes to support current GCC and avr-libc,
121 C++ constructors/destructors, loosely based on the m68hc11 port.
122
2c538bde
AM
1232002-05-31 Alan Modra <amodra@bigpond.net.au>
124
125 * Makefile.in: Regenerate.
126 * aclocal.m4: Regenerate.
127 * config.in: Regenerate.
128 * configure: Regenerate.
129
a0cb91c6
AM
1302002-05-31 Graeme Peterson <gp@qnx.com>
131
132 * Makefile.am (ALL_EMULATIONS): Add ei386nto.o.
133 (ei386nto.c): Add rule.
134 * Makefile.in: Regenerate.
135 * configure.tgt: Add i[3456]86-*-nto-qnx*.
136 * emulparams/i386nto.sh: New file.
137
37020578
JT
1382002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
139
140 * NEWS: Add entry for VAX ELF support.
141
ab68f3e0
JT
1422002-05-29 Matt Thomas <matt@3am-software.com>
143 Jason Thorpe <thorpej@wasabisystems.com>
144
145 * Makefile.am (ALL_EMULATIONS): Add eelf32vax.o and evaxnbsd.o.
146 (eelf32vax.c)
147 (evaxnbsd.c): New rules.
148 * Makefile.in: Regenerate.
149 * configure.tgt (vax-*-netbsdelf*)
150 (vax-*-netbsdaout*)
151 (vax-*-netbsd*): New targets.
152 * emulparams/elf32vax.sh: New file.
153 * emulparams/vaxnbsd.sh: New file.
154
8afb0e02
NC
1552002-05-29 Adam Nemet <anemet@lnxw.com>
156
157 * emultempl/armelf.em (arm_elf_after_open): Don't determine
158 bfd_for_interwork, instead add glue sections to each input bfd.
159 (bfd_for_interwork): New global.
160 (arm_elf_set_bfd_for_interworking): New function.
161 (arm_elf_before_allocation): Use it.
162
d172d4ba
NC
1632002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
164
165 * Makefile.am: Add DLX make target.
166 * configure.tgt: Add DLX configuration.
167 * Makefile.in: Regenerate.
168 * emulparams/elf32_dlx.sh: New file
169 * scripttempl/dlx.sc: New file
170
b4477fa8
NC
1712002-05-27 Per Lundberg <per@caleb.dnsalias.org>
172
173 * Makefile.am (eelf_i386_chaos): Use elf_chaos.sc script.
174 * Makefile.in: Regenerate.
175 * emulparams/elf_chaos.sh: Use elf_chaos script.
176 * scripttempl/elf_chaos.sc: New file.
177
ee3cc2e2
RS
1782002-05-27 Richard Sandiford <rsandifo@redhat.com>
179
180 * ldlang.c (lang_size_sections_1): Move check for conflicting load
181 addresses and regions from here...
182 (lang_get_regions): ...to this new function.
183 (lang_leave_output_section_statement): Use lang_get_regions.
184 (lang_leave_overlay): Likewise.
185 * mri.c (mri_draw_tree): Pass null as last argument to
186 lang_leave_output_section_statement.
187 * emultempl/elf32.em (gld*_place_orphan): Likewise.
188 * emultempl/mmo.em (mmo_place_orphan): Likewise.
189 * emultempl/pe.em (gld*_place_orphan): Likewise.
190
aa501e5c
JT
1912002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
192
193 * configure.tgt: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
194
658957db
KH
1952002-05-25 Kazu Hirata <kazu@cs.umass.edu>
196
197 * ldemul.c: Fix formatting.
198 * ldfile.c: Likewise.
199 * pe-dll.c: Likewise.
200 * pe-dll.h: Likewise.
201
3511b595
AM
2022002-05-25 Alan Modra <amodra@bigpond.net.au>
203
0d6d936f
AM
204 * ldlang.c (lang_process): Formatting, grammar.
205
3511b595
AM
206 * ldlex.l: Use #include "" instead of <> for local header files.
207
436e8db0
NC
2082002-05-24 TAMURA Kent <kent@netbsd.org>
209
210 * configure.tgt: Add a target for i386-netbsdpe.
211
13ae64f3
JJ
2122002-05-23 Jakub Jelinek <jakub@redhat.com>
213
214 * scripttempl/elf.sc: Add .rel{,a}.t{bss,data}, .tdata and .tbss.
215 * ldlang.c (lang_add_section): Set SEC_THREAD_LOCAL for
216 output section if necessary. Handle .tbss.
217 (lang_size_sections): Clear _raw_size for .tbss section
218 (it allocates space in PT_TLS segment only).
219 * ldwrite.c (build_link_order): Build link order for .tbss too.
220
68b2fc7a
AM
2212002-05-23 Alan Modra <amodra@bigpond.net.au>
222
223 * configure.in: Correct spelling of AC_PREREQ.
224
70b0be79
CF
2252002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
226
227 * pe-dll.c (autofilter_liblist): Add more system libs excluded by
228 default.
229 (autofilter_objlist): Add crtbegin.o, crtend.o.
230
2312002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
232
233 * emultempl/pe.em (OPTION_EXCLUDE_LIBS): Add new define.
234 (longopts): Add new option --exclude-libs.
235 (gld_${EMULATION_NAME}_list_options): Give quick help about it.
236 (gld_${EMULATION_NAME}_parse_args): Use it.
237 * pe-dll.h (pe_dll_add_excludes): Add second param to prototype.
238 * pe-dll.c (exclude_list_struct): Add field type to distinguish symbols
239 from whole archives.
240 (pe_dll_add_excludes): Set excludes->type.
241 (auto_export): Add new variable libname and set to archive basename if
242 abfd. Use it when filtering default and user-specified libarary
243 excludes. Let string "ALL" mean all libs when filtering user-specified
244 libs.
245 * ld.texinfo: Document --exclude-libs.
246
fac1652d
AM
2472002-05-22 Alan Modra <amodra@bigpond.net.au>
248
249 * ldemul.c (ldemul_new_vers_pattern): New function.
250 * ldemul.h (ldemul_new_vers_pattern): Declare.
251 (struct ld_emulation_xfer_struct): Add new_vers_pattern.
252 * ldlang.c (lang_new_vers_pattern): Call ldemul_new_vers_pattern.
253 * emultempl/ppc64elf.em (dotsyms): New static var.
254 (gld${EMULATION_NAME}_new_vers_pattern): New function.
255 (LDEMUL_NEW_VERS_PATTERN): Define.
256 (PARSE_AND_LIST_PROLOGUE): Add OPTION_DOTSYMS, OPTION_NO_DOTSYMS.
257 (PARSE_AND_LIST_LONGOPTS): Likewise.
258 (PARSE_AND_LIST_ARGS_CASES): Handle them.
259 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Update
260 initialiser.
261 * emultempl/armcoff.em: Likewise.
262 * emultempl/armelf_oabi.em: Likewise.
263 * emultempl/beos.em: Likewise.
264 * emultempl/elf32.em: Likewise.
265 * emultempl/generic.em: Likewise.
266 * emultempl/gld960.em: Likewise.
267 * emultempl/gld960c.em: Likewise.
268 * emultempl/linux.em: Likewise.
269 * emultempl/lnk960.em: Likewise.
270 * emultempl/m68kcoff.em: Likewise.
271 * emultempl/mipsecoff.em: Likewise.
272 * emultempl/pe.em: Likewise.
273 * emultempl/sunos.em: Likewise.
274 * emultempl/ticoff.em: Likewise.
275 * emultempl/vanilla.em: Likewise.
276
eb3d6bb8
AM
2772002-05-22 Alan Modra <amodra@bigpond.net.au>
278
279 * genscripts.sh (LIB_PATH): For native targets, concatenate $libdir
280 and $NATIVE_LIB_DIRS. Add $tool_lib before other libs.
281 (LIB_SEARCH_DIRS): No need to use "tr".
282 (COMPILE_IN): Only set for native targets.
283 * configure.host (NATIVE_LIB_DIRS): Specify all native search dirs
284 here, rather than adding lib:/usr/lib:/usr/local/lib in genscripts.sh.
285 * configure.tgt (powerpc*): Set tdir_*.
286 (powerpcle*): Correct targ_extra_emuls.
287 * emulparams/elf32ppc.sh (LIB_PATH): Set up native 64 bit dirs.
288 * emulparams/elf64ppc.sh (LIB_PATH): Likewise.
289
54f24647
AM
2902002-05-22 Alan Modra <amodra@bigpond.net.au>
291
292 * emultempl/pe.em (set_pe_subsystem): Don't set "cmdline" when
293 calling lang_add_entry.
294
aa713662
L
2952002-05-21 H.J. Lu (hjl@gnu.org)
296
297 * emultempl/elf32.em (gld${EMULATION_NAME}_parse_args): Handle
298 "-z muldefs".
299 (gld${EMULATION_NAME}_list_options): Add "-z muldefs".
300
301 * ld.texinfo: Updated for --allow-multiple-definition and
302 "-z muldefs".
303
304 * ldmain.c (main): Initialize the allow_multiple_definition
305 field to false.
306
307 * lexsup.c (OPTION_ALLOW_MULTIPLE_DEFINITION): New.
308 (ld_options): Add --allow-multiple-definition.
309 (parse_args): Support OPTION_ALLOW_MULTIPLE_DEFINITION.
310
658f2588
JT
3112002-05-21 Jason Thorpe <thorpej@wasabisystems.com>
312
313 * Makefile.am (ALL_EMULATIONS): Add earmelfb_nbsd.o.
314 (earmelfb_nbsd.c): New rule.
315 * Makefile.in: Regenerate.
316 * configure.tgt (armeb-*-netbsdelf*): New target.
317 (arm-*-netbsdelf*): Add armelfb_nbsd to targ_extra_emuls.
318 (arm-*-netbsd*): Likewise.
319 * emulparams/armelfb_nbsd.sh: New file.
320
ca10c62d
TR
3212002-05-18 Tom Rix <trix@redhat.com>
322
323 * emultempl/aix.em (gld*_parse_args): Add -bnortl and -bnortllib
324 support.
325
fae1e84f
MM
3262002-05-17 Marek Michalkiewicz <marekm@amelek.gda.pl>
327
328 * Makefile.am: Add new emulations avr1, avr2, avr3, avr4, avr5.
329 * Makefile.in: Regenerate.
330 * configure.tgt (avr-*-*): Add avr[1-5] to targ_extra_emuls.
331
7c8bf1e8
MM
3322002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
333
334 * emulparams/avr1.sh: New file.
335 * emulparams/avr2.sh: New file.
336 * emulparams/avr3.sh: New file.
337 * emulparams/avr4.sh: New file.
338 * emulparams/avr5.sh: New file.
339 * scripttempl/avr.sc: New file.
340
c2c01aa7
AM
3412002-05-15 Alan Modra <amodra@bigpond.net.au>
342
343 * ldlang.c (section_already_linked): Call bfd_link_just_syms.
344 (lang_place_orphans): Abort if just_syms_flag.
345
f1f0d9ab
TR
3462002-05-10 Tom Rix <trix@redhat.com>
347
348 * emultempl/aix.em: (gld*_set_output_arch): New function. Use
349 architecture and machine information in the output bfd.
350 (gld*_before_parse): Remove old arch and machine code.
351 (choose_target): Rename to gld*_choose_target.
352 (rtld): Change type to int.
353 * ldfile.c (ldfile_try_open_bfd): Disable compatiblity check for
354 objects in XCOFF archives.
355 * ldfile.h: Update copyright date.
356
f4d73366
JJ
3572002-05-10 Jakub Jelinek <jakub@redhat.com>
358
359 * ldmain.c (main): Enable -z combreloc by default.
360
d3d8a9ee
NC
3612002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
362
363 * Makefile.am: Honour DESTDIR.
364 * Makefile.in: Regenerate.
365
9f88b410
RS
3662002-05-07 Richard Sandiford <rsandifo@redhat.com>
367
368 * ldlang.h (lang_output_section_statement_type): Add update_dot_tree.
369 (lang_enter_overlay): Remove the last two parameters.
370 (lang_leave_overlay): Take them here instead.
371 * ldgram.y (memspec_at_opt): Set $$ to null if no region is given.
372 (section): Pass LMA and crossref flag to lang_leave_overlay rather
373 than lang_enter_overlay.
374 * ldlang.c (lang_memory_region_lookup): Return null for null names.
375 (lang_output_section_statement_lookup): Initialize update_dot_tree.
376 (lang_size_sections_1): Evaluate it.
377 (lang_leave_output_section_statement): Rework LMA lookup.
378 (overlay_lma, overlay_nocrossrefs): Remove.
3511b595 379 (lang_enter_overlay): Remove LMA and crossref arguments.
9f88b410
RS
380 (lang_enter_overlay_section): Don't set the LMA here.
381 (lang_leave_overlay): Take LMA and crossref arguments. Move the '.'
382 assignment to the last section's update_dot_tree. Unconditionally
383 use the load and run-time regions specified in the OVERLAY statement.
384 Likewise the first section's LMA. Only set the other sections' LMAs
385 when no load region is given.
386
b9a743c8
NC
3872002-05-06 Nick Clifton <nickc@redhat.com>
388
389 * po/sv.po: New translation.
390
a3d60be3
AM
3912002-05-04 Alan Modra <amodra@bigpond.net.au>
392
393 * emultempl/hppaelf.em (build_section_lists): New function.
394 (gld${EMULATION_NAME}_finish): Call elf32_hppa_setup_section_lists
395 and build_section_lists.
396
b7a26f91
KH
3972002-05-03 Kazu Hirata <kazu@cs.umass.edu>
398
399 * ld.h: Fix formatting.
400 * ldexp.c: Likewise.
401 * ldfile.c: Likewise.
402 * ldlang.c: Likewise.
403 * ldmain.c: Likewise.
404 * lexsup.c: Likewise.
405 * pe-dll.c: Likewise.
406
805fc799
AM
4072002-05-02 Alan Modra <amodra@bigpond.net.au>
408
409 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
410 Adjust for ppc64_elf_set_toc change. #include libbfd.h.
411 (build_section_lists): Do output_section tests here.
412
cc7e59b2
TR
4132002-04-30 Tom Rix <trix@redhat.com>
414
415 * emultempl/aix.em : (gld*_parse_arge): Formatting changes.
416
9c1d81c1
AM
4172002-05-01 Alan Modra <amodra@bigpond.net.au>
418
419 Long branch stubs, multiple stub sections.
420 * emultempl/ppc64elf.em: Include ldctor.h.
421 (stub_file): New var.
422 (group_size): New var.
423 (ppc_create_output_section_statements): New function.
424 (struct hook_stub_info): New.
425 (hook_in_stub): New function.
426 (ppc_add_stub_section): New function.
427 (ppc_layout_sections_again): New function.
428 (build_section_lists): New function.
429 (gld${EMULATION_NAME}_finish): Rewrite.
430 (real_func): New var.
431 (ppc_for_each_input_file_wrapper): New function.
432 (ppc_lang_for_each_input_file): New function.
433 (lang_for_each_input_file): Define.
434 (PARSE_AND_LIST_PROLOGUE): Define.
435 (PARSE_AND_LIST_LONGOPTS): Define.
436 (PARSE_AND_LIST_OPTIONS): Define.
437 (PARSE_AND_LIST_ARGS_CASES): Define.
438 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
439
aa67bccf
TR
4402002-04-30 Tom Rix <trix@redhat.com>
441
442 * emultempl/aix.em (gld*_parse_arge, gld*_before_allocation): Add
443 -blibpath, -bnolibpath support.
444
94349e12
MM
4452002-04-30 Mark Mitchell <mark@codesourcery.com>
446
447 * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o.
448 (eelf32ppcwindiss.c): New target.
449 * Makefile.in: Regenerated.
450 * configure.tgt: Add support for powerpc-*-windiss.
451 * emulparams/elf32ppcwindiss.sh: New file.
452
7b17f854
RS
4532002-04-30 Richard Sandiford <rsandifo@redhat.com>
454
455 * ldlang.c (print_assignment): Update print_dot for assignments to ".".
456 * ldexp.c (exp_print_token): Add "infix_p" argument.
457 (exp_print_tree): Update accordingly.
458
596dafeb
AM
4592002-04-28 Alan Modra <amodra@bigpond.net.au>
460
461 * Makefile.am (mpw): New maintainer mode rule to make mpw-*.c files.
462 * Makefile.in: Regenerate.
463 * mpw-elfmips.c: Delete.
464 * mpw-eppcmac.c: Delete.
465 * mpw-esh.c: Delete.
466 * mpw-idtmips.c: Delete.
467
a44d7f9c
JR
468Wed Apr 17 19:23:14 2002 J"orn Rennecke <joern.rennecke@superh.com>
469
470 * emulparams/shelf32.sh (MACHINE): Now sh5.
471
944cd72c
TS
4722002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
473
474 * ldgram.y: Fix syntax warning.
475
5835c212
NC
4762002-04-11 Nick Clifton <nickc@cambridge.redhat.com>
477
478 * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Add 'n' in order
479 to prevent "-n" from being taken as an abbreviation for
480 "--no-pipeline-knowledge".
481
024531e2
AM
4822002-04-08 Alan Modra <amodra@bigpond.net.au>
483
d08a14c3
AM
484 * ldlang.c (lang_size_sections_1): Don't complain about
485 SEC_NEVER_LOAD sections having no memory region specified.
486
024531e2
AM
487 * ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix.
488
c657a1f0
MG
4892002-04-07 matthew green <mrg@redhat.com>
490
491 * ld/configure.host (*-*-netbsd*): Add support for NetBSD/ELF.
492
61bef6f1
AM
4932002-04-04 Alan Modra <amodra@bigpond.net.au>
494
495 * dep-in.sed: Cope with absolute paths.
496 * Makefile.am (dep.sed): Subst TOPDIR and BFDDIR.
497 Run "make dep-am".
498 * Makefile.in: Regenerate.
499
49ba2791
TS
5002002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
501
502 * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options.
503
50e60fb5
JJ
5042002-04-03 Jakub Jelinek <jakub@redhat.com>
505
506 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size
507 is smaller than maximum, round dot up to common page boundary.
508
6f12f4ca
AM
5092002-03-28 Alan Modra <amodra@bigpond.net.au>
510
511 * configure.host: Set up for generic hosts first, then tweak as
512 necessary in more specific targets.
513 (HOSTING_LIBS): Include libgcc_eh.a if found.
514
a8f1f017
AJ
5152002-03-23 Andreas Jaeger <aj@suse.de>
516
517 * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it.
518
1d3fdf38
AM
5192002-03-21 Alan Modra <amodra@bigpond.net.au>
520
521 * Makefile.am: Run "make dep-am".
522 * Makefile.in: Regenerate.
523
79b1faa8
AM
5242002-03-21 Albert Chin-A-Young <china@thewrittenword.com>
525
526 * genscripts.sh (LIB_SEARCH_DIRS): Quote path.
527
fcf0e35b
AM
5282002-03-20 Alan Modra <amodra@bigpond.net.au>
529
530 * ldlang.c (ldlang_add_undef): If the output bfd has been opened,
531 add the symbol to the linker hash table immediately.
532 (lang_place_undefineds): Split symbol creation out..
533 (insert_undefined): ..to here.
534
fed2999d
DB
5352002-03-18 David O'Brien <obrien@FreeBSD.org>
536
537 * emultempl/elf32.em: Use lbasename vs. basename to fix problem where
538 the contents of the buffer returned from basename function will are
539 getting overwritten while still being used.
540
beb43bb9
JH
541Mon Mar 18 17:38:39 CET 2002 Jan Hubicka <jh@suse.cz>
542 Andreas Jaeger <aj@suse.de>
543 Andreas Schwab <schwab@suse.de>
544
545 * configure.tgt (x86_64-*-linux-gnu*): Configure i386 as native.
546 * elf_x86_64.sh (ARCH): Set to i386:x86-64
547 set libraries to default to lib64 paths.
548
eb1e0e80
NC
5492002-03-18 Tom Rix <trix@redhat.com>
550
551 * Makefile.am : Add eaix5ppc and eaix5rs6, AIX 5 support.
552 * configure.tgt : Same.
553 * emulparms/aix5ppc.sh : New file. For eaix5ppc.
554 * emulparms/aix5rs6.sh : New file. For eaix5rs6.
555 * emulparms/aixppc.sh : OUPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT
556 emulation parameters for better -b32, -b64 support.
557 * emulparms/aixrs6.sh : Same.
558 * emulparms/ppcmacos.sh : Same.
559 * emultempl/aix.em (choose_target) : Use new emulation parameters
560 OUTPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT.
561 * Makefile.in : Regenerate.
562
a1c259a1
NC
5632002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
564
565 * po/fr.po: Updated version.
566
862120bd
AM
5672002-03-18 Alan Modra <amodra@bigpond.net.au>
568
569 * ldmain.c (main): Move .text readonly flag fudges from here..
570 * ldlang.c (lang_process): ..to here.
571
d35a52e2
AM
5722002-03-14 Alan Modra <amodra@bigpond.net.au>
573
574 * ldlang.c (lang_check): Remove the word size check added in last
575 change. Treat emitrelocations case as for relocatable links.
576
9ce88e60
NC
5772002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
578
579 * po/fr.po: Updated version.
580
30cba025
AM
5812002-03-13 Alan Modra <amodra@bigpond.net.au>
582
583 * ldlang.c (lang_check): Do relocatable link checks first, so that
584 warn_mismatch can't override. Check compatible and word size too.
585
84ec0e6d
DJ
5862002-03-07 Daniel Jacobowitz <drow@mvista.com>
587
588 * ld.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
589
2d13d8c5
JJ
5902002-03-05 Jakub Jelinek <jakub@redhat.com>
591
592 * scripttempl/elf.sc: Only use DATA_SEGMENT_END() together with
593 DATA_SEGMENT_ALIGN.
594
b5090659
L
5952002-03-04 H.J. Lu <hjl@gnu.org>
596
597 * scripttempl/elf.sc: Put .preinit_array, .init_array and
598 .fini_array in the data segment.
599
f42ce16e
AM
6002002-03-04 Alan Modra <amodra@bigpond.net.au>
601
602 * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit.
603
de77b6ac
RH
6042002-03-01 David Mosberger <davidm@hpl.hp.com>
605
606 * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array,
607 .init_array, and .fini_array.
608
997e08c0
AS
6092002-02-20 Andreas Schwab <schwab@suse.de>
610
611 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold
612 .IA64_unwind* in a relocatable link.
613
9a66911f
NC
6142002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
615
616 * NEWS: Mark 2.12 branch.
617
d86bcc10
MS
6182002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
619
620 * emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit".
621 * emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit".
622
69f284c7
TR
6232002-02-18 Tom Rix <trix@redhat.com>
624
625 * emultempl/aix.em (gld*_parse_args): Add -brtl support.
626 (gld*_before_allocation): Same.
a8f1f017 627 (gld*_create_output_section_statements): Generate
69f284c7
TR
628 __rtinit if run time linking. Add librtl.a to the link.
629 (gld*_read_file): Clean.
630
82bd7b59
AM
6312002-02-18 Alan Modra <amodra@bigpond.net.au>
632
633 * emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define.
634
ac3e50bf
DB
6352002-02-18 David O'Brien <obrien@FreeBSD.org>
636
6a7f963b 637 * Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd,
ac3e50bf
DB
638 eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd,
639 and eelf64alpha_fbsd.
6a7f963b 640 * Makefile.in: Regenerate.
ac3e50bf
DB
641 * configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd,
642 x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd):
643 use a FreeBSD-specific emulation rather than the psABI one.
644 * emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value
645 for all FreeBSD ELF systems.
646 * emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI
647 emulation.
648 * emulparams/elf32ppc_fbsd.sh: Likewise.
649 * emulparams/elf64_ia64_fbsd.sh: Likewise.
650 * emulparams/elf64_sparc_fbsd.sh: Likewise.
651 * emulparams/elf64alpha_fbsd.sh: Likewise.
652 * emulparams/elf_i386_fbsd.sh: Likewise.
653 * emulparams/elf_x86_64_fbsd.sh: Likewise.
654
6ad738c5
NC
6552002-02-18 Nick Clifton <nickc@cambridge.redhat.com>
656
657 * po/tr.po: Updated version.
658
9673c93c
AM
6592002-02-18 Alan Modra <amodra@bigpond.net.au>
660
661 * ld.texinfo (Output Section Fill): Fix amateur texinfo.
662 (FILL): Likewise.
663
1c5e6447
HPN
6642002-02-17 Hans-Peter Nilsson <hp@bitrange.com>
665
666 * emultempl/mmo.em (mmo_after_open): Don't call
667 _bfd_mmix_check_all_relocs when producing ELF output.
668
8bb57516
RH
6692002-02-15 Richard Henderson <rth@redhat.com>
670
de77b6ac 671 * emulparams/elf64alpha.sh (NOP): Adjust for big-endian
8bb57516
RH
672 definition. Emit a unop+nop pair.
673
49fda6c8
HPN
6742002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
675
83c2d653
HPN
676 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check
677 for presence of .MMIX.reg_contents.linker_allocated before early
678 exit.
679
49fda6c8
HPN
680 * NEWS: Mention support for MMIX.
681
2c382fb6
AM
6822002-02-15 Alan Modra <amodra@bigpond.net.au>
683
684 Support arbitrary length fill patterns.
a139d329
AM
685 * ld.texinfo (Output Section Fill): Describe fill expressions.
686 (FILL): Refer to the above.
2c382fb6
AM
687 * ldexp.h (etree_value_type): Add "str" field.
688 (union etree_union): Add "str" to "value" struct.
689 (exp_bigintop): Declare.
690 (exp_get_fill): Declare.
691 * ldexp.c: Include "safe-ctype.h".
692 (exp_intop): Set value.str to NULL.
693 (exp_bigintop): New function.
694 (new_rel): Pass in "str", and set new.str from it.
695 (new_rel_from_section): Set new.str to NULL.
696 (fold_name): Adjust calls to new_rel.
697 (exp_fold_tree): Likewise.
698 (exp_get_fill): New function.
699 * ldgram.y (struct big_int bigint, fill_type *fill): New.
700 (INT): Returns a "bigint". Adjust all code handling INTs.
701 (fill_opt): Returns a "fill".
702 (fill_exp): Split out of fill_opt, use for FILL.
703 * ldlang.h (struct _fill_type): New.
704 (fill_type): Move typedef to ldexp.h.
705 (lang_output_section_statement_type): "fill" is now a pointer.
706 (lang_fill_statement_type): Likewise.
707 (lang_padding_statement_type): Likewise.
708 (lang_add_fill): Now takes a "fill_type *" param.
709 (lang_leave_output_section_statement): Likewise.
710 (lang_do_assignments): Likewise.
711 (lang_size_sections): Likewise.
712 (lang_leave_overlay_section): Likewise.
713 (lang_leave_overlay): Likewise.
714 * ldlang.c: Include ldgram.h after ldexp.h.
715 (lang_output_section_statement_lookup): Adjust for fill_type change.
716 (print_fill_statement): Likewise.
717 (print_padding_statement): Likewise.
718 (insert_pad): Now takes a "fill_type *" arg.
719 (size_input_section): Likewise.
720 (lang_size_sections_1): Likewise.
721 (lang_size_sections): Likewise.
722 (lang_do_assignments): Likewise.
723 (lang_add_fill): Likewise.
724 (lang_leave_output_section_statement): Likewise.
725 (lang_leave_overlay_section): Likewise.
726 (lang_leave_overlay): Likewise.
727 Adjust all callers of the above function.
728 * ldlex.l: Include ldgram.h after ldexp.h. Allow hex numbers
729 starting with "0X" as well as "0x". Return bigint.str for hex
730 numbers starting with "0x" or "0X", zero bigint.str otherwise.
731 Always use base 16 for numbers starting with "$".
732 * ldmain.c: Include ldgram.h after ldexp.h.
733 * ldwrite.c (build_link_order): Use bfd_data_link_order in place
734 of bfd_fill_link_order.
735 * pe-dll.c: Adjust lang_do_assignments calls.
736 * emultempl/elf32.em: Likewise.
737 * emultempl/hppaelf.em: Likewise.
738 * emultempl/ppc64elf.em: Likewise.
739 * emultempl/beos.em: Include ldgram.h after ldexp.h, adjust
740 lang_add_assignment call.
741 * emultempl/pe.em: Likewise.
742
313e35ee
AM
7432002-02-14 Phil Edwards <pme@gcc.gnu.org>
744
a139d329 745 * ld.texinfo (VERSION scripts): Symbol names are globbing patterns.
313e35ee
AM
746 * ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern;
747 the pattern in question is not a regexp.
748 * ldlang.c: Likewise.
749 * ldlang.h: Likewise.
750 * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also.
751
2d20f7bf
JJ
7522002-02-12 Jakub Jelinek <jakub@redhat.com>
753
754 * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
755 * ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
756 (exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp).
757 * ldexp.c (exp_data_seg): New variable.
758 (exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END.
759 (fold_binary): Handle DATA_SEGMENT_ALIGN.
760 (exp_fold_tree): Handle DATA_SEGMENT_END.
761 Pass allocation_done when recursing instead of hardcoding
762 lang_allocating_phase_enum.
763 * ldexp.h (exp_data_seg): New.
764 * ldlang.c (lang_size_sections_1): Renamed from lang_size_sections.
765 (lang_size_sections): New.
766 * ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document.
767 * scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END
768 if COMMONPAGESIZE is defined.
769 * emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K.
770 * emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K.
771 * emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K.
772 * emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K.
773 * emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared
774 libraries only.
775
06880219
AM
7762002-02-11 Alan Modra <amodra@bigpond.net.au>
777
778 * Makefile.in: Regenerate.
779
37b0ac0f
DJ
7802002-02-10 Daniel Jacobowitz <drow@mvista.com>
781
782 * lexsup.c: Remove strtoul declaration.
783
4e5bae56
DJ
7842002-02-10 Daniel Jacobowitz <drow@mvista.com>
785
786 * ldmain.c: Add prototype for main ().
787 * lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H.
788 * emultempl/lnk960.em (lnk960_choose_target): Function should
789 take two arguments.
790
1e281515
AM
7912002-02-10 Alan Modra <amodra@bigpond.net.au>
792
793 * ldlang.c (entry_section): New initialised variable.
794 (lang_finish): Use it.
795 * ldlang.h (entry_section): Declare.
796 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Set
797 entry_section to ".opd".
798
f92d92ff 7992002-02-09 Chris Demetriou <cgd@broadcom.com>
0a9c1c8e
CD
800
801 * ld.texinfo (Options): Add back in -nostdlib documentation,
802 which had been inadvertently removed.
803
74c44237
HPN
8042002-02-09 Hans-Peter Nilsson <hp@bitrange.com>
805
806 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Adjust
807 register section vma to a sane value after emitting error. Make
808 fatal conditions cause program exit when emitting message.
809
5e37cc46
NC
8102002-02-08 Ivan Guzvinec <ivang@opencores.org>
811
812 * configure.tgt: Add or32-*-rtems target.
813
2d92cb7d
AO
8142002-02-08 Alexandre Oliva <aoliva@redhat.com>
815
816 Contribute sh64-elf.
817 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
818 * emulparams/shelf32.sh (STACK_ADDR): Define as formerly defined
819 in OTHER_RELOCATABLE_SECTIONS.
820 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
821 * emulparams/shelf32.sh (STACK_ADDR): Define.
822 (OTHER_RELOCATABLE_SECTIONS): Renamed to...
823 (OTHER_SECTIONS): this. Removed stack settings.
824 * emulparams/shelf64.sh (OTHER_RELOCATABLE_SECTIONS): Do not set.
825 (OTHER_SECTIONS): Reset after sourcing shelf32.sh.
826 2001-03-12 DJ Delorie <dj@redhat.com>
827 * emultempl/sh64elf.em (sh64_elf_$_before_allocation): Disable
828 relaxing if any shmedia or mixed sections are found.
829 2001-03-07 DJ Delorie <dj@redhat.com>
830 * emultempl/sh64elf.em (sh64_elf_before_allocation): Pass f to
831 einfo. Gracefully decline to output to non-elf formats.
832 2001-03-06 Hans-Peter Nilsson <hpn@redhat.com>
833 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS) <.stack>:
834 Default to _end aligned to next multiple of 0x40000, plus 0x40000.
835 * emulparams/shelf32.sh: Ditto.
836 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
837 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Tweak
838 comment.
839 2001-01-10 Ben Elliston <bje@redhat.com>
840 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Avoid
841 non-portable shell constructs. From Hans-Peter Nilsson.
842 2001-01-09 Hans-Peter Nilsson <hpn@cygnus.com>
843 * emulparams/shelf64.sh (EXTRA_EM_FILE): Define empty.
844 * Makefile.am (eshelf64.c, eshlelf64.c, eshlelf32.c): Adjust
845 dependencies to the shell script include chain.
846 * Makefile.in: Regenerate.
847 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
848 * emultempl/sh64elf.em: Update and tweak comments.
849 (sh64_elf_${EMULATION_NAME}_after_allocation): Always allocate and
850 make a .cranges section SEC_IN_MEMORY.
851 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
852 * emultempl/sh64elf.em
853 (sh64_elf_${EMULATION_NAME}_before_allocation): Don't stop when
854 .cranges section found to be necessary; continue and set stored
855 section contents flags for sections with non-mixed contents.
856 Use a struct sh64_section_data container and sh64_elf_section_data
857 to store contents-type flags.
858 Remove unused update of "isec".
859 (sh64_elf_${EMULATION_NAME}_after_allocation): Only process
860 sections marked SHF_SH5_ISA32_MIXED. Use sh64_elf_section_data to
861 access contents-type flags. Assert that the associated container
862 is initialized. Use that container, not elf_gp_size, to hold size
863 of linker-generated cranges contents.
864 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
865 * emultempl/sh64elf.em
866 (sh64_elf_${EMULATION_NAME}_before_allocation): Exit early if
867 there's already a .cranges section. When section flag difference
868 is found, don't NULL-check cranges a second time. Tweak comments.
869 (sh64_elf_${EMULATION_NAME}_after_allocation): Use size after
870 merging, not max size, as size of ld-generated .cranges contents.
871 Don't set ELF section flags in output section. When checking for
872 needed .cranges descriptors, don't use a variable; compare
873 incoming ELF section flags directly to SHF_SH5_ISA32_MIXED. Tweak
874 comments.
875 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
876 * emultempl/sh64elf.em: New file.
877 * Makefile.am (eshelf32.c, eshlelf32.c): Adjust dependencies.
878 * Makefile.in: Regenerate.
879 * emulparams/shelf32.sh (OUTPUT_FORMAT): Only set if not set.
880 (OTHER_RELOCATING_SECTIONS): Ditto.
881 (EXTRA_EM_FILE): New, set to sh64elf if not set.
882 * emulparams/shlelf32.sh: Stub out all settings except
883 OUTPUT_FORMAT. Source shelf32.sh.
884 * emulparams/shelf64.sh: Similar, but also keep ELF_SIZE and
885 OTHER_RELOCATING_SECTIONS.
886 (OTHER_RELOCATING_SECTIONS): Remove .cranges.
887 * emulparams/shlelf64.sh: Stub out all settings except
888 OUTPUT_FORMAT. Source shelf64.sh.
889 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
890 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS): Include
891 .cranges section.
892 (DATA_START_SYMBOLS): Define, provide ___data.
893 (OTHER_READONLY_SYMBOLS): Define, provide ___rodata and align to 8
894 for consecutive .data section.
895 (OTHER_GOT_SECTIONS): Define, align to 8 for consecutive .bss
896 section after .data section.
897 * emulparams/shlelf64.sh: Ditto.
898 * emulparams/shelf32.sh: Ditto.
899 (ALIGNMENT): Define to 8.
900 * emulparams/shelf32.sh: Ditto.
901 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
902 * configure.tgt (sh64-*-elf*): Assign targ_extra_libpath to get
903 built-in linker scripts.
904 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
905 * emulparams/shlelf64.sh: New.
906 * emulparams/shelf64.sh: New.
907 * configure.tgt (sh64-*-elf*): Add shelf64 and shlelf64 to
908 targ_extra_emuls.
909 * Makefile.am: Add support for shlelf64 and shelf64.
910 * Makefile.in: Regenerate.
911 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
912 * configure.tgt (sh64-*-elf*): Add shelf as default.
913 Add shlelf to targ_extra_emuls.
914 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
915 * emulparams/shelf32.sh: New file.
916 * emulparams/shlelf32.sh: New file.
917 * Makefile.am: Add support for shlelf32 and shelf32.
918 * configure.tgt: Map sh64-*-elf* to shlelf32 and shelf32.
919 * Makefile.in: Regenerate.
920
e3dc8847
HPN
9212002-02-05 Hans-Peter Nilsson <hp@axis.com>
922
923 * ldlang.c (lang_reset_memory_regions): Rename from
924 reset_memory_regions. Change all callers. Make public.
925 * ldlang.h (lang_reset_memory_regions): Prototype.
926 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call
927 lang_reset_memory_regions before lang_size_sections.
126730bd
HPN
928 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
929 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise.
e3dc8847 930
8017dbcb
HPN
9312002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
932
933 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signed
934 arithmetic when checking for too many global registers.
935
006336b8
JT
9362002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
937
938 * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o.
939 (ehppanbsd.c): New rule.
940 * Makefile.in: Regenerate.
941 * configure.tgt (hppa*-*-netbsd*): New target.
942 * emulparams/hppalinux.sh: Add comment to check other files
943 that source this file it is modified, and list which
944 files that do.
945 * emulparams/hppanbsd.sh: New file.
946
da1f2fec
GK
9472002-02-01 Geoffrey Keating <geoffk@redhat.com>
948
949 * scripttempl/xstormy16.sc: Don't allocate extra space for the
950 stack.
951
48fa4a5d
HPN
9522002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
953
954 Support on-demand global register allocation from
955 R_MMIX_BASE_PLUS_OFFSET relocs.
956 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from
957 mmix_set_reg_section_vma. Call
958 _bfd_mmix_finalize_linker_allocated_gregs.
959 (mmix_before_allocation): New function.
960 (LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation.
961 (LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation.
962 * scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP.
963 (.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated
964 before .MMIX.reg_contents.
965 * emultempl/mmo.em (gldmmo_before_allocation): Define to default.
966 (mmo_after_open): New function.
967 (LDEMUL_AFTER_OPEN): Define to mmo_after_open.
968 * emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting. Add
969 .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents.
970
3b16e843
NC
9712002-01-31 Ivan Guzvinec <ivang@opencores.org>
972
973 * emulparams/or32.sh: New file.
974 * emulparams/or32elf.sh: New file.
975 * scripttempl/or32.sc: New file.
976 * configure.tgt : Add support for or32.
977 * configure: Regenerate
978 * Makefile.am: Add support for or32.
979 * Makefile.in: Regenerate.
980 * NEWS: Mention support for or32.
981 * po/ld.pot: Regenerate.
982
f744d540 9832002-01-29 Chris Demetriou <cgd@broadcom.com>
313e35ee 984 Mitch Lichtenberg <mpl@broadcom.com>
f744d540
CD
985
986 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself.
987 * emultempl/mipself.em: New file to handle MIPS ELF embedded
988 reloc creation (ld --embedded-relocs).
989
4867be41
DJ
9902002-01-27 Daniel Jacobowitz <drow@mvista.com>
991
992 * configure: Regenerated.
993
cd8e197b
HPN
9942002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
995
996 * Makefile.am (install): Depend on install-info.
997 * Makefile.in: Regenerate.
998
9cb61eab
AM
9992002-01-26 Christian Rose <menthos@menthos.com>
1000
1001 * ldmain.c (main): Use full sentences to ease translation.
1002
1caa7b23
NC
10032002-01-26 Nick Clifton <nickc@cambridge.redhat.com>
1004
1005 * po/fr.po: Updated version.
1006
1ddbd152
NC
10072002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
1008
1009 * po/es.po: Updated version.
1010
1e84433f
AJ
10112002-01-25 Andreas Jaeger <aj@suse.de>
1012
1013 * ldlex.l (yy_input): Correct error check.
1014
6d39955e
AM
10152002-01-25 Alan Modra <amodra@bigpond.net.au>
1016
1017 * ldmisc.c (demangle): Put back dots when string not demangled.
1018
a9ed1e1b
RH
10192002-01-22 Richard Henderson <rth@redhat.com>
1020
1021 * emulparams/elf64alpha.sh (NOP): Use unop.
1022
968ec2b9
AJ
10232002-01-21 Andreas Jaeger <aj@suse.de>
1024
1025 * ldlex.l: Use fread instead of read.
1026
9596feea
JT
10272002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
1028
1029 * configure.tgt (ia64-*-netbsd*): New target.
1030
493a6d47
L
10312002-01-21 H.J. Lu <hjl@gnu.org>
1032
1033 * emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to
1034 0.
1035 * emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise.
1036
2a538ba5
AJ
10372002-01-18 Andreas Jaeger <aj@suse.de>
1038
1039 * ldver.c (ldversion): Update year.
1040
328577ad
NC
10412002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1042
1043 * po/ld.pot: Regenerate.
1044
1f808cd5
AM
10452002-01-16 Alan Modra <amodra@bigpond.net.au>
1046
1047 * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em.
1048 * Makefile.in: Regenerate.
1049 * emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define.
1050 * emultempl/ppc64elf.em: New file.
1051
335c5610
DD
10522002-01-15 DJ Delorie <dj@redhat.com>
1053
1054 * scripttempl/pe.sc: Add support for constructor priorities.
1055
c40bbade
DC
10562002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
1057
1058 * emulparams/avr1200.sh (DATA_START): Define as 0x60.
1059 * emulparams/avr23xx.sh: Likewise.
1060 * emulparams/avr4433.sh: Likewise.
1061 * emulparams/avr44x4.sh: Likewise.
1062 * emulparams/avr85xx.sh: Likewise.
1063 * emulparams/avrmega103.sh: Likewise.
1064 * emulparams/avrmega161.sh: Likewise.
1065 * emulparams/avrmega603.sh: Likewise.
1066 * scripttempl/elf32avr.sc: Use DATA_START instead of 0x60.
1067
34efb449
AO
10682002-01-08 Alexandre Oliva <aoliva@redhat.com>
1069
1070 * ldlang.c (walk_wild_section): Exclude object file if enclosing
1071 archive is excluded.
1072
8d05742f
JT
10732002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
1074
1075 * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o.
2a538ba5 1076 (eshelf_nbsd.c): New rule.
8d05742f
JT
1077 (eshlelf_nbsd.c): New rule.
1078 * Makefile.in: Regenerate.
1079 * configure.tgt (sh*le-*-netbsdelf*): New target.
1080 (sh*-*-netbsdelf*): New target.
1081 * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file.
1082 * ld/emulparams/shelf_nbsd.sh: New emulation.
1083 * ld/emulparams/shlelf_nbsd.sh: New emulation.
1084
be2d1673
NC
10852002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
1086
1087 * po/es.po: New file: Spanish translation.
1088 * configure.in (ALL_LINGUAS): Add es.
1089 * configure: Regenerate.
1090
dbab7a7b
NC
10912002-01-06 John Marshall <jmarshall@acm.org>
1092
1093 * ld.texinfo: Note that --emit-relocs is currently only
1094 implemented for ELF.
1095
3dfe7a8c
AM
10962002-01-05 Alan Modra <amodra@bigpond.net.au>
1097
1098 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use
1099 of bfd_section_list_remove and bfd_section_list_insert macros.
1100 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1101 * emultempl/mmo.em (mmo_place_orphan): Likewise.
1102
8a8b2d4b
AJ
11032002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
1104
1105 * configure.tgt (x86_64-*-netbsd*): New target.
1106
9a4c7f16
TR
11072001-12-21 Tom Rix <trix@redhat.com>
1108
8a8b2d4b 1109 (gld*_create_output_section_statements): New function.
9a4c7f16
TR
1110 For -binitfini support.
1111 * emultempl/aix.em (gld*_before_parse): Fix comment.
1112 * emultempl/aix.em (gld*_parse_args): Fix comment.
1113
3695c299
AM
11142001-12-20 Jason Thorpe <thorpej@wasabisystems.com>
1115
cf86e6df
AM
1116 * configure.tgt (mips*-dec-netbsd*): Delete alias for
1117 mips*el-*-netbsd*.
1118 (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls.
1119
3695c299
AM
1120 * configure.tgt (arm-*-netbsdelf*): Add target.
1121 (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls.
1122 * emulparams/armelf_nbsd.sh: Added.
1123 * Makefile.am: Add rules for earmelf_nbsd.
1124 * Makefile.in: Regenerate.
1125
97cb79ae
AJ
11262001-12-19 Andreas Jaeger <aj@suse.de>,
1127 Susanne Oberhauser <froh@suse.de>
1128
1129 * configure.host: Add rules for x86_64-*linux-gnu. Change
1130 s390x-linux entry to use gcc to report configuration, replace gcc
1131 with $CC in s390-linux
1132
9d201f2f
AJ
11332001-12-19 Andreas Jaeger <aj@suse.de>
1134
1135 * ld.texinfo (VERSION): Fix markup.
1136
0b69cd08
MG
11372001-12-18 matthew green <mrg@eterna.com.au>
1138
1139 * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o.
1140 (m68kelfnbsd.c): New rule.
1141 * Makefile.in: Regenerate.
1142 * configure.tgt (m68*-hp-netbsd*): Renamed to ..
1143 (m68*-*-netbsd*4k*): .. this.
1144 (m68*-*-netbsdelf*): New target.
1145 (m68*-*-netbsd*): Also include ELF support.
1146 (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*.
1147 * emulparams/m68kelfnbsd.sh: New emulation.
1148
6b9b879a
JJ
11492001-12-18 Jakub Jelinek <jakub@redhat.com>
1150
1151 * ldgram.y (vers_node): Support anonymous version tags.
1152 * ldlang.c (lang_register_vers_node): Ensure anonymous version
1153 tag is not defined together with non-anonymous versions.
1154 * ld.texinfo: Document it.
1155
9fc877ed
NC
11562001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1157
1158 * po/tr.po: New file: Turkish translation.
1159 * configure.in (ALL_LINGUAS): Add tr.
1160 * configure: Regenerate.
1161
fc18a3f3
RH
11622001-12-17 Jason Thorpe <thorpej@wasabisystems.com>
1163
1164 * Makefile.am: Add rules for eelf64alpha_nbsd.
1165 * Makefile.in: Regenerate.
1166 * configure.tgt (alpha*-*-netbsd*): Set
1167 targ_emul to elf64alpha_nbsd.
1168 * emulparams/elf64alpha_nbsd.sh: Added.
1169
76f63e91
AM
11702001-12-17 Alan Modra <amodra@bigpond.net.au>
1171
1172 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust
1173 section_tail when fiddling with section list.
1174 (gld${EMULATION_NAME}_list_options): Ensure sentences aren't
1175 broken into separate strings to make translation easier.
1176 * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when
1177 fiddling with section list.
1178 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1179
d03b89bd
HPN
11802001-12-16 Hans-Peter Nilsson <hp@bitrange.com>
1181
1182 * scripttempl/mmo.sc: Add .debug_ranges to listed sections.
1183
320fec9a
AM
11842001-12-15 Alan Modra <amodra@bigpond.net.au>
1185
1186 * ldmain.c (main): Initialise link_info.eh_frame_hdr.
1187
65765700
JJ
11882001-12-13 Jakub Jelinek <jakub@redhat.com>
1189
1190 * emultempl/elf32.em (finish): Supply output_bfd
1191 to bfd_elf*_discard_info.
1192 (OPTION_EH_FRAME_HDR): Define.
1193 (longopts): Add --eh-frame-hdr.
1194 (parse_args): Handle it.
1195 (list_options): Add --eh-frame-hdr to help.
1196 * emultempl/hppaelf.em (finish): Supply output_bfd
1197 to bfd_elf*_discard_info.
1198 * scripttempl/elf.sc (.eh_frame_hdr): Add.
1199
89894c62
AM
12002001-12-13 Alan Modra <amodra@bigpond.net.au>
1201
1202 * lexsup.c (parse_args): Don't pass shortopts to second call to
1203 getopt functions. Restore optind rather than decrementing before
1204 second call. Remove errind as it now duplicates last_optind.
1205
583f1926
CF
12062001-12-11 Christopher Faylor <cgf@redhat.com>
1207
1208 * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo.
1209
93fbbb04
GK
12102001-12-07 Geoffrey Keating <geoffk@redhat.com>
1211 Richard Henderson <rth@redhat.com>
1212
1213 * Makefile.am: Add support for xstormy16.
1214 * configure.tgt: Add support for xstormy16.
1215 * Makefile.in: Regenerate.
1216 * emulparams/elf32xstormy16.sh: New file.
1217 * scripttempl/xstormy16.sc: New file.
1218
583f1926
CF
12192001-10-01 Christopher Faylor <cgf@cygnus.com>
1220
fc18a3f3
RH
1221 * Makefile.in (LIB_PATH): Make configurable.
1222 (GENSCRIPTS): Set LIB_PATH in environment.
1223 * configure.in: Substitute LIB_PATH.
1224 * configure: Regenerate.
1225 * configure.tgt (*cygwin): Set LIB_PATH for cross build.
1226 * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS.
583f1926 1227
ff291a48
NC
12282001-12-07 Nick Clifton <nickc@cambridge.redhat.com>
1229
1230 * lexsup.c (ld_options): Insert 'PROGRAM' into the text string
1231 describing the -N option so that it is easier to translate into
1232 foreign languages.
1233
e3c8793a
NC
12342001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1235
1236 * emultempl/pe.em (..._list_options): Replace multiple fprintf
1237 statements describing a single option with a single, newline
1238 escaped fprintf. This allows better translation into other
1239 languages.
9d201f2f 1240
fc18a3f3
RH
1241 * ldmain.c (add_archive_element): Combine multiple strings
1242 into a single string to permit better translation into other
1243 languages.
e3c8793a 1244
f2eab0af
TR
12452001-12-05 Tom Rix <trix@redhat.com>
1246
1247 * Makefile.am: Remove eaixppc64.
9d201f2f 1248 * Makefile.in: Regenerate.
f2eab0af 1249
249172c3
TR
12502001-12-04 Tom Rix <trix@redhat.com>
1251
9d201f2f 1252 * emultempl/aix.em (choose_target): Change default target to
249172c3
TR
1253 OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler
1254 warning.
1255 (gld*_read_file): Fix typo.
1256 (change_symbol_mode): Add prototype.
1257 (is_syscall): Same.
9d201f2f 1258
249172c3
TR
1259 * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete.
1260 * emulparams/aixrs6.sh : Same.
1261 * emulparams/ppcmacos.sh : Same.
1262 * emulparams/aixppc64.sh : Delete file.
1263 * emultempl/aix.em : Formatting changes.
1264
5b5cd1b0
HPN
12652001-12-04 Hans-Peter Nilsson <hp@axis.com>
1266
1267 * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes.
1268 (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting
1269 __Sbss.
1270 (OTHER_END_SYMBOLS): Fix formatting.
1271 * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes.
1272 (OTHER_END_SYMBOLS): Fix formatting.
1273
7cecdbff
AM
12742001-12-04 Alan Modra <amodra@bigpond.net.au>
1275
1276 * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT.
1277
742aeb63 12782001-12-02 Tom Rix <trix@redhat.com>
7cecdbff 1279
742aeb63 1280 * configure.tgt : Remove eaixppc64 emulations.
7cecdbff 1281 * Makefile.in : Remove eaixppc64.c
742aeb63
TR
1282 * ldemul.c (ldemul_choose_target): New parameters argc, argv.
1283 (ldemul_default_target): Same.
1284 * emultempl/gld960.em (gld960_choose_target): Same.
7cecdbff
AM
1285 * emultempl/gld960c.em (gld960_choose_target): Same.
1286 * scripttempl/aix.sc: Remove OUTPUT_FORMAT.
742aeb63
TR
1287 * emultempl/aix.em (is_syscall): syscall_mask now a variable.
1288 * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable.
1289 * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation.
7cecdbff 1290 * emultempl/aix.em (choose_target): New function. Handle emulation of
742aeb63
TR
1291 -b32 and -b64.
1292
48459341
L
12932001-11-27 H.J. Lu <hjl@gnu.org>
1294
1295 * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes.
1296 * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise.
1297 * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise.
1298 * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise.
1299 * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise.
1300 * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise.
1301 * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise.
1302 * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise.
1303
7cecdbff 1304 * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA}
48459341
L
1305 is not empty.
1306 (SDATA): Likewise.
1307 (REL_SDATA): Likewise.
1308 (REL_SBSS): Likewise.
1309 (REL_SDATA2): Likewise.
1310 (REL_SBSS2): Likewise.
1311 (SBSS2): Define if ${NO_SMALL_DATA} is not empty.
1312 (SDATA2): Likewise.
1313
ecfdd20c
SC
13142001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1315
1316 * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
1317 destructor in rom.
7cecdbff 1318 * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.
ecfdd20c 1319
da54c6eb
L
13202001-11-22 H.J. Lu <hjl@gnu.org>
1321
1322 * Makefile.in: Regenerated with automake based on automake
1323 1.4-8 in RedHat 7.1.
1324
465bc359
AM
13252001-11-22 Alan Modra <amodra@bigpond.net.au>
1326
1327 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
1328 (config.status): Delete rule.
1329 Add extra dependencies to cover sourced emulparams files.
1330 * Makefile.in: Regenerate.
1331
1332 * scripttempl/elf.sc: Order <section>, <section>.* and
1333 corresponding linkonce sections as seen in input files.
1334 Formatting fixes. Zero vma of all sections if not relocating.
1335 (STACK): Define and insert if STACK_ADDR defined.
1336 (OTHER_RELOCATING_SECTIONS): Delete.
1337 (OTHER_END_SYMBOLS): Define.
1338 (OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
1339 (OTHER_READWRITE_SECTIONS): Likewise.
1340 (OTHER_GOT_SECTIONS): Likewise.
1341 (OTHER_SDATA_SECTIONS): Likewise.
1342 (OTHER_BSS_SECTIONS): Likewise.
1343 * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
1344 (OTHER_READWRITE_SECTIONS): Likewise.
1345 * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
1346 (OTHER_READWRITE_SECTIONS): Likewise
1347
1348 * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
1349 (STACK_ADDR): Define.
1350 * emulparams/armelf_oabi.sh: As for armelf.sh.
1351 * emulparams/elf32mcore.sh: As for armelf.sh.
1352 * emulparams/h8300elf.sh: As for armelf.sh.
1353 * emulparams/mn10200.sh: As for armelf.sh.
1354 * emulparams/shelf.sh: As for armelf.sh.
1355
1356 * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
1357 (OTHER_END_SYMBOLS): Define.
1358 * emulparams/m32relf.sh: As for elf32fr30.sh.
1359 * emulparams/h8300helf.sh: As for elf32fr30.sh.
1360 * emulparams/h8300self.sh: As for elf32fr30.sh.
1361
1362 * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
1363 defines with RELOCATING test.
1364 (OTHER_SDATA_SECTIONS): Likewise.
1365 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
1366 (OTHER_END_SYMBOLS): ..this.
1367 * emulparams/crislinux.sh: As for criself.sh.
1368
1369 * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
1370 if not relocating.
1371 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
1372 (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order
1373 normal and linkonce sections as seen in input files.
1374 * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
1375 (TEXT_DYNAMIC): Likewise.
1376 (INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
1377 (OTHER_SDATA_SECTIONS): Likewise.
1378 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
1379 * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
1380 * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
1381 * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
1382 * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
1383 (OTHER_PLT_RELOC_SECTIONS): Likewise.
1384 (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce
1385 sections as seen in input files.
1386 * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
1387 * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
1388 if not relocating.
1389 (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
1390 (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
1391 * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
1392 (OTHER_SECTIONS): Instead, use this..
1393 (OTHER_END_SYMBOLS): ..and this.
1394
1395 * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
1396 * emulparams/elf32bsmip.sh: Likewise.
1397 * emulparams/elf32btsmip.sh: Likewise.
1398 * emulparams/elf32ebmip.sh: Likewise.
1399 * emulparams/elf32lmip.sh: Likewise.
1400 * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
1401 * emulparams/elf32lsmip.sh: Likewise.
1402 * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
1403 * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
1404 * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
1405 * emulparams/elf64btsmip.sh: Likewise.
1406 * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
1407 * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
1408 * emulparams/elf32ppclinux.sh: Likewise.
1409 * emulparams/elf32ppcsim.sh: Likewise.
1410 * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
1411 * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
1412 * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
1413 * emulparams/h8300self.sh: Likewise.
1414 * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
1415 * emulparams/sh.sh: Comment.
1416 * emulparams/shl.sh: Source sh.sh, remove duplicates.
1417 * emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
1418 * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
1419
abc6ab0a
AM
14202001-11-21 David Heine <dlheine@tensilica.com>
1421 Alan Modra <amodra@bigpond.net.au>
1422
1423 * ldlang.c (map_input_to_output_sections): Replace "break"
1424 accidentally removed with 2001-08-03 change.
1425 (lang_gc_sections_1): Likewise.
1426
2181f54f
AM
14272001-11-21 Alan Modra <amodra@bigpond.net.au>
1428
1429 * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
1430
ca0b5847
AM
14312001-11-20 Angela Marie Thomas <angela@redhat.com>
1432
1433 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
2181f54f
AM
1434 of false when calling lang_size_sections.
1435 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
ca0b5847 1436
c56feb2b
AM
14372001-11-15 Alan Modra <amodra@bigpond.net.au>
1438
1439 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
1440 function when LDEMUL_FINISH isn't set to the same name. Don't
1441 call ${LDEMUL_FINISH}.
1442 (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined.
1443 * emultempl/armelf.em (arm_elf_finish): Call
1444 gld${EMULATION_NAME}_finish.
1445 * emultempl/hppaelf.em (hppaelf_finish): Rename to
1446 gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and
1447 hppaelf_layout_sections_again if necessary.
1448 (need_laying_out): New var.
1449 (hppaelf_layaout_sections_again): Rename to
1450 hppaelf_layout_sections_again. Clear need_laying_out.
1451 (PARSE_AND_LIST_OPTIONS): Format text.
1452
a48ca7f2
L
14532001-11-14 H.J. Lu <hjl@gnu.org>
1454
1455 * emultempl/armelf.em (arm_elf_finish): Renamed from
1456 gld${EMULATION_NAME}_finish.
1457 (LDEMUL_FINISH): Set to arm_elf_finish.
1458
73d074b4
DJ
14592001-11-14 Daniel Jacobowitz <drow@mvista.com>
1460
1461 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New.
1462 (struct ld_emulation_xfer_struct): Use it.
1463
3b16e843 14642001-11-13 Ross Alexander <ross.alexander@uk.neceur.com>
fc65c602 1465
465bc359 1466 * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add
fc65c602
JL
1467 additional symbols referenced by newer crt0.o files from HP.
1468
f11b7027
NC
14692001-11-12 Anthony Green <green@redhat.com>
1470
1471 * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol.
1472
3bf2994f
AM
14732001-11-12 Alfred M. Szmidt <ams@kemisten.nu>
1474
1475 * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.
1476 * Makefile.in: Regenerate.
1477
ff5dcc92
SC
14782001-11-02 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1479
1480 * ld.texinfo: Use @command for commands, @option for options.
1481 * Makefile.am (POD2MAN): Use 'GNU Development Tools' for
1482 the page man title.
1483 * Makefile.in: Rebuild.
1484
9fb9af6e
CD
14852001-11-04 Chris Demetriou <cgd@broadcom.com>
1486
1487 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
1488 Add support for targets.
2181f54f 1489
3c62831e
NC
14902001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
1491
1492 * configure.in (ALL_LINGUAS): Add "fr" and "sv"
1493 * configure: Regernate.
1494 * po/fr.po: New file.
1495 * po/sv.po: New file.
1496
3a9091c4
NC
14972001-11-01 NIIBE Yutaka <gniibe@m17n.org>
1498
1499 * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls
1500 as little endian default and to support big endian.
2181f54f 1501
361b220e
CD
15022001-11-01 Chris Demetriou <cgd@broadcom.com>
1503
1504 * ld.texinfo (Options): Document new option, -nostdlib.
1505 * lexsup.c (OPTION_NOSTDLIB): New definition.
1506 (ld_options): Add entry for "nostdlib".
1507 (parse_args): Handle OPTIONS_NOSTDLIB.
1508 * ldfile.c (ldfile_add_library_path): Don't add directories
1509 to the search path if they weren't specified on the command line
1510 and -nostdlib was specified.
1511 * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
1512
210a7bd1
NC
15132001-10-31 Nick Clifton <nickc@cambridge.redhat.com>
1514
1515 * lexsup.c (parse_args): Prevent infinite parsing loop when
1516 "-rpath.a" is specified on the command line.
1517 Replace calls to fprintf with calls to einfo.
1518
114283d8
NC
15192001-10-31 John Marshall <jmarshall@acm.org>
1520
1521 * ld.texinfo: A historical requirement that MEMORY and SECTIONS
1522 appear only once across all the linker scripts involved in a link
1523 invocation no longer applies. Make the documentation reflect
1524 that.
1525
7649aa50
NC
15262001-10-31 NIIBE Yutaka <gniibe@m17n.org>
1527
1528 * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
1529 targets.
1530 (sh-*-linux*): Added targ_extra_libpath.
1531
6e814ff8
AM
15322001-10-31 David Heine <dlheine@tensilica.com>
1533
1534 * ldlang.c (lang_size_sections): Keep a valid output_offset field
1535 for padding statements.
1536
3c3bdf30
NC
15372001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1538
1539 * configure.tgt (mmix-*-*): New target.
1540 * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o.
1541 Add dependencies to match.
1542 * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em,
1543 emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em,
1544 scripttempl/mmo.sc: New files.
1545 * gen-doc.texi: @set MMIX.
1546 * ld.texinfo: Ditto.
6e814ff8 1547 [MMIX] Add MMIX node.
3c3bdf30
NC
1548 * Makefile.in: Regenerate.
1549
ca0c1d3e
KH
15502001-10-29 Kazu Hirata <kazu@hxi.com>
1551
1552 * ldlang.c: Fix a comment typo.
1553
1a3d33ce
AM
15542001-10-23 Alan Modra <amodra@bigpond.net.au>
1555
1556 * configure.host: Move alpha*-*-linux-gnu* entry to generic
1557 entries, and match *-*-linux*.
1558
b47c4208
AM
15592001-10-20 Alan Modra <amodra@bigpond.net.au>
1560
1561 * ldgram.y (mri_script_command): Surround processing of INCLUDE
1562 with ldlex_script, ldlex_popstate.
1563 (ifile_p1): Likewise.
1564 * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the
1565 correct slot.
1566 (lex_push_file): Save current lineno to lineno_stack. Set lineno
1567 to 1. Don't BEGIN(SCRIPT).
1568 (lex_redirect): Similarly.
1569 * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
1570
fd521b47
NC
15712001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
1572
1573 * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and
1574 __EH_FRAME_END__ and accept eh frames into data section.
1575 Add ctor and dtor sections.
1576
59d28a94
DD
15772001-10-19 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1578
1579 * pe-dll.c (autofilter_objectlist): Add gcrt0.o.
1580 (auto-export): Fix indentation.
1581
663dd378
DD
15822001-10-18 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1583
1584 * pe-dll.c (autofilter_objectlist): Add startup objects
1585 for profiling.
1586 (auto-export): Constify char * p.
6e814ff8 1587 Extract file basename and use strcmp rather than ststr
663dd378
DD
1588 for object lookup.
1589
31d677f9
CD
15902001-10-18 Chris Demetriou <cgd@broadcom.com>
1591
1592 * ldmain.c (get_emulation): Improve comment about the handling
1593 of -mipsN options.
1594
aa200fe8
AM
15952001-10-17 Alan Modra <amodra@bigpond.net.au>
1596
1597 * po/POTFILES.in: Regenerate.
1598
146e7110
AM
15992001-10-16 Vassili Karpov <malc@pulsesoft.com>
1600
1601 * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
1602 -z nocopyreloc and -z nocombreloc usage strings.
1603
b4330e85
NC
16042001-10-12 Vassili Karpov <malc@pulsesoft.com>
1605
146e7110 1606 * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc
b4330e85
NC
1607 in usage.
1608
5af8a2fb
NC
16092001-10-11 Aleksey Romanov <aromanov@ennovatenetworks.com>
1610
1611 * scripttempl/armaout.sc: Place .bss section after end of aligned
1612 data section to match behaviour of aout code in constructrion of
1613 header.
1614
5b784096
DD
16152001-10-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1616
1617 * pe-dll.c (autofilter_entry_type autofilter_liblist: Add
1618 startup files for mingw32 dlls to list.
1619
61585df2
CD
16202001-10-10 Chris Demetriou <cgd@broadcom.com>
1621
1622 * emultempl/elf32.em: Fix shell 'if' usage for portability.
1623
45cf6f3e
AH
16242001-10-08 Aldy Hernandez <aldyh@redhat.com>
1625
1626 * configure.tgt (targ): Add arm9e-*-elf.
1627
e24d7c12
L
16282001-10-05 H.J. Lu <hjl@gnu.org>
1629
1630 * genscripts.sh: Fix a typo in the last change.
1631
ec38dd05
JJ
16322001-10-05 Jakub Jelinek <jakub@redhat.com>
1633
1634 * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
1635 -z nocombreloc in usage.
1636
cedd6b0d
JB
16372001-10-03 Jim Blandy <jimb@redhat.com>
1638
1639 * genscripts.sh: Include a comment at the top of each generated
1640 script, explaining its purpose.
1641
8bd621d8
AM
16422001-10-03 Vassili Karpov <malc@pulsesoft.com>
1643
1644 * emultempl/elf32.em (parse_args): Handle -z nocopyreloc.
1645 * NEWS: Mention -z nocopyreloc.
1646 * ld.texinfo (Options): Describe nocopyreloc.
1647
fcd8210c
AM
16482001-10-03 Alan Modra <amodra@bigpond.net.au>
1649
1650 * configure: Regenerate.
1651
d32820f2
AM
16522001-10-02 Alan Modra <amodra@bigpond.net.au>
1653
1654 * ldver.h (ld_program_version): Remove declaration.
1655 * lexsup.c (parse_args): Move printing of copyright message..
1656 * ldver.c (ldversion): .. to here.
1657 Use BFD_VERSION_STRING in place of BFD_VERSION.
1658 (ld_program_version): Remove.
1659 * Makefile.am (Makefile): Depend on bfd/configure.in.
1660 Run "make dep-am".
1661 * Makefile.in: Regenerate.
1662
af46bcdc
HPN
16632001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
1664
1665 * Makefile.am: Update dependencies with "make dep-am".
1666 * Makefile.in: Regenerate.
1667
4818e05f 16682001-09-29 John Reiser <jreiser@BitWagon.com>
862517b6 1669
4818e05f
AM
1670 * ldlang.c (lang_common): Conditionally inhibit Common allocation.
1671 * lexsup.c: Add --no-define-common commandline option.
1672 * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
1673 * ldlex.l: Likewise.
1674 * ld.h: Add command_line.inhibit_common_definition.
1675 * ldmain.c (main): Initialize.
1676 * ld.texinfo: Document.
862517b6 1677
d5e0ebeb
AM
16782001-09-26 Alan Modra <amodra@bigpond.net.au>
1679
1680 * ldmisc.c (USE_STDARG): Remove.
1681 (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
1682 (einfo): Likewise.
1683 (minfo): Likewise.
1684 (lfinfo): Likewise.
1685
1686 * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
1687 declarations. Update copyright.
1688
2f8d8971
NC
16892001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
1690
85c77458
NC
1691 * pe-dll.c: Remove obsoleted declaration of
1692 pe_get_data_import_dll_name.
1693 (pe_create_import_fixup): Fix thinko.
1694
2f8d8971
NC
1695 * ld.texinfo(enable-auto-import): Clarify the explanation.
1696
16972001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
1698
1699 * pe-dll.c (pe_create_import_fixup): Revert previous patch.
1700 * emultemp/pe.em (pe_data_import_dll): Move definition outside of
1701 DLL_SUPPORT controlled code.
1702
72358f65 17032001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
146e7110 1704
72358f65
NC
1705 * emultempl/pe.em(pe_data_import_dll): Make static.
1706 (pe_get_data_import_dll_name): New accessor function.
146e7110 1707 * pe-dll.c(pe_create_import_fixup): call
72358f65
NC
1708 pe_get_data_import_dll_name() from pe.em, instead of
1709 directly accessing pe_data_import_dll variable from pe.em.
1710
3882b010
L
17112001-09-18 Bruno Haible <haible@clisp.cons.org>
1712
1713 * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>.
1714 (def_file_add_directive): Use ISSPACE instead of isspace.
1715 (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
1716 isdigit/isxdigit/isalpha/isalnum.
1717 * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>.
1718 (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
1719 * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>.
1720 (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
1721 isalnum.
1722 * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>.
1723 (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
1724 isupper/tolower.
1725 * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>.
1726 (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
1727 * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>.
1728 (ctor_prio): Use ISDIGIT instead of isdigit.
1729 * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>.
1730 (ldfile_open_file_search): Use ISALPHA instead of isalpha.
1731 (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
1732 isupper/tolower.
1733 * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>.
1734 (stricpy): Use TOLOWER instead of isupper/tolower.
1735 (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
1736 * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>.
1737 (lex_warn_invalid): Use ISPRINT instead of isprint.
1738 * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>.
1739 (main): For gettext, also set the LC_CTYPE locate facet.
1740 (add_keepsyms_file): Use ISSPACE instead of isspace.
1741 * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>.
1742 (is_num, parse_args): Use ISDIGIT instead of isdigit.
1743 * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>.
1744 (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
1745 * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>.
1746 (gldppcmacos_read_file): Use ISSPACE instead of isspace.
1747 * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>.
1748 (quoteput): Use ISSPACE instead of isspace.
1749 (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
1750 instead of isalnum.
1751
db09f25b
AM
17522001-09-18 Alan Modra <amodra@bigpond.net.au>
1753
1754 * deffilep.y (def_stash_module): Constify "name" param.
1755
1756 * pe-dll.c: Replace CONST with const throughout.
1757 (quick_symbol): Constify "n1", "n2", "n3" params.
1758 (make_singleton_name_thunk): Constify "import" param. Make
1759 "buffer_len" a size_t.
1760 (make_import_fixup_entry): Constify "name", "fixup_name",
1761 "dll_symname" params.
1762 (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread.
1763 (pe_get32): Likewise.
1764 (pe_implied_import_dll): Likewise.
1765
1766 * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
1767 (sort_by_section_name): Likewise.
1768
1769 * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
1770 (make_import_fixup): Cast printf arg, rel->address to long rather
1771 than int.
1772 (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
1773
74699268
AM
17742001-09-15 Alan Modra <amodra@bigpond.net.au>
1775
1776 * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
1777 defines BufferSize. Increase buffer size by one.
1778
775cabad
NC
17792001-09-14 Ralf Habacker <Ralf.Habacker@freenet.de>
1780
1781 * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
1782
056a1d49
NC
17832001-09-14 Kevin Lo <kevlo@openbsd.org>
1784
1785 * configure.tgt: Add arm-openbsd target.
1786
a7d792bb
L
17872001-09-12 H.J. Lu <hjl@gnu.org>
1788
1789 * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
1790 eelf64lppc.o to ...
1791 (ALL_64_EMULATIONS): Here.
1792 * Makefile.in: Regenerated.
1793
0d888aac
CW
17942001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
1795
1796 * emultempl/pe.em(make_import_fixup): change signature to
1797 take asection as well as arelec; we need this for proper
146e7110 1798 error reporting. Only call pe_create_import_fixup() if
0d888aac
CW
1799 there is no attempt to add a constant addend to the reloc;
1800 otherwise, report error condition.
1801 * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
1802 since final argument is a pointer to make_import_fixup().
1803 Change call to cb() to match make_import_fixup() signature.
1804 (make_import_fixup_mark): make buffer_len unsigned.
1805 * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
1806
18072001-09-12 Charles Wilson <cwilson@ece.gatech.edu>
1808
1809 * ld.texinfo: add verbose documentation for auto-import
146e7110 1810 direct-addressing workaround, to compliment the terse
0d888aac
CW
1811 error message.
1812
cedacdc0
CM
18132001-09-12 Andrew MacLeod <amacleod@redhat.com>
1814
146e7110 1815 * scripttempl/v850.sc: Add gcc_except_table sections.
cedacdc0 1816
3b16e843 18172001-09-11 Jeffrey A Law (law@cygnus.com)
38be0bb1
JL
1818
1819 * emulparams/h8300helf.sh: Move stack to a much higher memory address.
1820 * emulparams/h8300self.sh: Similarly.
1821
559e4713
NC
18222001-09-05 Danny Smith <dannysmith@users.souceforge.net>
1823
1824 * ld.texinfo (Options, --stack): Correct default value for stack
1825 reserve.
1826
1fdf0249
TR
18272001-09-05 Tom Rix <trix@redhat.com>
1828
1829 * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
146e7110 1830
9b5799b8
AJ
18312001-09-03 Andreas Jaeger <aj@suse.de>
1832
1833 * emultempl/beos.em: Declare prototypes for comparions functions,
1834 adjust definitions.
1835
48f6162b
AJ
18362001-09-02 Andreas Jaeger <aj@suse.de>
1837
1838 * emultempl/aix.em: Add missing prototype.
1839 * emultempl/lnk960.em: Likewise.
1840 * emultempl/vanilla.em: Likewise.
1841 * emultempl/armcoff.em: Likewise.
1842 * emultempl/armelf_oabi.em: Likewise.
1843 * emultempl/beos.em: Likewise.
1844 * emultempl/gld960c.em: Likewise.
1845 * emultempl/gld960.em: Likewise.
1846
1847 * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
1848 for prototype declaration.
1849
39e5585e
EC
18502001-08-31 Eric Christopher <echristo@redhat.com>
1851 Jason Eckhardt <jle@redhat.com>
1852
1853 * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
1854
3fc90ddb
AJ
18552001-08-31 Andreas Jaeger <aj@suse.de>
1856
1857 * emultempl/pe.em: Add missing prototypes.
1858 (gld_${EMULATION_NAME}_after_open): Remove extra args to
1859 pe_find_data_imports.
1860 (pr_sym): Add unused attribute.
1861
d43ded80
PB
18622001-08-29 Joel Sherrill <joel@OARcorp.com>
1863
39e5585e 1864 * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
d43ded80
PB
1865 default from coff to elf.
1866
3946dd2f
JL
18672001-08-29 Jeff Law <law@redhat.com>
1868
1869 * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update
1870 ARCH specification.
1871 * emulparams/h8300self.sh: Similarly.
1872
3b16e843 18732001-08-28 J"orn Rennecke <amylaar@redhat.com>
8af6dd41
JR
1874
1875 * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
1876 eh8300self.o .
1877 (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
1878 * configure.tgt (h8300-*-elf*): New case.
1879 * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
1880 * emulparams/h8300self.sh: New file.
1881 * Makefile.in: Regenerated.
1882
70d0c6e9
NC
18832001-08-28 Nick Clifton <nickc@cambridge.redhat.com>
1884
1885 * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
1886 with macro name.
1887
5c67d4bb
AM
18882001-08-27 Linus Nordberg <linus@swox.com>
1889 Alan Modra <amodra@bigpond.net.au>
1890
1891 * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
1892 (eelf64ppc.c, eelf64lppc.c): Add make targets.
1893 Run "make dep-am"
1894 * Makefile.in: Regenerate.
1895 * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj
1896 entries to correct alphabetical position.
1897 * emulparams/elf64ppc.sh: New.
1898 * emulparams/elf64lppc.sh: New.
1899
08131015
NC
19002001-08-27 Nick Clifton <nickc@cambridge.redhat.com>
1901
1902 * ldmain.c (main): Declare BSIZE as static.
1903
db6751f2
JJ
19042001-08-23 Jakub Jelinek <jakub@redhat.com>
1905
1906 * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
1907 into .rel.dyn resp. .rela.dyn if combreloc.
1908 (get_script): If .x linker script is equal to .xn, only put it
1909 once into the binary.
1910 Add .xc and .xsc scripts.
1911 (parse_args): Handle -z combreloc and -z nocombreloc.
1912 * scripttempl/elf.sc (.rela.sbss): Fix a typo.
1913 For .xc and .xsc scripts put all .rel* or .rela* input sections
1914 but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
1915 * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
1916 is elf.
1917 Strip trailing whitespace from script.
1918 Generate .xc and .xsc scripts if requested.
1919 * ldmain.c (main): Initialize link_info.combreloc and
1920 link_info.spare_dynamic_tags.
1921 * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
1922 (ld_options): Add --spare-dynamic-tags option.
1923 (parse_args): Likewise.
1924 * ld.texinfo: Document -z combreloc and -z nocombreloc.
1925 * ldint.texinfo: Document .xc and .xsc linker scripts.
1926 * NEWS: Add notes about -z combreloc and SHF_MERGE.
1927
63d069c0
L
19282001-08-22 H.J. Lu <hjl@gnu.org>
1929
1930 * emulparams/elf32fr30.sh: Add a newline.
1931
948f9114
AJ
19322001-08-21 Andreas Jaeger <aj@suse.de>
1933
1934 * deffilep.y: Add missing prototypes.
1935 * pe-dll.c: Likewise.
1936
ae7fb08f
AM
19372001-08-20 Alan Modra <amodra@bigpond.net.au>
1938
2af02257
AM
1939 * ldlang.c (insert_pad): Fix typos in last patch.
1940
1941 * ldlang.c: When traversing lang_statement_union_type lists,
1942 consistently use "header.next" rather than "next".
1943 * mpw-eppcmac.c: Likewise.
1944 * emultempl/beos.em: Likewise.
1945 * emultempl/hppaelf.em: Likewise.
1946 * emultempl/pe.em: Likewise.
1947 * ldlang.h (union lang_statement_union): Remove "next" field.
1948
c0c330a7
AM
1949 * ldlang.c (insert_pad): Use offsetof macro.
1950 (lang_size_sections): Always neuter padding statements.
1951 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
1952
ae7fb08f
AM
1953 * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
1954 passed to lang_size_sections.
1955 (pe_exe_fill_sections): Likewise.
1956 * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
1957 (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
1958
fab80407
AM
19592001-08-18 Alan Modra <amodra@bigpond.net.au>
1960
1961 * emultempl/aix.em: Formatting fixes.
1962
b3327aad
AM
19632001-08-18 Alan Modra <amodra@bigpond.net.au>
1964
1965 * ldlang.c (insert_pad): Make use of an existing pad statement if
1966 available. Move code calculating alignment, adjusting section
1967 alignment power, and adjusting dot to ..
1968 (size_input_section): .. here. Remove unused relax param.
1969 (lang_size_sections): Change boolean `relax' param to boolean *.
1970 Adjust call to size_input_section. Make use of insert_pad to
1971 place pad after the assignment statement. If relaxing, zap
1972 padding statements.
1973 (reset_memory_regions): Reset output_bfd section sizes too.
1974 (relax_again): Move to..
1975 (lang_process): ..here. Adjust call to lang_size_sections, and
1976 remove duplicated code.
1977 * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
1978
563e308f
AM
19792001-08-17 Alan Modra <amodra@bigpond.net.au>
1980
1981 * ld.texinfo: Document that fill values now use the four least
1982 significant bytes.
1983 * emulparams/elf32fr30.sh (NOP): Update.
1984 * emulparams/elf32mcore.sh: Likewise.
1985 * emulparams/elf64_s390.sh: Likewise.
1986 * emulparams/elf_i386.sh: Likewise.
1987 * emulparams/elf_i386_be.sh: Likewise.
1988 * emulparams/elf_i386_chaos.sh: Likewise.
1989 * emulparams/elf_i386_ldso.sh: Likewise.
1990 * emulparams/elf_s390.sh: Likewise.
1991 * emulparams/elf_x86_64.sh: Likewise.
1992 * emulparams/i386moss.sh: Likewise.
1993 * emulparams/i386nw.sh: Likewise.
1994 * emulparams/m68kelf.sh: Likewise.
1995 * scripttempl/elf.sc: Update NOP comment.
1996 * scripttempl/elfi370.sc: Likewise.
1997 * scripttempl/elfm68hc11.sc: Likewise.
1998 * scripttempl/elfm68hc12.sc: Likewise.
1999 * scripttempl/nw.sc: Likewise.
2000
b90e1c6f
TR
20012001-08-15 Tom Rix <trix@redhat.com>
2002
2003 * ldgram.y (saved_script_handle): Initialize to NULL.
2004 * ldmain.c (main): Change check on saved_script_handle.
948f9114 2005
39dcfe18
AM
20062001-08-14 Alan Modra <amodra@bigpond.net.au>
2007
cde43e70
AM
2008 * emultempl/elf32.em: Formatting fixes.
2009 (output_prev_sec_find): Test for bfd_ind_section too; do so by
2010 looking at sec->owner.
2011 (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
2012 (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove
2013 unused code, and reorganize orphan section placement code.
2014
39dcfe18
AM
2015 * ldlang.c (wild_doit): Rename to lang_add_section.
2016 * ldlang.h: Here too.
2017 * mpw-elfmips.c: And here.
2018 * emultempl/beos.em: And here.
2019 * emultempl/elf32.em: And here.
2020 * emultempl/hppaelf.em: And here.
2021 * emultempl/pe.em: And here.
2022
908d20b3
RH
20232001-08-13 Richard Henderson <rth@redhat.com>
2024
2025 * emultempl/needrelax.em: New file.
2026 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
2027 * Makefile.am (eelf64_ia64.c): Depend on it.
2028 * Makefile.in: Rebuild.
2029
0f33d40b
AM
20302001-08-13 Alan Modra <amodra@bigpond.net.au>
2031
22af9fd3
AM
2032 * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
2033 output_section is set non-NULL.
2034
0f33d40b
AM
2035 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
2036 `true' for SEC_EXCLUDE sections so that the generic code doesn't
2037 needlessly create an output_section_statement. Treat a correctly
2038 named output_section_statement with NULL bfd_section as compatible.
2039
55ab6103
HPN
20402001-08-13 Hans-Peter Nilsson <hp@bitrange.com>
2041
2042 * emultempl/generic.em: Support EXTRA_EM_FILE.
2043 (ld_${EMULATION_NAME}_emulation): Support emulation parameters
2044 LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
2045 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
2046 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
2047 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
2048 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
2049 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
2050 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
2051 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
2052 LDEMUL_FIND_POTENTIAL_LIBRARIES.
2053
24098abb
RH
20542001-08-12 Richard Henderson <rth@redhat.com>
2055
2056 * scripttempl/elf.sc, scripttempl/elfd30v.sc,
2057 scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
2058 scripttempl/v850.sc: Keep .jcr data.
2059
b9a8de1e 20602001-08-12 H.J. Lu <hjl@gnu.org>
146e7110
AM
2061 Andrew Haley <aph@cambridge.redhat.com>
2062 Nick Clifton <nickc@redhat.com>
b9a8de1e 2063
146e7110 2064 * ldgram.y (had_script): Change name to saved_script_handle.
b9a8de1e
NC
2065 Change type to file handle.
2066 * ld.h (had_script): Rename and retype.
2067 * ldfile.c (ldfile_open_command_file): Save the file handle
2068 used in saved_script_handle.
2069 * lexsup.c (parse_args): Do not allow -c option to alter
2070 saved_script_handle.
2071 * ldmain.c (main): Print out the linker script used if
2072 --verbose is given. Check saved_script_handle to obtain the
2073 external linker script used, or if NULL, dump the builtin
2074 script.
2075 * ld.texinfo: Document that --verbose now dumps the linker
2076 script used, regardless of whether it was an internal or an
2077 external script.
2078
0218d1e4
AJ
20792001-08-10 Andreas Jaeger <aj@suse.de>
2080
2081 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2082 to build warnings.
2083 * configure: Regenerate.
2084
5253f23b
AM
20852001-08-09 Alan Modra <amodra@bigpond.net.au>
2086
73810896
AM
2087 * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
2088
5253f23b
AM
2089 * scripttempl/elf.sc: Move non-text .dynamic section before
2090 .plt/.got/.sdata* group.
2091 (OTHER_GOT_SECTIONS): Move to immediately after .got.
2092 (OTHER_SDATA_SECTIONS): Add.
2093 * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
2094 OTHER_GOT_SECTIONS.
2095 * emulparams/crislinux.sh: Likewise.
2096 * emulparams/elf32b4300.sh: Likewise.
2097 * emulparams/elf32bmip.sh: Likewise.
2098 * emulparams/elf32bmipn32.sh: Likewise.
2099 * emulparams/elf32bsmip.sh: Likewise.
2100 * emulparams/elf32btsmip.sh: Likewise.
2101 * emulparams/elf32ebmip.sh: Likewise.
2102 * emulparams/elf32elmip.sh: Likewise.
2103 * emulparams/elf32l4300.sh: Likewise.
2104 * emulparams/elf32lmip.sh: Likewise.
2105 * emulparams/elf32lsmip.sh: Likewise.
2106 * emulparams/elf32ltsmip.sh: Likewise.
2107 * emulparams/elf64bmip.sh: Likewise.
2108 * emulparams/elf64btsmip.sh: Likewise.
2109 * emulparams/elf64ltsmip.sh: Likewise.
2110
179c732c
AM
21112001-08-08 Alan Modra <amodra@bigpond.net.au>
2112
2113 * genscripts.sh: Source the emulparams script before each output
2114 script is generated so that variables like `RELOCATING' may affect
2115 variables defined in the emulparams script.
2116
3fd36710
AM
21172001-08-04 Alan Modra <amodra@bigpond.net.au>
2118
20713691
AM
2119 * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
2120 order.
2121
3fd36710
AM
2122 * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
2123 ie. iterate over wild_statement.section_list.
2124 (gld${EMULATION_NAME}_place_orphan): Likewise.
2125
de0b1853
SC
21262001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2127
2128 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
2129 .fini[0-4] sections used by _exit
2130 (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
2131 (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
2132 * scripttempl/elfm68hc11.sc: Likewise.
2133
ff7e6f88
L
21342001-08-03 H.J. Lu <hjl@gnu.org>
2135
2136 * emultempl/beos.em (init): Add the missing initialization.
2137
b6bf44ba
AM
21382001-08-03 Alan Modra <amodra@bigpond.net.au>
2139
2140 * ld.texinfo (Input Section Basics): Clarify ordering of output
2141 sections.
2142 * ldlang.c (callback_t): Add wildcard_list param.
2143 (walk_wild_section): Remove "section" param. Rewrite for
2144 lang_wild_statement_type change. Remove unique_section_p test.
2145 (walk_wild_file): Remove "section" param.
2146 (walk_wild): Remove "section" and "file" params.
2147 (lang_gc_wild): Likewise.
2148 (wild): Likewise. Modify for lang_wild_statement_type change.
2149 (wild_sort): Likewise. Add "sec" param.
2150 (gc_section_callback): Likewise.
2151 (output_section_callback): Likewise. Do unique_section_p test.
2152 (map_input_to_output_sections): Modify call to wild.
2153 (lang_gc_sections_1): Likewise.
2154 (print_wild_statement): Modify for lang_wild_statement_type
2155 change.
2156 (lang_add_wild): Replace filename, filenames_sorted param with
2157 filespec. Replace section_name, sections_sorted,
2158 exclude_filename_list with section_list.
2159 * ldlang.h (lang_add_wild): Here too.
2160 (lang_wild_statement_type): Replace section_name, sections_sorted,
2161 and exclude_filename_list with section_list.
2162 * ldgram.y (current_file): Delete.
2163 (%union): Add wildcard_list.
2164 (file_NAME_list): Set type to wildcard_list. Build a linked list
2165 rather than calling lang_add_wild for each entry.
2166 (input_section_spec_no_keep): Call lang_add_wild here instead.
2167 * ld.h (struct wildcard_list): Declare.
2168 * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
2169
b044cda1
CW
21702001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
2171
2172 * ldmain.c (main): initialize link_info.pei386_auto_import
2173 * pe-dll.c: new tables for auto-export filtering
2174 (auto_export): change API, pass abfd for contextual filtering.
b6bf44ba 2175 Loop thru tables of excluded symbols instead of comparing
b044cda1
CW
2176 "by hand".
2177
21782001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>
2179
b6bf44ba
AM
2180 * pe-dll.c: new variable pe_dll_enable_extra_debug. New
2181 static variable current_sec (static struct sec *). Add
b044cda1 2182 forward declaration for add_bfd_to_link.
b6bf44ba
AM
2183 (process_def_file): Don't export undefined symbols. Do not
2184 export symbols starting with "_imp__". Call auto_export()
b044cda1
CW
2185 with new API.
2186 (pe_walk_relocs_of_symbol): New function.
2187 (generate_reloc): add optional extra debugging
b6bf44ba 2188 (pe_dll_generate_def_file): eliminate extraneous initial blank
b044cda1 2189 line in output
b6bf44ba 2190 (make_one): enlarge symtab to make room for __nm__ symbols
b044cda1
CW
2191 (DATA auto-import support).
2192 (make_singleton_name_thunk): New function.
2193 (make_import_fixup_mark): New function.
2194 (make_import_fixup_entry): New function.
2195 (pe_create_import_fixup): New function.
b6bf44ba 2196 (add_bfd_to_link): Specify that 'name' argument is a CONST
b044cda1 2197 char *.
b6bf44ba
AM
2198 * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
2199 declare new functions pe_walk_relocs_of_symbol and
b044cda1
CW
2200 pe_create_import_fixup.
2201 * emultempl/pe.em: add new options --enable-auto-import,
2202 --disable-auto-import, and --enable-extra-pe-debug.
2203 (make_import_fixup): New function.
2204 (pe_find_data_imports): New function.
2205 (pr_sym): New function.
b6bf44ba 2206 (gld_${EMULATION_NAME}_after_open): Add optional extra pe
b044cda1
CW
2207 debugging. Call pe_find_data_imports. Mark .idata as DATA, not
2208 CODE.
2209
22102001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
b6bf44ba 2211
b044cda1
CW
2212 * ld.texinfo: add additional documentation for
2213 --export-all-symbols. Document --out-implib,
2214 --enable-auto-image-base, --disable-auto-image-base,
b6bf44ba
AM
2215 --dll-search-prefix, --enable-auto-import, and
2216 --disable-auto-import.
b044cda1
CW
2217 * ldint.texinfo: Add detailed documentation on auto-import
2218 implementation.
2219
156e34dd
NC
22202001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2221
2222 * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
2223 example.
2224
d6231427
AM
22252001-07-24 Alan Modra <amodra@bigpond.net.au>
2226
2227 * Makefile.am: Update dependencies with "make dep-am".
2228 * Makefile.in: Regenerate
2229
e14ec88b
AM
22302001-07-23 Alan Modra <amodra@bigpond.net.au>
2231
2232 * ldcref.c (check_section_sym_xref): New function.
2233 (check_nocrossrefs): Call it.
2234 (check_nocrossref): Interate over h->refs here instead of..
2235 (check_refs): ..here. Pass in the symbol name, section, and bfd
2236 rather than hash_entry pointers.
2237 (struct check_refs_info): Keep symbol name rather than hash entry.
2238 Remove "same".
2239 (check_reloc_refs): Tweak for above changes in check_refs_info.
2240 Only report references to section syms when symname is NULL to
2241 prevent duplicate messages for the same reloc.
2242
1b577b00
NC
22432001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2244
c7d701b0
NC
2245 * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
2246 available. Do not print NULL trees.
2247 (exp_print_token): Print unknown tokens with values > 126 as
2248 decimal values not ASCII characters.
2249
1545243b
NC
2250 * ldlang.c (lang_leave_overlay): If a region is specified assign
2251 it to all sections inside the overlay unless they have been
2252 assigned to the own, non-default, memory region.
2253
1b577b00
NC
2254 * README: Add header for consistency with other README files.
2255
5030876b
L
22562001-07-14 H.J. Lu <hjl@gnu.org>
2257
2258 * emultempl/elf32.em (output_prev_sec_find): Never return
2259 bfd_abs_section_ptr, bfd_com_section_ptr nor
2260 bfd_und_section_ptr.
2261
18c7a9a5
NC
22622001-07-14 Nick Clifton <nickc@cambridge.redhat.com>
2263
22af9fd3 2264 * Makefile.am (em32relf.c): Change dependency from generic.em to
18c7a9a5
NC
2265 elf32.em.
2266 * Makefile.in: Regenerate.
2267
9ffecff1
MG
22682001-07-14 matthew green <mrg@eterna.com.au>
2269
2270 * configure.tgt (i386-*-netbsdelf*): New target.
2271 (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
2272
95500e1c
JJ
22732001-07-13 Jakub Jelinek <jakub@redhat.com>
2274
2275 * emultempl/elf32.em (output_prev_sec_find): New.
2276 (place_orphan): Use it.
2277
e97cb84f
L
22782001-07-11 H.J. Lu <hjl@gnu.org>
2279
2280 * ldmain.c (main): Fix typos in the last change.
2281
7333607e
JJ
22822001-07-11 Jakub Jelinek <jakub@redhat.com>
2283
2284 * ldmain.c (main): Disallow -F and -f without -shared.
2285
d29d80f2
NC
22862001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
2287
2288 * emultempl/pe.em (after_open): Check for the output_bfd not
2289 having any coff_data structure allocated to it.
2290
c2a1a436
DB
22912001-07-09 David O'Brien <obrien@FreeBSD.org>
2292
2293 * emultempl/elf32.em: Do not assuming that contents of the buffer
2294 returned from basename function will remain unchanged accross other
2295 function calls.
2296
63653551
L
22972001-07-03 H.J. Lu <hjl@gnu.org>
2298
2299 * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
2300 2001-07-03. It creates dynamic entries even for static binaries.
2301
d303a449
L
23022001-07-03 Jakub Jelinek <jakub@redhat.com>
2303
2304 * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
2305 (DYNAMIC): Use it to reserve few dynamic entries for
2306 post-linking tools.
2307
9f22353f
AM
23082001-06-27 Alan Modra <amodra@bigpond.net.au>
2309
2310 * emulparams/hppa64linux.sh: New file.
2311 * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
2312 * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
2313 (ehppa64linux.c): Add rule to make it.
2314 Run "make dep-am".
2315 * Makefile.in: Regenerate.
2316
62bf86b4
HPN
23172001-06-21 Hans-Peter Nilsson <hp@axis.com>
2318
2319 * ld.texinfo (Options, -r): Mention restrictions when using
2320 different object formats.
2321
429d935d
HPN
23222001-06-19 Hans-Peter Nilsson <hp@axis.com>
2323
2324 * ldlang.c (lang_check): Emit fatal error if relocatable link
2325 between different object flavours with relocations in input.
2326
cb840a31
L
23272001-06-19 H.J. Lu <hjl@gnu.org>
2328
2329 * ld.texinfo (-E, --export-dynamic): Mention --version-script.
2330 (--version-script): Mention the language support.
2331
9bf03acc
L
23322001-06-19 H.J. Lu <hjl@gnu.org>
2333
2334 * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
2335
c45021f2
NC
23362001-06-18 H.J. Lu <hjl@gnu.org>
2337
b6bf44ba
AM
2338 * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
2339 (diststuff): Add $(MANS).
2340 * Makefile.in: Regenerated.
c45021f2 2341
b6bf44ba 2342 * ld.1: Removed.
c45021f2 2343
6caa99ab
HPN
23442001-06-18 Hans-Peter Nilsson <hp@axis.com>
2345
605d9b3a
HPN
2346 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
2347 Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
2348 * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
2349 * ld.h (args_type): Remove member export_dynamic. All users
2350 changed to use struct bfd_link_info member.
2351
6caa99ab
HPN
2352 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
2353 $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
2354 * Makefile.in: Regenerate.
2355
6f9efd97
L
23562001-06-18 H.J. Lu <hjl@gnu.org>
2357
2358 * ldlang.c (init_os): Add the newline to the einfo call.
2359 (lang_check): Likewise.
2360 (lang_do_version_exports_section): Likewise.
2361
5af9fd8b
L
23622001-06-15 H.J. Lu <hjl@gnu.org>
2363
2364 * lexsup.c (parse_args); Save optind to report unrecognized
2365 option.
2366
2a096f04
HPN
23672001-06-15 Hans-Peter Nilsson <hp@axis.com>
2368
7e66c3f5
HPN
2369 * ldlang.c (lang_check): Emit fatal error if relocatable link
2370 between different object flavours.
2371
2a096f04
HPN
2372 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
2373 Set new link_info member export_dynamic.
2374 * ldmain.c (main): Initialize new link_info member export_dynamic.
2375
6770ec8c
NC
23762001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
2377
2378 * ldlang.c (walk_wild): Only call walk_wild_file if
2379 lookup_name returns something.
b6bf44ba 2380 (lookup_name): If load_symbols fails, return NULL.
22af9fd3 2381 (load_symbols): Change to a boolean function.
b6bf44ba 2382 (open_input_bfds): If load_symbols fails then do not make the
6770ec8c
NC
2383 executable.
2384
8529105a
AM
23852001-06-08 Alan Modra <amodra@bigpond.net.au>
2386
2387 * ldlang.c (record_bfd_errors): Remove.
2388
2389 * emultempl/aix.em: Fix copyright dates.
2390
8f3aa7a0
AJ
23912001-06-07 Andreas Jaeger <aj@suse.de>
2392
2393 * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
2394 (TEXT_START_ADDR): Likewise.
2395
3277f888
AM
23962001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
2397
2398 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
2399
3763134d
DD
24002001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2401
2402 * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
2403
5929ebc0
L
24042001-05-31 H.J. Lu <hjl@gnu.org>
2405
2406 * ldlang.c (open_input_bfds): Don't change the bfd error
2407 handler whilst loading symbols.
2408
c04a062d
NC
24092001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2410
2411 * configure.tgt: Remove i370-mvs architecture, it is not currently
2412 supported.
2413
96fcab3e
L
24142001-05-25 H.J. Lu <hjl@gnu.org>
2415
2416 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
2417 like emulparams/aixppc.sh.
2418
db8d4f23
L
24192001-05-25 H.J. Lu <hjl@gnu.org>
2420
2421 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
2422 setting of output_filename after bfd_scan_arch.
2423 * emultempl/pe.em: Likewise.
2424
5f642101
L
24252001-05-25 H.J. Lu <hjl@gnu.org>
2426
2427 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
2428 like emulparams/aixppc.sh.
2429
2430 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
2431 instead of ${srcdir}/emultempl/stringify.sed.
2432
64e9ece0
TW
24332001-05-25 Timothy Wall <twall@oculustech.com>
2434
2435 * emulparams/elf64_aix.sh: Change settings to match IBM linker
8f3aa7a0 2436 output.
64e9ece0 2437
c709b096
AM
24382001-05-25 Alan Modra <amodra@one.net.au>
2439
2440 * configure.host: Replace linuxoldld with linux*oldld.
2441 * configure.tgt: Likewise.
2442
6cbdcc6f
L
24432001-05-24 H.J. Lu <hjl@gnu.org>
2444
2445 * emultempl/stringify.sed: Removed again.
2446
86af25fe
L
24472001-05-24 H.J. Lu <hjl@gnu.org>
2448
2449 * emultempl/aix.em (OUTPUT_ARCH): Defined.
2450 (gld${EMULATION_NAME}_before_parse): Initialize
2451 ldfile_output_architecture, ldfile_output_machine and
2452 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
2453 * emultempl/beos.em: Likewise.
2454 * emultempl/elf32.em: Likewise.
2455 * emultempl/linux.em: Likewise.
2456 * emultempl/mipsecoff.em: Likewise.
2457 * emultempl/pe.em: Likewise.
2458 * emultempl/sunos.em: Likewise.
2459
3b1b01cf
TR
24602001-05-24 Tom Rix <trix@redhat.com>
2461
8f3aa7a0 2462 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
3b1b01cf
TR
2463 udate import file format.
2464 (change_symbol_mode) New, same
2465 (is_syscall) New, same
2466 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
2467 * emulparams/aixppc64.sh : same
2468 * emulparams/aixrs6.sh : same
2469 * emulparams/ppcmacos.sh : same
2470 * emultempl/aix.em : use strtoull to parse options
2471 * Makefile.am : add eaixppc64 emulation for xcoff64
2472 * Makefile.in : same
2473 * configure.tgt : same
2474
2475 * scripttempl/aix.sc : default text section offset to 0x10000000
146e7110 2476 default data section offset to 0x20000000
3b1b01cf 2477 add .sv3264 and .sv64 pseudo sections
8f3aa7a0 2478 loader and debug sections use the currect section offset.
3b1b01cf
TR
2479
2480 * emultempl/aix.em : Add xcoff64 support
2481 Add -binitfini support
8f3aa7a0 2482 (gld${EMULATION_NAME}_before_parse) -binitfini
3b1b01cf 2483 (gld${EMULATION_NAME}_parse_args) same
8f3aa7a0 2484 (gld${EMULATION_NAME}_before_allocation) format change for special
3b1b01cf
TR
2485 sections
2486
2487 * emulparams/aixppc64.sh : New file for xcoff64 support
8f3aa7a0 2488
57e6abd2
AO
24892001-05-23 Alexandre Oliva <aoliva@redhat.com>
2490
2491 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
2492 variable to avoid non-portable shell construct.
2493
d1cf510e
NC
24942001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2495
2496 * ldmain.c (get_emulation): Add -mips5 command line argument.
2497
506eee22
NC
24982001-05-22 Alexandre Oliva <aoliva@redhat.com>
2499
2500 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
2501 (ELF_INTERPRETER_NAME): Define it.
2502 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
2503 it.
2504 * configure.tgt (targ_emul, targ_extra_emuls)
2505 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
2506 as primary, elf_i386 as extra.
2507 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
2508 (eelf_i386_ldso.c): New rule.
2509 * Makefile.in: Rebuilt.
2510
25112001-05-22 Nick Clifton <nickc@redhat.com>
2512
2513 * lexsup.c (ld_options): Allow -I to be an alias for
2514 --dynamic-linker. This is for Solaris compatability.
2515 * ld.texinfo: Document that -I can be used.
2516 * ld.1: Regenerate.
2517
d1778b88
AM
25182001-05-16 Alan Modra <amodra@one.net.au>
2519
2520 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
2521 whether an input section is the first one assigned to an output
2522 section.
2523 Assorted formatting fixes.
2524
02649152
DD
25252001-05-14 DJ Delorie <dj@delorie.com>
2526
2527 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
2528 * Makefile.in: Ditto.
2529
579f31ac
JJ
25302001-05-11 Jakub Jelinek <jakub@redhat.com>
2531
2532 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
2533 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
2534 output sections.
2535 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
2536
8550eb6e
JJ
25372001-05-11 Jakub Jelinek <jakub@redhat.com>
2538
2539 * ldlang.c (lang_process): Call bfd_merge_sections.
2540
8e5a525c
AM
25412001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2542
2543 * ldgram.y: Fix typo.
2544
1c9acd94
L
25452001-05-03 H.J. Lu <hjl@gnu.org>
2546
2547 * emultempl/elf32.em: Include "libiberty.h".
2548 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
2549 basename of the bfd filename.
2550 (gld${EMULATION_NAME}_stat_needed): Likewise.
2551 (gld${EMULATION_NAME}_try_needed): Likewise.
2552 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
2553
14fe918e
L
25542001-05-02 H.J. Lu <hjl@gnu.org>
2555
2556 * emultempl/pe.em: Include <ctype.h>.
2557
c7e40348
NC
25582001-05-02 Johan Rydberg <jrydberg@opencores.org>
2559
b6bf44ba 2560 * emulparams/elf32openrisc.sh: New file.
c7e40348 2561
b6bf44ba
AM
2562 * Makefile.am: Add OpenRISC target.
2563 * Makefile.in: Regenerated.
c7e40348 2564
b6bf44ba 2565 * configure.tgt: Add openrisc-*-* mapping.
c7e40348
NC
2566
25672001-05-02 Nick Clifton <nickc@redhat.com>
2568
2569 * emultempl/aix.em: Replace buystring with xstrdup.
2570 * emultempl/beos.em: Replace buystring with xstrdup.
8f3aa7a0 2571
d1b2b2dc
L
25722001-05-02 H.J. Lu <hjl@gnu.org>
2573
2574 * ldfile.c: Include "libiberty.h".
2575 * ldlex.l: Likewise.
2576
2577 * ldmisc.c (buystring): Removed.
2578 * ldmisc.h: Likewise.
2579
2580 * ldfile.c: Replace buystring with xstrdup.
2581 * ldlang.c: Likewise.
2582 * ldlex.l: Likewise.
2583 * ldmain.c: Likewise.
2584 * ldmisc.c: Likewise.
2585 * lexsup.c: Likewise.
2586 * mpw-eppcmac.c: Likewise.
2587
35714f2a
AJ
25882001-04-30 Andreas Jaeger <aj@suse.de>
2589
2590 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
2591
884fb58e
NC
25922001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
2593
b6bf44ba
AM
2594 * ldlang.c (load_symbols): Give emulation a chance
2595 to process unrecognized file before fatal error is
2596 reported, not after.
884fb58e 2597
87748b32
NC
25982001-04-27 Sean McNeil <sean@mcneil.com>
2599
2600 * configure.tgt: Add arm-vxworks target.
2601 * scripttempl/armcoff.sc: Support .text or .data as a section name
2602 prefix.
2603 Define _etext.
35714f2a 2604
7ce691ae
C
26052001-04-13 J.T. Conklin <jtc@redback.com>
2606
2607 * ld.texinfo: Document --fatal-warnings.
2608 * ld.1: Regenerate.
2609
2610 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
35714f2a 2611 warnings have been turned into errors.
7ce691ae
C
2612 * lexsup.c (OPTION_WARN_FATAL): Define.
2613 (ld_options): Entry for --fatal-warnings.
2614 (parse_args): Handle OPTION_WARN_FATAL.
2615 * ld.h (ld_config_type): Add fatal_warnings field.
2616
f5fa8ca2
JJ
26172001-04-13 Jakub Jelinek <jakub@redhat.com>
2618
2619 * ldmain.c (main): Default to discard_sec_merge.
2620 * lexsup.c (OPTION_DISCARD_NONE): Define.
2621 (ld_options): Add --discard-none.
2622 (parse_args): Handle OPTION_DISCARD_NONE.
2623 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
2624 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
2625 all its input sections match.
2626
fdec3cfc
L
26272001-04-05 Steven J. Hill <sjhill@cotw.com>
2628
2629 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
2630 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
2631 (eelf32ltsmip.c): New target.
2632 (eelf64btsmip.c): Likewise.
2633 (eelf64ltsmip.c): Likewise.
2634 * Makefile.in: Regenerated.
2635
2636 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
2637 target.
2638 (mips*-*-linux-gnu*): Likewise.
2639
2640 * emulparams/elf32ltsmip.sh: New. Traditional little endian
2641 MIPS taget.
35714f2a 2642 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
fdec3cfc
L
2643 target.
2644 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
2645 endian target.
2646
589bad82
HPN
26472001-04-05 Hans-Peter Nilsson <hp@axis.com>
2648
2649 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
2650 correct value of __Stext here.
2651 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
2652 .startup section.
2653
2654 * emulparams/crislinux.sh: Remove FIXME.
2655
94202e16
AM
26562001-04-02 Alan Modra <alan@linuxcare.com.au>
2657
2658 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
2659 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
2660
1268a053
HPN
26612001-03-27 Hans-Peter Nilsson <hp@axis.com>
2662
2663 * configure.tgt (cris-*-*): Change default emulation to criself.
2664 (cris-*-*aout*): New rule.
2665
d85e9ff7
AM
26662001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com>
2667
2668 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
2669 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
2670
0879a67a
AJ
26712001-03-26 Andreas Jaeger <aj@suse.de>
2672
2673 * ld.texinfo (Overview): Fix syntax in texi code.
2674
0285c67d
NC
26752001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2676
2677 * ld.texinfo: Put @c man indications to generate the ld man page.
2678 When generating man, define all the variables. Define SEEALSO
2679 and SYNOPSIS. Re-organize some lines to avoid the cross references.
2680 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
2681 (ld.1): Generate from ld.texinfo.
2682 * Makefile.in: Regenerate.
2683
c20ec07b
NC
26842001-03-23 Mark Elbrecht <snowball3@bigfoot.com>
2685
2686 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
146e7110 2687 and '-fdata-sections'. Set the VMA of STABS sections to zero.
c20ec07b 2688
cc5ce052
UD
26892001-03-17 Ulrich Drepper <drepper@redhat.com>
2690
2691 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
2692 is an absolute path look only for this file and not along the path.
2693
a1ab1d2a
UD
26942001-03-17 Ulrich Drepper <drepper@redhat.com>
2695
2696 * emultempl/elf32.em (OPTION_GROUP): New macro.
2697 Add new option Bgroup to longopts.
2698 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
2699 (gld*_list_options): Add -Bgroup and -z defs.
2700 * ld.1: Document -Bgroup and -z defs.
2701 * ld.texinfo: Likewise.
2702
788fca5a
MM
27032001-03-07 Michael Meissner <meissner@redhat.com>
2704
2705 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
2706 with sections created by -fdata-sections.
2707 (.dynbss,.bss): Ditto.
2708
1c7566d1
AM
27092001-03-05 Alan Modra <alan@linuxcare.com.au>
2710
2711 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
2712 after_allocation_default, not gld..._before_allocation.
2713
27b7e12d
AM
27142001-02-27 Alan Modra <alan@linuxcare.com.au>
2715
2716 * configure.in (BFD_VERSION): New.
2717 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2718 * configure: Regenerate.
2719 * Makefile.am: Run "make dep-am"
2720 * Makefile.in: Regenerate.
2721
2bc551c7
TW
27222001-02-26 Timothy Wall <twall@cygnus.com>
2723
2724 * emulparams/elf64_aix.sh: Add additional read-only sections;
2725 uncomment lines which are now required.
2726
1276aefa
NC
27272001-02-26 H.J. Lu <hjl@gnu.org>
2728
2729 * ldlang.c (open_input_bfds): Set the bfd error handler so
b6bf44ba
AM
2730 that problems can be caught whilst loading symbols.
2731 (record_bfd_errors): New function: Report BFD errors and mark
2732 the executable output as being invalid.
1276aefa 2733
41c49998
TW
27342001-02-22 Timothy Wall <twall@cygnus.com>
2735
2736 * configure.host: Add configuration for ia64-*-aix*.
2737 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
2738 Add dependencies for eelf64_aix.c.
2739 * Makefile.in: Regenerate.
2740 * configure.tgt: Add ia64-*-aix* mapping.
2741 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
a2b64bed 2742 * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
0879a67a
AJ
2743 AIX-specific test.
2744
78f85fd7
L
27452001-02-20 H.J. Lu <hjl@gnu.org>
2746
2747 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
2748 false if we found the file.
2749
1ac7e077 27502001-02-18 David O'Brien <obrien@FreeBSD.org>
fb33b906
DB
2751
2752 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
2753 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
2754
e135f41b
NC
27552001-02-18 lars brinkhoff <lars@nocrew.org>
2756
2757 * Makefile.am: Add PDP-11 target.
2758 * configure.tgt: Likewise.
2759 * emulparams/pdp11.sh: New file.
2760
a842aceb
DB
27612001-02-17 David O'Brien <obrien@FreeBSD.org>
2762
2763 * configure.host: Add a generic FreeBSD configuration entry such that
2764 all [modern] FreeBSD systems on all platforms will look the same.
2765
24174db0
L
27662001-02-14 H.J. Lu <hjl@gnu.org>
2767
2768 * configure.tgt: Remove mention of earmelf_linux26.
2769
30c3c13a
RH
27702001-02-13 Richard Henderson <rth@redhat.com>
2771
2772 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
2773
b46a87b1
L
27742001-02-13 H.J. Lu <hjl@gnu.org>
2775
2776 * ldexp.h (node_type): Add etree_provided.
2777 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
2778 type to etree_provided if defined by PROVIDE. Allow updating
0879a67a 2779 for etree_provided.
b46a87b1
L
2780 (exp_print_tree): Handle etree_provided.
2781 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
2782 etree_provided.
2783
f3988fd9
RH
27842001-02-09 David Mosberger <davidm@hpl.hp.com>
2785
2786 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
2787 .IA_64.unwind.* pattern to unwind table section and
2788 .IA_64.unwind_info* pattern to unwind info section.
2789
a85d7ed0
NC
27902001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2791
2792 * Makefile.am: Add linux target for S/390.
2793 * Makefile.in: Likewise.
2794 * configure.host: Likewise.
2795 * configure.tgt: Likewise.
2796 * emulparams/elf64_s390.sh: New file.
2797 * emulparams/elf_s390.sh: New file.
2798
780248c4
JJ
27992001-02-09 Jakub Jelinek <jakub@redhat.com>
2800
2801 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
2802 targ_extra_libpath.
2803 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
2804
0e2534bd
PB
28052001-02-06 Philip Blundell <philb@gnu.org>
2806
2807 * Makefile.am: Remove mention of earmelf_linux26.
2808 * Makefile.in: Regenerate.
2809
46c1ea57
PB
28102001-02-04 Philip Blundell <philb@gnu.org>
2811
2812 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
2813 * emulparams/armelf_linux26.sh: Delete.
2814 * configure.tgt: Remove mention of armelf_linux26 emulation.
2815
0088edd2
NC
28162001-02-01 Nick Clifton <nickc@redhat.com>
2817
2818 * ld.1: Replace occurances of -oformat with --oformat.
2819
02aa14fb
AM
28202001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
2821
2822 * ldlang.c (lang_leave_overlay): Don't set lma_region when
2823 load_base is specified.
2824
f813923c
HPN
28252001-01-24 Hans-Peter Nilsson <hp@axis.com>
2826
2827 * emultempl/elf32.em: Correct spelling in comments and listed
2828 options.
2829
c1eb1488
AM
28302001-01-23 Alan Modra <alan@linuxcare.com.au>
2831
2832 * ldlang.c (lang_leave_overlay): Only set lma_region from the
2833 default for the first section of a group of overlay sections.
2834
d9fc3714
AM
28352001-01-22 Alan Modra <alan@linuxcare.com.au>
2836
2837 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
2838 * Makefile.in: Regenerate.
2839 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
2840 Check for null tool_dir.
2841
6be0ca94
JW
28422001-01-16 Jim Wilson <wilson@redhat.com>
2843
2844 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
2845 and IA_64.unwind.info.
2846
b9247304
L
28472001-01-16 H.J. Lu <hjl@gnu.org>
2848
2849 * ldlang.c (lang_check): Merge the private data only if the
2850 input file has contents.
2851
577a0623
AM
28522001-01-14 Alan Modra <alan@linuxcare.com.au>
2853
d952f17a
AM
2854 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
2855
ffd6e9de
AM
2856 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
2857 enabling search for libmilli. On a relocatable link, make .text
2858 sections unique.
2859 (LDEMUL_AFTER_PARSE): Define.
2860 (hppaelf_finish): Correct spelling of relocatable in comments.
2861
577a0623
AM
2862 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2863 rummage through the script for sections on the unique list.
2864 Correct length of strncmp for ".note".
2865 (gld${EMULATION_NAME}_check_needed): Rearrange function.
2866
2867 * ldlang.c (unique_section_list): New var.
2868 (unique_section_p): New function.
2869 (walk_wild_section): Don't match sections on unique_section_list.
2870 (lang_add_unique): New function.
ffd6e9de 2871 Correct spelling of relocatable in comments.
577a0623
AM
2872
2873 * ldlang.h (struct unique_sections): Declare.
2874 (unique_section_list): Declare.
2875 (unique_section_p): Declare.
2876 (lang_add_unique): Declare.
2877
2878 * lexsup.c (ld_options): Allow --unique to take an optional arg.
2879 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
2880
2881 * ld.texinfo (--unique): Update.
2882
b7ed8fad
NC
28832001-01-13 Nick Clifton <nickc@redhat.com>
2884
2885 * lexsup.c (parse_args): Remove spurious white space.
2886
d0398d6a
NC
28872001-01-12 Nick Clifton <nickc@redhat.com>
2888
2889 * lexsup.c (parse_args): Update copyright date.
2890
350fdb00
PB
28912001-01-12 Philip Blundell <pb@futuretv.com>
2892
2893 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
2894
60c6797e
KH
28952001-01-10 Kazu Hirata <kazu@hxi.com>
2896
2897 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
2898 * scripttempl/h8300h.sc: Fix formatting.
2899 * scripttempl/h8300s.sc: Likewise.
69f06969
KH
2900 * scripttempl/h8500.sc: Likewise.
2901 * scripttempl/h8500b.sc: Likewise.
2902 * scripttempl/h8500c.sc: Likewise.
2903 * scripttempl/h8500m.sc: Likewise.
2904 * scripttempl/h8500s.sc: Likewise.
60c6797e 2905
482e8b32
DB
29062000-01-07 David O'Brien <obrien@BSDi.com>
2907
2908 * emultempl/elf32.em: Only perform Linux ld hints processing when
2909 targeting Linux.
2910
d7ed7ca6
PB
29112001-01-07 Philip Blundell <philb@gnu.org>
2912
2913 * ld.texinfo (Bug Reporting): Update email address for reports.
2914
0fc3347a
NC
29152000-12-31 Nick Clifton <nickc@redhat.com>
2916
2917 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
2918 options by checking for a return value of '?' not -1.
2919
e4897a32
NC
29202000-12-28 Nick Clifton <nickc@redhat.com>
2921
2922 * lexsup.c (struct ld_option): Add new enum value:
2923 EXACTLY_TWO_DASHES.
2924 (ld_options[]): Change -omagic, -output and -oformat options
2925 to be EXACTLY_TWO_DASHES.
2926 (OUTPUT_COUNT): Use ARRAY_SIZE.
2927 (parse_args): Change parameter 'argc' to unsigned.
2928 Place EXACTLY_TWO_DASHES options into new really_longopts
2929 array.
2930 If getopt_long_only fails, try calling getopt_long using the
2931 really_longopts array.
2932 (help): Print a double dash for both EXACTLY_TWO_DASHES and
2933 TWO_DASHES options.
2934
2935 * ldlex.h: Fix prototype of parse_args.
2936
2937 * ld.texinfo: Document that long options starting with 'o'
2938 must be preceeded by two dashes. Change example of a single
2939 dashed long option from -oformat to -trace-symbol.
2940
1122a5fc
NC
29412000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2942
2943 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
2944 (longopts[]): New --no-default-excludes option.
2945 (gld_${EMULATION_NAME}_list_options): Document.
2946 (gld_${EMULATION_NAME}_parse_args): Handle.
2947
037849a9
NC
29482000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2949
2950 * ldlang.c (new_stat): Revert the last beautification with "innocent"
2951 whitespace, it breaks the K&R C preprocessor.
2952
7ec229ce
DD
29532000-12-11 DJ Delorie <dj@redhat.com>
2954
2955 * ld.texinfo: Add notes about --whole-archive and gcc.
2956
b79e8c78
NC
29572000-11-18 Fred Fish <fnf@be.com>
2958
2959 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
2960 (ld_options): Entry for --allow-shlib-undefined.
2961 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
2962 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
2963 to false.
2964 * ld.texinfo: Document new command line switch.
d952f17a 2965
9a8e2505
GK
29662000-12-12 Geoffrey Keating <geoffk@redhat.com>
2967
2968 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
2969 .fixup is actually read/write.
2970 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
2971 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
2972 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
2973
3b16e843 29742000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
2975
2976 * NEWS: Add note about x86_64 architecture.
2977
93b63cd3
DD
29782000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
2979
2980 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
2981 Set DWARF2 sections to a VMA of zero.
2982
68b2fc7a 29832000-12-01 Joel Sherrill <joel@OARcorp.com>
24f6971a 2984
d952f17a 2985 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
24f6971a
NC
2986 New targets.
2987 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
2988 (sparc*-*-rtems*): Switched from a.out to ELF.
2989
2be3aa03
NC
29902000-11-30 Jan Hubicka <jh@suse.cz>
2991
2992 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
2993 (eelf_x86_64.c): New.
2994 * Makefile.in: Regenerate.
2995 * configure.tgt: Add support for x86_64-*-linux-gnu*.
2996 * emulparams/elf_x86_64.sh: New.
2997
8c899858
HPN
29982000-11-30 Hans-Peter Nilsson <hp@axis.com>
2999
3000 * emulparams/crislinux.sh (ENTRY): Change back to _start.
3001 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
3002
3003 * scripttempl/crisaout.sc: Change all RELOCATING not related to
3004 merging non-a.out sections into CONSTRUCTING.
3005
e47b9e39
NC
30062000-11-28 Nick Clifton <nickc@redhat.com>
3007
3008 * ld.1 (COPYING): Mention that the GNU Free Documentation
3009 License is present in the sources, but not the output, and
3010 also available from the GNU website.
3011 (GNU Free Documentation License): Comment out this section.
3012
ad95f82a
DB
30132000-11-28 David O'Brien <obrien@dragon.nuxi.com>
3014
3015 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
3016 does not use them.
3017
fd89e65f
DB
30182000-11-25 David O'Brien <obrien@FreeBSD.org>
3019
3020 * ld.1: Remove old date so it does not give the impression the manpage
3021 is way out of date.
3022
077b8428
NC
30232000-11-24 Nick Clifton <nickc@redhat.com>
3024
3025 * configure.tgt (xscale-coff): Add target.
3026 (xscale-elf): Add target.
3027
49425d28
NC
30282000-11-24 Fred Fish <fnf@be.com>
3029
d952f17a
AM
3030 * ldmain.c (main): Remove redundant init of config.make_executable
3031 to true.
49425d28 3032
d3480244
RH
30332000-11-15 Richard Henderson <rth@redhat.com>
3034
3035 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
3036
1ce7de8b
KH
30372000-11-14 Kazu Hirata <kazu@hxi.com>
3038
3039 * scripttempl/h8300.sc: Fix formatting.
3040 * scripttempl/h8300h.sc: Likewise.
3041 * scripttempl/h8300s.sc: Likewise.
3042
3b16e843 30432000-11-14 Denis Chertykov <denisc@overta.ru>
208d5cd0
DC
3044
3045 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
3046
2e418547
PB
30472000-11-09 Philip Blundell <pb@futuretv.com>
3048
3049 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
3050 around orphan sections whose names can be represented in C.
3051
c940e6fc
JW
30522000-11-07 Jim Wilson <wilson@redhat.com>
3053
3054 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
3055 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
3056
704c465c
NC
30572000-11-06 Nick Clifton <nickc@redhat.com>
3058
3059 * ld.texinfo: Add GNU Free Documentation License.
3060 * ldint.texinfo: Add GNU Free Documentation License.
cf055d54 3061 * ld.1: Add GNU Free Documentation License.
704c465c 3062
dca7760f
AM
30632000-11-05 Alan Modra <alan@linuxcare.com.au>
3064
3065 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
3066 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
3067
3068 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
3069 Move 2000-11-02 Makefile.in changes to this file.
3070 * Makefile.in: Regenerate.
3071
40a633d5
NC
30722000-11-03 Nick Clifton <nickc@redhat.com>
3073
3074 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
3075 constructors and destructors.
3076 * scripttempl/h8300h.sc: Ditto.
3077 * scripttempl/h8300s.sc: Ditto.
3078 * scripttempl/h8500.sc: Ditto.
3079 * scripttempl/h8500b.sc: Ditto.
3080 * scripttempl/h8500c.sc: Ditto.
3081 * scripttempl/h8500m.sc: Ditto.
3082 * scripttempl/h8500s.sc: Ditto.
3083 * scripttempl/v850.sc: Ditto.
3084 * scripttempl/w65.sc: Ditto.
3085 * scripttempl/z8000.sc: Ditto.
3086
59ff2774
NC
30872000-11-02 Per Lundberg <plundis@chaosdev.org>
3088
3089 * Makefile.in (e_i386_chaos.c): New rule.
3090 (ALL_EMULATIONS): Added e_i386_chaos.o.
3091 * emulparams/elf_i386_chaos.sh: New file.
3092 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
3093
645571e1
JJ
30942000-10-20 Jakub Jelinek <jakub@redhat.com>
3095
3096 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
3097 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
3098 Fix sed invocation, so that it coped with '/' in Solaris 64bit
3099 library path suffix.
3100 Based on patch by Andrew Macleod <amacleod@cygnus.com>.
3101
c5975a45
HPN
31022000-10-18 Hans-Peter Nilsson <hp@axis.com>
3103
3104 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
3105 for consecutive sections.
3106
ea20a7da
CC
31072000-10-17 Chandrakala Chavva <cchavva@redhat.com>
3108
d952f17a
AM
3109 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
3110 options.
3111 * ld.texinfo: Added notes about this new option.
ea20a7da 3112
6e45556a
NC
31132000-10-16 Nick Clifton <nickc@redhat.com>
3114
3115 * emultempl/pe.em (_after_open): Add tests of return values from
3116 bfd functions. Emit appropriate error messages if necessary.
3117
b9a69188
NC
31182000-10-13 Nick Clifton <nickc@redhat.com>
3119
3120 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
102c86f8
NC
3121 local variables - they are not used, but leave in the call to
3122 bfd_canonicalize_symtab.
b9a69188
NC
3123 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
3124 pe_dll_search_prefix.
3125
627427de 31262000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
d952f17a 3127
627427de
DD
3128 * emultempl/pe.em (pe_dll_search_prefix): New variable,
3129 (longopts): New --dll-search-prefix option.
3130 (gld_${EMULATION_NAME}_list_options): Document.
3131 (gld_${EMULATION_NAME}_parse_args): Handle.
3132 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
3133 dynamically, search for a dll named '<prefix><basename>.dll'
3134 in preference to 'lib<basename>.dll' if --dll-search-prefix
3135 is specified.
3136
24376d1b
AM
31372000-10-12 Alan Modra <alan@linuxcare.com.au>
3138
3139 * ldlang.c (section_already_linked): Set kept_section instead of
3140 sec->comdat->sec.
3141
e47d05ad
KH
31422000-10-10 Kazu Hirata <kazu@hxi.com>
3143
3144 * deffile.h: Fix formatting.
3145 * lexsup.c: Likewise.
3146 * mri.c: Likewise.
3147
23a87948
DD
31482000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
3149
3150 * pe-dll.c (make_one): Do not generate code thunk for DATA
3151 exports.
3152 (process_def_file): deduce DATA flag for auto-export sumbols.
3153
86b1cc60
KH
31542000-10-09 Kazu Hirata <kazu@hxi.com>
3155
89cdebba
KH
3156 * ld.h: Fix formatting.
3157 * ldcref.c: Likewise.
3158 * ldctor.h: Likewise.
3159 * ldemul.c: Likewise.
3160 * ldemul.h: Likewise.
3161 * ldexp.c: Likewise.
3162 * ldexp.h: Likewise.
3163 * ldfile.c: Likewise.
3164 * ldfile.h: Likewise.
3165 * ldlang.c: Likewise.
3166 * ldlang.h: Likewise.
3167 * ldmain.c: Likewise.
7bfd51a3
KH
3168 * pe-dll.c: Likewise.
3169
3170 * pe-dll.c: Revert some formatting fixes.
86b1cc60 3171
d643799d
KH
31722000-10-08 Kazu Hirata <kazu@hxi.com>
3173
3174 * pe-dll.c: Fix formatting.
3175
08da4cac
KH
31762000-10-05 Kazu Hirata <kazu@hxi.com>
3177
3178 * ldlang.c: Fix formatting.
3179
c2a94a7a
DD
31802000-10-03 DJ Delorie <dj@redhat.com>
3181
3182 * pe-dll.c (fill_edata): initialize entire block
3183 (make_one): fill in correct section.
3184
8c95a62e
KH
31852000-10-03 Kazu Hirata <kazu@hxi.com>
3186
3187 * ldexp.c: Fix formatting.
3188
486e80e2
DD
31892000-10-02 DJ Delorie <dj@redhat.com>
3190
3191 * emultempl/pe.em (gld_*_after_open): detect case where there two
3192 import libraries for same dll; rename one to ensure proper link
3193 order.
3194
3195 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
3196 typo
3197 (generate_edata): fix typo
3198
24dd9f75
HPN
31992000-09-29 Hans-Peter Nilsson <hp@axis.com>
3200
3201 * scripttempl/crisaout.sc (ENTRY): Now __start.
3202 (.text): Add default setting for __start.
3203 Remove CONSTRUCTORS handling.
3204 (/DISCARD/): Add .gnu.warning.*.
3205 * emulparams/crislinux.sh (ENTRY): Now __start.
3206 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
3207 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
3208 (ENTRY): Now __start.
3209 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
3210 (EXECUTABLE_SYMBOLS): Add default setting for __start.
3211
4de2d33d
KH
32122000-09-29 Kazu Hirata <kazu@hxi.com>
3213
5cc18311
KH
3214 * deffile.h: Fix formatting.
3215 * ld.h: Likewise.
3216 * ldcref.c: Likewise.
4de2d33d 3217 * ldctor.c: Likewise.
5cc18311 3218 * ldctor.h: Likewise.
4de2d33d 3219 * ldemul.c: Likewise.
5cc18311 3220 * ldemul.h: Likewise.
4de2d33d 3221 * ldexp.c: Likewise.
5cc18311 3222 * ldexp.h: Likewise.
4de2d33d 3223 * ldfile.c: Likewise.
5cc18311 3224 * ldfile.h: Likewise.
4de2d33d 3225 * ldlang.c: Likewise.
5cc18311
KH
3226 * ldlang.h: Likewise.
3227 * lexsup.c: Likewise.
3228 * mri.c: Likewise.
3229 * pe-dll.c: Likewise.
4de2d33d 3230
45b1f63c
DD
32312000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
3232
3233 * pe-dll.c (process_def_file): Uninitialized data wasn't
3234 exported with --export-all-symbols switch.
d952f17a 3235
45b1f63c
DD
32362000-09-28 DJ Delorie <dj@redhat.com>
3237
3238 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
3239 noname work properly.
3240
47d89dba
AM
32412000-09-28 Alan Modra <alan@linuxcare.com.au>
3242
3243 * ld.texinfo (HPPA ELF32): New section.
3244
3245 * emultempl/hppaelf.em (group_size): New.
3246 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
3247 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
3248 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
3249 options to prevent abbreviations matching.
3250 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
3251 (PARSE_AND_LIST_ARGS_CASES): Handle it.
3252
36bdbeec
NC
32532000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3254
3255 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
3256 on the m68*-*-elf target. Make it support COFF input objects.
3257
6d5e62f8
KH
32582000-09-21 Kazu Hirata <kazu@hxi.com>
3259
3260 * ldmain.c: Fix formatting.
3261 * ldmisc.c: Likewise.
3262 * ldver.c: Likewise.
3263 * ldwrite.c: Likewise.
3264
e2eb67d9
AM
32652000-09-21 Alan Modra <alan@linuxcare.com.au>
3266
3267 * ldwrite.c (clone_section): Silence gcc warnings.
3268
b3ea3584
AM
32692000-09-20 Alan Modra <alan@linuxcare.com.au>
3270
3271 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
3272 out of memory failure.
3273
3274 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
3275 (clone_section): Handle out of memory failures. Rename var to
3276 avoid c++ reserved word.
3277
25f72752
AM
32782000-09-18 Alan Modra <alan@linuxcare.com.au>
3279
3280 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
3281 stub_name param to stub_sec_name.
3282 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
3283
0752970e
NC
32842000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3285
3286 * emultempl/m68kelf.em: New file.
3287 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
3288 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
3289 * Makefile.in: Regenerate.
3290
92b7e9d8
AM
32912000-09-15 Alan Modra <alan@linuxcare.com.au>
3292
3293 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
3294 only as needed.
3295
9b14b192
NC
32962000-09-13 Nick Clifton <nickc@redhat.com>
3297
3298 * ldmain.c (multiple_definition): Disable relaxation if
3299 multiple symbol definitions are encountered - otherwise the
3300 linker could abort with an assertion failure.
3301
891fa266
NC
33022000-09-10 Nick Clifton <nickc@redhat.com>
3303
3304 * mri.c: Fix formatting.
3305
5d64ca4e
L
33062000-09-07 H.J. Lu <hjl@gnu.org>
3307
3308 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
3309 * configure: Rebuild.
3310
dd94604f
L
33112000-09-07 H.J. Lu <hjl@gnu.org>
3312
3313 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
3314 * Makefile.in: Rebuild.
3315
71bfc0ae
AM
33162000-09-07 Alan Modra <alan@linuxcare.com.au>
3317
3318 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
3319 broken list handling. Create __start_SECNAME and __stop_SECNAME
3320 when no place-holder. Add some comments. Test both SEC_CODE and
3321 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
ed15ac6a 3322 Handle case where no output section statement created.
71bfc0ae 3323
4a428502
AO
33242000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
3325
3326 * configure.tgt (sh-*-linux*): Added.
3327 * Makefile.am: Added eshelf_linux and eshlelf_linux.
3328 * Makefile.in: Rebuilt.
3329 * emulparams/shelf_linux.sh: New file.
3330 * emulparams/shlelf_linux.sh: New file.
3331
f9989030
AM
33322000-09-06 Alan Modra <alan@linuxcare.com.au>
3333
3334 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3335 try shuffling sections when the orphan happens to be the place
3336 holder. Keep count of unique section names generated so we speed
3337 the search for a new name.
3338
58cccadb
AO
33392000-09-06 Alexandre Oliva <aoliva@redhat.com>
3340
3341 * configure: Rebuilt with new libtool.m4.
3342
5b343f5a
NC
33432000-09-05 Nick Clifton <nickc@redhat.com>
3344
3345 * Makefile.in: Regenerate.
3346 * aclocal.m4: Regenerate.
3347 * configure: Regenerate.
3348 * config.in: Regenerate.
3349 * po/ld.pot: Regenerate.
3350
3351 * ldint.texinfo: Remove CVS revision marker - it foils local
3352 comparisons.
3353
3354 * emultempl/ticoff.em: Remove extraneous comma.
50bbae35 3355
a854a4a7
AM
33562000-09-05 Alan Modra <alan@linuxcare.com.au>
3357
3231d22e
AM
3358 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
3359 to stub section flags.
3360 (hppa_for_each_input_file_wrapper): New.
3361 (hppa_lang_for_each_input_file): New.
3362 (lang_for_each_input_file): Define to call above.
3363 (multi_subspace): New.
3364 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
3365 (PARSE_AND_LIST_PROLOGUE): Define.
3366 (PARSE_AND_LIST_LONGOPTS): Define.
3367 (PARSE_AND_LIST_OPTIONS): Define.
3368 (PARSE_AND_LIST_ARGS_CASES): Define.
3369 (hppaelf_finish): Call elf32_hppa_set_gp.
3370 (hppaelf_set_output_arch): Remove.
3371 (LDEMUL_SET_OUTPUT_ARCH): Remove.
3372
3373 * emulparams/hppalinux.sh (ELFSIZE): Define.
3374 (MACHINE): Define.
3375 (OTHER_READONLY_SECTIONS): Define.
3376 (DATA_PLT): Define.
3377 (GENERATE_SHLIB_SCRIPT): Define.
3378
5f992e62
AM
3379 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
3380 to const throughout. Change `void *' to `PTR' throughout.
3381 (lang_memory_default): Function is local to file, add `static'.
3382
3383 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
3384 (ehppalinux.c): Likewise.
3385 (earmelf.c): Likewise.
3386 (earmelf_linux.c): Likewise.
3387 (earmelf_linux26.c): Likewise.
3388 * Makefile.in: Regenerate.
3389
a854a4a7
AM
3390 * ld.h (ld_config_type): Add unique_orphan_sections.
3391 * lexsup.c (OPTION_UNIQUE): Define.
3392 (ld_options): Add "--unique".
3393 (parse_args): Handle it.
3394 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3395 search for an existing output section if unique_orphan_sections is
3396 set. Make use of bfd_get_unique_section_name rather than
3397 duplicating code here.
3398 * ld.texinfo: Describe --unique.
3399
3400 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
3401 optional arg to split-by-file.
3402 (parse_args): Handle them.
3403 * ld.texinfo: Update description of these options.
3404 * ldwrite.c (clone_section): Pass in the section name. Replace
3405 local code with bfd_get_unique_section_name.
3406 (split_sections): Tidy code and comments. Use a list traversal
3407 more appropriate to the list construction. Handle cooked section
3408 sizes. Split when split_by_reloc reached rather than exceeded.
3409 Track section size and split when split_by_file reached. Fix
3410 link_order_tail (even though it's not used).
3411 (ldwrite): Modify condition for calling split_sections to suit
3412 changed split_by_reloc and split_by_file.
3413 * ldmain.c (main): Init config.split_by_reloc and
3414 config.split_by_file to -1.
3415 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
3416 Change split_by_file to bfd_size_type.
3417
18e03609
NC
34182000-09-02 Nick Clifton <nickc@redhat.com>
3419
3420 * configure.in: Increase version number to 2.10.91.
3421 * NEWS: Mention new ability to support removal of duplicate DWARF2
3422 debug information.
3423 * configure: Regenerate.
3424 * aclocal.m4: Regenerate.
3425 * config.in: Regenerate.
3426
3a9d486c
NC
34272000-09-02 Daniel Berlin <dberlin@redhat.com>
3428
3429 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
3430 sections.
a2b64bed 3431 * scripttempl/elf32avr.sc: Ditto.
3a9d486c
NC
3432 * scripttempl/elfd10v.sc: Ditto.
3433 * scripttempl/elfd30v.sc: Ditto.
3434 * scripttempl/elfi370.sc: Ditto.
3435 * scripttempl/elfm68hc11.sc: Ditto.
3436 * scripttempl/elfm68hc12.sc: Ditto.
3437 * scripttempl/elfi386beos.sc: Ditto.
3438 * scripttempl/v850.sc: Ditto.
50bbae35 3439
ac48eca1
AO
34402000-08-31 Alexandre Oliva <aoliva@redhat.com>
3441
3442 * acinclude.m4: Include libtool and gettext macros from the
3443 top level.
3444 * aclocal.m4, configure: Rebuilt.
3445
c13b1b77
NC
34462000-08-25 Nick Clifton <nickc@redhat.com>
3447
3448 * ldlang.c (open_output): When choosing the target for a
3449 particular endianness, do nothing if the target is not
3450 supported.
3451
dcb0bd0e
L
34522000-08-25 H.J. Lu <hjl@gnu.org>
3453
3454 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
3455 check -rpath nor LD_RUN_PATH for cross link.
3456 * ld.texinfo: Document the change.
3457
5bcac8a4
HPN
34582000-08-24 Hans-Peter Nilsson <hp@axis.com>
3459
3460 * NEWS: Mention support for CRIS.
3461
6dd8c765
L
34622000-08-23 H.J. Lu <hjl@gnu.org>
3463
3464 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
3465 the current runpath list from bfd_elf_get_runpath_list ()
3466 before search.
3467
ec4eb78a
L
34682000-08-22 H.J. Lu <hjl@gnu.org>
3469
3470 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
3471 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
3472 LD_LIBRARY_PATH for native linker. Display the needed DSO if
3473 trace_file_tries is non-zero.
3474 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
3475 if trace_file_tries is non-zero.
3476
3477 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
a8175964 3478 * NEWS: Mention it.
ec4eb78a 3479
22b36938
JE
34802000-08-14 Jason Eckhardt <jle@cygnus.com>
3481
3482 * NEWS: Mention i860 support.
3483
d73e9da0
AS
34842000-08-14 Andreas Schwab <schwab@suse.de>
3485
3486 * scripttempl/elf.sc: Fix last change to use correct comment
50bbae35 3487 syntax.
d73e9da0 3488
9ac4db9c
GK
34892000-08-10 Geoff Keating <geoffk@cygnus.com>
3490
3491 * scripttempl/elf.sc: Add a comment giving the correspondence
3492 between sections, per-datum sections, and linkonce sections. Make
3493 the comment true even for .bss, .sdata, .sdata2, .sbss, and
3494 .sbss2.
3495
165589e4
JE
34962000-08-10 Jason Eckhardt <jle@cygnus.com>
3497
3498 * emulparams/elf32_i860.sh: New file.
3499 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
3500 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
3501 (eelf32_i860.c): New rule.
3502 * Makefile.in: Regenerate.
3503
345a835d
NC
35042000-08-10 Nick Clifton <nickc@cygnus.com>
3505
3506 * emulparams/mipspe.sh (ENTRY): Add definition.
3507
e374f1d9
NC
35082000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
3509
3510 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
3511 in error message.
3512
236d5abf
NC
35132000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3514
3515 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
3516 the final size of .bss section.
3517 * scripttempl/elfm68hc12.sc: Likewise.
3518
4b209b22
AM
35192000-08-04 Alan Modra <alan@linuxcare.com.au>
3520
3521 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
3522 gld${EMULATION_NAME}_parse_args for consistency. Combine
3523 lastoptind and prevoptind vars, and keep track of last optind.
3524 (gld_${EMULATION_NAME}_list_options): Rename to
3525 gld${EMULATION_NAME}_list_options.
3526
28423a68
AM
35272000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
3528
3529 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
3530 (i586-sco-sysv5uw7.1.0).
3531
b2009ff7
L
35322000-07-27 H.J. Lu <hjl@gnu.org>
3533
3534 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
3535 (PARSE_AND_LIST_PROLOGUE): New.
3536 (PARSE_AND_LIST_LONGOPTS): Likewise.
3537 (PARSE_AND_LIST_OPTIONS): Likewise.
3538 (PARSE_AND_LIST_ARGS_CASES): Likewise.
3539 (PARSE_AND_LIST_EPILOGUE): Likewise.
3540
04925e1e
AM
35412000-07-28 Alan Modra <alan@linuxcare.com.au>
3542
41392f03
AM
3543 * emultempl/armelf.em: Elide functions common to elf32.em,
3544 ie. most of the file.
3545 (arm_elf_after_open): New. Do arm specific things then call
3546 gld${EMULATION_NAME}_after_open.
3547 (arm_elf_before_allocation): New. Call
3548 gld${EMULATION_NAME}_before_allocation then do arm specifics.
3549 (PARSE_AND_LIST_PROLOGUE): Define.
3550 (PARSE_AND_LIST_SHORTOPTS): Define.
3551 (PARSE_AND_LIST_LONGOPTS): Define.
3552 (PARSE_AND_LIST_OPTIONS): Define.
3553 (PARSE_AND_LIST_ARGS_CASES): Define.
3554 (LDEMUL_AFTER_OPEN): Define.
3555 (LDEMUL_BEFORE_ALLOCATION): Define.
3556 (LDEMUL_BEFORE_PARSE): Define.
3557 (LDEMUL_FINISH): Define.
3558
3559 * emultempl/hppaelf.em: Similarly zap most of this file.
3560 (hppaelf_add_stub_section): Prototype.
3561 (hppaelf_layaout_sections_again): Prototype.
3562 (hook_in_stub): Prototype.
3563 (LDEMUL_SET_OUTPUT_ARCH): Define.
3564 (LDEMUL_FINISH): Define.
3565 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
3566
3567 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
3568 (EXTRA_EM_FILE): New.
3569 * emulparams/armelf_linux.sh: Likewise.
3570 * emulparams/armelf_linux26.sh: Likewise.
3571 * emulparams/hppalinux.sh: Likewise.
3572 * emulparams/hppaelf.sh: Likewise.
3573 (NOP): Define.
3574
3575 * emultempl/elf32.em: Fix formatting.
3576 (EXTRA_EM_FILE): Source it.
3577 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
3578 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
3579 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
3580 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
3581 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
3582 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
3583 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
3584 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
3585 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
3586 allow functions in this file to be overridden.
3587 (PARSE_AND_LIST_SHORTOPTS): Handle it.
3588
3589 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
3590
04925e1e
AM
3591 * emultempl/elf32.em: Reorganize file.
3592
88cdf297
NC
35932000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
3594
3595 * emulparams/elf64alpha.sh: Implement "-taso" emulation
3596 specific option to fit 64-bit executable in the lower
3597 31-bit address range. This is done by changing start
3598 address of .interp (the very first section of executable)
3599 and then setting EF_ALPHA_32BIT elf header flag.
3600
20bccb34
NC
36012000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3602
3603 * emultempl/m68kcoff.em: New file.
3604 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
3605 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
3606 generic.em.
3607 * Makefile.in: Regenerate.
3608
699845ef
L
36092000-07-20 H.J. Lu <hjl@gnu.org>
3610
3611 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
3612 and "disable-new-dtags" to stop getopt from treating -d/-e as
3613 abbreviations for these options.
3614
6c1439be
L
36152000-07-20 H.J. Lu <hjl@gnu.org>
3616
3617 * ld.texinfo: Add documentation for --disable-new-dtags and
3618 --enable-new-dtags.
3619
3620 * ldmain.c (main): Initialize link_info.new_dtags to false.
3621
3622 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
3623 --disable-new-dtags and --enable-new-dtags.
3624 (gld_${EMULATION_NAME}_list_options): Likewise.
3625
28c309a2
NC
36262000-07-05 Kenneth Block <krblock@computer.org>
3627
a2b64bed
NC
3628 * lexsup.c: Add optional style to demangle switch
3629 * ld.texinfo: Document optional style to demangle switch.
50bbae35 3630
9d06555c
HPN
36312000-07-20 Hans-Peter Nilsson <hp@axis.com>
3632
3633 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
3634 ecrislinux.o.
3635 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
3636 Regenerate dependencies.
3637 * Makefile.in: Rebuild.
3638 * configure.tgt (cris-*-*): New target.
3639 * emulparams/crisaout.sh, emulparams/criself.sh,
3640 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
3641 * po/POTFILES.in, po/ld.pot: Regenerate.
3642
19e3be22
L
36432000-07-20 H.J. Lu <hjl@gnu.org>
3644
3645 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
3646 Print out ignored -z options.
3647
e0ee487b
L
36482000-07-19 H.J. Lu <hjl@gnu.org>
3649
19e3be22
L
3650 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
3651 (PARSE_AND_LIST_PROLOGUE): New.
3652 (PARSE_AND_LIST_LONGOPTS): Likewise.
3653 (PARSE_AND_LIST_OPTIONS): Likewise.
3654 (PARSE_AND_LIST_ARGS_CASES): Likewise.
3655
3656 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
3657
3658 * lexsup.c (ld_options): Comment out 'z'.
3659 (parse_args): Likewise.
3660
3661 * emultempl/elf32.em: Include "elf/common.h".
3662 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
3663 options.
3664 (gld_${EMULATION_NAME}_list_options): Likewise.
3665
3666 * ld.texinfo: Add documentation for the recognized -z options.
e0ee487b 3667
49e56c49
L
36682000-07-19 H.J. Lu <hjl@gnu.org>
3669
3670 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
3671 bfd_elf_set_dt_needed_soname ().
3672
9d68bc82
DD
36732000-07-18 DJ Delorie <dj@cygnus.com>
3674
3675 * pe-dll.c (pe_dll_id_target): check object target name also
3676
53db15ed
HPN
36772000-07-18 Hans-Peter Nilsson <hp@axis.com>
3678
3679 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
3680 ${INIT_END} if relocating.
3681 (.fini): Likewise ${FINI_START} and ${FINI_END}.
3682
0ad8cf4c
DD
36832000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
3684
a2b64bed 3685 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
0ad8cf4c
DD
3686 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
3687 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
3688 errors introduced by the old dynamic lib search order.
3689
874c8c99
DD
36902000-07-17 DJ Delorie <dj@cygnus.com>
3691
3692 * pe-dll.c (process_def_file): auto-export data items also
3693 (pe_process_import_defs): also see if _imp_ form needed
3694
5b4cf3f4
DD
36952000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
3696
3697 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
3698 for dll import libraries
3699
062739d1
NC
37002000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
3701
3702 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
d952f17a 3703 gcc 2.95.2 and later.
062739d1 3704
1c64c4ed
NC
37052000-07-11 Kazu Hirata <kazu@hxi.com>
3706
50bbae35
AM
3707 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
3708 message.
1c64c4ed 3709
b71e2778
AM
37102000-07-10 Alan Modra <alan@linuxcare.com.au>
3711
3712 * ldemul.h (struct lang_input_statement_struct): Remove forward
3713 declaration.
3714 (struct search_dirs): Likewise.
3715 * ldfile.h (struct lang_input_statement_struct): Likewise.
3716 Protect file from multiple inclusion.
3717 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
3718 declaration from macro to file scope.
3719
3720 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
3721 * ldgram.y: Likewise here.
3722 * ldlang.c: And here.
3723 * ldmain.c: And here.
3724 * mpw-elfmips.c: And here.
3725 * mpw-eppcmac.c: And here.
3726 * emultempl/aix.em: And here.
3727 * emultempl/armcoff.em: And here.
3728 * emultempl/armelf.em: And here.
3729 * emultempl/armelf_oabi.em: And here.
3730 * emultempl/beos.em: And here.
3731 * emultempl/elf32.em: And here.
3732 * emultempl/hppaelf.em: And here.
3733 * emultempl/linux.em: And here.
3734 * emultempl/lnk960.em: And here.
3735 * emultempl/pe.em: And here.
3736 * emultempl/sunos.em: And here.
3737 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
3738 * mpw-idtmips.c: Ditto.
3739 * emultempl/generic.em: Ditto.
3740 * emultempl/gld960.em: Ditto.
3741 * emultempl/gld960c.em: Ditto.
3742 * emultempl/mipsecoff.em: Ditto.
3743 * emultempl/ticoff.em: Ditto.
3744 * emultempl/vanilla.em: Ditto.
3745
3746 * pe-dll.c: Include ldfile.h
3747 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
3748
3749 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
3750 arguments to bfd_elf32_size_dynamic_sections call.
3751 (gldelf32ebmip_place_orphan): Add missing arguments to
3752 lang_leave_output_section_statement call.
3753
2ef53d66
L
37542000-07-10 H.J. Lu <hjl@gnu.org>
3755
3756 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
3757 DLL_SUPPORT.
3758 (strhash): Likewise.
3759 (compute_dll_image_base): Likewise.
3760 (pe_undef_found_sym): Likewise.
3761 (pe_undef_cdecl_match): Likewise.
3762 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
3763 argument "arch" with ATTRIBUTE_UNUSED.
3764
9a8cbb09
AM
37652000-07-10 Alan Modra <alan@linuxcare.com.au>
3766
3767 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
3768
3769 From Ryan Bradetich <rbradetich@uswest.net>
3770 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
50bbae35 3771
4900fc06
AM
37722000-07-09 Alan Modra <alan@linuxcare.com.au>
3773
3774 Changes to create multiple linker stubs, positioned immediately
3775 before the section where they are required.
3776 * emultempl/hppaelf.em: Include elf32-hppa.h.
3777 (stub_sec, file_chain): Delete.
3778 (hppaelf_create_output_section_statements): Don't make a stub
3779 section here.
3780 (hook_stub_info): New struct.
3781 (hook_in_stub): New function.
3782 (hppaelf_add_stub_section): New function.
3783 (hppaelf_finish): Do nothing for relocateable links. Modify the
3784 call to elf32_hppa_size_stubs. Move code for updating section
3785 layout from here...
3786 (hppaelf_layaout_sections_again): ..to here, a new function.
3787
3788 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
3789 broken list handling. Pass in a pointer to the list.
3790 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
3791 for above changes.
3792 (hppaelf_before_parse): Prototype.
3793 (hppaelf_set_output_arch): Prototype.
3794 (hppaelf_create_output_section_statements): Prototype.
3795 (hppaelf_delete_padding_statements): Prototype.
3796 (hppaelf_finish): Prototype.
3797
3798 Merge from elf32.em
3799 * emultempl/hppaelf.em: Include ctype.h.
3800 (struct orphan_save): New.
3801 (gld${EMULATION_NAME}_place_orphan): New.
3802 (output_rel_find): New.
3803 (hppaelf_get_script): Update from elf32.em.
3804 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
3805 Change emulation_name field to "${EMULATION_NAME}". Add
50bbae35 3806 gld${EMULATION_NAME}_place_orphan.
4900fc06
AM
3807
3808 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
3809 ehppalinux.o, sort it. Regenerate dependencies.
3810 (ehppalinux.c): Depend on hppaelf.em
3811 * Makefile.in: Regenerate.
3812
3813 * configure.tgt: targ_emul=hppalinux for hppa*linux
3814
3815 * emulparams/hppalinux.sh: New.
3816 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
3817
227aeb07
AM
38182000-07-08 Alan Modra <alan@linuxcare.com.au>
3819
3820 * lexsup.c (parse_args): Copy section name.
3821
28609fd4 38222000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
602e90d3 3823
2ef53d66 3824 * emultempl/pe.em: institute the following search order for
602e90d3
DD
3825 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
3826 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
3827 static lib (libfoo.a) if none of the above are found.
3828
5f577f7d
DD
38292000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
3830
50bbae35 3831 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
5f577f7d 3832 (longopts): New --{enable,disable}-auto-image-base options.
50bbae35 3833 (gld_${EMULATION_NAME}_list_options): Document.
5f577f7d
DD
3834 (gld_${EMULATION_NAME}_parse): Handle.
3835 (strhash): New static function.
50bbae35 3836 (compute_dll_image_base): New static function.
5f577f7d
DD
3837 (gld_${EMULATION_NAME}_set_symbols): Use.
3838
9a8cbb09 38392000-07-05 DJ Delorie <dj@redhat.com>
302ab118
DD
3840
3841 * MAINTAINERS: new
3842
3548145d 38432000-07-01 Koundinya K <kk@ddeorg.soft.net>
50bbae35
AM
3844
3845 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
3846 * emulparams/elf32btsmip.sh: New file.
3847 * Makefile.am: Add traditional mips target.
3848 * Makefile.in: Rebuild.
3849
67798033
L
38502000-07-01 H.J. Lu <hjl@gnu.org>
3851
3852 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
3853 automake to use YLWRAP.
3854 * Makefile.in: Rebuild.
3855
0bdaf48b
AM
38562000-07-01 Alan Modra <alan@linuxcare.com.au>
3857
3858 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
3859 (CLEANFILES): Add DEPA.
3860 * Makefile.in: Regenerate.
3861
c9e769c2
TW
38622000-06-30 Timothy Wall <twall@ppc>
3863
3864 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
3865 the page in the upper octet of the address.
3866
65aa24b6
NC
38672000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
3868
3869 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
3870
4667035e
AM
38712000-06-24 Alan Modra <alan@linuxcare.com.au>
3872
3873 * NEWS: arm-elf does --gc-sections too.
3874
1581f8c9
AM
38752000-06-22 Alan Modra <alan@linuxcare.com.au>
3876
3877 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
3878 find one.
3879 * Makefile.in: Regenerate.
3880
01580992
L
38812000-06-21 H.J. Lu <hjl@gnu.org>
3882
3883 * Makefile.am: Rebuild dependency.
3884 * Makefile.in: Rebuild.
3885
bbeb2e03
L
38862000-06-20 H.J. Lu <hjl@gnu.org>
3887
3888 * Makefile.am: Rebuild dependency.
3889 * Makefile.in: Rebuild.
3890
74459f0e
TW
38912000-06-20 Timothy Wall <twall@cygnus.com>
3892
3893 * scripttempl/tic54xcoff.sc: New.
3894 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
3895 * gen-doc.texi: Add flag for TI COFF.
3896 * ld.texinfo: Add documentation for TI COFF handling switches.
3897 * emultempl/ticoff.em: New. TI COFF handling.
3898 * configure.tgt: Add tic54x target.
3899 * Makefile.am: Add tic54x target.
3900 * Makefile.in: Ditto.
3901
2ab47eed
AM
39022000-06-20 Alan Modra <alan@linuxcare.com.au>
3903
3904 * ldmain.c (set_scripts_dir): Correct pointer comparison when
3905 checking for backslashes.
3906
919e4093
AM
39072000-06-19 Alan Modra <alan@linuxcare.com.au>
3908
3909 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
3910
987fd5b4
AM
39112000-06-18 Alan Modra <alan@linuxcare.com.au>
3912
3913 * NEWS: Update list of targets supporting --gc-sections.
3914
3915 * scripttempl/elf.sc: KEEP .eh_frame contents.
3916 * scripttempl/elfd30v.sc: Same here.
3917
60bcf0fa
NC
39182000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
3919
3920 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
3921 and m68hc11 (elf).
3922 * Makefile.in: Rebuild.
3923 * configure.tgt: Recognize m68hc12 and m68hc11.
3924 * scripttempl/elfm68hc12.sc: New file.
3925 * emulparams/m68hc12elfb: New emulation.
3926 * emulparams/m68hc12elf: New emulation.
3927 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
3928 (includes a memory.x script to define the ROM and RAM banks).
3929 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
3930 New configuration files for support of Motorola 68hc11
3931
c7c54483
AM
39322000-06-15 Alan Modra <alan@linuxcare.com.au>
3933
3934 * ldmain.c (main): Only change SEC_READONLY for final link.
3935
bcef29e6
L
39362000-06-13 H.J. Lu <hjl@gnu.org>
3937
3938 * configure: Regenerate.
3939
946efd95
DB
39402000-06-08 David O'Brien <obrien@FreeBSD.org>
3941
3942 * configure.in (VERSION): Update to show this is the CVS mainline.
3943
57a6fd07
DB
39442000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3945
3946 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
3947 input objects to be ECOFF.
3948 (check_sections): einfo takes %B, not %P, to print a BFD name.
3949
e06cae36
L
39502000-06-05 Michael Matz <matz@ifh.de>
3951
3952 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
d952f17a 3953 version scripts.
e06cae36 3954
d952f17a 3955 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
e06cae36 3956
2f0b56c0
DC
39572000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
3958
3959 * emulparams/avr1200.sh (STACK): Define as 0.
3960 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
3961 * emulparams/avr4433.sh (STACK): Likewise.
3962 * emulparams/avr44x4.sh (STACK): Likewise.
3963 * emulparams/avr85xx.sh (STACK): Likewise.
3964 * emulparams/avrmega103.sh (STACK): Likewise.
3965 * emulparams/avrmega161.sh (STACK): Likewise.
3966 * emulparams/avrmega603.sh (STACK): Likewise.
3967 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
3968 (__stack): Define from ${STACK} for main().
3969
2114f57b
AM
39702000-05-26 Alan Modra <alan@linuxcare.com.au>
3971
3972 * Makefile.am: Update dependencies with "make dep-am"
3973 * Makefile.in: Regenerate.
3974
5af11cab
AM
39752000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
3976
3977 * ldmain.c: Include filenames.h.
3978 (set_scripts_dir): Support backslashes in program name.
3979
1f0df59a
NC
39802000-05-22 Igor Shevlyakov <igor@windriver.com>
3981
3982 * ldmain.c (main): When deciding if ".text" section should be
50bbae35
AM
3983 read-only, don't forget to reset SEC_READONLY because it
3984 could be already set.
1f0df59a 3985
176355da
NC
39862000-05-22 Thomas de Lellis <tdel@windriver.com>
3987
50bbae35
AM
3988 * ld.1: Add documentation for new command line option:
3989 --section-start <sectionname>=<sectionorg>
3990 This is a generic version of -Ttext etc. which accepts
3991 any section name as a parameter instead of just text/data/
3992 bss.
3993 * ld.texinfo: More docs.
3994 * NEWS: More docs.
3995 * lexsup.c: (parse_args): Recognize new command line option.
176355da 3996 (ld_options): Add new option.
50bbae35 3997
8c5ff972
L
39982000-05-18 H.J. Lu <hjl@gnu.org>
3999
4000 * lexsup.c (parse_args): `i' == `r', not `q'.
4001
3b16e843 40022000-05-18 Jeffrey A Law (law@cygnus.com)
0b76fe77
JL
4003
4004 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
4005
a712da20
NC
40062000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
4007 Rick Gorton <gorton@scrugs.lkg.dec.com>
50bbae35 4008
a712da20
NC
4009 Add support for '-q' == '--emit-relocs' switch.
4010 * ldmain.c (main): Default to false.
4011 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
4012 * NEWS: Describe the emitrelocations switch.
4013 * ld.texinfo: Describe the emitrelocations switch.
4014
690a460e
NC
40152000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
4016
a2b64bed 4017 * emultempl/pe.em (_open_dynamic_archive): New function: Search
690a460e
NC
4018 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
4019 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
4020 link options.
50bbae35 4021
c2f1343c
AM
40222000-05-15 David O'Brien <obrien@FreeBSD.org>
4023
4024 * lexsup.c (parse_args): Update the year in the copyright notice.
4025
897083bd
AM
40262000-05-13 Alan Modra <alan@linuxcare.com.au>
4027
4028 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
4029 Replace defines with those from intl/libgettext.h to quieten gcc
4030 warnings.
4031
cd4c806a
L
40322000-05-10 H.J. Lu <hjl@gnu.org>
4033
4034 * ldlang.c (open_input_bfds): Don't load the same file within
4035 a group again if the whole archive has been loaded already.
4036
93697284
AM
40372000-05-03 Alan Modra <alan@linuxcare.com.au>
4038
4039 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
4040 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
4041 strtoul.
4042
3b16e843 40432000-05-01 Jim Wilson <wilson@cygnus.com>
ebd6fc29 4044
99a4150f 4045 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
50bbae35 4046
ebd6fc29
JW
4047 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
4048 host "ia64-*-linux-gnu*".
4049
a1934524
AM
40502000-04-29 Andreas Jaeger <aj@suse.de>
4051
4052 * ld.h: Correctly check GCC version.
4053
3b16e843 40542000-04-25 Jeffrey A Law (law@cygnus.com)
730a39a0
JL
4055
4056 * Makefile.am: Add PA64 support. Add missing dependencies for
4057 PA32 elf support.
4058 * Makefile.in: Rebuilt.
4059 * configure.tgt: Add PA64 support (currently disabled).
4060
aea4bd9d
AM
40612000-04-25 Alan Modra <alan@linuxcare.com.au>
4062
4063 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
4064 (output_rel_find): New function.
4065 (hold_section, hold_use): Delete.
4066 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
4067 hold_interp): Make local to place_orphan.
4068 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
4069 rather than place_section to find possible previous use of orphan.
4070 Similarly find the place-holder output sections. Use returned
4071 value from lang_enter_output_section_statement rather than calling
4072 lang_output_section_statement_lookup.
4073 * emultempl/armelf.em: Same here.
4074 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
4075
4076 * ldlang.c (lang_enter_output_section_statement): Return output
4077 section statement.
4078 * ldlang.h (lang_enter_output_section_statement): Change
4079 declaration too.
4080
4081 * ldlang.h (lang_output_section_statement): Export it.
4082 * ldlang.c (lang_output_section_statement): Ditto.
4083
2b5fc1f5
NC
40842000-04-24 Nick Clifton <nickc@cygnus.com>
4085
4086 * ld.texinfo (Output Section Data): Add note that section data
4087 commands cannot appear outside of section directives.
4088
d8475ff6
JL
40892000-04-2 Matthew Green <mrg@cygnus.com>
4090
4091 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
4092
3b16e843
NC
40932000-04-21 Richard Henderson <rth@cygnus.com>
4094 David Mosberger <davidm@hpl.hp.com>
800eeca4
JW
4095
4096 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
4097 (eelf64_ia64.c): New rule.
4098 * Makefile.in: Rebuild.
4099 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
4100 * emulparams/elf64_ia64.sh: New file.
50bbae35 4101
c9637625
RH
41022000-04-21 Richard Henderson <rth@cygnus.com>
4103
4104 * scripttempl/elfd30v.sc: Place .gcc_except_table.
4105
28ea9521
AM
41062000-04-19 Alan Modra <alan@linuxcare.com.au>
4107
4108 * dep-in.sed: Match space at start of file name, not at end.
4109
20d04697
L
41102000-04-18 H.J. Lu <hjl@gnu.org>
4111
4112 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
4113 lang_leave_output_section_statement () after calling
4114 lang_enter_output_section_statement ().
4115 * emultempl/armelf.em: Likewise.
4116
5ba47421
AM
41172000-04-18 Alan Modra <alan@linuxcare.com.au>
4118
4119 * emultempl/elf32.em (struct orphan_save): Add section field.
4120 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
4121 better order, and place first orphan section as we did before the
4122 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
4123 Don't call make_bfd_section here, let wild_doit do the job for us.
4124 Don't build a statement list when we'll only throw it away.
4125 * emultempl/armelf.em: Ditto.
4126 * emultempl/pe.em: Similarly.
4127
bdbe5705
GK
41282000-04-14 Geoff Keating <geoffk@cygnus.com>
4129
4130 * scripttempl/elfppc.sc: Remove.
4131 * emulparams/elf32ppc.sh: Use elf.sc.
4132 * emulparams/elf32lppc.sh: Use elf.sc.
4133 * emulparams/elf32ppclinux.sh: Use elf.sc.
4134 * emulparams/elf32ppcsim.sh: New file.
4135 * emulparams/elf32lppcsim.sh: New file.
4136 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
4137 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
4138 * Makefile.in: Regenerate.
4139 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
4140
01cc8ff8
AM
41412000-04-14 Alan Modra <alan@linuxcare.com.au>
4142
5ba47421 4143 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
01cc8ff8 4144 ~SEC_ALLOC sections too. Init start address of debug sections.
5ba47421
AM
4145 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
4146 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
01cc8ff8
AM
4147 Also set all relocateable section start addresses.
4148
6c86c541
GK
41492000-04-13 Geoff Keating <geoffk@cygnus.com>
4150
4151 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
4152 Add new BSS_PLT variable for when .plt need not be contained in
4153 the file. Move _etext so that it is also after .fini, and provide
4154 both etext and _etext with a leading underscore. Mark the start
4155 and end of .sbss.
4156
6a345e87
AM
41572000-04-12 Alan Modra <alan@linuxcare.com.au>
4158
4159 * emultempl/elf32.em (struct orphan_save): New.
4160 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
4161 hold_interp): Make them struct orphan_save.
4162 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
4163 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
4164 the end of the relevant section list. Also add associated section
4165 statements to the end of any previous orphan statements.
4166 * emultempl/armelf.em: Similarly.
4167 * emultempl/pe.em: Similarly.
4168
8be86746
AM
41692000-04-11 Alan Modra <alan@linuxcare.com.au>
4170
4171 * ld.texinfo (Simple Example): Remove extraneous paragraph.
4172
3b16e843 41732000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
50bbae35 4174
a2d91340 4175 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
50bbae35 4176 --enable-build-warnings option.
a2d91340
AC
4177 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
4178 * Makefile.in, configure: Re-generate.
4179
41b49281
AM
41802000-04-04 Alan Modra <alan@linuxcare.com.au>
4181
8ad3436c
AM
4182 * po/ld.pot: Regenerate.
4183
4184 * lexsup.c (help): Restore translated part of bug string.
4185
41b49281
AM
4186 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
4187 (DEP): Quote when passing vars to sub-make. Add warning message
4188 to end.
4189 (DEP1): Rewrite for "gcc -MM".
4190 (CLEANFILES): Add DEP2.
4191 Update dependencies.
4192 * Makefile.in: Regenerate.
4193
c20f4f8c
AM
41942000-04-03 Alan Modra <alan@linuxcare.com.au>
4195
4196 * ld.h: #include "bin-bugs.h"
4197 * lexsup.c (help): Use REPORT_BUGS_TO.
4198
adde6300
AM
41992000-03-27 Denis Chertykov <denisc@overta.ru>
4200
4201 * configure.tgt (avr-*-*): New target support.
4202 * Makefile.am: Likewise.
4203 * scripttempl/elf32avr.sc: New script file.
4204 * emulparams/avr1200.sh: New file.
4205 * emulparams/avr23xx.sh: New file.
4206 * emulparams/avr4433.sh New file.
4207 * emulparams/avr44x4.sh New file.
4208 * emulparams/avr85xx.sh New file.
4209 * emulparams/avrmega103.sh New file.
4210 * emulparams/avrmega161.sh New file.
4211 * emulparams/avrmega603.sh New file.
4212 * Makefile.in: Regenerate.
4213
9282ff41
L
42142000-03-09 Andreas Jaeger <aj@suse.de>
4215
4216 * Makefile.am (check-DEJAGNU): Also unset LANG.
4217 * Makefile.in: Rebuild.
4218
a9998805
ILT
42192000-03-06 Ian Lance Taylor <ian@zembu.com>
4220
4221 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
4222 archive.
4223
f9bc20e7
NC
42242000-03-02 H.J. Lu <hjl@gnu.org>
4225
4226 * emulparams/elf32mcore.sh: Include "getopt.h".
4227
4e277b38
ILT
42282000-03-01 Ian Lance Taylor <ian@zembu.com>
4229
4230 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
4231
f0c87f88
NC
42322000-03-01 H.J. Lu <hjl@gnu.org>
4233
4234 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
4235 * emulparams/shpe.sh: Likewise.
4236
42372000-03-01 Nick Clifton <nickc@cygnus.com>
4238
4239 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
4240 to unused parameters.
4241
4242 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
4243 functions only used by DLL code.
4244 (_place_orphan): Initialise 'dollar'.
4245
b6f29aaa
L
42462000-03-01 H.J. Lu <hjl@gnu.org>
4247
4248 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
4249 indicate if the undefined symbol is a fatal error or not.
4250 Don't delete the output file if "fatal" is false.
4251
af28fce3
L
42522000-02-29 H.J. Lu <hjl@gnu.org>
4253
50bbae35 4254 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
af28fce3
L
4255 Set LC_COLLATE and LC_ALL to null and export them. It is for
4256 sort which expects the C locale.
4257 Add $(LIBS) to all $(HOSTING_LIBS).
4258 * Makefile.in: Rebuild.
4259
40d109bf
AM
42602000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
4261
4262 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
4263 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
4264 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
4265 (ld_emulation_xfer_struct): Add missing NULL initialiser for
4266 find_potential_libraries.
4267
db5be682
JB
42682000-02-28 Jim Blandy <jimb@redhat.com>
4269
4270 * ldgram.y (exclude_name_list): Don't require a comma to separate
50bbae35 4271 list entries; the lexer considers commas to be valid part of a
db5be682
JB
4272 filename, so in something like `foo, bar' the comma is considered
4273 part of the first filename, `foo,'.
4274 * ld.texinfo: Update section on EXCLUDE_FILE lists.
4275
3558ff4c
ILT
42762000-02-27 Loren J. Rittle <ljrittle@acm.org>
4277
4278 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
4279 host "i[3456]86-*-freebsdelf*".
4280
4eee2681
ILT
42812000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
4282
4283 * scripttempl/i386go32.sc: Move misplaced semicolons.
4284
8d75d12d
ILT
42852000-02-25 Ian Lance Taylor <ian@zembu.com>
4286
4287 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
4288 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
4289 (eelf64hppa.c, ehppaelf.c): Remove targets.
4290 * Makefile.in: Rebuild.
4291
a1836d49
AO
42922000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4293
ad51fb57
AO
4294 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
4295 GNU/Linux/sparc, but keep the default as 32.
4296
a1836d49
AO
4297 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
4298 it default if sparcv9 or sparc64.
4299
344a211f
NC
43002000-02-24 Nick Clifton <nickc@cygnus.com>
4301
4302 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
4303 * Makefile.in: Regenerate.
4304 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
4305
4306 * ldemul.h (ld_emulation_xfer_struct): Add new field:
4307 find_potential_libraries.
4308 * ldemul.c (ldemul_find_potential_libraries): New function.
4309
4310 * ldfile.c (ldfile_open_file_search): Allow function to be
50bbae35 4311 exported.
344a211f
NC
4312 (ldfile_open_file): Call ldemul_find_potential_libraries.
4313 * ldfile.h: Add prototype for ldfile_open_file_search.
4314
4315 * pe-dll.c: Add support for ARM, MIPS and SH targets.
4316
4317 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
4318 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
4319
4320 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
4321 (gld_X_find_potential_libraries): New function. Search for
4322 libraries called "*.lib".
4323
a2b64bed 4324 * scripttempl/pe.sc: Add .pdata section.
344a211f 4325
eaba1dd3
RH
43262000-02-23 Richard Henderson <rth@cygnus.com>
4327
4328 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
4329 Add and use memory regions.
4330
5b93d8bb
AM
43312000-02-23 Linas Vepstas (linas@linas.org)
4332
4333 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
4334
4335 * Makefile.am: Add support for Linux/IBM 370.
4336 * configure.tgt: Likewise.
4337
4338 * Makefile.in: Regenerate.
4339
f6af82bd
AM
43402000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
4341
4342 * ldlang.c (print_input_section, print_data_statement,
4343 print_reloc_statement, print_padding_statement, insert_pad,
4344 size_input_section, lang_check_section_addresses,
4345 lang_size_sections, lang_do_assignments, lang_set_startof,
50bbae35 4346 lang_one_common): Change `opb' to unsigned.
f6af82bd
AM
4347 (lang_do_assignments): Also change `size' to unsigned.
4348
9e673ad1
RH
43492000-02-16 Richard Henderson <rth@cygnus.com>
4350
4351 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
4352
562d3460
TW
43532000-02-16 Timothy Wall <twall@cygnus.com>
4354
4355 * mri.c (mri_draw_tree): Add default LMA region argument to call
4356 to lang_leave_output_section_statement.
4357 * ldlang.h: Update prototypes with LMA region arguments.
4358 * ldlang.c (lang_size_sections): Encapsulate region bounds
4359 checking in os_check_region call.
4360 (os_check_region): New function.
4361 (lang_output_section_statement_lookup): Initialize lma_region.
4362 (lang_leave_output_section_statement): Add LMA region argument.
4363 (lang_leave_overlay): Ditto.
4364 * ldgram.y: Handle LMA region syntax.
4365 * ld.texinfo (Output Section Description): Describe LMA region usage.
4366 * emultempl/armelf.em (gld$place_orphan): Add default value for
01cc8ff8 4367 lma region in call to lang_leave_output_section_statement.
562d3460 4368 * emultempl/elf32.em (gld$place_orphan): Add default value for
01cc8ff8 4369 lma region in call to lang_leave_output_section_statement.
562d3460 4370 * emultempl/pe.em (gld$place_orphan): Add default value for
01cc8ff8 4371 lma region in call to lang_leave_output_section_statement.
50bbae35
AM
4372
4373
9e4ed18c
TW
43742000-02-04 Timothy Wall <twall@redhat.com>
4375
4376 * ldlang.c (lang_check_section_addresses): Use bytes instead of
4377 octets when calculating section end addresses.
4378
32edc927
TW
43792000-02-04 Timothy Wall <twall@redhat.com>
4380
4381 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
4382
4cbfc3ac
TW
43832000-02-03 Timothy Wall <twall@redhat.com>
4384
a2b64bed 4385 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
4cbfc3ac 4386 octet count.
a2b64bed 4387 * ldlang.c (print_input_section, print_data_statement,
4cbfc3ac
TW
4388 print_reloc_statement, print_padding_statement): Print target
4389 address values and section sizes as bytes, not octets.
4390 (insert_pad) Calculate padding size in octets, and adjust "dot"
4391 by bytes.
4392 (size_input_section) Always adjust "dot" by bytes, not octets.
4393 (lang_check_section_addresses, lang_do_assignments) Adjust
4394 "dot" by bytes, not octets. Use the larger of the directive size
4395 or octets_per_byte for the number of octets actually allocated in
4396 the output section.
4397 (lang_set_startof) Make sure STARTOF returns a target address.
4398 (lang_one_common) Record size changes in octets.
4399 (lang_abs_symbol_at_end_of) Section end symbol's value is
4400 recorded in target bytes.
68b2fc7a 4401 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
4cbfc3ac 4402 to be clear about behavior when an octet is smaller than one byte.
50bbae35 4403
305c7206
AM
44042000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
4405
4406 * ldcref.c (output_cref): Don't pass message strings to printf
4407 as format arg.
4408 Update copyright.
4409
4410 * ldmisc.c (vfinfo): Same here.
4411 Update copyright.
4412
e1c47aa4
AM
44132000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
4414
4415 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
4416 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
4417 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
4418 Add missing NULL initialisers, and comments.
4419
4420 * testsuite/ld-srec/sr3.cc (__rethrow): New.
4421
13392b77
NC
44222000-01-21 Nick Clifton <nickc@cygnus.com>
4423
4424 * ldlang.c (lang_size_sections): Fix typo in comment.
4425
cce4c4c5
NC
44262000-01-18 H.J. Lu <hjl@gnu.org>
4427
4428 * ldlang.c (lang_size_sections): Also update the current
4429 address of a region if the SEC_NEVER_LOAD bit is not set.
4430
0decc840
NC
44312000-01-10 Philip Blundell <pb@futuretv.com>
4432
4433 * configure.tgt (arm*-*-conix*): New target.
4434
4e53152f
NC
44352000-01-07 Nick Clifton <nickc@cygnus.com>
4436
4437 * ld.texinfo (Options): Remind users to preceed linker command
fa19fce0
NC
4438 line switches with -Wl, (or whatever is appropriate) if it is
4439 being invoked by a comnpiler driver program.
50bbae35 4440 Fix description of the behaviour of the -n command line switch.
4e53152f 4441
3b16e843 44422000-01-05 Catherine Moore <clm@cygnus.com>
18625d54
CM
4443
4444 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
4445 (name_list): New.
4446 * ld.texinfo (EXCLUDE_FILE): Update documentation.
4447 * ldgram.y (wildcard_spec): Support a list of excluded_files.
4448 (exclude_name_list): New.
4449 ldlang.c (walk_wild_section): Support list of excluded files.
4450 (print_wild_statement): Likewise.
4451 (lang_add_wild): Likewise.
4452 * ldlang.h (lang_wild_statement_type): Likewise.
4453 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
6ddeca85 4454
5aaace27
NC
44552000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
4456
870df5dc
NC
4457 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
4458 (process_def_file): Use.
4459 (pe_dll_compat_implib): New variable.
4460 (make_one): Use.
50bbae35 4461
870df5dc
NC
4462 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
4463 pe_dll_compat_implib.
50bbae35
AM
4464
4465 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
870df5dc
NC
4466 compat-implib options.
4467 (gld_${EMULATION_NAME}_list_options): List new options.
4468 (gld_${EMULATION_NAME}_parse_args): Handle.
4469
50bbae35 4470 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
5aaace27 4471 dll.
50bbae35
AM
4472
4473 * deffilep.y (opt_name): Allow "." in name.
5aaace27 4474
2f6d2f85 4475For older changes see ChangeLog-9899
252b5132
RH
4476\f
4477Local Variables:
4478mode: change-log
4479left-margin: 8
4480fill-column: 74
4481version-control: never
4482End:
This page took 0.387168 seconds and 4 git commands to generate.