]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/ChangeLog
* Makefile.in: Regenerate.
[thirdparty/binutils-gdb.git] / ld / ChangeLog
CommitLineData
2c538bde
AM
12002-05-31 Alan Modra <amodra@bigpond.net.au>
2
3 * Makefile.in: Regenerate.
4 * aclocal.m4: Regenerate.
5 * config.in: Regenerate.
6 * configure: Regenerate.
7
a0cb91c6
AM
82002-05-31 Graeme Peterson <gp@qnx.com>
9
10 * Makefile.am (ALL_EMULATIONS): Add ei386nto.o.
11 (ei386nto.c): Add rule.
12 * Makefile.in: Regenerate.
13 * configure.tgt: Add i[3456]86-*-nto-qnx*.
14 * emulparams/i386nto.sh: New file.
15
37020578
JT
162002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
17
18 * NEWS: Add entry for VAX ELF support.
19
ab68f3e0
JT
202002-05-29 Matt Thomas <matt@3am-software.com>
21 Jason Thorpe <thorpej@wasabisystems.com>
22
23 * Makefile.am (ALL_EMULATIONS): Add eelf32vax.o and evaxnbsd.o.
24 (eelf32vax.c)
25 (evaxnbsd.c): New rules.
26 * Makefile.in: Regenerate.
27 * configure.tgt (vax-*-netbsdelf*)
28 (vax-*-netbsdaout*)
29 (vax-*-netbsd*): New targets.
30 * emulparams/elf32vax.sh: New file.
31 * emulparams/vaxnbsd.sh: New file.
32
8afb0e02
NC
332002-05-29 Adam Nemet <anemet@lnxw.com>
34
35 * emultempl/armelf.em (arm_elf_after_open): Don't determine
36 bfd_for_interwork, instead add glue sections to each input bfd.
37 (bfd_for_interwork): New global.
38 (arm_elf_set_bfd_for_interworking): New function.
39 (arm_elf_before_allocation): Use it.
40
d172d4ba
NC
412002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
42
43 * Makefile.am: Add DLX make target.
44 * configure.tgt: Add DLX configuration.
45 * Makefile.in: Regenerate.
46 * emulparams/elf32_dlx.sh: New file
47 * scripttempl/dlx.sc: New file
48
b4477fa8
NC
492002-05-27 Per Lundberg <per@caleb.dnsalias.org>
50
51 * Makefile.am (eelf_i386_chaos): Use elf_chaos.sc script.
52 * Makefile.in: Regenerate.
53 * emulparams/elf_chaos.sh: Use elf_chaos script.
54 * scripttempl/elf_chaos.sc: New file.
55
ee3cc2e2
RS
562002-05-27 Richard Sandiford <rsandifo@redhat.com>
57
58 * ldlang.c (lang_size_sections_1): Move check for conflicting load
59 addresses and regions from here...
60 (lang_get_regions): ...to this new function.
61 (lang_leave_output_section_statement): Use lang_get_regions.
62 (lang_leave_overlay): Likewise.
63 * mri.c (mri_draw_tree): Pass null as last argument to
64 lang_leave_output_section_statement.
65 * emultempl/elf32.em (gld*_place_orphan): Likewise.
66 * emultempl/mmo.em (mmo_place_orphan): Likewise.
67 * emultempl/pe.em (gld*_place_orphan): Likewise.
68
aa501e5c
JT
692002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
70
71 * configure.tgt: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
72
658957db
KH
732002-05-25 Kazu Hirata <kazu@cs.umass.edu>
74
75 * ldemul.c: Fix formatting.
76 * ldfile.c: Likewise.
77 * pe-dll.c: Likewise.
78 * pe-dll.h: Likewise.
79
3511b595
AM
802002-05-25 Alan Modra <amodra@bigpond.net.au>
81
0d6d936f
AM
82 * ldlang.c (lang_process): Formatting, grammar.
83
3511b595
AM
84 * ldlex.l: Use #include "" instead of <> for local header files.
85
436e8db0
NC
862002-05-24 TAMURA Kent <kent@netbsd.org>
87
88 * configure.tgt: Add a target for i386-netbsdpe.
89
13ae64f3
JJ
902002-05-23 Jakub Jelinek <jakub@redhat.com>
91
92 * scripttempl/elf.sc: Add .rel{,a}.t{bss,data}, .tdata and .tbss.
93 * ldlang.c (lang_add_section): Set SEC_THREAD_LOCAL for
94 output section if necessary. Handle .tbss.
95 (lang_size_sections): Clear _raw_size for .tbss section
96 (it allocates space in PT_TLS segment only).
97 * ldwrite.c (build_link_order): Build link order for .tbss too.
98
68b2fc7a
AM
992002-05-23 Alan Modra <amodra@bigpond.net.au>
100
101 * configure.in: Correct spelling of AC_PREREQ.
102
70b0be79
CF
1032002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
104
105 * pe-dll.c (autofilter_liblist): Add more system libs excluded by
106 default.
107 (autofilter_objlist): Add crtbegin.o, crtend.o.
108
1092002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
110
111 * emultempl/pe.em (OPTION_EXCLUDE_LIBS): Add new define.
112 (longopts): Add new option --exclude-libs.
113 (gld_${EMULATION_NAME}_list_options): Give quick help about it.
114 (gld_${EMULATION_NAME}_parse_args): Use it.
115 * pe-dll.h (pe_dll_add_excludes): Add second param to prototype.
116 * pe-dll.c (exclude_list_struct): Add field type to distinguish symbols
117 from whole archives.
118 (pe_dll_add_excludes): Set excludes->type.
119 (auto_export): Add new variable libname and set to archive basename if
120 abfd. Use it when filtering default and user-specified libarary
121 excludes. Let string "ALL" mean all libs when filtering user-specified
122 libs.
123 * ld.texinfo: Document --exclude-libs.
124
fac1652d
AM
1252002-05-22 Alan Modra <amodra@bigpond.net.au>
126
127 * ldemul.c (ldemul_new_vers_pattern): New function.
128 * ldemul.h (ldemul_new_vers_pattern): Declare.
129 (struct ld_emulation_xfer_struct): Add new_vers_pattern.
130 * ldlang.c (lang_new_vers_pattern): Call ldemul_new_vers_pattern.
131 * emultempl/ppc64elf.em (dotsyms): New static var.
132 (gld${EMULATION_NAME}_new_vers_pattern): New function.
133 (LDEMUL_NEW_VERS_PATTERN): Define.
134 (PARSE_AND_LIST_PROLOGUE): Add OPTION_DOTSYMS, OPTION_NO_DOTSYMS.
135 (PARSE_AND_LIST_LONGOPTS): Likewise.
136 (PARSE_AND_LIST_ARGS_CASES): Handle them.
137 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Update
138 initialiser.
139 * emultempl/armcoff.em: Likewise.
140 * emultempl/armelf_oabi.em: Likewise.
141 * emultempl/beos.em: Likewise.
142 * emultempl/elf32.em: Likewise.
143 * emultempl/generic.em: Likewise.
144 * emultempl/gld960.em: Likewise.
145 * emultempl/gld960c.em: Likewise.
146 * emultempl/linux.em: Likewise.
147 * emultempl/lnk960.em: Likewise.
148 * emultempl/m68kcoff.em: Likewise.
149 * emultempl/mipsecoff.em: Likewise.
150 * emultempl/pe.em: Likewise.
151 * emultempl/sunos.em: Likewise.
152 * emultempl/ticoff.em: Likewise.
153 * emultempl/vanilla.em: Likewise.
154
eb3d6bb8
AM
1552002-05-22 Alan Modra <amodra@bigpond.net.au>
156
157 * genscripts.sh (LIB_PATH): For native targets, concatenate $libdir
158 and $NATIVE_LIB_DIRS. Add $tool_lib before other libs.
159 (LIB_SEARCH_DIRS): No need to use "tr".
160 (COMPILE_IN): Only set for native targets.
161 * configure.host (NATIVE_LIB_DIRS): Specify all native search dirs
162 here, rather than adding lib:/usr/lib:/usr/local/lib in genscripts.sh.
163 * configure.tgt (powerpc*): Set tdir_*.
164 (powerpcle*): Correct targ_extra_emuls.
165 * emulparams/elf32ppc.sh (LIB_PATH): Set up native 64 bit dirs.
166 * emulparams/elf64ppc.sh (LIB_PATH): Likewise.
167
54f24647
AM
1682002-05-22 Alan Modra <amodra@bigpond.net.au>
169
170 * emultempl/pe.em (set_pe_subsystem): Don't set "cmdline" when
171 calling lang_add_entry.
172
aa713662
L
1732002-05-21 H.J. Lu (hjl@gnu.org)
174
175 * emultempl/elf32.em (gld${EMULATION_NAME}_parse_args): Handle
176 "-z muldefs".
177 (gld${EMULATION_NAME}_list_options): Add "-z muldefs".
178
179 * ld.texinfo: Updated for --allow-multiple-definition and
180 "-z muldefs".
181
182 * ldmain.c (main): Initialize the allow_multiple_definition
183 field to false.
184
185 * lexsup.c (OPTION_ALLOW_MULTIPLE_DEFINITION): New.
186 (ld_options): Add --allow-multiple-definition.
187 (parse_args): Support OPTION_ALLOW_MULTIPLE_DEFINITION.
188
658f2588
JT
1892002-05-21 Jason Thorpe <thorpej@wasabisystems.com>
190
191 * Makefile.am (ALL_EMULATIONS): Add earmelfb_nbsd.o.
192 (earmelfb_nbsd.c): New rule.
193 * Makefile.in: Regenerate.
194 * configure.tgt (armeb-*-netbsdelf*): New target.
195 (arm-*-netbsdelf*): Add armelfb_nbsd to targ_extra_emuls.
196 (arm-*-netbsd*): Likewise.
197 * emulparams/armelfb_nbsd.sh: New file.
198
ca10c62d
TR
1992002-05-18 Tom Rix <trix@redhat.com>
200
201 * emultempl/aix.em (gld*_parse_args): Add -bnortl and -bnortllib
202 support.
203
fae1e84f
MM
2042002-05-17 Marek Michalkiewicz <marekm@amelek.gda.pl>
205
206 * Makefile.am: Add new emulations avr1, avr2, avr3, avr4, avr5.
207 * Makefile.in: Regenerate.
208 * configure.tgt (avr-*-*): Add avr[1-5] to targ_extra_emuls.
209
7c8bf1e8
MM
2102002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
211
212 * emulparams/avr1.sh: New file.
213 * emulparams/avr2.sh: New file.
214 * emulparams/avr3.sh: New file.
215 * emulparams/avr4.sh: New file.
216 * emulparams/avr5.sh: New file.
217 * scripttempl/avr.sc: New file.
218
c2c01aa7
AM
2192002-05-15 Alan Modra <amodra@bigpond.net.au>
220
221 * ldlang.c (section_already_linked): Call bfd_link_just_syms.
222 (lang_place_orphans): Abort if just_syms_flag.
223
f1f0d9ab
TR
2242002-05-10 Tom Rix <trix@redhat.com>
225
226 * emultempl/aix.em: (gld*_set_output_arch): New function. Use
227 architecture and machine information in the output bfd.
228 (gld*_before_parse): Remove old arch and machine code.
229 (choose_target): Rename to gld*_choose_target.
230 (rtld): Change type to int.
231 * ldfile.c (ldfile_try_open_bfd): Disable compatiblity check for
232 objects in XCOFF archives.
233 * ldfile.h: Update copyright date.
234
f4d73366
JJ
2352002-05-10 Jakub Jelinek <jakub@redhat.com>
236
237 * ldmain.c (main): Enable -z combreloc by default.
238
d3d8a9ee
NC
2392002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
240
241 * Makefile.am: Honour DESTDIR.
242 * Makefile.in: Regenerate.
243
9f88b410
RS
2442002-05-07 Richard Sandiford <rsandifo@redhat.com>
245
246 * ldlang.h (lang_output_section_statement_type): Add update_dot_tree.
247 (lang_enter_overlay): Remove the last two parameters.
248 (lang_leave_overlay): Take them here instead.
249 * ldgram.y (memspec_at_opt): Set $$ to null if no region is given.
250 (section): Pass LMA and crossref flag to lang_leave_overlay rather
251 than lang_enter_overlay.
252 * ldlang.c (lang_memory_region_lookup): Return null for null names.
253 (lang_output_section_statement_lookup): Initialize update_dot_tree.
254 (lang_size_sections_1): Evaluate it.
255 (lang_leave_output_section_statement): Rework LMA lookup.
256 (overlay_lma, overlay_nocrossrefs): Remove.
3511b595 257 (lang_enter_overlay): Remove LMA and crossref arguments.
9f88b410
RS
258 (lang_enter_overlay_section): Don't set the LMA here.
259 (lang_leave_overlay): Take LMA and crossref arguments. Move the '.'
260 assignment to the last section's update_dot_tree. Unconditionally
261 use the load and run-time regions specified in the OVERLAY statement.
262 Likewise the first section's LMA. Only set the other sections' LMAs
263 when no load region is given.
264
b9a743c8
NC
2652002-05-06 Nick Clifton <nickc@redhat.com>
266
267 * po/sv.po: New translation.
268
a3d60be3
AM
2692002-05-04 Alan Modra <amodra@bigpond.net.au>
270
271 * emultempl/hppaelf.em (build_section_lists): New function.
272 (gld${EMULATION_NAME}_finish): Call elf32_hppa_setup_section_lists
273 and build_section_lists.
274
b7a26f91
KH
2752002-05-03 Kazu Hirata <kazu@cs.umass.edu>
276
277 * ld.h: Fix formatting.
278 * ldexp.c: Likewise.
279 * ldfile.c: Likewise.
280 * ldlang.c: Likewise.
281 * ldmain.c: Likewise.
282 * lexsup.c: Likewise.
283 * pe-dll.c: Likewise.
284
805fc799
AM
2852002-05-02 Alan Modra <amodra@bigpond.net.au>
286
287 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
288 Adjust for ppc64_elf_set_toc change. #include libbfd.h.
289 (build_section_lists): Do output_section tests here.
290
cc7e59b2
TR
2912002-04-30 Tom Rix <trix@redhat.com>
292
293 * emultempl/aix.em : (gld*_parse_arge): Formatting changes.
294
9c1d81c1
AM
2952002-05-01 Alan Modra <amodra@bigpond.net.au>
296
297 Long branch stubs, multiple stub sections.
298 * emultempl/ppc64elf.em: Include ldctor.h.
299 (stub_file): New var.
300 (group_size): New var.
301 (ppc_create_output_section_statements): New function.
302 (struct hook_stub_info): New.
303 (hook_in_stub): New function.
304 (ppc_add_stub_section): New function.
305 (ppc_layout_sections_again): New function.
306 (build_section_lists): New function.
307 (gld${EMULATION_NAME}_finish): Rewrite.
308 (real_func): New var.
309 (ppc_for_each_input_file_wrapper): New function.
310 (ppc_lang_for_each_input_file): New function.
311 (lang_for_each_input_file): Define.
312 (PARSE_AND_LIST_PROLOGUE): Define.
313 (PARSE_AND_LIST_LONGOPTS): Define.
314 (PARSE_AND_LIST_OPTIONS): Define.
315 (PARSE_AND_LIST_ARGS_CASES): Define.
316 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
317
aa67bccf
TR
3182002-04-30 Tom Rix <trix@redhat.com>
319
320 * emultempl/aix.em (gld*_parse_arge, gld*_before_allocation): Add
321 -blibpath, -bnolibpath support.
322
94349e12
MM
3232002-04-30 Mark Mitchell <mark@codesourcery.com>
324
325 * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o.
326 (eelf32ppcwindiss.c): New target.
327 * Makefile.in: Regenerated.
328 * configure.tgt: Add support for powerpc-*-windiss.
329 * emulparams/elf32ppcwindiss.sh: New file.
330
7b17f854
RS
3312002-04-30 Richard Sandiford <rsandifo@redhat.com>
332
333 * ldlang.c (print_assignment): Update print_dot for assignments to ".".
334 * ldexp.c (exp_print_token): Add "infix_p" argument.
335 (exp_print_tree): Update accordingly.
336
596dafeb
AM
3372002-04-28 Alan Modra <amodra@bigpond.net.au>
338
339 * Makefile.am (mpw): New maintainer mode rule to make mpw-*.c files.
340 * Makefile.in: Regenerate.
341 * mpw-elfmips.c: Delete.
342 * mpw-eppcmac.c: Delete.
343 * mpw-esh.c: Delete.
344 * mpw-idtmips.c: Delete.
345
a44d7f9c
JR
346Wed Apr 17 19:23:14 2002 J"orn Rennecke <joern.rennecke@superh.com>
347
348 * emulparams/shelf32.sh (MACHINE): Now sh5.
349
944cd72c
TS
3502002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
351
352 * ldgram.y: Fix syntax warning.
353
5835c212
NC
3542002-04-11 Nick Clifton <nickc@cambridge.redhat.com>
355
356 * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Add 'n' in order
357 to prevent "-n" from being taken as an abbreviation for
358 "--no-pipeline-knowledge".
359
024531e2
AM
3602002-04-08 Alan Modra <amodra@bigpond.net.au>
361
d08a14c3
AM
362 * ldlang.c (lang_size_sections_1): Don't complain about
363 SEC_NEVER_LOAD sections having no memory region specified.
364
024531e2
AM
365 * ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix.
366
c657a1f0
MG
3672002-04-07 matthew green <mrg@redhat.com>
368
369 * ld/configure.host (*-*-netbsd*): Add support for NetBSD/ELF.
370
61bef6f1
AM
3712002-04-04 Alan Modra <amodra@bigpond.net.au>
372
373 * dep-in.sed: Cope with absolute paths.
374 * Makefile.am (dep.sed): Subst TOPDIR and BFDDIR.
375 Run "make dep-am".
376 * Makefile.in: Regenerate.
377
49ba2791
TS
3782002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
379
380 * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options.
381
50e60fb5
JJ
3822002-04-03 Jakub Jelinek <jakub@redhat.com>
383
384 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size
385 is smaller than maximum, round dot up to common page boundary.
386
6f12f4ca
AM
3872002-03-28 Alan Modra <amodra@bigpond.net.au>
388
389 * configure.host: Set up for generic hosts first, then tweak as
390 necessary in more specific targets.
391 (HOSTING_LIBS): Include libgcc_eh.a if found.
392
a8f1f017
AJ
3932002-03-23 Andreas Jaeger <aj@suse.de>
394
395 * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it.
396
1d3fdf38
AM
3972002-03-21 Alan Modra <amodra@bigpond.net.au>
398
399 * Makefile.am: Run "make dep-am".
400 * Makefile.in: Regenerate.
401
79b1faa8
AM
4022002-03-21 Albert Chin-A-Young <china@thewrittenword.com>
403
404 * genscripts.sh (LIB_SEARCH_DIRS): Quote path.
405
fcf0e35b
AM
4062002-03-20 Alan Modra <amodra@bigpond.net.au>
407
408 * ldlang.c (ldlang_add_undef): If the output bfd has been opened,
409 add the symbol to the linker hash table immediately.
410 (lang_place_undefineds): Split symbol creation out..
411 (insert_undefined): ..to here.
412
fed2999d
DB
4132002-03-18 David O'Brien <obrien@FreeBSD.org>
414
415 * emultempl/elf32.em: Use lbasename vs. basename to fix problem where
416 the contents of the buffer returned from basename function will are
417 getting overwritten while still being used.
418
beb43bb9
JH
419Mon Mar 18 17:38:39 CET 2002 Jan Hubicka <jh@suse.cz>
420 Andreas Jaeger <aj@suse.de>
421 Andreas Schwab <schwab@suse.de>
422
423 * configure.tgt (x86_64-*-linux-gnu*): Configure i386 as native.
424 * elf_x86_64.sh (ARCH): Set to i386:x86-64
425 set libraries to default to lib64 paths.
426
eb1e0e80
NC
4272002-03-18 Tom Rix <trix@redhat.com>
428
429 * Makefile.am : Add eaix5ppc and eaix5rs6, AIX 5 support.
430 * configure.tgt : Same.
431 * emulparms/aix5ppc.sh : New file. For eaix5ppc.
432 * emulparms/aix5rs6.sh : New file. For eaix5rs6.
433 * emulparms/aixppc.sh : OUPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT
434 emulation parameters for better -b32, -b64 support.
435 * emulparms/aixrs6.sh : Same.
436 * emulparms/ppcmacos.sh : Same.
437 * emultempl/aix.em (choose_target) : Use new emulation parameters
438 OUTPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT.
439 * Makefile.in : Regenerate.
440
a1c259a1
NC
4412002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
442
443 * po/fr.po: Updated version.
444
862120bd
AM
4452002-03-18 Alan Modra <amodra@bigpond.net.au>
446
447 * ldmain.c (main): Move .text readonly flag fudges from here..
448 * ldlang.c (lang_process): ..to here.
449
d35a52e2
AM
4502002-03-14 Alan Modra <amodra@bigpond.net.au>
451
452 * ldlang.c (lang_check): Remove the word size check added in last
453 change. Treat emitrelocations case as for relocatable links.
454
9ce88e60
NC
4552002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
456
457 * po/fr.po: Updated version.
458
30cba025
AM
4592002-03-13 Alan Modra <amodra@bigpond.net.au>
460
461 * ldlang.c (lang_check): Do relocatable link checks first, so that
462 warn_mismatch can't override. Check compatible and word size too.
463
84ec0e6d
DJ
4642002-03-07 Daniel Jacobowitz <drow@mvista.com>
465
466 * ld.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
467
2d13d8c5
JJ
4682002-03-05 Jakub Jelinek <jakub@redhat.com>
469
470 * scripttempl/elf.sc: Only use DATA_SEGMENT_END() together with
471 DATA_SEGMENT_ALIGN.
472
b5090659
L
4732002-03-04 H.J. Lu <hjl@gnu.org>
474
475 * scripttempl/elf.sc: Put .preinit_array, .init_array and
476 .fini_array in the data segment.
477
f42ce16e
AM
4782002-03-04 Alan Modra <amodra@bigpond.net.au>
479
480 * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit.
481
de77b6ac
RH
4822002-03-01 David Mosberger <davidm@hpl.hp.com>
483
484 * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array,
485 .init_array, and .fini_array.
486
997e08c0
AS
4872002-02-20 Andreas Schwab <schwab@suse.de>
488
489 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold
490 .IA64_unwind* in a relocatable link.
491
9a66911f
NC
4922002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
493
494 * NEWS: Mark 2.12 branch.
495
d86bcc10
MS
4962002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
497
498 * emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit".
499 * emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit".
500
69f284c7
TR
5012002-02-18 Tom Rix <trix@redhat.com>
502
503 * emultempl/aix.em (gld*_parse_args): Add -brtl support.
504 (gld*_before_allocation): Same.
a8f1f017 505 (gld*_create_output_section_statements): Generate
69f284c7
TR
506 __rtinit if run time linking. Add librtl.a to the link.
507 (gld*_read_file): Clean.
508
82bd7b59
AM
5092002-02-18 Alan Modra <amodra@bigpond.net.au>
510
511 * emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define.
512
ac3e50bf
DB
5132002-02-18 David O'Brien <obrien@FreeBSD.org>
514
6a7f963b 515 * Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd,
ac3e50bf
DB
516 eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd,
517 and eelf64alpha_fbsd.
6a7f963b 518 * Makefile.in: Regenerate.
ac3e50bf
DB
519 * configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd,
520 x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd):
521 use a FreeBSD-specific emulation rather than the psABI one.
522 * emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value
523 for all FreeBSD ELF systems.
524 * emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI
525 emulation.
526 * emulparams/elf32ppc_fbsd.sh: Likewise.
527 * emulparams/elf64_ia64_fbsd.sh: Likewise.
528 * emulparams/elf64_sparc_fbsd.sh: Likewise.
529 * emulparams/elf64alpha_fbsd.sh: Likewise.
530 * emulparams/elf_i386_fbsd.sh: Likewise.
531 * emulparams/elf_x86_64_fbsd.sh: Likewise.
532
6ad738c5
NC
5332002-02-18 Nick Clifton <nickc@cambridge.redhat.com>
534
535 * po/tr.po: Updated version.
536
9673c93c
AM
5372002-02-18 Alan Modra <amodra@bigpond.net.au>
538
539 * ld.texinfo (Output Section Fill): Fix amateur texinfo.
540 (FILL): Likewise.
541
1c5e6447
HPN
5422002-02-17 Hans-Peter Nilsson <hp@bitrange.com>
543
544 * emultempl/mmo.em (mmo_after_open): Don't call
545 _bfd_mmix_check_all_relocs when producing ELF output.
546
8bb57516
RH
5472002-02-15 Richard Henderson <rth@redhat.com>
548
de77b6ac 549 * emulparams/elf64alpha.sh (NOP): Adjust for big-endian
8bb57516
RH
550 definition. Emit a unop+nop pair.
551
49fda6c8
HPN
5522002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
553
83c2d653
HPN
554 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check
555 for presence of .MMIX.reg_contents.linker_allocated before early
556 exit.
557
49fda6c8
HPN
558 * NEWS: Mention support for MMIX.
559
2c382fb6
AM
5602002-02-15 Alan Modra <amodra@bigpond.net.au>
561
562 Support arbitrary length fill patterns.
a139d329
AM
563 * ld.texinfo (Output Section Fill): Describe fill expressions.
564 (FILL): Refer to the above.
2c382fb6
AM
565 * ldexp.h (etree_value_type): Add "str" field.
566 (union etree_union): Add "str" to "value" struct.
567 (exp_bigintop): Declare.
568 (exp_get_fill): Declare.
569 * ldexp.c: Include "safe-ctype.h".
570 (exp_intop): Set value.str to NULL.
571 (exp_bigintop): New function.
572 (new_rel): Pass in "str", and set new.str from it.
573 (new_rel_from_section): Set new.str to NULL.
574 (fold_name): Adjust calls to new_rel.
575 (exp_fold_tree): Likewise.
576 (exp_get_fill): New function.
577 * ldgram.y (struct big_int bigint, fill_type *fill): New.
578 (INT): Returns a "bigint". Adjust all code handling INTs.
579 (fill_opt): Returns a "fill".
580 (fill_exp): Split out of fill_opt, use for FILL.
581 * ldlang.h (struct _fill_type): New.
582 (fill_type): Move typedef to ldexp.h.
583 (lang_output_section_statement_type): "fill" is now a pointer.
584 (lang_fill_statement_type): Likewise.
585 (lang_padding_statement_type): Likewise.
586 (lang_add_fill): Now takes a "fill_type *" param.
587 (lang_leave_output_section_statement): Likewise.
588 (lang_do_assignments): Likewise.
589 (lang_size_sections): Likewise.
590 (lang_leave_overlay_section): Likewise.
591 (lang_leave_overlay): Likewise.
592 * ldlang.c: Include ldgram.h after ldexp.h.
593 (lang_output_section_statement_lookup): Adjust for fill_type change.
594 (print_fill_statement): Likewise.
595 (print_padding_statement): Likewise.
596 (insert_pad): Now takes a "fill_type *" arg.
597 (size_input_section): Likewise.
598 (lang_size_sections_1): Likewise.
599 (lang_size_sections): Likewise.
600 (lang_do_assignments): Likewise.
601 (lang_add_fill): Likewise.
602 (lang_leave_output_section_statement): Likewise.
603 (lang_leave_overlay_section): Likewise.
604 (lang_leave_overlay): Likewise.
605 Adjust all callers of the above function.
606 * ldlex.l: Include ldgram.h after ldexp.h. Allow hex numbers
607 starting with "0X" as well as "0x". Return bigint.str for hex
608 numbers starting with "0x" or "0X", zero bigint.str otherwise.
609 Always use base 16 for numbers starting with "$".
610 * ldmain.c: Include ldgram.h after ldexp.h.
611 * ldwrite.c (build_link_order): Use bfd_data_link_order in place
612 of bfd_fill_link_order.
613 * pe-dll.c: Adjust lang_do_assignments calls.
614 * emultempl/elf32.em: Likewise.
615 * emultempl/hppaelf.em: Likewise.
616 * emultempl/ppc64elf.em: Likewise.
617 * emultempl/beos.em: Include ldgram.h after ldexp.h, adjust
618 lang_add_assignment call.
619 * emultempl/pe.em: Likewise.
620
313e35ee
AM
6212002-02-14 Phil Edwards <pme@gcc.gnu.org>
622
a139d329 623 * ld.texinfo (VERSION scripts): Symbol names are globbing patterns.
313e35ee
AM
624 * ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern;
625 the pattern in question is not a regexp.
626 * ldlang.c: Likewise.
627 * ldlang.h: Likewise.
628 * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also.
629
2d20f7bf
JJ
6302002-02-12 Jakub Jelinek <jakub@redhat.com>
631
632 * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
633 * ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
634 (exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp).
635 * ldexp.c (exp_data_seg): New variable.
636 (exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END.
637 (fold_binary): Handle DATA_SEGMENT_ALIGN.
638 (exp_fold_tree): Handle DATA_SEGMENT_END.
639 Pass allocation_done when recursing instead of hardcoding
640 lang_allocating_phase_enum.
641 * ldexp.h (exp_data_seg): New.
642 * ldlang.c (lang_size_sections_1): Renamed from lang_size_sections.
643 (lang_size_sections): New.
644 * ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document.
645 * scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END
646 if COMMONPAGESIZE is defined.
647 * emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K.
648 * emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K.
649 * emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K.
650 * emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K.
651 * emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared
652 libraries only.
653
06880219
AM
6542002-02-11 Alan Modra <amodra@bigpond.net.au>
655
656 * Makefile.in: Regenerate.
657
37b0ac0f
DJ
6582002-02-10 Daniel Jacobowitz <drow@mvista.com>
659
660 * lexsup.c: Remove strtoul declaration.
661
4e5bae56
DJ
6622002-02-10 Daniel Jacobowitz <drow@mvista.com>
663
664 * ldmain.c: Add prototype for main ().
665 * lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H.
666 * emultempl/lnk960.em (lnk960_choose_target): Function should
667 take two arguments.
668
1e281515
AM
6692002-02-10 Alan Modra <amodra@bigpond.net.au>
670
671 * ldlang.c (entry_section): New initialised variable.
672 (lang_finish): Use it.
673 * ldlang.h (entry_section): Declare.
674 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Set
675 entry_section to ".opd".
676
f92d92ff 6772002-02-09 Chris Demetriou <cgd@broadcom.com>
0a9c1c8e
CD
678
679 * ld.texinfo (Options): Add back in -nostdlib documentation,
680 which had been inadvertently removed.
681
74c44237
HPN
6822002-02-09 Hans-Peter Nilsson <hp@bitrange.com>
683
684 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Adjust
685 register section vma to a sane value after emitting error. Make
686 fatal conditions cause program exit when emitting message.
687
5e37cc46
NC
6882002-02-08 Ivan Guzvinec <ivang@opencores.org>
689
690 * configure.tgt: Add or32-*-rtems target.
691
2d92cb7d
AO
6922002-02-08 Alexandre Oliva <aoliva@redhat.com>
693
694 Contribute sh64-elf.
695 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
696 * emulparams/shelf32.sh (STACK_ADDR): Define as formerly defined
697 in OTHER_RELOCATABLE_SECTIONS.
698 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
699 * emulparams/shelf32.sh (STACK_ADDR): Define.
700 (OTHER_RELOCATABLE_SECTIONS): Renamed to...
701 (OTHER_SECTIONS): this. Removed stack settings.
702 * emulparams/shelf64.sh (OTHER_RELOCATABLE_SECTIONS): Do not set.
703 (OTHER_SECTIONS): Reset after sourcing shelf32.sh.
704 2001-03-12 DJ Delorie <dj@redhat.com>
705 * emultempl/sh64elf.em (sh64_elf_$_before_allocation): Disable
706 relaxing if any shmedia or mixed sections are found.
707 2001-03-07 DJ Delorie <dj@redhat.com>
708 * emultempl/sh64elf.em (sh64_elf_before_allocation): Pass f to
709 einfo. Gracefully decline to output to non-elf formats.
710 2001-03-06 Hans-Peter Nilsson <hpn@redhat.com>
711 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS) <.stack>:
712 Default to _end aligned to next multiple of 0x40000, plus 0x40000.
713 * emulparams/shelf32.sh: Ditto.
714 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
715 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Tweak
716 comment.
717 2001-01-10 Ben Elliston <bje@redhat.com>
718 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Avoid
719 non-portable shell constructs. From Hans-Peter Nilsson.
720 2001-01-09 Hans-Peter Nilsson <hpn@cygnus.com>
721 * emulparams/shelf64.sh (EXTRA_EM_FILE): Define empty.
722 * Makefile.am (eshelf64.c, eshlelf64.c, eshlelf32.c): Adjust
723 dependencies to the shell script include chain.
724 * Makefile.in: Regenerate.
725 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
726 * emultempl/sh64elf.em: Update and tweak comments.
727 (sh64_elf_${EMULATION_NAME}_after_allocation): Always allocate and
728 make a .cranges section SEC_IN_MEMORY.
729 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
730 * emultempl/sh64elf.em
731 (sh64_elf_${EMULATION_NAME}_before_allocation): Don't stop when
732 .cranges section found to be necessary; continue and set stored
733 section contents flags for sections with non-mixed contents.
734 Use a struct sh64_section_data container and sh64_elf_section_data
735 to store contents-type flags.
736 Remove unused update of "isec".
737 (sh64_elf_${EMULATION_NAME}_after_allocation): Only process
738 sections marked SHF_SH5_ISA32_MIXED. Use sh64_elf_section_data to
739 access contents-type flags. Assert that the associated container
740 is initialized. Use that container, not elf_gp_size, to hold size
741 of linker-generated cranges contents.
742 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
743 * emultempl/sh64elf.em
744 (sh64_elf_${EMULATION_NAME}_before_allocation): Exit early if
745 there's already a .cranges section. When section flag difference
746 is found, don't NULL-check cranges a second time. Tweak comments.
747 (sh64_elf_${EMULATION_NAME}_after_allocation): Use size after
748 merging, not max size, as size of ld-generated .cranges contents.
749 Don't set ELF section flags in output section. When checking for
750 needed .cranges descriptors, don't use a variable; compare
751 incoming ELF section flags directly to SHF_SH5_ISA32_MIXED. Tweak
752 comments.
753 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
754 * emultempl/sh64elf.em: New file.
755 * Makefile.am (eshelf32.c, eshlelf32.c): Adjust dependencies.
756 * Makefile.in: Regenerate.
757 * emulparams/shelf32.sh (OUTPUT_FORMAT): Only set if not set.
758 (OTHER_RELOCATING_SECTIONS): Ditto.
759 (EXTRA_EM_FILE): New, set to sh64elf if not set.
760 * emulparams/shlelf32.sh: Stub out all settings except
761 OUTPUT_FORMAT. Source shelf32.sh.
762 * emulparams/shelf64.sh: Similar, but also keep ELF_SIZE and
763 OTHER_RELOCATING_SECTIONS.
764 (OTHER_RELOCATING_SECTIONS): Remove .cranges.
765 * emulparams/shlelf64.sh: Stub out all settings except
766 OUTPUT_FORMAT. Source shelf64.sh.
767 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
768 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS): Include
769 .cranges section.
770 (DATA_START_SYMBOLS): Define, provide ___data.
771 (OTHER_READONLY_SYMBOLS): Define, provide ___rodata and align to 8
772 for consecutive .data section.
773 (OTHER_GOT_SECTIONS): Define, align to 8 for consecutive .bss
774 section after .data section.
775 * emulparams/shlelf64.sh: Ditto.
776 * emulparams/shelf32.sh: Ditto.
777 (ALIGNMENT): Define to 8.
778 * emulparams/shelf32.sh: Ditto.
779 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
780 * configure.tgt (sh64-*-elf*): Assign targ_extra_libpath to get
781 built-in linker scripts.
782 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
783 * emulparams/shlelf64.sh: New.
784 * emulparams/shelf64.sh: New.
785 * configure.tgt (sh64-*-elf*): Add shelf64 and shlelf64 to
786 targ_extra_emuls.
787 * Makefile.am: Add support for shlelf64 and shelf64.
788 * Makefile.in: Regenerate.
789 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
790 * configure.tgt (sh64-*-elf*): Add shelf as default.
791 Add shlelf to targ_extra_emuls.
792 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
793 * emulparams/shelf32.sh: New file.
794 * emulparams/shlelf32.sh: New file.
795 * Makefile.am: Add support for shlelf32 and shelf32.
796 * configure.tgt: Map sh64-*-elf* to shlelf32 and shelf32.
797 * Makefile.in: Regenerate.
798
e3dc8847
HPN
7992002-02-05 Hans-Peter Nilsson <hp@axis.com>
800
801 * ldlang.c (lang_reset_memory_regions): Rename from
802 reset_memory_regions. Change all callers. Make public.
803 * ldlang.h (lang_reset_memory_regions): Prototype.
804 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call
805 lang_reset_memory_regions before lang_size_sections.
126730bd
HPN
806 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
807 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise.
e3dc8847 808
8017dbcb
HPN
8092002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
810
811 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signed
812 arithmetic when checking for too many global registers.
813
006336b8
JT
8142002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
815
816 * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o.
817 (ehppanbsd.c): New rule.
818 * Makefile.in: Regenerate.
819 * configure.tgt (hppa*-*-netbsd*): New target.
820 * emulparams/hppalinux.sh: Add comment to check other files
821 that source this file it is modified, and list which
822 files that do.
823 * emulparams/hppanbsd.sh: New file.
824
da1f2fec
GK
8252002-02-01 Geoffrey Keating <geoffk@redhat.com>
826
827 * scripttempl/xstormy16.sc: Don't allocate extra space for the
828 stack.
829
48fa4a5d
HPN
8302002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
831
832 Support on-demand global register allocation from
833 R_MMIX_BASE_PLUS_OFFSET relocs.
834 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from
835 mmix_set_reg_section_vma. Call
836 _bfd_mmix_finalize_linker_allocated_gregs.
837 (mmix_before_allocation): New function.
838 (LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation.
839 (LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation.
840 * scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP.
841 (.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated
842 before .MMIX.reg_contents.
843 * emultempl/mmo.em (gldmmo_before_allocation): Define to default.
844 (mmo_after_open): New function.
845 (LDEMUL_AFTER_OPEN): Define to mmo_after_open.
846 * emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting. Add
847 .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents.
848
3b16e843
NC
8492002-01-31 Ivan Guzvinec <ivang@opencores.org>
850
851 * emulparams/or32.sh: New file.
852 * emulparams/or32elf.sh: New file.
853 * scripttempl/or32.sc: New file.
854 * configure.tgt : Add support for or32.
855 * configure: Regenerate
856 * Makefile.am: Add support for or32.
857 * Makefile.in: Regenerate.
858 * NEWS: Mention support for or32.
859 * po/ld.pot: Regenerate.
860
f744d540 8612002-01-29 Chris Demetriou <cgd@broadcom.com>
313e35ee 862 Mitch Lichtenberg <mpl@broadcom.com>
f744d540
CD
863
864 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself.
865 * emultempl/mipself.em: New file to handle MIPS ELF embedded
866 reloc creation (ld --embedded-relocs).
867
4867be41
DJ
8682002-01-27 Daniel Jacobowitz <drow@mvista.com>
869
870 * configure: Regenerated.
871
cd8e197b
HPN
8722002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
873
874 * Makefile.am (install): Depend on install-info.
875 * Makefile.in: Regenerate.
876
9cb61eab
AM
8772002-01-26 Christian Rose <menthos@menthos.com>
878
879 * ldmain.c (main): Use full sentences to ease translation.
880
1caa7b23
NC
8812002-01-26 Nick Clifton <nickc@cambridge.redhat.com>
882
883 * po/fr.po: Updated version.
884
1ddbd152
NC
8852002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
886
887 * po/es.po: Updated version.
888
1e84433f
AJ
8892002-01-25 Andreas Jaeger <aj@suse.de>
890
891 * ldlex.l (yy_input): Correct error check.
892
6d39955e
AM
8932002-01-25 Alan Modra <amodra@bigpond.net.au>
894
895 * ldmisc.c (demangle): Put back dots when string not demangled.
896
a9ed1e1b
RH
8972002-01-22 Richard Henderson <rth@redhat.com>
898
899 * emulparams/elf64alpha.sh (NOP): Use unop.
900
968ec2b9
AJ
9012002-01-21 Andreas Jaeger <aj@suse.de>
902
903 * ldlex.l: Use fread instead of read.
904
9596feea
JT
9052002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
906
907 * configure.tgt (ia64-*-netbsd*): New target.
908
493a6d47
L
9092002-01-21 H.J. Lu <hjl@gnu.org>
910
911 * emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to
912 0.
913 * emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise.
914
2a538ba5
AJ
9152002-01-18 Andreas Jaeger <aj@suse.de>
916
917 * ldver.c (ldversion): Update year.
918
328577ad
NC
9192002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
920
921 * po/ld.pot: Regenerate.
922
1f808cd5
AM
9232002-01-16 Alan Modra <amodra@bigpond.net.au>
924
925 * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em.
926 * Makefile.in: Regenerate.
927 * emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define.
928 * emultempl/ppc64elf.em: New file.
929
335c5610
DD
9302002-01-15 DJ Delorie <dj@redhat.com>
931
932 * scripttempl/pe.sc: Add support for constructor priorities.
933
c40bbade
DC
9342002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
935
936 * emulparams/avr1200.sh (DATA_START): Define as 0x60.
937 * emulparams/avr23xx.sh: Likewise.
938 * emulparams/avr4433.sh: Likewise.
939 * emulparams/avr44x4.sh: Likewise.
940 * emulparams/avr85xx.sh: Likewise.
941 * emulparams/avrmega103.sh: Likewise.
942 * emulparams/avrmega161.sh: Likewise.
943 * emulparams/avrmega603.sh: Likewise.
944 * scripttempl/elf32avr.sc: Use DATA_START instead of 0x60.
945
34efb449
AO
9462002-01-08 Alexandre Oliva <aoliva@redhat.com>
947
948 * ldlang.c (walk_wild_section): Exclude object file if enclosing
949 archive is excluded.
950
8d05742f
JT
9512002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
952
953 * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o.
2a538ba5 954 (eshelf_nbsd.c): New rule.
8d05742f
JT
955 (eshlelf_nbsd.c): New rule.
956 * Makefile.in: Regenerate.
957 * configure.tgt (sh*le-*-netbsdelf*): New target.
958 (sh*-*-netbsdelf*): New target.
959 * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file.
960 * ld/emulparams/shelf_nbsd.sh: New emulation.
961 * ld/emulparams/shlelf_nbsd.sh: New emulation.
962
be2d1673
NC
9632002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
964
965 * po/es.po: New file: Spanish translation.
966 * configure.in (ALL_LINGUAS): Add es.
967 * configure: Regenerate.
968
dbab7a7b
NC
9692002-01-06 John Marshall <jmarshall@acm.org>
970
971 * ld.texinfo: Note that --emit-relocs is currently only
972 implemented for ELF.
973
3dfe7a8c
AM
9742002-01-05 Alan Modra <amodra@bigpond.net.au>
975
976 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use
977 of bfd_section_list_remove and bfd_section_list_insert macros.
978 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
979 * emultempl/mmo.em (mmo_place_orphan): Likewise.
980
8a8b2d4b
AJ
9812002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
982
983 * configure.tgt (x86_64-*-netbsd*): New target.
984
9a4c7f16
TR
9852001-12-21 Tom Rix <trix@redhat.com>
986
8a8b2d4b 987 (gld*_create_output_section_statements): New function.
9a4c7f16
TR
988 For -binitfini support.
989 * emultempl/aix.em (gld*_before_parse): Fix comment.
990 * emultempl/aix.em (gld*_parse_args): Fix comment.
991
3695c299
AM
9922001-12-20 Jason Thorpe <thorpej@wasabisystems.com>
993
cf86e6df
AM
994 * configure.tgt (mips*-dec-netbsd*): Delete alias for
995 mips*el-*-netbsd*.
996 (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls.
997
3695c299
AM
998 * configure.tgt (arm-*-netbsdelf*): Add target.
999 (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls.
1000 * emulparams/armelf_nbsd.sh: Added.
1001 * Makefile.am: Add rules for earmelf_nbsd.
1002 * Makefile.in: Regenerate.
1003
97cb79ae
AJ
10042001-12-19 Andreas Jaeger <aj@suse.de>,
1005 Susanne Oberhauser <froh@suse.de>
1006
1007 * configure.host: Add rules for x86_64-*linux-gnu. Change
1008 s390x-linux entry to use gcc to report configuration, replace gcc
1009 with $CC in s390-linux
1010
9d201f2f
AJ
10112001-12-19 Andreas Jaeger <aj@suse.de>
1012
1013 * ld.texinfo (VERSION): Fix markup.
1014
0b69cd08
MG
10152001-12-18 matthew green <mrg@eterna.com.au>
1016
1017 * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o.
1018 (m68kelfnbsd.c): New rule.
1019 * Makefile.in: Regenerate.
1020 * configure.tgt (m68*-hp-netbsd*): Renamed to ..
1021 (m68*-*-netbsd*4k*): .. this.
1022 (m68*-*-netbsdelf*): New target.
1023 (m68*-*-netbsd*): Also include ELF support.
1024 (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*.
1025 * emulparams/m68kelfnbsd.sh: New emulation.
1026
6b9b879a
JJ
10272001-12-18 Jakub Jelinek <jakub@redhat.com>
1028
1029 * ldgram.y (vers_node): Support anonymous version tags.
1030 * ldlang.c (lang_register_vers_node): Ensure anonymous version
1031 tag is not defined together with non-anonymous versions.
1032 * ld.texinfo: Document it.
1033
9fc877ed
NC
10342001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1035
1036 * po/tr.po: New file: Turkish translation.
1037 * configure.in (ALL_LINGUAS): Add tr.
1038 * configure: Regenerate.
1039
fc18a3f3
RH
10402001-12-17 Jason Thorpe <thorpej@wasabisystems.com>
1041
1042 * Makefile.am: Add rules for eelf64alpha_nbsd.
1043 * Makefile.in: Regenerate.
1044 * configure.tgt (alpha*-*-netbsd*): Set
1045 targ_emul to elf64alpha_nbsd.
1046 * emulparams/elf64alpha_nbsd.sh: Added.
1047
76f63e91
AM
10482001-12-17 Alan Modra <amodra@bigpond.net.au>
1049
1050 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust
1051 section_tail when fiddling with section list.
1052 (gld${EMULATION_NAME}_list_options): Ensure sentences aren't
1053 broken into separate strings to make translation easier.
1054 * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when
1055 fiddling with section list.
1056 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1057
d03b89bd
HPN
10582001-12-16 Hans-Peter Nilsson <hp@bitrange.com>
1059
1060 * scripttempl/mmo.sc: Add .debug_ranges to listed sections.
1061
320fec9a
AM
10622001-12-15 Alan Modra <amodra@bigpond.net.au>
1063
1064 * ldmain.c (main): Initialise link_info.eh_frame_hdr.
1065
65765700
JJ
10662001-12-13 Jakub Jelinek <jakub@redhat.com>
1067
1068 * emultempl/elf32.em (finish): Supply output_bfd
1069 to bfd_elf*_discard_info.
1070 (OPTION_EH_FRAME_HDR): Define.
1071 (longopts): Add --eh-frame-hdr.
1072 (parse_args): Handle it.
1073 (list_options): Add --eh-frame-hdr to help.
1074 * emultempl/hppaelf.em (finish): Supply output_bfd
1075 to bfd_elf*_discard_info.
1076 * scripttempl/elf.sc (.eh_frame_hdr): Add.
1077
89894c62
AM
10782001-12-13 Alan Modra <amodra@bigpond.net.au>
1079
1080 * lexsup.c (parse_args): Don't pass shortopts to second call to
1081 getopt functions. Restore optind rather than decrementing before
1082 second call. Remove errind as it now duplicates last_optind.
1083
583f1926
CF
10842001-12-11 Christopher Faylor <cgf@redhat.com>
1085
1086 * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo.
1087
93fbbb04
GK
10882001-12-07 Geoffrey Keating <geoffk@redhat.com>
1089 Richard Henderson <rth@redhat.com>
1090
1091 * Makefile.am: Add support for xstormy16.
1092 * configure.tgt: Add support for xstormy16.
1093 * Makefile.in: Regenerate.
1094 * emulparams/elf32xstormy16.sh: New file.
1095 * scripttempl/xstormy16.sc: New file.
1096
583f1926
CF
10972001-10-01 Christopher Faylor <cgf@cygnus.com>
1098
fc18a3f3
RH
1099 * Makefile.in (LIB_PATH): Make configurable.
1100 (GENSCRIPTS): Set LIB_PATH in environment.
1101 * configure.in: Substitute LIB_PATH.
1102 * configure: Regenerate.
1103 * configure.tgt (*cygwin): Set LIB_PATH for cross build.
1104 * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS.
583f1926 1105
ff291a48
NC
11062001-12-07 Nick Clifton <nickc@cambridge.redhat.com>
1107
1108 * lexsup.c (ld_options): Insert 'PROGRAM' into the text string
1109 describing the -N option so that it is easier to translate into
1110 foreign languages.
1111
e3c8793a
NC
11122001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1113
1114 * emultempl/pe.em (..._list_options): Replace multiple fprintf
1115 statements describing a single option with a single, newline
1116 escaped fprintf. This allows better translation into other
1117 languages.
9d201f2f 1118
fc18a3f3
RH
1119 * ldmain.c (add_archive_element): Combine multiple strings
1120 into a single string to permit better translation into other
1121 languages.
e3c8793a 1122
f2eab0af
TR
11232001-12-05 Tom Rix <trix@redhat.com>
1124
1125 * Makefile.am: Remove eaixppc64.
9d201f2f 1126 * Makefile.in: Regenerate.
f2eab0af 1127
249172c3
TR
11282001-12-04 Tom Rix <trix@redhat.com>
1129
9d201f2f 1130 * emultempl/aix.em (choose_target): Change default target to
249172c3
TR
1131 OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler
1132 warning.
1133 (gld*_read_file): Fix typo.
1134 (change_symbol_mode): Add prototype.
1135 (is_syscall): Same.
9d201f2f 1136
249172c3
TR
1137 * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete.
1138 * emulparams/aixrs6.sh : Same.
1139 * emulparams/ppcmacos.sh : Same.
1140 * emulparams/aixppc64.sh : Delete file.
1141 * emultempl/aix.em : Formatting changes.
1142
5b5cd1b0
HPN
11432001-12-04 Hans-Peter Nilsson <hp@axis.com>
1144
1145 * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes.
1146 (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting
1147 __Sbss.
1148 (OTHER_END_SYMBOLS): Fix formatting.
1149 * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes.
1150 (OTHER_END_SYMBOLS): Fix formatting.
1151
7cecdbff
AM
11522001-12-04 Alan Modra <amodra@bigpond.net.au>
1153
1154 * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT.
1155
742aeb63 11562001-12-02 Tom Rix <trix@redhat.com>
7cecdbff 1157
742aeb63 1158 * configure.tgt : Remove eaixppc64 emulations.
7cecdbff 1159 * Makefile.in : Remove eaixppc64.c
742aeb63
TR
1160 * ldemul.c (ldemul_choose_target): New parameters argc, argv.
1161 (ldemul_default_target): Same.
1162 * emultempl/gld960.em (gld960_choose_target): Same.
7cecdbff
AM
1163 * emultempl/gld960c.em (gld960_choose_target): Same.
1164 * scripttempl/aix.sc: Remove OUTPUT_FORMAT.
742aeb63
TR
1165 * emultempl/aix.em (is_syscall): syscall_mask now a variable.
1166 * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable.
1167 * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation.
7cecdbff 1168 * emultempl/aix.em (choose_target): New function. Handle emulation of
742aeb63
TR
1169 -b32 and -b64.
1170
48459341
L
11712001-11-27 H.J. Lu <hjl@gnu.org>
1172
1173 * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes.
1174 * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise.
1175 * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise.
1176 * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise.
1177 * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise.
1178 * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise.
1179 * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise.
1180 * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise.
1181
7cecdbff 1182 * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA}
48459341
L
1183 is not empty.
1184 (SDATA): Likewise.
1185 (REL_SDATA): Likewise.
1186 (REL_SBSS): Likewise.
1187 (REL_SDATA2): Likewise.
1188 (REL_SBSS2): Likewise.
1189 (SBSS2): Define if ${NO_SMALL_DATA} is not empty.
1190 (SDATA2): Likewise.
1191
ecfdd20c
SC
11922001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1193
1194 * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
1195 destructor in rom.
7cecdbff 1196 * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.
ecfdd20c 1197
da54c6eb
L
11982001-11-22 H.J. Lu <hjl@gnu.org>
1199
1200 * Makefile.in: Regenerated with automake based on automake
1201 1.4-8 in RedHat 7.1.
1202
465bc359
AM
12032001-11-22 Alan Modra <amodra@bigpond.net.au>
1204
1205 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
1206 (config.status): Delete rule.
1207 Add extra dependencies to cover sourced emulparams files.
1208 * Makefile.in: Regenerate.
1209
1210 * scripttempl/elf.sc: Order <section>, <section>.* and
1211 corresponding linkonce sections as seen in input files.
1212 Formatting fixes. Zero vma of all sections if not relocating.
1213 (STACK): Define and insert if STACK_ADDR defined.
1214 (OTHER_RELOCATING_SECTIONS): Delete.
1215 (OTHER_END_SYMBOLS): Define.
1216 (OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
1217 (OTHER_READWRITE_SECTIONS): Likewise.
1218 (OTHER_GOT_SECTIONS): Likewise.
1219 (OTHER_SDATA_SECTIONS): Likewise.
1220 (OTHER_BSS_SECTIONS): Likewise.
1221 * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
1222 (OTHER_READWRITE_SECTIONS): Likewise.
1223 * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
1224 (OTHER_READWRITE_SECTIONS): Likewise
1225
1226 * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
1227 (STACK_ADDR): Define.
1228 * emulparams/armelf_oabi.sh: As for armelf.sh.
1229 * emulparams/elf32mcore.sh: As for armelf.sh.
1230 * emulparams/h8300elf.sh: As for armelf.sh.
1231 * emulparams/mn10200.sh: As for armelf.sh.
1232 * emulparams/shelf.sh: As for armelf.sh.
1233
1234 * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
1235 (OTHER_END_SYMBOLS): Define.
1236 * emulparams/m32relf.sh: As for elf32fr30.sh.
1237 * emulparams/h8300helf.sh: As for elf32fr30.sh.
1238 * emulparams/h8300self.sh: As for elf32fr30.sh.
1239
1240 * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
1241 defines with RELOCATING test.
1242 (OTHER_SDATA_SECTIONS): Likewise.
1243 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
1244 (OTHER_END_SYMBOLS): ..this.
1245 * emulparams/crislinux.sh: As for criself.sh.
1246
1247 * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
1248 if not relocating.
1249 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
1250 (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order
1251 normal and linkonce sections as seen in input files.
1252 * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
1253 (TEXT_DYNAMIC): Likewise.
1254 (INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
1255 (OTHER_SDATA_SECTIONS): Likewise.
1256 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
1257 * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
1258 * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
1259 * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
1260 * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
1261 (OTHER_PLT_RELOC_SECTIONS): Likewise.
1262 (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce
1263 sections as seen in input files.
1264 * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
1265 * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
1266 if not relocating.
1267 (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
1268 (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
1269 * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
1270 (OTHER_SECTIONS): Instead, use this..
1271 (OTHER_END_SYMBOLS): ..and this.
1272
1273 * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
1274 * emulparams/elf32bsmip.sh: Likewise.
1275 * emulparams/elf32btsmip.sh: Likewise.
1276 * emulparams/elf32ebmip.sh: Likewise.
1277 * emulparams/elf32lmip.sh: Likewise.
1278 * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
1279 * emulparams/elf32lsmip.sh: Likewise.
1280 * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
1281 * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
1282 * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
1283 * emulparams/elf64btsmip.sh: Likewise.
1284 * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
1285 * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
1286 * emulparams/elf32ppclinux.sh: Likewise.
1287 * emulparams/elf32ppcsim.sh: Likewise.
1288 * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
1289 * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
1290 * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
1291 * emulparams/h8300self.sh: Likewise.
1292 * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
1293 * emulparams/sh.sh: Comment.
1294 * emulparams/shl.sh: Source sh.sh, remove duplicates.
1295 * emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
1296 * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
1297
abc6ab0a
AM
12982001-11-21 David Heine <dlheine@tensilica.com>
1299 Alan Modra <amodra@bigpond.net.au>
1300
1301 * ldlang.c (map_input_to_output_sections): Replace "break"
1302 accidentally removed with 2001-08-03 change.
1303 (lang_gc_sections_1): Likewise.
1304
2181f54f
AM
13052001-11-21 Alan Modra <amodra@bigpond.net.au>
1306
1307 * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
1308
ca0b5847
AM
13092001-11-20 Angela Marie Thomas <angela@redhat.com>
1310
1311 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
2181f54f
AM
1312 of false when calling lang_size_sections.
1313 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
ca0b5847 1314
c56feb2b
AM
13152001-11-15 Alan Modra <amodra@bigpond.net.au>
1316
1317 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
1318 function when LDEMUL_FINISH isn't set to the same name. Don't
1319 call ${LDEMUL_FINISH}.
1320 (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined.
1321 * emultempl/armelf.em (arm_elf_finish): Call
1322 gld${EMULATION_NAME}_finish.
1323 * emultempl/hppaelf.em (hppaelf_finish): Rename to
1324 gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and
1325 hppaelf_layout_sections_again if necessary.
1326 (need_laying_out): New var.
1327 (hppaelf_layaout_sections_again): Rename to
1328 hppaelf_layout_sections_again. Clear need_laying_out.
1329 (PARSE_AND_LIST_OPTIONS): Format text.
1330
a48ca7f2
L
13312001-11-14 H.J. Lu <hjl@gnu.org>
1332
1333 * emultempl/armelf.em (arm_elf_finish): Renamed from
1334 gld${EMULATION_NAME}_finish.
1335 (LDEMUL_FINISH): Set to arm_elf_finish.
1336
73d074b4
DJ
13372001-11-14 Daniel Jacobowitz <drow@mvista.com>
1338
1339 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New.
1340 (struct ld_emulation_xfer_struct): Use it.
1341
3b16e843 13422001-11-13 Ross Alexander <ross.alexander@uk.neceur.com>
fc65c602 1343
465bc359 1344 * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add
fc65c602
JL
1345 additional symbols referenced by newer crt0.o files from HP.
1346
f11b7027
NC
13472001-11-12 Anthony Green <green@redhat.com>
1348
1349 * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol.
1350
3bf2994f
AM
13512001-11-12 Alfred M. Szmidt <ams@kemisten.nu>
1352
1353 * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.
1354 * Makefile.in: Regenerate.
1355
ff5dcc92
SC
13562001-11-02 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1357
1358 * ld.texinfo: Use @command for commands, @option for options.
1359 * Makefile.am (POD2MAN): Use 'GNU Development Tools' for
1360 the page man title.
1361 * Makefile.in: Rebuild.
1362
9fb9af6e
CD
13632001-11-04 Chris Demetriou <cgd@broadcom.com>
1364
1365 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
1366 Add support for targets.
2181f54f 1367
3c62831e
NC
13682001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
1369
1370 * configure.in (ALL_LINGUAS): Add "fr" and "sv"
1371 * configure: Regernate.
1372 * po/fr.po: New file.
1373 * po/sv.po: New file.
1374
3a9091c4
NC
13752001-11-01 NIIBE Yutaka <gniibe@m17n.org>
1376
1377 * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls
1378 as little endian default and to support big endian.
2181f54f 1379
361b220e
CD
13802001-11-01 Chris Demetriou <cgd@broadcom.com>
1381
1382 * ld.texinfo (Options): Document new option, -nostdlib.
1383 * lexsup.c (OPTION_NOSTDLIB): New definition.
1384 (ld_options): Add entry for "nostdlib".
1385 (parse_args): Handle OPTIONS_NOSTDLIB.
1386 * ldfile.c (ldfile_add_library_path): Don't add directories
1387 to the search path if they weren't specified on the command line
1388 and -nostdlib was specified.
1389 * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
1390
210a7bd1
NC
13912001-10-31 Nick Clifton <nickc@cambridge.redhat.com>
1392
1393 * lexsup.c (parse_args): Prevent infinite parsing loop when
1394 "-rpath.a" is specified on the command line.
1395 Replace calls to fprintf with calls to einfo.
1396
114283d8
NC
13972001-10-31 John Marshall <jmarshall@acm.org>
1398
1399 * ld.texinfo: A historical requirement that MEMORY and SECTIONS
1400 appear only once across all the linker scripts involved in a link
1401 invocation no longer applies. Make the documentation reflect
1402 that.
1403
7649aa50
NC
14042001-10-31 NIIBE Yutaka <gniibe@m17n.org>
1405
1406 * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
1407 targets.
1408 (sh-*-linux*): Added targ_extra_libpath.
1409
6e814ff8
AM
14102001-10-31 David Heine <dlheine@tensilica.com>
1411
1412 * ldlang.c (lang_size_sections): Keep a valid output_offset field
1413 for padding statements.
1414
3c3bdf30
NC
14152001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1416
1417 * configure.tgt (mmix-*-*): New target.
1418 * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o.
1419 Add dependencies to match.
1420 * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em,
1421 emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em,
1422 scripttempl/mmo.sc: New files.
1423 * gen-doc.texi: @set MMIX.
1424 * ld.texinfo: Ditto.
6e814ff8 1425 [MMIX] Add MMIX node.
3c3bdf30
NC
1426 * Makefile.in: Regenerate.
1427
ca0c1d3e
KH
14282001-10-29 Kazu Hirata <kazu@hxi.com>
1429
1430 * ldlang.c: Fix a comment typo.
1431
1a3d33ce
AM
14322001-10-23 Alan Modra <amodra@bigpond.net.au>
1433
1434 * configure.host: Move alpha*-*-linux-gnu* entry to generic
1435 entries, and match *-*-linux*.
1436
b47c4208
AM
14372001-10-20 Alan Modra <amodra@bigpond.net.au>
1438
1439 * ldgram.y (mri_script_command): Surround processing of INCLUDE
1440 with ldlex_script, ldlex_popstate.
1441 (ifile_p1): Likewise.
1442 * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the
1443 correct slot.
1444 (lex_push_file): Save current lineno to lineno_stack. Set lineno
1445 to 1. Don't BEGIN(SCRIPT).
1446 (lex_redirect): Similarly.
1447 * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
1448
fd521b47
NC
14492001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
1450
1451 * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and
1452 __EH_FRAME_END__ and accept eh frames into data section.
1453 Add ctor and dtor sections.
1454
59d28a94
DD
14552001-10-19 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1456
1457 * pe-dll.c (autofilter_objectlist): Add gcrt0.o.
1458 (auto-export): Fix indentation.
1459
663dd378
DD
14602001-10-18 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1461
1462 * pe-dll.c (autofilter_objectlist): Add startup objects
1463 for profiling.
1464 (auto-export): Constify char * p.
6e814ff8 1465 Extract file basename and use strcmp rather than ststr
663dd378
DD
1466 for object lookup.
1467
31d677f9
CD
14682001-10-18 Chris Demetriou <cgd@broadcom.com>
1469
1470 * ldmain.c (get_emulation): Improve comment about the handling
1471 of -mipsN options.
1472
aa200fe8
AM
14732001-10-17 Alan Modra <amodra@bigpond.net.au>
1474
1475 * po/POTFILES.in: Regenerate.
1476
146e7110
AM
14772001-10-16 Vassili Karpov <malc@pulsesoft.com>
1478
1479 * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
1480 -z nocopyreloc and -z nocombreloc usage strings.
1481
b4330e85
NC
14822001-10-12 Vassili Karpov <malc@pulsesoft.com>
1483
146e7110 1484 * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc
b4330e85
NC
1485 in usage.
1486
5af8a2fb
NC
14872001-10-11 Aleksey Romanov <aromanov@ennovatenetworks.com>
1488
1489 * scripttempl/armaout.sc: Place .bss section after end of aligned
1490 data section to match behaviour of aout code in constructrion of
1491 header.
1492
5b784096
DD
14932001-10-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1494
1495 * pe-dll.c (autofilter_entry_type autofilter_liblist: Add
1496 startup files for mingw32 dlls to list.
1497
61585df2
CD
14982001-10-10 Chris Demetriou <cgd@broadcom.com>
1499
1500 * emultempl/elf32.em: Fix shell 'if' usage for portability.
1501
45cf6f3e
AH
15022001-10-08 Aldy Hernandez <aldyh@redhat.com>
1503
1504 * configure.tgt (targ): Add arm9e-*-elf.
1505
e24d7c12
L
15062001-10-05 H.J. Lu <hjl@gnu.org>
1507
1508 * genscripts.sh: Fix a typo in the last change.
1509
ec38dd05
JJ
15102001-10-05 Jakub Jelinek <jakub@redhat.com>
1511
1512 * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
1513 -z nocombreloc in usage.
1514
cedd6b0d
JB
15152001-10-03 Jim Blandy <jimb@redhat.com>
1516
1517 * genscripts.sh: Include a comment at the top of each generated
1518 script, explaining its purpose.
1519
8bd621d8
AM
15202001-10-03 Vassili Karpov <malc@pulsesoft.com>
1521
1522 * emultempl/elf32.em (parse_args): Handle -z nocopyreloc.
1523 * NEWS: Mention -z nocopyreloc.
1524 * ld.texinfo (Options): Describe nocopyreloc.
1525
fcd8210c
AM
15262001-10-03 Alan Modra <amodra@bigpond.net.au>
1527
1528 * configure: Regenerate.
1529
d32820f2
AM
15302001-10-02 Alan Modra <amodra@bigpond.net.au>
1531
1532 * ldver.h (ld_program_version): Remove declaration.
1533 * lexsup.c (parse_args): Move printing of copyright message..
1534 * ldver.c (ldversion): .. to here.
1535 Use BFD_VERSION_STRING in place of BFD_VERSION.
1536 (ld_program_version): Remove.
1537 * Makefile.am (Makefile): Depend on bfd/configure.in.
1538 Run "make dep-am".
1539 * Makefile.in: Regenerate.
1540
af46bcdc
HPN
15412001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
1542
1543 * Makefile.am: Update dependencies with "make dep-am".
1544 * Makefile.in: Regenerate.
1545
4818e05f 15462001-09-29 John Reiser <jreiser@BitWagon.com>
862517b6 1547
4818e05f
AM
1548 * ldlang.c (lang_common): Conditionally inhibit Common allocation.
1549 * lexsup.c: Add --no-define-common commandline option.
1550 * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
1551 * ldlex.l: Likewise.
1552 * ld.h: Add command_line.inhibit_common_definition.
1553 * ldmain.c (main): Initialize.
1554 * ld.texinfo: Document.
862517b6 1555
d5e0ebeb
AM
15562001-09-26 Alan Modra <amodra@bigpond.net.au>
1557
1558 * ldmisc.c (USE_STDARG): Remove.
1559 (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
1560 (einfo): Likewise.
1561 (minfo): Likewise.
1562 (lfinfo): Likewise.
1563
1564 * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
1565 declarations. Update copyright.
1566
2f8d8971
NC
15672001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
1568
85c77458
NC
1569 * pe-dll.c: Remove obsoleted declaration of
1570 pe_get_data_import_dll_name.
1571 (pe_create_import_fixup): Fix thinko.
1572
2f8d8971
NC
1573 * ld.texinfo(enable-auto-import): Clarify the explanation.
1574
15752001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
1576
1577 * pe-dll.c (pe_create_import_fixup): Revert previous patch.
1578 * emultemp/pe.em (pe_data_import_dll): Move definition outside of
1579 DLL_SUPPORT controlled code.
1580
72358f65 15812001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
146e7110 1582
72358f65
NC
1583 * emultempl/pe.em(pe_data_import_dll): Make static.
1584 (pe_get_data_import_dll_name): New accessor function.
146e7110 1585 * pe-dll.c(pe_create_import_fixup): call
72358f65
NC
1586 pe_get_data_import_dll_name() from pe.em, instead of
1587 directly accessing pe_data_import_dll variable from pe.em.
1588
3882b010
L
15892001-09-18 Bruno Haible <haible@clisp.cons.org>
1590
1591 * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>.
1592 (def_file_add_directive): Use ISSPACE instead of isspace.
1593 (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
1594 isdigit/isxdigit/isalpha/isalnum.
1595 * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>.
1596 (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
1597 * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>.
1598 (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
1599 isalnum.
1600 * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>.
1601 (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
1602 isupper/tolower.
1603 * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>.
1604 (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
1605 * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>.
1606 (ctor_prio): Use ISDIGIT instead of isdigit.
1607 * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>.
1608 (ldfile_open_file_search): Use ISALPHA instead of isalpha.
1609 (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
1610 isupper/tolower.
1611 * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>.
1612 (stricpy): Use TOLOWER instead of isupper/tolower.
1613 (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
1614 * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>.
1615 (lex_warn_invalid): Use ISPRINT instead of isprint.
1616 * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>.
1617 (main): For gettext, also set the LC_CTYPE locate facet.
1618 (add_keepsyms_file): Use ISSPACE instead of isspace.
1619 * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>.
1620 (is_num, parse_args): Use ISDIGIT instead of isdigit.
1621 * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>.
1622 (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
1623 * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>.
1624 (gldppcmacos_read_file): Use ISSPACE instead of isspace.
1625 * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>.
1626 (quoteput): Use ISSPACE instead of isspace.
1627 (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
1628 instead of isalnum.
1629
db09f25b
AM
16302001-09-18 Alan Modra <amodra@bigpond.net.au>
1631
1632 * deffilep.y (def_stash_module): Constify "name" param.
1633
1634 * pe-dll.c: Replace CONST with const throughout.
1635 (quick_symbol): Constify "n1", "n2", "n3" params.
1636 (make_singleton_name_thunk): Constify "import" param. Make
1637 "buffer_len" a size_t.
1638 (make_import_fixup_entry): Constify "name", "fixup_name",
1639 "dll_symname" params.
1640 (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread.
1641 (pe_get32): Likewise.
1642 (pe_implied_import_dll): Likewise.
1643
1644 * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
1645 (sort_by_section_name): Likewise.
1646
1647 * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
1648 (make_import_fixup): Cast printf arg, rel->address to long rather
1649 than int.
1650 (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
1651
74699268
AM
16522001-09-15 Alan Modra <amodra@bigpond.net.au>
1653
1654 * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
1655 defines BufferSize. Increase buffer size by one.
1656
775cabad
NC
16572001-09-14 Ralf Habacker <Ralf.Habacker@freenet.de>
1658
1659 * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
1660
056a1d49
NC
16612001-09-14 Kevin Lo <kevlo@openbsd.org>
1662
1663 * configure.tgt: Add arm-openbsd target.
1664
a7d792bb
L
16652001-09-12 H.J. Lu <hjl@gnu.org>
1666
1667 * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
1668 eelf64lppc.o to ...
1669 (ALL_64_EMULATIONS): Here.
1670 * Makefile.in: Regenerated.
1671
0d888aac
CW
16722001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
1673
1674 * emultempl/pe.em(make_import_fixup): change signature to
1675 take asection as well as arelec; we need this for proper
146e7110 1676 error reporting. Only call pe_create_import_fixup() if
0d888aac
CW
1677 there is no attempt to add a constant addend to the reloc;
1678 otherwise, report error condition.
1679 * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
1680 since final argument is a pointer to make_import_fixup().
1681 Change call to cb() to match make_import_fixup() signature.
1682 (make_import_fixup_mark): make buffer_len unsigned.
1683 * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
1684
16852001-09-12 Charles Wilson <cwilson@ece.gatech.edu>
1686
1687 * ld.texinfo: add verbose documentation for auto-import
146e7110 1688 direct-addressing workaround, to compliment the terse
0d888aac
CW
1689 error message.
1690
cedacdc0
CM
16912001-09-12 Andrew MacLeod <amacleod@redhat.com>
1692
146e7110 1693 * scripttempl/v850.sc: Add gcc_except_table sections.
cedacdc0 1694
3b16e843 16952001-09-11 Jeffrey A Law (law@cygnus.com)
38be0bb1
JL
1696
1697 * emulparams/h8300helf.sh: Move stack to a much higher memory address.
1698 * emulparams/h8300self.sh: Similarly.
1699
559e4713
NC
17002001-09-05 Danny Smith <dannysmith@users.souceforge.net>
1701
1702 * ld.texinfo (Options, --stack): Correct default value for stack
1703 reserve.
1704
1fdf0249
TR
17052001-09-05 Tom Rix <trix@redhat.com>
1706
1707 * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
146e7110 1708
9b5799b8
AJ
17092001-09-03 Andreas Jaeger <aj@suse.de>
1710
1711 * emultempl/beos.em: Declare prototypes for comparions functions,
1712 adjust definitions.
1713
48f6162b
AJ
17142001-09-02 Andreas Jaeger <aj@suse.de>
1715
1716 * emultempl/aix.em: Add missing prototype.
1717 * emultempl/lnk960.em: Likewise.
1718 * emultempl/vanilla.em: Likewise.
1719 * emultempl/armcoff.em: Likewise.
1720 * emultempl/armelf_oabi.em: Likewise.
1721 * emultempl/beos.em: Likewise.
1722 * emultempl/gld960c.em: Likewise.
1723 * emultempl/gld960.em: Likewise.
1724
1725 * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
1726 for prototype declaration.
1727
39e5585e
EC
17282001-08-31 Eric Christopher <echristo@redhat.com>
1729 Jason Eckhardt <jle@redhat.com>
1730
1731 * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
1732
3fc90ddb
AJ
17332001-08-31 Andreas Jaeger <aj@suse.de>
1734
1735 * emultempl/pe.em: Add missing prototypes.
1736 (gld_${EMULATION_NAME}_after_open): Remove extra args to
1737 pe_find_data_imports.
1738 (pr_sym): Add unused attribute.
1739
d43ded80
PB
17402001-08-29 Joel Sherrill <joel@OARcorp.com>
1741
39e5585e 1742 * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
d43ded80
PB
1743 default from coff to elf.
1744
3946dd2f
JL
17452001-08-29 Jeff Law <law@redhat.com>
1746
1747 * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update
1748 ARCH specification.
1749 * emulparams/h8300self.sh: Similarly.
1750
3b16e843 17512001-08-28 J"orn Rennecke <amylaar@redhat.com>
8af6dd41
JR
1752
1753 * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
1754 eh8300self.o .
1755 (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
1756 * configure.tgt (h8300-*-elf*): New case.
1757 * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
1758 * emulparams/h8300self.sh: New file.
1759 * Makefile.in: Regenerated.
1760
70d0c6e9
NC
17612001-08-28 Nick Clifton <nickc@cambridge.redhat.com>
1762
1763 * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
1764 with macro name.
1765
5c67d4bb
AM
17662001-08-27 Linus Nordberg <linus@swox.com>
1767 Alan Modra <amodra@bigpond.net.au>
1768
1769 * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
1770 (eelf64ppc.c, eelf64lppc.c): Add make targets.
1771 Run "make dep-am"
1772 * Makefile.in: Regenerate.
1773 * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj
1774 entries to correct alphabetical position.
1775 * emulparams/elf64ppc.sh: New.
1776 * emulparams/elf64lppc.sh: New.
1777
08131015
NC
17782001-08-27 Nick Clifton <nickc@cambridge.redhat.com>
1779
1780 * ldmain.c (main): Declare BSIZE as static.
1781
db6751f2
JJ
17822001-08-23 Jakub Jelinek <jakub@redhat.com>
1783
1784 * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
1785 into .rel.dyn resp. .rela.dyn if combreloc.
1786 (get_script): If .x linker script is equal to .xn, only put it
1787 once into the binary.
1788 Add .xc and .xsc scripts.
1789 (parse_args): Handle -z combreloc and -z nocombreloc.
1790 * scripttempl/elf.sc (.rela.sbss): Fix a typo.
1791 For .xc and .xsc scripts put all .rel* or .rela* input sections
1792 but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
1793 * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
1794 is elf.
1795 Strip trailing whitespace from script.
1796 Generate .xc and .xsc scripts if requested.
1797 * ldmain.c (main): Initialize link_info.combreloc and
1798 link_info.spare_dynamic_tags.
1799 * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
1800 (ld_options): Add --spare-dynamic-tags option.
1801 (parse_args): Likewise.
1802 * ld.texinfo: Document -z combreloc and -z nocombreloc.
1803 * ldint.texinfo: Document .xc and .xsc linker scripts.
1804 * NEWS: Add notes about -z combreloc and SHF_MERGE.
1805
63d069c0
L
18062001-08-22 H.J. Lu <hjl@gnu.org>
1807
1808 * emulparams/elf32fr30.sh: Add a newline.
1809
948f9114
AJ
18102001-08-21 Andreas Jaeger <aj@suse.de>
1811
1812 * deffilep.y: Add missing prototypes.
1813 * pe-dll.c: Likewise.
1814
ae7fb08f
AM
18152001-08-20 Alan Modra <amodra@bigpond.net.au>
1816
2af02257
AM
1817 * ldlang.c (insert_pad): Fix typos in last patch.
1818
1819 * ldlang.c: When traversing lang_statement_union_type lists,
1820 consistently use "header.next" rather than "next".
1821 * mpw-eppcmac.c: Likewise.
1822 * emultempl/beos.em: Likewise.
1823 * emultempl/hppaelf.em: Likewise.
1824 * emultempl/pe.em: Likewise.
1825 * ldlang.h (union lang_statement_union): Remove "next" field.
1826
c0c330a7
AM
1827 * ldlang.c (insert_pad): Use offsetof macro.
1828 (lang_size_sections): Always neuter padding statements.
1829 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
1830
ae7fb08f
AM
1831 * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
1832 passed to lang_size_sections.
1833 (pe_exe_fill_sections): Likewise.
1834 * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
1835 (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
1836
fab80407
AM
18372001-08-18 Alan Modra <amodra@bigpond.net.au>
1838
1839 * emultempl/aix.em: Formatting fixes.
1840
b3327aad
AM
18412001-08-18 Alan Modra <amodra@bigpond.net.au>
1842
1843 * ldlang.c (insert_pad): Make use of an existing pad statement if
1844 available. Move code calculating alignment, adjusting section
1845 alignment power, and adjusting dot to ..
1846 (size_input_section): .. here. Remove unused relax param.
1847 (lang_size_sections): Change boolean `relax' param to boolean *.
1848 Adjust call to size_input_section. Make use of insert_pad to
1849 place pad after the assignment statement. If relaxing, zap
1850 padding statements.
1851 (reset_memory_regions): Reset output_bfd section sizes too.
1852 (relax_again): Move to..
1853 (lang_process): ..here. Adjust call to lang_size_sections, and
1854 remove duplicated code.
1855 * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
1856
563e308f
AM
18572001-08-17 Alan Modra <amodra@bigpond.net.au>
1858
1859 * ld.texinfo: Document that fill values now use the four least
1860 significant bytes.
1861 * emulparams/elf32fr30.sh (NOP): Update.
1862 * emulparams/elf32mcore.sh: Likewise.
1863 * emulparams/elf64_s390.sh: Likewise.
1864 * emulparams/elf_i386.sh: Likewise.
1865 * emulparams/elf_i386_be.sh: Likewise.
1866 * emulparams/elf_i386_chaos.sh: Likewise.
1867 * emulparams/elf_i386_ldso.sh: Likewise.
1868 * emulparams/elf_s390.sh: Likewise.
1869 * emulparams/elf_x86_64.sh: Likewise.
1870 * emulparams/i386moss.sh: Likewise.
1871 * emulparams/i386nw.sh: Likewise.
1872 * emulparams/m68kelf.sh: Likewise.
1873 * scripttempl/elf.sc: Update NOP comment.
1874 * scripttempl/elfi370.sc: Likewise.
1875 * scripttempl/elfm68hc11.sc: Likewise.
1876 * scripttempl/elfm68hc12.sc: Likewise.
1877 * scripttempl/nw.sc: Likewise.
1878
b90e1c6f
TR
18792001-08-15 Tom Rix <trix@redhat.com>
1880
1881 * ldgram.y (saved_script_handle): Initialize to NULL.
1882 * ldmain.c (main): Change check on saved_script_handle.
948f9114 1883
39dcfe18
AM
18842001-08-14 Alan Modra <amodra@bigpond.net.au>
1885
cde43e70
AM
1886 * emultempl/elf32.em: Formatting fixes.
1887 (output_prev_sec_find): Test for bfd_ind_section too; do so by
1888 looking at sec->owner.
1889 (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
1890 (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove
1891 unused code, and reorganize orphan section placement code.
1892
39dcfe18
AM
1893 * ldlang.c (wild_doit): Rename to lang_add_section.
1894 * ldlang.h: Here too.
1895 * mpw-elfmips.c: And here.
1896 * emultempl/beos.em: And here.
1897 * emultempl/elf32.em: And here.
1898 * emultempl/hppaelf.em: And here.
1899 * emultempl/pe.em: And here.
1900
908d20b3
RH
19012001-08-13 Richard Henderson <rth@redhat.com>
1902
1903 * emultempl/needrelax.em: New file.
1904 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
1905 * Makefile.am (eelf64_ia64.c): Depend on it.
1906 * Makefile.in: Rebuild.
1907
0f33d40b
AM
19082001-08-13 Alan Modra <amodra@bigpond.net.au>
1909
22af9fd3
AM
1910 * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
1911 output_section is set non-NULL.
1912
0f33d40b
AM
1913 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
1914 `true' for SEC_EXCLUDE sections so that the generic code doesn't
1915 needlessly create an output_section_statement. Treat a correctly
1916 named output_section_statement with NULL bfd_section as compatible.
1917
55ab6103
HPN
19182001-08-13 Hans-Peter Nilsson <hp@bitrange.com>
1919
1920 * emultempl/generic.em: Support EXTRA_EM_FILE.
1921 (ld_${EMULATION_NAME}_emulation): Support emulation parameters
1922 LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
1923 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
1924 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
1925 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
1926 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
1927 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
1928 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
1929 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
1930 LDEMUL_FIND_POTENTIAL_LIBRARIES.
1931
24098abb
RH
19322001-08-12 Richard Henderson <rth@redhat.com>
1933
1934 * scripttempl/elf.sc, scripttempl/elfd30v.sc,
1935 scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
1936 scripttempl/v850.sc: Keep .jcr data.
1937
b9a8de1e 19382001-08-12 H.J. Lu <hjl@gnu.org>
146e7110
AM
1939 Andrew Haley <aph@cambridge.redhat.com>
1940 Nick Clifton <nickc@redhat.com>
b9a8de1e 1941
146e7110 1942 * ldgram.y (had_script): Change name to saved_script_handle.
b9a8de1e
NC
1943 Change type to file handle.
1944 * ld.h (had_script): Rename and retype.
1945 * ldfile.c (ldfile_open_command_file): Save the file handle
1946 used in saved_script_handle.
1947 * lexsup.c (parse_args): Do not allow -c option to alter
1948 saved_script_handle.
1949 * ldmain.c (main): Print out the linker script used if
1950 --verbose is given. Check saved_script_handle to obtain the
1951 external linker script used, or if NULL, dump the builtin
1952 script.
1953 * ld.texinfo: Document that --verbose now dumps the linker
1954 script used, regardless of whether it was an internal or an
1955 external script.
1956
0218d1e4
AJ
19572001-08-10 Andreas Jaeger <aj@suse.de>
1958
1959 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1960 to build warnings.
1961 * configure: Regenerate.
1962
5253f23b
AM
19632001-08-09 Alan Modra <amodra@bigpond.net.au>
1964
73810896
AM
1965 * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
1966
5253f23b
AM
1967 * scripttempl/elf.sc: Move non-text .dynamic section before
1968 .plt/.got/.sdata* group.
1969 (OTHER_GOT_SECTIONS): Move to immediately after .got.
1970 (OTHER_SDATA_SECTIONS): Add.
1971 * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
1972 OTHER_GOT_SECTIONS.
1973 * emulparams/crislinux.sh: Likewise.
1974 * emulparams/elf32b4300.sh: Likewise.
1975 * emulparams/elf32bmip.sh: Likewise.
1976 * emulparams/elf32bmipn32.sh: Likewise.
1977 * emulparams/elf32bsmip.sh: Likewise.
1978 * emulparams/elf32btsmip.sh: Likewise.
1979 * emulparams/elf32ebmip.sh: Likewise.
1980 * emulparams/elf32elmip.sh: Likewise.
1981 * emulparams/elf32l4300.sh: Likewise.
1982 * emulparams/elf32lmip.sh: Likewise.
1983 * emulparams/elf32lsmip.sh: Likewise.
1984 * emulparams/elf32ltsmip.sh: Likewise.
1985 * emulparams/elf64bmip.sh: Likewise.
1986 * emulparams/elf64btsmip.sh: Likewise.
1987 * emulparams/elf64ltsmip.sh: Likewise.
1988
179c732c
AM
19892001-08-08 Alan Modra <amodra@bigpond.net.au>
1990
1991 * genscripts.sh: Source the emulparams script before each output
1992 script is generated so that variables like `RELOCATING' may affect
1993 variables defined in the emulparams script.
1994
3fd36710
AM
19952001-08-04 Alan Modra <amodra@bigpond.net.au>
1996
20713691
AM
1997 * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
1998 order.
1999
3fd36710
AM
2000 * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
2001 ie. iterate over wild_statement.section_list.
2002 (gld${EMULATION_NAME}_place_orphan): Likewise.
2003
de0b1853
SC
20042001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2005
2006 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
2007 .fini[0-4] sections used by _exit
2008 (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
2009 (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
2010 * scripttempl/elfm68hc11.sc: Likewise.
2011
ff7e6f88
L
20122001-08-03 H.J. Lu <hjl@gnu.org>
2013
2014 * emultempl/beos.em (init): Add the missing initialization.
2015
b6bf44ba
AM
20162001-08-03 Alan Modra <amodra@bigpond.net.au>
2017
2018 * ld.texinfo (Input Section Basics): Clarify ordering of output
2019 sections.
2020 * ldlang.c (callback_t): Add wildcard_list param.
2021 (walk_wild_section): Remove "section" param. Rewrite for
2022 lang_wild_statement_type change. Remove unique_section_p test.
2023 (walk_wild_file): Remove "section" param.
2024 (walk_wild): Remove "section" and "file" params.
2025 (lang_gc_wild): Likewise.
2026 (wild): Likewise. Modify for lang_wild_statement_type change.
2027 (wild_sort): Likewise. Add "sec" param.
2028 (gc_section_callback): Likewise.
2029 (output_section_callback): Likewise. Do unique_section_p test.
2030 (map_input_to_output_sections): Modify call to wild.
2031 (lang_gc_sections_1): Likewise.
2032 (print_wild_statement): Modify for lang_wild_statement_type
2033 change.
2034 (lang_add_wild): Replace filename, filenames_sorted param with
2035 filespec. Replace section_name, sections_sorted,
2036 exclude_filename_list with section_list.
2037 * ldlang.h (lang_add_wild): Here too.
2038 (lang_wild_statement_type): Replace section_name, sections_sorted,
2039 and exclude_filename_list with section_list.
2040 * ldgram.y (current_file): Delete.
2041 (%union): Add wildcard_list.
2042 (file_NAME_list): Set type to wildcard_list. Build a linked list
2043 rather than calling lang_add_wild for each entry.
2044 (input_section_spec_no_keep): Call lang_add_wild here instead.
2045 * ld.h (struct wildcard_list): Declare.
2046 * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
2047
b044cda1
CW
20482001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
2049
2050 * ldmain.c (main): initialize link_info.pei386_auto_import
2051 * pe-dll.c: new tables for auto-export filtering
2052 (auto_export): change API, pass abfd for contextual filtering.
b6bf44ba 2053 Loop thru tables of excluded symbols instead of comparing
b044cda1
CW
2054 "by hand".
2055
20562001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>
2057
b6bf44ba
AM
2058 * pe-dll.c: new variable pe_dll_enable_extra_debug. New
2059 static variable current_sec (static struct sec *). Add
b044cda1 2060 forward declaration for add_bfd_to_link.
b6bf44ba
AM
2061 (process_def_file): Don't export undefined symbols. Do not
2062 export symbols starting with "_imp__". Call auto_export()
b044cda1
CW
2063 with new API.
2064 (pe_walk_relocs_of_symbol): New function.
2065 (generate_reloc): add optional extra debugging
b6bf44ba 2066 (pe_dll_generate_def_file): eliminate extraneous initial blank
b044cda1 2067 line in output
b6bf44ba 2068 (make_one): enlarge symtab to make room for __nm__ symbols
b044cda1
CW
2069 (DATA auto-import support).
2070 (make_singleton_name_thunk): New function.
2071 (make_import_fixup_mark): New function.
2072 (make_import_fixup_entry): New function.
2073 (pe_create_import_fixup): New function.
b6bf44ba 2074 (add_bfd_to_link): Specify that 'name' argument is a CONST
b044cda1 2075 char *.
b6bf44ba
AM
2076 * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
2077 declare new functions pe_walk_relocs_of_symbol and
b044cda1
CW
2078 pe_create_import_fixup.
2079 * emultempl/pe.em: add new options --enable-auto-import,
2080 --disable-auto-import, and --enable-extra-pe-debug.
2081 (make_import_fixup): New function.
2082 (pe_find_data_imports): New function.
2083 (pr_sym): New function.
b6bf44ba 2084 (gld_${EMULATION_NAME}_after_open): Add optional extra pe
b044cda1
CW
2085 debugging. Call pe_find_data_imports. Mark .idata as DATA, not
2086 CODE.
2087
20882001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
b6bf44ba 2089
b044cda1
CW
2090 * ld.texinfo: add additional documentation for
2091 --export-all-symbols. Document --out-implib,
2092 --enable-auto-image-base, --disable-auto-image-base,
b6bf44ba
AM
2093 --dll-search-prefix, --enable-auto-import, and
2094 --disable-auto-import.
b044cda1
CW
2095 * ldint.texinfo: Add detailed documentation on auto-import
2096 implementation.
2097
156e34dd
NC
20982001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2099
2100 * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
2101 example.
2102
d6231427
AM
21032001-07-24 Alan Modra <amodra@bigpond.net.au>
2104
2105 * Makefile.am: Update dependencies with "make dep-am".
2106 * Makefile.in: Regenerate
2107
e14ec88b
AM
21082001-07-23 Alan Modra <amodra@bigpond.net.au>
2109
2110 * ldcref.c (check_section_sym_xref): New function.
2111 (check_nocrossrefs): Call it.
2112 (check_nocrossref): Interate over h->refs here instead of..
2113 (check_refs): ..here. Pass in the symbol name, section, and bfd
2114 rather than hash_entry pointers.
2115 (struct check_refs_info): Keep symbol name rather than hash entry.
2116 Remove "same".
2117 (check_reloc_refs): Tweak for above changes in check_refs_info.
2118 Only report references to section syms when symname is NULL to
2119 prevent duplicate messages for the same reloc.
2120
1b577b00
NC
21212001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2122
c7d701b0
NC
2123 * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
2124 available. Do not print NULL trees.
2125 (exp_print_token): Print unknown tokens with values > 126 as
2126 decimal values not ASCII characters.
2127
1545243b
NC
2128 * ldlang.c (lang_leave_overlay): If a region is specified assign
2129 it to all sections inside the overlay unless they have been
2130 assigned to the own, non-default, memory region.
2131
1b577b00
NC
2132 * README: Add header for consistency with other README files.
2133
5030876b
L
21342001-07-14 H.J. Lu <hjl@gnu.org>
2135
2136 * emultempl/elf32.em (output_prev_sec_find): Never return
2137 bfd_abs_section_ptr, bfd_com_section_ptr nor
2138 bfd_und_section_ptr.
2139
18c7a9a5
NC
21402001-07-14 Nick Clifton <nickc@cambridge.redhat.com>
2141
22af9fd3 2142 * Makefile.am (em32relf.c): Change dependency from generic.em to
18c7a9a5
NC
2143 elf32.em.
2144 * Makefile.in: Regenerate.
2145
9ffecff1
MG
21462001-07-14 matthew green <mrg@eterna.com.au>
2147
2148 * configure.tgt (i386-*-netbsdelf*): New target.
2149 (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
2150
95500e1c
JJ
21512001-07-13 Jakub Jelinek <jakub@redhat.com>
2152
2153 * emultempl/elf32.em (output_prev_sec_find): New.
2154 (place_orphan): Use it.
2155
e97cb84f
L
21562001-07-11 H.J. Lu <hjl@gnu.org>
2157
2158 * ldmain.c (main): Fix typos in the last change.
2159
7333607e
JJ
21602001-07-11 Jakub Jelinek <jakub@redhat.com>
2161
2162 * ldmain.c (main): Disallow -F and -f without -shared.
2163
d29d80f2
NC
21642001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
2165
2166 * emultempl/pe.em (after_open): Check for the output_bfd not
2167 having any coff_data structure allocated to it.
2168
c2a1a436
DB
21692001-07-09 David O'Brien <obrien@FreeBSD.org>
2170
2171 * emultempl/elf32.em: Do not assuming that contents of the buffer
2172 returned from basename function will remain unchanged accross other
2173 function calls.
2174
63653551
L
21752001-07-03 H.J. Lu <hjl@gnu.org>
2176
2177 * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
2178 2001-07-03. It creates dynamic entries even for static binaries.
2179
d303a449
L
21802001-07-03 Jakub Jelinek <jakub@redhat.com>
2181
2182 * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
2183 (DYNAMIC): Use it to reserve few dynamic entries for
2184 post-linking tools.
2185
9f22353f
AM
21862001-06-27 Alan Modra <amodra@bigpond.net.au>
2187
2188 * emulparams/hppa64linux.sh: New file.
2189 * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
2190 * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
2191 (ehppa64linux.c): Add rule to make it.
2192 Run "make dep-am".
2193 * Makefile.in: Regenerate.
2194
62bf86b4
HPN
21952001-06-21 Hans-Peter Nilsson <hp@axis.com>
2196
2197 * ld.texinfo (Options, -r): Mention restrictions when using
2198 different object formats.
2199
429d935d
HPN
22002001-06-19 Hans-Peter Nilsson <hp@axis.com>
2201
2202 * ldlang.c (lang_check): Emit fatal error if relocatable link
2203 between different object flavours with relocations in input.
2204
cb840a31
L
22052001-06-19 H.J. Lu <hjl@gnu.org>
2206
2207 * ld.texinfo (-E, --export-dynamic): Mention --version-script.
2208 (--version-script): Mention the language support.
2209
9bf03acc
L
22102001-06-19 H.J. Lu <hjl@gnu.org>
2211
2212 * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
2213
c45021f2
NC
22142001-06-18 H.J. Lu <hjl@gnu.org>
2215
b6bf44ba
AM
2216 * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
2217 (diststuff): Add $(MANS).
2218 * Makefile.in: Regenerated.
c45021f2 2219
b6bf44ba 2220 * ld.1: Removed.
c45021f2 2221
6caa99ab
HPN
22222001-06-18 Hans-Peter Nilsson <hp@axis.com>
2223
605d9b3a
HPN
2224 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
2225 Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
2226 * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
2227 * ld.h (args_type): Remove member export_dynamic. All users
2228 changed to use struct bfd_link_info member.
2229
6caa99ab
HPN
2230 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
2231 $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
2232 * Makefile.in: Regenerate.
2233
6f9efd97
L
22342001-06-18 H.J. Lu <hjl@gnu.org>
2235
2236 * ldlang.c (init_os): Add the newline to the einfo call.
2237 (lang_check): Likewise.
2238 (lang_do_version_exports_section): Likewise.
2239
5af9fd8b
L
22402001-06-15 H.J. Lu <hjl@gnu.org>
2241
2242 * lexsup.c (parse_args); Save optind to report unrecognized
2243 option.
2244
2a096f04
HPN
22452001-06-15 Hans-Peter Nilsson <hp@axis.com>
2246
7e66c3f5
HPN
2247 * ldlang.c (lang_check): Emit fatal error if relocatable link
2248 between different object flavours.
2249
2a096f04
HPN
2250 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
2251 Set new link_info member export_dynamic.
2252 * ldmain.c (main): Initialize new link_info member export_dynamic.
2253
6770ec8c
NC
22542001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
2255
2256 * ldlang.c (walk_wild): Only call walk_wild_file if
2257 lookup_name returns something.
b6bf44ba 2258 (lookup_name): If load_symbols fails, return NULL.
22af9fd3 2259 (load_symbols): Change to a boolean function.
b6bf44ba 2260 (open_input_bfds): If load_symbols fails then do not make the
6770ec8c
NC
2261 executable.
2262
8529105a
AM
22632001-06-08 Alan Modra <amodra@bigpond.net.au>
2264
2265 * ldlang.c (record_bfd_errors): Remove.
2266
2267 * emultempl/aix.em: Fix copyright dates.
2268
8f3aa7a0
AJ
22692001-06-07 Andreas Jaeger <aj@suse.de>
2270
2271 * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
2272 (TEXT_START_ADDR): Likewise.
2273
3277f888
AM
22742001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
2275
2276 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
2277
3763134d
DD
22782001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2279
2280 * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
2281
5929ebc0
L
22822001-05-31 H.J. Lu <hjl@gnu.org>
2283
2284 * ldlang.c (open_input_bfds): Don't change the bfd error
2285 handler whilst loading symbols.
2286
c04a062d
NC
22872001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2288
2289 * configure.tgt: Remove i370-mvs architecture, it is not currently
2290 supported.
2291
96fcab3e
L
22922001-05-25 H.J. Lu <hjl@gnu.org>
2293
2294 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
2295 like emulparams/aixppc.sh.
2296
db8d4f23
L
22972001-05-25 H.J. Lu <hjl@gnu.org>
2298
2299 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
2300 setting of output_filename after bfd_scan_arch.
2301 * emultempl/pe.em: Likewise.
2302
5f642101
L
23032001-05-25 H.J. Lu <hjl@gnu.org>
2304
2305 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
2306 like emulparams/aixppc.sh.
2307
2308 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
2309 instead of ${srcdir}/emultempl/stringify.sed.
2310
64e9ece0
TW
23112001-05-25 Timothy Wall <twall@oculustech.com>
2312
2313 * emulparams/elf64_aix.sh: Change settings to match IBM linker
8f3aa7a0 2314 output.
64e9ece0 2315
c709b096
AM
23162001-05-25 Alan Modra <amodra@one.net.au>
2317
2318 * configure.host: Replace linuxoldld with linux*oldld.
2319 * configure.tgt: Likewise.
2320
6cbdcc6f
L
23212001-05-24 H.J. Lu <hjl@gnu.org>
2322
2323 * emultempl/stringify.sed: Removed again.
2324
86af25fe
L
23252001-05-24 H.J. Lu <hjl@gnu.org>
2326
2327 * emultempl/aix.em (OUTPUT_ARCH): Defined.
2328 (gld${EMULATION_NAME}_before_parse): Initialize
2329 ldfile_output_architecture, ldfile_output_machine and
2330 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
2331 * emultempl/beos.em: Likewise.
2332 * emultempl/elf32.em: Likewise.
2333 * emultempl/linux.em: Likewise.
2334 * emultempl/mipsecoff.em: Likewise.
2335 * emultempl/pe.em: Likewise.
2336 * emultempl/sunos.em: Likewise.
2337
3b1b01cf
TR
23382001-05-24 Tom Rix <trix@redhat.com>
2339
8f3aa7a0 2340 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
3b1b01cf
TR
2341 udate import file format.
2342 (change_symbol_mode) New, same
2343 (is_syscall) New, same
2344 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
2345 * emulparams/aixppc64.sh : same
2346 * emulparams/aixrs6.sh : same
2347 * emulparams/ppcmacos.sh : same
2348 * emultempl/aix.em : use strtoull to parse options
2349 * Makefile.am : add eaixppc64 emulation for xcoff64
2350 * Makefile.in : same
2351 * configure.tgt : same
2352
2353 * scripttempl/aix.sc : default text section offset to 0x10000000
146e7110 2354 default data section offset to 0x20000000
3b1b01cf 2355 add .sv3264 and .sv64 pseudo sections
8f3aa7a0 2356 loader and debug sections use the currect section offset.
3b1b01cf
TR
2357
2358 * emultempl/aix.em : Add xcoff64 support
2359 Add -binitfini support
8f3aa7a0 2360 (gld${EMULATION_NAME}_before_parse) -binitfini
3b1b01cf 2361 (gld${EMULATION_NAME}_parse_args) same
8f3aa7a0 2362 (gld${EMULATION_NAME}_before_allocation) format change for special
3b1b01cf
TR
2363 sections
2364
2365 * emulparams/aixppc64.sh : New file for xcoff64 support
8f3aa7a0 2366
57e6abd2
AO
23672001-05-23 Alexandre Oliva <aoliva@redhat.com>
2368
2369 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
2370 variable to avoid non-portable shell construct.
2371
d1cf510e
NC
23722001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2373
2374 * ldmain.c (get_emulation): Add -mips5 command line argument.
2375
506eee22
NC
23762001-05-22 Alexandre Oliva <aoliva@redhat.com>
2377
2378 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
2379 (ELF_INTERPRETER_NAME): Define it.
2380 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
2381 it.
2382 * configure.tgt (targ_emul, targ_extra_emuls)
2383 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
2384 as primary, elf_i386 as extra.
2385 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
2386 (eelf_i386_ldso.c): New rule.
2387 * Makefile.in: Rebuilt.
2388
23892001-05-22 Nick Clifton <nickc@redhat.com>
2390
2391 * lexsup.c (ld_options): Allow -I to be an alias for
2392 --dynamic-linker. This is for Solaris compatability.
2393 * ld.texinfo: Document that -I can be used.
2394 * ld.1: Regenerate.
2395
d1778b88
AM
23962001-05-16 Alan Modra <amodra@one.net.au>
2397
2398 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
2399 whether an input section is the first one assigned to an output
2400 section.
2401 Assorted formatting fixes.
2402
02649152
DD
24032001-05-14 DJ Delorie <dj@delorie.com>
2404
2405 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
2406 * Makefile.in: Ditto.
2407
579f31ac
JJ
24082001-05-11 Jakub Jelinek <jakub@redhat.com>
2409
2410 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
2411 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
2412 output sections.
2413 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
2414
8550eb6e
JJ
24152001-05-11 Jakub Jelinek <jakub@redhat.com>
2416
2417 * ldlang.c (lang_process): Call bfd_merge_sections.
2418
8e5a525c
AM
24192001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2420
2421 * ldgram.y: Fix typo.
2422
1c9acd94
L
24232001-05-03 H.J. Lu <hjl@gnu.org>
2424
2425 * emultempl/elf32.em: Include "libiberty.h".
2426 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
2427 basename of the bfd filename.
2428 (gld${EMULATION_NAME}_stat_needed): Likewise.
2429 (gld${EMULATION_NAME}_try_needed): Likewise.
2430 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
2431
14fe918e
L
24322001-05-02 H.J. Lu <hjl@gnu.org>
2433
2434 * emultempl/pe.em: Include <ctype.h>.
2435
c7e40348
NC
24362001-05-02 Johan Rydberg <jrydberg@opencores.org>
2437
b6bf44ba 2438 * emulparams/elf32openrisc.sh: New file.
c7e40348 2439
b6bf44ba
AM
2440 * Makefile.am: Add OpenRISC target.
2441 * Makefile.in: Regenerated.
c7e40348 2442
b6bf44ba 2443 * configure.tgt: Add openrisc-*-* mapping.
c7e40348
NC
2444
24452001-05-02 Nick Clifton <nickc@redhat.com>
2446
2447 * emultempl/aix.em: Replace buystring with xstrdup.
2448 * emultempl/beos.em: Replace buystring with xstrdup.
8f3aa7a0 2449
d1b2b2dc
L
24502001-05-02 H.J. Lu <hjl@gnu.org>
2451
2452 * ldfile.c: Include "libiberty.h".
2453 * ldlex.l: Likewise.
2454
2455 * ldmisc.c (buystring): Removed.
2456 * ldmisc.h: Likewise.
2457
2458 * ldfile.c: Replace buystring with xstrdup.
2459 * ldlang.c: Likewise.
2460 * ldlex.l: Likewise.
2461 * ldmain.c: Likewise.
2462 * ldmisc.c: Likewise.
2463 * lexsup.c: Likewise.
2464 * mpw-eppcmac.c: Likewise.
2465
35714f2a
AJ
24662001-04-30 Andreas Jaeger <aj@suse.de>
2467
2468 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
2469
884fb58e
NC
24702001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
2471
b6bf44ba
AM
2472 * ldlang.c (load_symbols): Give emulation a chance
2473 to process unrecognized file before fatal error is
2474 reported, not after.
884fb58e 2475
87748b32
NC
24762001-04-27 Sean McNeil <sean@mcneil.com>
2477
2478 * configure.tgt: Add arm-vxworks target.
2479 * scripttempl/armcoff.sc: Support .text or .data as a section name
2480 prefix.
2481 Define _etext.
35714f2a 2482
7ce691ae
C
24832001-04-13 J.T. Conklin <jtc@redback.com>
2484
2485 * ld.texinfo: Document --fatal-warnings.
2486 * ld.1: Regenerate.
2487
2488 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
35714f2a 2489 warnings have been turned into errors.
7ce691ae
C
2490 * lexsup.c (OPTION_WARN_FATAL): Define.
2491 (ld_options): Entry for --fatal-warnings.
2492 (parse_args): Handle OPTION_WARN_FATAL.
2493 * ld.h (ld_config_type): Add fatal_warnings field.
2494
f5fa8ca2
JJ
24952001-04-13 Jakub Jelinek <jakub@redhat.com>
2496
2497 * ldmain.c (main): Default to discard_sec_merge.
2498 * lexsup.c (OPTION_DISCARD_NONE): Define.
2499 (ld_options): Add --discard-none.
2500 (parse_args): Handle OPTION_DISCARD_NONE.
2501 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
2502 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
2503 all its input sections match.
2504
fdec3cfc
L
25052001-04-05 Steven J. Hill <sjhill@cotw.com>
2506
2507 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
2508 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
2509 (eelf32ltsmip.c): New target.
2510 (eelf64btsmip.c): Likewise.
2511 (eelf64ltsmip.c): Likewise.
2512 * Makefile.in: Regenerated.
2513
2514 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
2515 target.
2516 (mips*-*-linux-gnu*): Likewise.
2517
2518 * emulparams/elf32ltsmip.sh: New. Traditional little endian
2519 MIPS taget.
35714f2a 2520 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
fdec3cfc
L
2521 target.
2522 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
2523 endian target.
2524
589bad82
HPN
25252001-04-05 Hans-Peter Nilsson <hp@axis.com>
2526
2527 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
2528 correct value of __Stext here.
2529 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
2530 .startup section.
2531
2532 * emulparams/crislinux.sh: Remove FIXME.
2533
94202e16
AM
25342001-04-02 Alan Modra <alan@linuxcare.com.au>
2535
2536 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
2537 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
2538
1268a053
HPN
25392001-03-27 Hans-Peter Nilsson <hp@axis.com>
2540
2541 * configure.tgt (cris-*-*): Change default emulation to criself.
2542 (cris-*-*aout*): New rule.
2543
d85e9ff7
AM
25442001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com>
2545
2546 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
2547 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
2548
0879a67a
AJ
25492001-03-26 Andreas Jaeger <aj@suse.de>
2550
2551 * ld.texinfo (Overview): Fix syntax in texi code.
2552
0285c67d
NC
25532001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2554
2555 * ld.texinfo: Put @c man indications to generate the ld man page.
2556 When generating man, define all the variables. Define SEEALSO
2557 and SYNOPSIS. Re-organize some lines to avoid the cross references.
2558 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
2559 (ld.1): Generate from ld.texinfo.
2560 * Makefile.in: Regenerate.
2561
c20ec07b
NC
25622001-03-23 Mark Elbrecht <snowball3@bigfoot.com>
2563
2564 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
146e7110 2565 and '-fdata-sections'. Set the VMA of STABS sections to zero.
c20ec07b 2566
cc5ce052
UD
25672001-03-17 Ulrich Drepper <drepper@redhat.com>
2568
2569 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
2570 is an absolute path look only for this file and not along the path.
2571
a1ab1d2a
UD
25722001-03-17 Ulrich Drepper <drepper@redhat.com>
2573
2574 * emultempl/elf32.em (OPTION_GROUP): New macro.
2575 Add new option Bgroup to longopts.
2576 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
2577 (gld*_list_options): Add -Bgroup and -z defs.
2578 * ld.1: Document -Bgroup and -z defs.
2579 * ld.texinfo: Likewise.
2580
788fca5a
MM
25812001-03-07 Michael Meissner <meissner@redhat.com>
2582
2583 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
2584 with sections created by -fdata-sections.
2585 (.dynbss,.bss): Ditto.
2586
1c7566d1
AM
25872001-03-05 Alan Modra <alan@linuxcare.com.au>
2588
2589 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
2590 after_allocation_default, not gld..._before_allocation.
2591
27b7e12d
AM
25922001-02-27 Alan Modra <alan@linuxcare.com.au>
2593
2594 * configure.in (BFD_VERSION): New.
2595 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2596 * configure: Regenerate.
2597 * Makefile.am: Run "make dep-am"
2598 * Makefile.in: Regenerate.
2599
2bc551c7
TW
26002001-02-26 Timothy Wall <twall@cygnus.com>
2601
2602 * emulparams/elf64_aix.sh: Add additional read-only sections;
2603 uncomment lines which are now required.
2604
1276aefa
NC
26052001-02-26 H.J. Lu <hjl@gnu.org>
2606
2607 * ldlang.c (open_input_bfds): Set the bfd error handler so
b6bf44ba
AM
2608 that problems can be caught whilst loading symbols.
2609 (record_bfd_errors): New function: Report BFD errors and mark
2610 the executable output as being invalid.
1276aefa 2611
41c49998
TW
26122001-02-22 Timothy Wall <twall@cygnus.com>
2613
2614 * configure.host: Add configuration for ia64-*-aix*.
2615 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
2616 Add dependencies for eelf64_aix.c.
2617 * Makefile.in: Regenerate.
2618 * configure.tgt: Add ia64-*-aix* mapping.
2619 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
a2b64bed 2620 * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
0879a67a
AJ
2621 AIX-specific test.
2622
78f85fd7
L
26232001-02-20 H.J. Lu <hjl@gnu.org>
2624
2625 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
2626 false if we found the file.
2627
1ac7e077 26282001-02-18 David O'Brien <obrien@FreeBSD.org>
fb33b906
DB
2629
2630 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
2631 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
2632
e135f41b
NC
26332001-02-18 lars brinkhoff <lars@nocrew.org>
2634
2635 * Makefile.am: Add PDP-11 target.
2636 * configure.tgt: Likewise.
2637 * emulparams/pdp11.sh: New file.
2638
a842aceb
DB
26392001-02-17 David O'Brien <obrien@FreeBSD.org>
2640
2641 * configure.host: Add a generic FreeBSD configuration entry such that
2642 all [modern] FreeBSD systems on all platforms will look the same.
2643
24174db0
L
26442001-02-14 H.J. Lu <hjl@gnu.org>
2645
2646 * configure.tgt: Remove mention of earmelf_linux26.
2647
30c3c13a
RH
26482001-02-13 Richard Henderson <rth@redhat.com>
2649
2650 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
2651
b46a87b1
L
26522001-02-13 H.J. Lu <hjl@gnu.org>
2653
2654 * ldexp.h (node_type): Add etree_provided.
2655 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
2656 type to etree_provided if defined by PROVIDE. Allow updating
0879a67a 2657 for etree_provided.
b46a87b1
L
2658 (exp_print_tree): Handle etree_provided.
2659 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
2660 etree_provided.
2661
f3988fd9
RH
26622001-02-09 David Mosberger <davidm@hpl.hp.com>
2663
2664 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
2665 .IA_64.unwind.* pattern to unwind table section and
2666 .IA_64.unwind_info* pattern to unwind info section.
2667
a85d7ed0
NC
26682001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2669
2670 * Makefile.am: Add linux target for S/390.
2671 * Makefile.in: Likewise.
2672 * configure.host: Likewise.
2673 * configure.tgt: Likewise.
2674 * emulparams/elf64_s390.sh: New file.
2675 * emulparams/elf_s390.sh: New file.
2676
780248c4
JJ
26772001-02-09 Jakub Jelinek <jakub@redhat.com>
2678
2679 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
2680 targ_extra_libpath.
2681 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
2682
0e2534bd
PB
26832001-02-06 Philip Blundell <philb@gnu.org>
2684
2685 * Makefile.am: Remove mention of earmelf_linux26.
2686 * Makefile.in: Regenerate.
2687
46c1ea57
PB
26882001-02-04 Philip Blundell <philb@gnu.org>
2689
2690 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
2691 * emulparams/armelf_linux26.sh: Delete.
2692 * configure.tgt: Remove mention of armelf_linux26 emulation.
2693
0088edd2
NC
26942001-02-01 Nick Clifton <nickc@redhat.com>
2695
2696 * ld.1: Replace occurances of -oformat with --oformat.
2697
02aa14fb
AM
26982001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
2699
2700 * ldlang.c (lang_leave_overlay): Don't set lma_region when
2701 load_base is specified.
2702
f813923c
HPN
27032001-01-24 Hans-Peter Nilsson <hp@axis.com>
2704
2705 * emultempl/elf32.em: Correct spelling in comments and listed
2706 options.
2707
c1eb1488
AM
27082001-01-23 Alan Modra <alan@linuxcare.com.au>
2709
2710 * ldlang.c (lang_leave_overlay): Only set lma_region from the
2711 default for the first section of a group of overlay sections.
2712
d9fc3714
AM
27132001-01-22 Alan Modra <alan@linuxcare.com.au>
2714
2715 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
2716 * Makefile.in: Regenerate.
2717 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
2718 Check for null tool_dir.
2719
6be0ca94
JW
27202001-01-16 Jim Wilson <wilson@redhat.com>
2721
2722 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
2723 and IA_64.unwind.info.
2724
b9247304
L
27252001-01-16 H.J. Lu <hjl@gnu.org>
2726
2727 * ldlang.c (lang_check): Merge the private data only if the
2728 input file has contents.
2729
577a0623
AM
27302001-01-14 Alan Modra <alan@linuxcare.com.au>
2731
d952f17a
AM
2732 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
2733
ffd6e9de
AM
2734 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
2735 enabling search for libmilli. On a relocatable link, make .text
2736 sections unique.
2737 (LDEMUL_AFTER_PARSE): Define.
2738 (hppaelf_finish): Correct spelling of relocatable in comments.
2739
577a0623
AM
2740 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2741 rummage through the script for sections on the unique list.
2742 Correct length of strncmp for ".note".
2743 (gld${EMULATION_NAME}_check_needed): Rearrange function.
2744
2745 * ldlang.c (unique_section_list): New var.
2746 (unique_section_p): New function.
2747 (walk_wild_section): Don't match sections on unique_section_list.
2748 (lang_add_unique): New function.
ffd6e9de 2749 Correct spelling of relocatable in comments.
577a0623
AM
2750
2751 * ldlang.h (struct unique_sections): Declare.
2752 (unique_section_list): Declare.
2753 (unique_section_p): Declare.
2754 (lang_add_unique): Declare.
2755
2756 * lexsup.c (ld_options): Allow --unique to take an optional arg.
2757 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
2758
2759 * ld.texinfo (--unique): Update.
2760
b7ed8fad
NC
27612001-01-13 Nick Clifton <nickc@redhat.com>
2762
2763 * lexsup.c (parse_args): Remove spurious white space.
2764
d0398d6a
NC
27652001-01-12 Nick Clifton <nickc@redhat.com>
2766
2767 * lexsup.c (parse_args): Update copyright date.
2768
350fdb00
PB
27692001-01-12 Philip Blundell <pb@futuretv.com>
2770
2771 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
2772
60c6797e
KH
27732001-01-10 Kazu Hirata <kazu@hxi.com>
2774
2775 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
2776 * scripttempl/h8300h.sc: Fix formatting.
2777 * scripttempl/h8300s.sc: Likewise.
69f06969
KH
2778 * scripttempl/h8500.sc: Likewise.
2779 * scripttempl/h8500b.sc: Likewise.
2780 * scripttempl/h8500c.sc: Likewise.
2781 * scripttempl/h8500m.sc: Likewise.
2782 * scripttempl/h8500s.sc: Likewise.
60c6797e 2783
482e8b32
DB
27842000-01-07 David O'Brien <obrien@BSDi.com>
2785
2786 * emultempl/elf32.em: Only perform Linux ld hints processing when
2787 targeting Linux.
2788
d7ed7ca6
PB
27892001-01-07 Philip Blundell <philb@gnu.org>
2790
2791 * ld.texinfo (Bug Reporting): Update email address for reports.
2792
0fc3347a
NC
27932000-12-31 Nick Clifton <nickc@redhat.com>
2794
2795 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
2796 options by checking for a return value of '?' not -1.
2797
e4897a32
NC
27982000-12-28 Nick Clifton <nickc@redhat.com>
2799
2800 * lexsup.c (struct ld_option): Add new enum value:
2801 EXACTLY_TWO_DASHES.
2802 (ld_options[]): Change -omagic, -output and -oformat options
2803 to be EXACTLY_TWO_DASHES.
2804 (OUTPUT_COUNT): Use ARRAY_SIZE.
2805 (parse_args): Change parameter 'argc' to unsigned.
2806 Place EXACTLY_TWO_DASHES options into new really_longopts
2807 array.
2808 If getopt_long_only fails, try calling getopt_long using the
2809 really_longopts array.
2810 (help): Print a double dash for both EXACTLY_TWO_DASHES and
2811 TWO_DASHES options.
2812
2813 * ldlex.h: Fix prototype of parse_args.
2814
2815 * ld.texinfo: Document that long options starting with 'o'
2816 must be preceeded by two dashes. Change example of a single
2817 dashed long option from -oformat to -trace-symbol.
2818
1122a5fc
NC
28192000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2820
2821 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
2822 (longopts[]): New --no-default-excludes option.
2823 (gld_${EMULATION_NAME}_list_options): Document.
2824 (gld_${EMULATION_NAME}_parse_args): Handle.
2825
037849a9
NC
28262000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2827
2828 * ldlang.c (new_stat): Revert the last beautification with "innocent"
2829 whitespace, it breaks the K&R C preprocessor.
2830
7ec229ce
DD
28312000-12-11 DJ Delorie <dj@redhat.com>
2832
2833 * ld.texinfo: Add notes about --whole-archive and gcc.
2834
b79e8c78
NC
28352000-11-18 Fred Fish <fnf@be.com>
2836
2837 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
2838 (ld_options): Entry for --allow-shlib-undefined.
2839 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
2840 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
2841 to false.
2842 * ld.texinfo: Document new command line switch.
d952f17a 2843
9a8e2505
GK
28442000-12-12 Geoffrey Keating <geoffk@redhat.com>
2845
2846 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
2847 .fixup is actually read/write.
2848 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
2849 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
2850 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
2851
3b16e843 28522000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
2853
2854 * NEWS: Add note about x86_64 architecture.
2855
93b63cd3
DD
28562000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
2857
2858 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
2859 Set DWARF2 sections to a VMA of zero.
2860
68b2fc7a 28612000-12-01 Joel Sherrill <joel@OARcorp.com>
24f6971a 2862
d952f17a 2863 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
24f6971a
NC
2864 New targets.
2865 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
2866 (sparc*-*-rtems*): Switched from a.out to ELF.
2867
2be3aa03
NC
28682000-11-30 Jan Hubicka <jh@suse.cz>
2869
2870 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
2871 (eelf_x86_64.c): New.
2872 * Makefile.in: Regenerate.
2873 * configure.tgt: Add support for x86_64-*-linux-gnu*.
2874 * emulparams/elf_x86_64.sh: New.
2875
8c899858
HPN
28762000-11-30 Hans-Peter Nilsson <hp@axis.com>
2877
2878 * emulparams/crislinux.sh (ENTRY): Change back to _start.
2879 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
2880
2881 * scripttempl/crisaout.sc: Change all RELOCATING not related to
2882 merging non-a.out sections into CONSTRUCTING.
2883
e47b9e39
NC
28842000-11-28 Nick Clifton <nickc@redhat.com>
2885
2886 * ld.1 (COPYING): Mention that the GNU Free Documentation
2887 License is present in the sources, but not the output, and
2888 also available from the GNU website.
2889 (GNU Free Documentation License): Comment out this section.
2890
ad95f82a
DB
28912000-11-28 David O'Brien <obrien@dragon.nuxi.com>
2892
2893 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
2894 does not use them.
2895
fd89e65f
DB
28962000-11-25 David O'Brien <obrien@FreeBSD.org>
2897
2898 * ld.1: Remove old date so it does not give the impression the manpage
2899 is way out of date.
2900
077b8428
NC
29012000-11-24 Nick Clifton <nickc@redhat.com>
2902
2903 * configure.tgt (xscale-coff): Add target.
2904 (xscale-elf): Add target.
2905
49425d28
NC
29062000-11-24 Fred Fish <fnf@be.com>
2907
d952f17a
AM
2908 * ldmain.c (main): Remove redundant init of config.make_executable
2909 to true.
49425d28 2910
d3480244
RH
29112000-11-15 Richard Henderson <rth@redhat.com>
2912
2913 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
2914
1ce7de8b
KH
29152000-11-14 Kazu Hirata <kazu@hxi.com>
2916
2917 * scripttempl/h8300.sc: Fix formatting.
2918 * scripttempl/h8300h.sc: Likewise.
2919 * scripttempl/h8300s.sc: Likewise.
2920
3b16e843 29212000-11-14 Denis Chertykov <denisc@overta.ru>
208d5cd0
DC
2922
2923 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
2924
2e418547
PB
29252000-11-09 Philip Blundell <pb@futuretv.com>
2926
2927 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
2928 around orphan sections whose names can be represented in C.
2929
c940e6fc
JW
29302000-11-07 Jim Wilson <wilson@redhat.com>
2931
2932 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
2933 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
2934
704c465c
NC
29352000-11-06 Nick Clifton <nickc@redhat.com>
2936
2937 * ld.texinfo: Add GNU Free Documentation License.
2938 * ldint.texinfo: Add GNU Free Documentation License.
cf055d54 2939 * ld.1: Add GNU Free Documentation License.
704c465c 2940
dca7760f
AM
29412000-11-05 Alan Modra <alan@linuxcare.com.au>
2942
2943 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
2944 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
2945
2946 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
2947 Move 2000-11-02 Makefile.in changes to this file.
2948 * Makefile.in: Regenerate.
2949
40a633d5
NC
29502000-11-03 Nick Clifton <nickc@redhat.com>
2951
2952 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
2953 constructors and destructors.
2954 * scripttempl/h8300h.sc: Ditto.
2955 * scripttempl/h8300s.sc: Ditto.
2956 * scripttempl/h8500.sc: Ditto.
2957 * scripttempl/h8500b.sc: Ditto.
2958 * scripttempl/h8500c.sc: Ditto.
2959 * scripttempl/h8500m.sc: Ditto.
2960 * scripttempl/h8500s.sc: Ditto.
2961 * scripttempl/v850.sc: Ditto.
2962 * scripttempl/w65.sc: Ditto.
2963 * scripttempl/z8000.sc: Ditto.
2964
59ff2774
NC
29652000-11-02 Per Lundberg <plundis@chaosdev.org>
2966
2967 * Makefile.in (e_i386_chaos.c): New rule.
2968 (ALL_EMULATIONS): Added e_i386_chaos.o.
2969 * emulparams/elf_i386_chaos.sh: New file.
2970 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
2971
645571e1
JJ
29722000-10-20 Jakub Jelinek <jakub@redhat.com>
2973
2974 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
2975 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
2976 Fix sed invocation, so that it coped with '/' in Solaris 64bit
2977 library path suffix.
2978 Based on patch by Andrew Macleod <amacleod@cygnus.com>.
2979
c5975a45
HPN
29802000-10-18 Hans-Peter Nilsson <hp@axis.com>
2981
2982 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
2983 for consecutive sections.
2984
ea20a7da
CC
29852000-10-17 Chandrakala Chavva <cchavva@redhat.com>
2986
d952f17a
AM
2987 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
2988 options.
2989 * ld.texinfo: Added notes about this new option.
ea20a7da 2990
6e45556a
NC
29912000-10-16 Nick Clifton <nickc@redhat.com>
2992
2993 * emultempl/pe.em (_after_open): Add tests of return values from
2994 bfd functions. Emit appropriate error messages if necessary.
2995
b9a69188
NC
29962000-10-13 Nick Clifton <nickc@redhat.com>
2997
2998 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
102c86f8
NC
2999 local variables - they are not used, but leave in the call to
3000 bfd_canonicalize_symtab.
b9a69188
NC
3001 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
3002 pe_dll_search_prefix.
3003
627427de 30042000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
d952f17a 3005
627427de
DD
3006 * emultempl/pe.em (pe_dll_search_prefix): New variable,
3007 (longopts): New --dll-search-prefix option.
3008 (gld_${EMULATION_NAME}_list_options): Document.
3009 (gld_${EMULATION_NAME}_parse_args): Handle.
3010 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
3011 dynamically, search for a dll named '<prefix><basename>.dll'
3012 in preference to 'lib<basename>.dll' if --dll-search-prefix
3013 is specified.
3014
24376d1b
AM
30152000-10-12 Alan Modra <alan@linuxcare.com.au>
3016
3017 * ldlang.c (section_already_linked): Set kept_section instead of
3018 sec->comdat->sec.
3019
e47d05ad
KH
30202000-10-10 Kazu Hirata <kazu@hxi.com>
3021
3022 * deffile.h: Fix formatting.
3023 * lexsup.c: Likewise.
3024 * mri.c: Likewise.
3025
23a87948
DD
30262000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
3027
3028 * pe-dll.c (make_one): Do not generate code thunk for DATA
3029 exports.
3030 (process_def_file): deduce DATA flag for auto-export sumbols.
3031
86b1cc60
KH
30322000-10-09 Kazu Hirata <kazu@hxi.com>
3033
89cdebba
KH
3034 * ld.h: Fix formatting.
3035 * ldcref.c: Likewise.
3036 * ldctor.h: Likewise.
3037 * ldemul.c: Likewise.
3038 * ldemul.h: Likewise.
3039 * ldexp.c: Likewise.
3040 * ldexp.h: Likewise.
3041 * ldfile.c: Likewise.
3042 * ldfile.h: Likewise.
3043 * ldlang.c: Likewise.
3044 * ldlang.h: Likewise.
3045 * ldmain.c: Likewise.
7bfd51a3
KH
3046 * pe-dll.c: Likewise.
3047
3048 * pe-dll.c: Revert some formatting fixes.
86b1cc60 3049
d643799d
KH
30502000-10-08 Kazu Hirata <kazu@hxi.com>
3051
3052 * pe-dll.c: Fix formatting.
3053
08da4cac
KH
30542000-10-05 Kazu Hirata <kazu@hxi.com>
3055
3056 * ldlang.c: Fix formatting.
3057
c2a94a7a
DD
30582000-10-03 DJ Delorie <dj@redhat.com>
3059
3060 * pe-dll.c (fill_edata): initialize entire block
3061 (make_one): fill in correct section.
3062
8c95a62e
KH
30632000-10-03 Kazu Hirata <kazu@hxi.com>
3064
3065 * ldexp.c: Fix formatting.
3066
486e80e2
DD
30672000-10-02 DJ Delorie <dj@redhat.com>
3068
3069 * emultempl/pe.em (gld_*_after_open): detect case where there two
3070 import libraries for same dll; rename one to ensure proper link
3071 order.
3072
3073 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
3074 typo
3075 (generate_edata): fix typo
3076
24dd9f75
HPN
30772000-09-29 Hans-Peter Nilsson <hp@axis.com>
3078
3079 * scripttempl/crisaout.sc (ENTRY): Now __start.
3080 (.text): Add default setting for __start.
3081 Remove CONSTRUCTORS handling.
3082 (/DISCARD/): Add .gnu.warning.*.
3083 * emulparams/crislinux.sh (ENTRY): Now __start.
3084 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
3085 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
3086 (ENTRY): Now __start.
3087 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
3088 (EXECUTABLE_SYMBOLS): Add default setting for __start.
3089
4de2d33d
KH
30902000-09-29 Kazu Hirata <kazu@hxi.com>
3091
5cc18311
KH
3092 * deffile.h: Fix formatting.
3093 * ld.h: Likewise.
3094 * ldcref.c: Likewise.
4de2d33d 3095 * ldctor.c: Likewise.
5cc18311 3096 * ldctor.h: Likewise.
4de2d33d 3097 * ldemul.c: Likewise.
5cc18311 3098 * ldemul.h: Likewise.
4de2d33d 3099 * ldexp.c: Likewise.
5cc18311 3100 * ldexp.h: Likewise.
4de2d33d 3101 * ldfile.c: Likewise.
5cc18311 3102 * ldfile.h: Likewise.
4de2d33d 3103 * ldlang.c: Likewise.
5cc18311
KH
3104 * ldlang.h: Likewise.
3105 * lexsup.c: Likewise.
3106 * mri.c: Likewise.
3107 * pe-dll.c: Likewise.
4de2d33d 3108
45b1f63c
DD
31092000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
3110
3111 * pe-dll.c (process_def_file): Uninitialized data wasn't
3112 exported with --export-all-symbols switch.
d952f17a 3113
45b1f63c
DD
31142000-09-28 DJ Delorie <dj@redhat.com>
3115
3116 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
3117 noname work properly.
3118
47d89dba
AM
31192000-09-28 Alan Modra <alan@linuxcare.com.au>
3120
3121 * ld.texinfo (HPPA ELF32): New section.
3122
3123 * emultempl/hppaelf.em (group_size): New.
3124 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
3125 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
3126 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
3127 options to prevent abbreviations matching.
3128 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
3129 (PARSE_AND_LIST_ARGS_CASES): Handle it.
3130
36bdbeec
NC
31312000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3132
3133 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
3134 on the m68*-*-elf target. Make it support COFF input objects.
3135
6d5e62f8
KH
31362000-09-21 Kazu Hirata <kazu@hxi.com>
3137
3138 * ldmain.c: Fix formatting.
3139 * ldmisc.c: Likewise.
3140 * ldver.c: Likewise.
3141 * ldwrite.c: Likewise.
3142
e2eb67d9
AM
31432000-09-21 Alan Modra <alan@linuxcare.com.au>
3144
3145 * ldwrite.c (clone_section): Silence gcc warnings.
3146
b3ea3584
AM
31472000-09-20 Alan Modra <alan@linuxcare.com.au>
3148
3149 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
3150 out of memory failure.
3151
3152 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
3153 (clone_section): Handle out of memory failures. Rename var to
3154 avoid c++ reserved word.
3155
25f72752
AM
31562000-09-18 Alan Modra <alan@linuxcare.com.au>
3157
3158 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
3159 stub_name param to stub_sec_name.
3160 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
3161
0752970e
NC
31622000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3163
3164 * emultempl/m68kelf.em: New file.
3165 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
3166 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
3167 * Makefile.in: Regenerate.
3168
92b7e9d8
AM
31692000-09-15 Alan Modra <alan@linuxcare.com.au>
3170
3171 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
3172 only as needed.
3173
9b14b192
NC
31742000-09-13 Nick Clifton <nickc@redhat.com>
3175
3176 * ldmain.c (multiple_definition): Disable relaxation if
3177 multiple symbol definitions are encountered - otherwise the
3178 linker could abort with an assertion failure.
3179
891fa266
NC
31802000-09-10 Nick Clifton <nickc@redhat.com>
3181
3182 * mri.c: Fix formatting.
3183
5d64ca4e
L
31842000-09-07 H.J. Lu <hjl@gnu.org>
3185
3186 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
3187 * configure: Rebuild.
3188
dd94604f
L
31892000-09-07 H.J. Lu <hjl@gnu.org>
3190
3191 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
3192 * Makefile.in: Rebuild.
3193
71bfc0ae
AM
31942000-09-07 Alan Modra <alan@linuxcare.com.au>
3195
3196 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
3197 broken list handling. Create __start_SECNAME and __stop_SECNAME
3198 when no place-holder. Add some comments. Test both SEC_CODE and
3199 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
ed15ac6a 3200 Handle case where no output section statement created.
71bfc0ae 3201
4a428502
AO
32022000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
3203
3204 * configure.tgt (sh-*-linux*): Added.
3205 * Makefile.am: Added eshelf_linux and eshlelf_linux.
3206 * Makefile.in: Rebuilt.
3207 * emulparams/shelf_linux.sh: New file.
3208 * emulparams/shlelf_linux.sh: New file.
3209
f9989030
AM
32102000-09-06 Alan Modra <alan@linuxcare.com.au>
3211
3212 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3213 try shuffling sections when the orphan happens to be the place
3214 holder. Keep count of unique section names generated so we speed
3215 the search for a new name.
3216
58cccadb
AO
32172000-09-06 Alexandre Oliva <aoliva@redhat.com>
3218
3219 * configure: Rebuilt with new libtool.m4.
3220
5b343f5a
NC
32212000-09-05 Nick Clifton <nickc@redhat.com>
3222
3223 * Makefile.in: Regenerate.
3224 * aclocal.m4: Regenerate.
3225 * configure: Regenerate.
3226 * config.in: Regenerate.
3227 * po/ld.pot: Regenerate.
3228
3229 * ldint.texinfo: Remove CVS revision marker - it foils local
3230 comparisons.
3231
3232 * emultempl/ticoff.em: Remove extraneous comma.
50bbae35 3233
a854a4a7
AM
32342000-09-05 Alan Modra <alan@linuxcare.com.au>
3235
3231d22e
AM
3236 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
3237 to stub section flags.
3238 (hppa_for_each_input_file_wrapper): New.
3239 (hppa_lang_for_each_input_file): New.
3240 (lang_for_each_input_file): Define to call above.
3241 (multi_subspace): New.
3242 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
3243 (PARSE_AND_LIST_PROLOGUE): Define.
3244 (PARSE_AND_LIST_LONGOPTS): Define.
3245 (PARSE_AND_LIST_OPTIONS): Define.
3246 (PARSE_AND_LIST_ARGS_CASES): Define.
3247 (hppaelf_finish): Call elf32_hppa_set_gp.
3248 (hppaelf_set_output_arch): Remove.
3249 (LDEMUL_SET_OUTPUT_ARCH): Remove.
3250
3251 * emulparams/hppalinux.sh (ELFSIZE): Define.
3252 (MACHINE): Define.
3253 (OTHER_READONLY_SECTIONS): Define.
3254 (DATA_PLT): Define.
3255 (GENERATE_SHLIB_SCRIPT): Define.
3256
5f992e62
AM
3257 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
3258 to const throughout. Change `void *' to `PTR' throughout.
3259 (lang_memory_default): Function is local to file, add `static'.
3260
3261 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
3262 (ehppalinux.c): Likewise.
3263 (earmelf.c): Likewise.
3264 (earmelf_linux.c): Likewise.
3265 (earmelf_linux26.c): Likewise.
3266 * Makefile.in: Regenerate.
3267
a854a4a7
AM
3268 * ld.h (ld_config_type): Add unique_orphan_sections.
3269 * lexsup.c (OPTION_UNIQUE): Define.
3270 (ld_options): Add "--unique".
3271 (parse_args): Handle it.
3272 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3273 search for an existing output section if unique_orphan_sections is
3274 set. Make use of bfd_get_unique_section_name rather than
3275 duplicating code here.
3276 * ld.texinfo: Describe --unique.
3277
3278 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
3279 optional arg to split-by-file.
3280 (parse_args): Handle them.
3281 * ld.texinfo: Update description of these options.
3282 * ldwrite.c (clone_section): Pass in the section name. Replace
3283 local code with bfd_get_unique_section_name.
3284 (split_sections): Tidy code and comments. Use a list traversal
3285 more appropriate to the list construction. Handle cooked section
3286 sizes. Split when split_by_reloc reached rather than exceeded.
3287 Track section size and split when split_by_file reached. Fix
3288 link_order_tail (even though it's not used).
3289 (ldwrite): Modify condition for calling split_sections to suit
3290 changed split_by_reloc and split_by_file.
3291 * ldmain.c (main): Init config.split_by_reloc and
3292 config.split_by_file to -1.
3293 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
3294 Change split_by_file to bfd_size_type.
3295
18e03609
NC
32962000-09-02 Nick Clifton <nickc@redhat.com>
3297
3298 * configure.in: Increase version number to 2.10.91.
3299 * NEWS: Mention new ability to support removal of duplicate DWARF2
3300 debug information.
3301 * configure: Regenerate.
3302 * aclocal.m4: Regenerate.
3303 * config.in: Regenerate.
3304
3a9d486c
NC
33052000-09-02 Daniel Berlin <dberlin@redhat.com>
3306
3307 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
3308 sections.
a2b64bed 3309 * scripttempl/elf32avr.sc: Ditto.
3a9d486c
NC
3310 * scripttempl/elfd10v.sc: Ditto.
3311 * scripttempl/elfd30v.sc: Ditto.
3312 * scripttempl/elfi370.sc: Ditto.
3313 * scripttempl/elfm68hc11.sc: Ditto.
3314 * scripttempl/elfm68hc12.sc: Ditto.
3315 * scripttempl/elfi386beos.sc: Ditto.
3316 * scripttempl/v850.sc: Ditto.
50bbae35 3317
ac48eca1
AO
33182000-08-31 Alexandre Oliva <aoliva@redhat.com>
3319
3320 * acinclude.m4: Include libtool and gettext macros from the
3321 top level.
3322 * aclocal.m4, configure: Rebuilt.
3323
c13b1b77
NC
33242000-08-25 Nick Clifton <nickc@redhat.com>
3325
3326 * ldlang.c (open_output): When choosing the target for a
3327 particular endianness, do nothing if the target is not
3328 supported.
3329
dcb0bd0e
L
33302000-08-25 H.J. Lu <hjl@gnu.org>
3331
3332 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
3333 check -rpath nor LD_RUN_PATH for cross link.
3334 * ld.texinfo: Document the change.
3335
5bcac8a4
HPN
33362000-08-24 Hans-Peter Nilsson <hp@axis.com>
3337
3338 * NEWS: Mention support for CRIS.
3339
6dd8c765
L
33402000-08-23 H.J. Lu <hjl@gnu.org>
3341
3342 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
3343 the current runpath list from bfd_elf_get_runpath_list ()
3344 before search.
3345
ec4eb78a
L
33462000-08-22 H.J. Lu <hjl@gnu.org>
3347
3348 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
3349 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
3350 LD_LIBRARY_PATH for native linker. Display the needed DSO if
3351 trace_file_tries is non-zero.
3352 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
3353 if trace_file_tries is non-zero.
3354
3355 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
a8175964 3356 * NEWS: Mention it.
ec4eb78a 3357
22b36938
JE
33582000-08-14 Jason Eckhardt <jle@cygnus.com>
3359
3360 * NEWS: Mention i860 support.
3361
d73e9da0
AS
33622000-08-14 Andreas Schwab <schwab@suse.de>
3363
3364 * scripttempl/elf.sc: Fix last change to use correct comment
50bbae35 3365 syntax.
d73e9da0 3366
9ac4db9c
GK
33672000-08-10 Geoff Keating <geoffk@cygnus.com>
3368
3369 * scripttempl/elf.sc: Add a comment giving the correspondence
3370 between sections, per-datum sections, and linkonce sections. Make
3371 the comment true even for .bss, .sdata, .sdata2, .sbss, and
3372 .sbss2.
3373
165589e4
JE
33742000-08-10 Jason Eckhardt <jle@cygnus.com>
3375
3376 * emulparams/elf32_i860.sh: New file.
3377 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
3378 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
3379 (eelf32_i860.c): New rule.
3380 * Makefile.in: Regenerate.
3381
345a835d
NC
33822000-08-10 Nick Clifton <nickc@cygnus.com>
3383
3384 * emulparams/mipspe.sh (ENTRY): Add definition.
3385
e374f1d9
NC
33862000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
3387
3388 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
3389 in error message.
3390
236d5abf
NC
33912000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3392
3393 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
3394 the final size of .bss section.
3395 * scripttempl/elfm68hc12.sc: Likewise.
3396
4b209b22
AM
33972000-08-04 Alan Modra <alan@linuxcare.com.au>
3398
3399 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
3400 gld${EMULATION_NAME}_parse_args for consistency. Combine
3401 lastoptind and prevoptind vars, and keep track of last optind.
3402 (gld_${EMULATION_NAME}_list_options): Rename to
3403 gld${EMULATION_NAME}_list_options.
3404
28423a68
AM
34052000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
3406
3407 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
3408 (i586-sco-sysv5uw7.1.0).
3409
b2009ff7
L
34102000-07-27 H.J. Lu <hjl@gnu.org>
3411
3412 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
3413 (PARSE_AND_LIST_PROLOGUE): New.
3414 (PARSE_AND_LIST_LONGOPTS): Likewise.
3415 (PARSE_AND_LIST_OPTIONS): Likewise.
3416 (PARSE_AND_LIST_ARGS_CASES): Likewise.
3417 (PARSE_AND_LIST_EPILOGUE): Likewise.
3418
04925e1e
AM
34192000-07-28 Alan Modra <alan@linuxcare.com.au>
3420
41392f03
AM
3421 * emultempl/armelf.em: Elide functions common to elf32.em,
3422 ie. most of the file.
3423 (arm_elf_after_open): New. Do arm specific things then call
3424 gld${EMULATION_NAME}_after_open.
3425 (arm_elf_before_allocation): New. Call
3426 gld${EMULATION_NAME}_before_allocation then do arm specifics.
3427 (PARSE_AND_LIST_PROLOGUE): Define.
3428 (PARSE_AND_LIST_SHORTOPTS): Define.
3429 (PARSE_AND_LIST_LONGOPTS): Define.
3430 (PARSE_AND_LIST_OPTIONS): Define.
3431 (PARSE_AND_LIST_ARGS_CASES): Define.
3432 (LDEMUL_AFTER_OPEN): Define.
3433 (LDEMUL_BEFORE_ALLOCATION): Define.
3434 (LDEMUL_BEFORE_PARSE): Define.
3435 (LDEMUL_FINISH): Define.
3436
3437 * emultempl/hppaelf.em: Similarly zap most of this file.
3438 (hppaelf_add_stub_section): Prototype.
3439 (hppaelf_layaout_sections_again): Prototype.
3440 (hook_in_stub): Prototype.
3441 (LDEMUL_SET_OUTPUT_ARCH): Define.
3442 (LDEMUL_FINISH): Define.
3443 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
3444
3445 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
3446 (EXTRA_EM_FILE): New.
3447 * emulparams/armelf_linux.sh: Likewise.
3448 * emulparams/armelf_linux26.sh: Likewise.
3449 * emulparams/hppalinux.sh: Likewise.
3450 * emulparams/hppaelf.sh: Likewise.
3451 (NOP): Define.
3452
3453 * emultempl/elf32.em: Fix formatting.
3454 (EXTRA_EM_FILE): Source it.
3455 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
3456 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
3457 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
3458 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
3459 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
3460 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
3461 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
3462 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
3463 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
3464 allow functions in this file to be overridden.
3465 (PARSE_AND_LIST_SHORTOPTS): Handle it.
3466
3467 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
3468
04925e1e
AM
3469 * emultempl/elf32.em: Reorganize file.
3470
88cdf297
NC
34712000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
3472
3473 * emulparams/elf64alpha.sh: Implement "-taso" emulation
3474 specific option to fit 64-bit executable in the lower
3475 31-bit address range. This is done by changing start
3476 address of .interp (the very first section of executable)
3477 and then setting EF_ALPHA_32BIT elf header flag.
3478
20bccb34
NC
34792000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3480
3481 * emultempl/m68kcoff.em: New file.
3482 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
3483 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
3484 generic.em.
3485 * Makefile.in: Regenerate.
3486
699845ef
L
34872000-07-20 H.J. Lu <hjl@gnu.org>
3488
3489 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
3490 and "disable-new-dtags" to stop getopt from treating -d/-e as
3491 abbreviations for these options.
3492
6c1439be
L
34932000-07-20 H.J. Lu <hjl@gnu.org>
3494
3495 * ld.texinfo: Add documentation for --disable-new-dtags and
3496 --enable-new-dtags.
3497
3498 * ldmain.c (main): Initialize link_info.new_dtags to false.
3499
3500 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
3501 --disable-new-dtags and --enable-new-dtags.
3502 (gld_${EMULATION_NAME}_list_options): Likewise.
3503
28c309a2
NC
35042000-07-05 Kenneth Block <krblock@computer.org>
3505
a2b64bed
NC
3506 * lexsup.c: Add optional style to demangle switch
3507 * ld.texinfo: Document optional style to demangle switch.
50bbae35 3508
9d06555c
HPN
35092000-07-20 Hans-Peter Nilsson <hp@axis.com>
3510
3511 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
3512 ecrislinux.o.
3513 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
3514 Regenerate dependencies.
3515 * Makefile.in: Rebuild.
3516 * configure.tgt (cris-*-*): New target.
3517 * emulparams/crisaout.sh, emulparams/criself.sh,
3518 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
3519 * po/POTFILES.in, po/ld.pot: Regenerate.
3520
19e3be22
L
35212000-07-20 H.J. Lu <hjl@gnu.org>
3522
3523 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
3524 Print out ignored -z options.
3525
e0ee487b
L
35262000-07-19 H.J. Lu <hjl@gnu.org>
3527
19e3be22
L
3528 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
3529 (PARSE_AND_LIST_PROLOGUE): New.
3530 (PARSE_AND_LIST_LONGOPTS): Likewise.
3531 (PARSE_AND_LIST_OPTIONS): Likewise.
3532 (PARSE_AND_LIST_ARGS_CASES): Likewise.
3533
3534 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
3535
3536 * lexsup.c (ld_options): Comment out 'z'.
3537 (parse_args): Likewise.
3538
3539 * emultempl/elf32.em: Include "elf/common.h".
3540 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
3541 options.
3542 (gld_${EMULATION_NAME}_list_options): Likewise.
3543
3544 * ld.texinfo: Add documentation for the recognized -z options.
e0ee487b 3545
49e56c49
L
35462000-07-19 H.J. Lu <hjl@gnu.org>
3547
3548 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
3549 bfd_elf_set_dt_needed_soname ().
3550
9d68bc82
DD
35512000-07-18 DJ Delorie <dj@cygnus.com>
3552
3553 * pe-dll.c (pe_dll_id_target): check object target name also
3554
53db15ed
HPN
35552000-07-18 Hans-Peter Nilsson <hp@axis.com>
3556
3557 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
3558 ${INIT_END} if relocating.
3559 (.fini): Likewise ${FINI_START} and ${FINI_END}.
3560
0ad8cf4c
DD
35612000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
3562
a2b64bed 3563 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
0ad8cf4c
DD
3564 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
3565 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
3566 errors introduced by the old dynamic lib search order.
3567
874c8c99
DD
35682000-07-17 DJ Delorie <dj@cygnus.com>
3569
3570 * pe-dll.c (process_def_file): auto-export data items also
3571 (pe_process_import_defs): also see if _imp_ form needed
3572
5b4cf3f4
DD
35732000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
3574
3575 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
3576 for dll import libraries
3577
062739d1
NC
35782000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
3579
3580 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
d952f17a 3581 gcc 2.95.2 and later.
062739d1 3582
1c64c4ed
NC
35832000-07-11 Kazu Hirata <kazu@hxi.com>
3584
50bbae35
AM
3585 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
3586 message.
1c64c4ed 3587
b71e2778
AM
35882000-07-10 Alan Modra <alan@linuxcare.com.au>
3589
3590 * ldemul.h (struct lang_input_statement_struct): Remove forward
3591 declaration.
3592 (struct search_dirs): Likewise.
3593 * ldfile.h (struct lang_input_statement_struct): Likewise.
3594 Protect file from multiple inclusion.
3595 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
3596 declaration from macro to file scope.
3597
3598 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
3599 * ldgram.y: Likewise here.
3600 * ldlang.c: And here.
3601 * ldmain.c: And here.
3602 * mpw-elfmips.c: And here.
3603 * mpw-eppcmac.c: And here.
3604 * emultempl/aix.em: And here.
3605 * emultempl/armcoff.em: And here.
3606 * emultempl/armelf.em: And here.
3607 * emultempl/armelf_oabi.em: And here.
3608 * emultempl/beos.em: And here.
3609 * emultempl/elf32.em: And here.
3610 * emultempl/hppaelf.em: And here.
3611 * emultempl/linux.em: And here.
3612 * emultempl/lnk960.em: And here.
3613 * emultempl/pe.em: And here.
3614 * emultempl/sunos.em: And here.
3615 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
3616 * mpw-idtmips.c: Ditto.
3617 * emultempl/generic.em: Ditto.
3618 * emultempl/gld960.em: Ditto.
3619 * emultempl/gld960c.em: Ditto.
3620 * emultempl/mipsecoff.em: Ditto.
3621 * emultempl/ticoff.em: Ditto.
3622 * emultempl/vanilla.em: Ditto.
3623
3624 * pe-dll.c: Include ldfile.h
3625 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
3626
3627 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
3628 arguments to bfd_elf32_size_dynamic_sections call.
3629 (gldelf32ebmip_place_orphan): Add missing arguments to
3630 lang_leave_output_section_statement call.
3631
2ef53d66
L
36322000-07-10 H.J. Lu <hjl@gnu.org>
3633
3634 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
3635 DLL_SUPPORT.
3636 (strhash): Likewise.
3637 (compute_dll_image_base): Likewise.
3638 (pe_undef_found_sym): Likewise.
3639 (pe_undef_cdecl_match): Likewise.
3640 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
3641 argument "arch" with ATTRIBUTE_UNUSED.
3642
9a8cbb09
AM
36432000-07-10 Alan Modra <alan@linuxcare.com.au>
3644
3645 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
3646
3647 From Ryan Bradetich <rbradetich@uswest.net>
3648 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
50bbae35 3649
4900fc06
AM
36502000-07-09 Alan Modra <alan@linuxcare.com.au>
3651
3652 Changes to create multiple linker stubs, positioned immediately
3653 before the section where they are required.
3654 * emultempl/hppaelf.em: Include elf32-hppa.h.
3655 (stub_sec, file_chain): Delete.
3656 (hppaelf_create_output_section_statements): Don't make a stub
3657 section here.
3658 (hook_stub_info): New struct.
3659 (hook_in_stub): New function.
3660 (hppaelf_add_stub_section): New function.
3661 (hppaelf_finish): Do nothing for relocateable links. Modify the
3662 call to elf32_hppa_size_stubs. Move code for updating section
3663 layout from here...
3664 (hppaelf_layaout_sections_again): ..to here, a new function.
3665
3666 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
3667 broken list handling. Pass in a pointer to the list.
3668 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
3669 for above changes.
3670 (hppaelf_before_parse): Prototype.
3671 (hppaelf_set_output_arch): Prototype.
3672 (hppaelf_create_output_section_statements): Prototype.
3673 (hppaelf_delete_padding_statements): Prototype.
3674 (hppaelf_finish): Prototype.
3675
3676 Merge from elf32.em
3677 * emultempl/hppaelf.em: Include ctype.h.
3678 (struct orphan_save): New.
3679 (gld${EMULATION_NAME}_place_orphan): New.
3680 (output_rel_find): New.
3681 (hppaelf_get_script): Update from elf32.em.
3682 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
3683 Change emulation_name field to "${EMULATION_NAME}". Add
50bbae35 3684 gld${EMULATION_NAME}_place_orphan.
4900fc06
AM
3685
3686 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
3687 ehppalinux.o, sort it. Regenerate dependencies.
3688 (ehppalinux.c): Depend on hppaelf.em
3689 * Makefile.in: Regenerate.
3690
3691 * configure.tgt: targ_emul=hppalinux for hppa*linux
3692
3693 * emulparams/hppalinux.sh: New.
3694 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
3695
227aeb07
AM
36962000-07-08 Alan Modra <alan@linuxcare.com.au>
3697
3698 * lexsup.c (parse_args): Copy section name.
3699
28609fd4 37002000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
602e90d3 3701
2ef53d66 3702 * emultempl/pe.em: institute the following search order for
602e90d3
DD
3703 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
3704 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
3705 static lib (libfoo.a) if none of the above are found.
3706
5f577f7d
DD
37072000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
3708
50bbae35 3709 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
5f577f7d 3710 (longopts): New --{enable,disable}-auto-image-base options.
50bbae35 3711 (gld_${EMULATION_NAME}_list_options): Document.
5f577f7d
DD
3712 (gld_${EMULATION_NAME}_parse): Handle.
3713 (strhash): New static function.
50bbae35 3714 (compute_dll_image_base): New static function.
5f577f7d
DD
3715 (gld_${EMULATION_NAME}_set_symbols): Use.
3716
9a8cbb09 37172000-07-05 DJ Delorie <dj@redhat.com>
302ab118
DD
3718
3719 * MAINTAINERS: new
3720
3548145d 37212000-07-01 Koundinya K <kk@ddeorg.soft.net>
50bbae35
AM
3722
3723 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
3724 * emulparams/elf32btsmip.sh: New file.
3725 * Makefile.am: Add traditional mips target.
3726 * Makefile.in: Rebuild.
3727
67798033
L
37282000-07-01 H.J. Lu <hjl@gnu.org>
3729
3730 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
3731 automake to use YLWRAP.
3732 * Makefile.in: Rebuild.
3733
0bdaf48b
AM
37342000-07-01 Alan Modra <alan@linuxcare.com.au>
3735
3736 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
3737 (CLEANFILES): Add DEPA.
3738 * Makefile.in: Regenerate.
3739
c9e769c2
TW
37402000-06-30 Timothy Wall <twall@ppc>
3741
3742 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
3743 the page in the upper octet of the address.
3744
65aa24b6
NC
37452000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
3746
3747 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
3748
4667035e
AM
37492000-06-24 Alan Modra <alan@linuxcare.com.au>
3750
3751 * NEWS: arm-elf does --gc-sections too.
3752
1581f8c9
AM
37532000-06-22 Alan Modra <alan@linuxcare.com.au>
3754
3755 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
3756 find one.
3757 * Makefile.in: Regenerate.
3758
01580992
L
37592000-06-21 H.J. Lu <hjl@gnu.org>
3760
3761 * Makefile.am: Rebuild dependency.
3762 * Makefile.in: Rebuild.
3763
bbeb2e03
L
37642000-06-20 H.J. Lu <hjl@gnu.org>
3765
3766 * Makefile.am: Rebuild dependency.
3767 * Makefile.in: Rebuild.
3768
74459f0e
TW
37692000-06-20 Timothy Wall <twall@cygnus.com>
3770
3771 * scripttempl/tic54xcoff.sc: New.
3772 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
3773 * gen-doc.texi: Add flag for TI COFF.
3774 * ld.texinfo: Add documentation for TI COFF handling switches.
3775 * emultempl/ticoff.em: New. TI COFF handling.
3776 * configure.tgt: Add tic54x target.
3777 * Makefile.am: Add tic54x target.
3778 * Makefile.in: Ditto.
3779
2ab47eed
AM
37802000-06-20 Alan Modra <alan@linuxcare.com.au>
3781
3782 * ldmain.c (set_scripts_dir): Correct pointer comparison when
3783 checking for backslashes.
3784
919e4093
AM
37852000-06-19 Alan Modra <alan@linuxcare.com.au>
3786
3787 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
3788
987fd5b4
AM
37892000-06-18 Alan Modra <alan@linuxcare.com.au>
3790
3791 * NEWS: Update list of targets supporting --gc-sections.
3792
3793 * scripttempl/elf.sc: KEEP .eh_frame contents.
3794 * scripttempl/elfd30v.sc: Same here.
3795
60bcf0fa
NC
37962000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
3797
3798 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
3799 and m68hc11 (elf).
3800 * Makefile.in: Rebuild.
3801 * configure.tgt: Recognize m68hc12 and m68hc11.
3802 * scripttempl/elfm68hc12.sc: New file.
3803 * emulparams/m68hc12elfb: New emulation.
3804 * emulparams/m68hc12elf: New emulation.
3805 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
3806 (includes a memory.x script to define the ROM and RAM banks).
3807 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
3808 New configuration files for support of Motorola 68hc11
3809
c7c54483
AM
38102000-06-15 Alan Modra <alan@linuxcare.com.au>
3811
3812 * ldmain.c (main): Only change SEC_READONLY for final link.
3813
bcef29e6
L
38142000-06-13 H.J. Lu <hjl@gnu.org>
3815
3816 * configure: Regenerate.
3817
946efd95
DB
38182000-06-08 David O'Brien <obrien@FreeBSD.org>
3819
3820 * configure.in (VERSION): Update to show this is the CVS mainline.
3821
57a6fd07
DB
38222000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3823
3824 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
3825 input objects to be ECOFF.
3826 (check_sections): einfo takes %B, not %P, to print a BFD name.
3827
e06cae36
L
38282000-06-05 Michael Matz <matz@ifh.de>
3829
3830 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
d952f17a 3831 version scripts.
e06cae36 3832
d952f17a 3833 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
e06cae36 3834
2f0b56c0
DC
38352000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
3836
3837 * emulparams/avr1200.sh (STACK): Define as 0.
3838 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
3839 * emulparams/avr4433.sh (STACK): Likewise.
3840 * emulparams/avr44x4.sh (STACK): Likewise.
3841 * emulparams/avr85xx.sh (STACK): Likewise.
3842 * emulparams/avrmega103.sh (STACK): Likewise.
3843 * emulparams/avrmega161.sh (STACK): Likewise.
3844 * emulparams/avrmega603.sh (STACK): Likewise.
3845 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
3846 (__stack): Define from ${STACK} for main().
3847
2114f57b
AM
38482000-05-26 Alan Modra <alan@linuxcare.com.au>
3849
3850 * Makefile.am: Update dependencies with "make dep-am"
3851 * Makefile.in: Regenerate.
3852
5af11cab
AM
38532000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
3854
3855 * ldmain.c: Include filenames.h.
3856 (set_scripts_dir): Support backslashes in program name.
3857
1f0df59a
NC
38582000-05-22 Igor Shevlyakov <igor@windriver.com>
3859
3860 * ldmain.c (main): When deciding if ".text" section should be
50bbae35
AM
3861 read-only, don't forget to reset SEC_READONLY because it
3862 could be already set.
1f0df59a 3863
176355da
NC
38642000-05-22 Thomas de Lellis <tdel@windriver.com>
3865
50bbae35
AM
3866 * ld.1: Add documentation for new command line option:
3867 --section-start <sectionname>=<sectionorg>
3868 This is a generic version of -Ttext etc. which accepts
3869 any section name as a parameter instead of just text/data/
3870 bss.
3871 * ld.texinfo: More docs.
3872 * NEWS: More docs.
3873 * lexsup.c: (parse_args): Recognize new command line option.
176355da 3874 (ld_options): Add new option.
50bbae35 3875
8c5ff972
L
38762000-05-18 H.J. Lu <hjl@gnu.org>
3877
3878 * lexsup.c (parse_args): `i' == `r', not `q'.
3879
3b16e843 38802000-05-18 Jeffrey A Law (law@cygnus.com)
0b76fe77
JL
3881
3882 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
3883
a712da20
NC
38842000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
3885 Rick Gorton <gorton@scrugs.lkg.dec.com>
50bbae35 3886
a712da20
NC
3887 Add support for '-q' == '--emit-relocs' switch.
3888 * ldmain.c (main): Default to false.
3889 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
3890 * NEWS: Describe the emitrelocations switch.
3891 * ld.texinfo: Describe the emitrelocations switch.
3892
690a460e
NC
38932000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
3894
a2b64bed 3895 * emultempl/pe.em (_open_dynamic_archive): New function: Search
690a460e
NC
3896 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
3897 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
3898 link options.
50bbae35 3899
c2f1343c
AM
39002000-05-15 David O'Brien <obrien@FreeBSD.org>
3901
3902 * lexsup.c (parse_args): Update the year in the copyright notice.
3903
897083bd
AM
39042000-05-13 Alan Modra <alan@linuxcare.com.au>
3905
3906 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
3907 Replace defines with those from intl/libgettext.h to quieten gcc
3908 warnings.
3909
cd4c806a
L
39102000-05-10 H.J. Lu <hjl@gnu.org>
3911
3912 * ldlang.c (open_input_bfds): Don't load the same file within
3913 a group again if the whole archive has been loaded already.
3914
93697284
AM
39152000-05-03 Alan Modra <alan@linuxcare.com.au>
3916
3917 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
3918 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
3919 strtoul.
3920
3b16e843 39212000-05-01 Jim Wilson <wilson@cygnus.com>
ebd6fc29 3922
99a4150f 3923 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
50bbae35 3924
ebd6fc29
JW
3925 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
3926 host "ia64-*-linux-gnu*".
3927
a1934524
AM
39282000-04-29 Andreas Jaeger <aj@suse.de>
3929
3930 * ld.h: Correctly check GCC version.
3931
3b16e843 39322000-04-25 Jeffrey A Law (law@cygnus.com)
730a39a0
JL
3933
3934 * Makefile.am: Add PA64 support. Add missing dependencies for
3935 PA32 elf support.
3936 * Makefile.in: Rebuilt.
3937 * configure.tgt: Add PA64 support (currently disabled).
3938
aea4bd9d
AM
39392000-04-25 Alan Modra <alan@linuxcare.com.au>
3940
3941 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
3942 (output_rel_find): New function.
3943 (hold_section, hold_use): Delete.
3944 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
3945 hold_interp): Make local to place_orphan.
3946 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
3947 rather than place_section to find possible previous use of orphan.
3948 Similarly find the place-holder output sections. Use returned
3949 value from lang_enter_output_section_statement rather than calling
3950 lang_output_section_statement_lookup.
3951 * emultempl/armelf.em: Same here.
3952 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
3953
3954 * ldlang.c (lang_enter_output_section_statement): Return output
3955 section statement.
3956 * ldlang.h (lang_enter_output_section_statement): Change
3957 declaration too.
3958
3959 * ldlang.h (lang_output_section_statement): Export it.
3960 * ldlang.c (lang_output_section_statement): Ditto.
3961
2b5fc1f5
NC
39622000-04-24 Nick Clifton <nickc@cygnus.com>
3963
3964 * ld.texinfo (Output Section Data): Add note that section data
3965 commands cannot appear outside of section directives.
3966
d8475ff6
JL
39672000-04-2 Matthew Green <mrg@cygnus.com>
3968
3969 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
3970
3b16e843
NC
39712000-04-21 Richard Henderson <rth@cygnus.com>
3972 David Mosberger <davidm@hpl.hp.com>
800eeca4
JW
3973
3974 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
3975 (eelf64_ia64.c): New rule.
3976 * Makefile.in: Rebuild.
3977 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
3978 * emulparams/elf64_ia64.sh: New file.
50bbae35 3979
c9637625
RH
39802000-04-21 Richard Henderson <rth@cygnus.com>
3981
3982 * scripttempl/elfd30v.sc: Place .gcc_except_table.
3983
28ea9521
AM
39842000-04-19 Alan Modra <alan@linuxcare.com.au>
3985
3986 * dep-in.sed: Match space at start of file name, not at end.
3987
20d04697
L
39882000-04-18 H.J. Lu <hjl@gnu.org>
3989
3990 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
3991 lang_leave_output_section_statement () after calling
3992 lang_enter_output_section_statement ().
3993 * emultempl/armelf.em: Likewise.
3994
5ba47421
AM
39952000-04-18 Alan Modra <alan@linuxcare.com.au>
3996
3997 * emultempl/elf32.em (struct orphan_save): Add section field.
3998 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
3999 better order, and place first orphan section as we did before the
4000 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
4001 Don't call make_bfd_section here, let wild_doit do the job for us.
4002 Don't build a statement list when we'll only throw it away.
4003 * emultempl/armelf.em: Ditto.
4004 * emultempl/pe.em: Similarly.
4005
bdbe5705
GK
40062000-04-14 Geoff Keating <geoffk@cygnus.com>
4007
4008 * scripttempl/elfppc.sc: Remove.
4009 * emulparams/elf32ppc.sh: Use elf.sc.
4010 * emulparams/elf32lppc.sh: Use elf.sc.
4011 * emulparams/elf32ppclinux.sh: Use elf.sc.
4012 * emulparams/elf32ppcsim.sh: New file.
4013 * emulparams/elf32lppcsim.sh: New file.
4014 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
4015 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
4016 * Makefile.in: Regenerate.
4017 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
4018
01cc8ff8
AM
40192000-04-14 Alan Modra <alan@linuxcare.com.au>
4020
5ba47421 4021 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
01cc8ff8 4022 ~SEC_ALLOC sections too. Init start address of debug sections.
5ba47421
AM
4023 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
4024 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
01cc8ff8
AM
4025 Also set all relocateable section start addresses.
4026
6c86c541
GK
40272000-04-13 Geoff Keating <geoffk@cygnus.com>
4028
4029 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
4030 Add new BSS_PLT variable for when .plt need not be contained in
4031 the file. Move _etext so that it is also after .fini, and provide
4032 both etext and _etext with a leading underscore. Mark the start
4033 and end of .sbss.
4034
6a345e87
AM
40352000-04-12 Alan Modra <alan@linuxcare.com.au>
4036
4037 * emultempl/elf32.em (struct orphan_save): New.
4038 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
4039 hold_interp): Make them struct orphan_save.
4040 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
4041 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
4042 the end of the relevant section list. Also add associated section
4043 statements to the end of any previous orphan statements.
4044 * emultempl/armelf.em: Similarly.
4045 * emultempl/pe.em: Similarly.
4046
8be86746
AM
40472000-04-11 Alan Modra <alan@linuxcare.com.au>
4048
4049 * ld.texinfo (Simple Example): Remove extraneous paragraph.
4050
3b16e843 40512000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
50bbae35 4052
a2d91340 4053 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
50bbae35 4054 --enable-build-warnings option.
a2d91340
AC
4055 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
4056 * Makefile.in, configure: Re-generate.
4057
41b49281
AM
40582000-04-04 Alan Modra <alan@linuxcare.com.au>
4059
8ad3436c
AM
4060 * po/ld.pot: Regenerate.
4061
4062 * lexsup.c (help): Restore translated part of bug string.
4063
41b49281
AM
4064 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
4065 (DEP): Quote when passing vars to sub-make. Add warning message
4066 to end.
4067 (DEP1): Rewrite for "gcc -MM".
4068 (CLEANFILES): Add DEP2.
4069 Update dependencies.
4070 * Makefile.in: Regenerate.
4071
c20f4f8c
AM
40722000-04-03 Alan Modra <alan@linuxcare.com.au>
4073
4074 * ld.h: #include "bin-bugs.h"
4075 * lexsup.c (help): Use REPORT_BUGS_TO.
4076
adde6300
AM
40772000-03-27 Denis Chertykov <denisc@overta.ru>
4078
4079 * configure.tgt (avr-*-*): New target support.
4080 * Makefile.am: Likewise.
4081 * scripttempl/elf32avr.sc: New script file.
4082 * emulparams/avr1200.sh: New file.
4083 * emulparams/avr23xx.sh: New file.
4084 * emulparams/avr4433.sh New file.
4085 * emulparams/avr44x4.sh New file.
4086 * emulparams/avr85xx.sh New file.
4087 * emulparams/avrmega103.sh New file.
4088 * emulparams/avrmega161.sh New file.
4089 * emulparams/avrmega603.sh New file.
4090 * Makefile.in: Regenerate.
4091
9282ff41
L
40922000-03-09 Andreas Jaeger <aj@suse.de>
4093
4094 * Makefile.am (check-DEJAGNU): Also unset LANG.
4095 * Makefile.in: Rebuild.
4096
a9998805
ILT
40972000-03-06 Ian Lance Taylor <ian@zembu.com>
4098
4099 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
4100 archive.
4101
f9bc20e7
NC
41022000-03-02 H.J. Lu <hjl@gnu.org>
4103
4104 * emulparams/elf32mcore.sh: Include "getopt.h".
4105
4e277b38
ILT
41062000-03-01 Ian Lance Taylor <ian@zembu.com>
4107
4108 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
4109
f0c87f88
NC
41102000-03-01 H.J. Lu <hjl@gnu.org>
4111
4112 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
4113 * emulparams/shpe.sh: Likewise.
4114
41152000-03-01 Nick Clifton <nickc@cygnus.com>
4116
4117 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
4118 to unused parameters.
4119
4120 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
4121 functions only used by DLL code.
4122 (_place_orphan): Initialise 'dollar'.
4123
b6f29aaa
L
41242000-03-01 H.J. Lu <hjl@gnu.org>
4125
4126 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
4127 indicate if the undefined symbol is a fatal error or not.
4128 Don't delete the output file if "fatal" is false.
4129
af28fce3
L
41302000-02-29 H.J. Lu <hjl@gnu.org>
4131
50bbae35 4132 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
af28fce3
L
4133 Set LC_COLLATE and LC_ALL to null and export them. It is for
4134 sort which expects the C locale.
4135 Add $(LIBS) to all $(HOSTING_LIBS).
4136 * Makefile.in: Rebuild.
4137
40d109bf
AM
41382000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
4139
4140 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
4141 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
4142 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
4143 (ld_emulation_xfer_struct): Add missing NULL initialiser for
4144 find_potential_libraries.
4145
db5be682
JB
41462000-02-28 Jim Blandy <jimb@redhat.com>
4147
4148 * ldgram.y (exclude_name_list): Don't require a comma to separate
50bbae35 4149 list entries; the lexer considers commas to be valid part of a
db5be682
JB
4150 filename, so in something like `foo, bar' the comma is considered
4151 part of the first filename, `foo,'.
4152 * ld.texinfo: Update section on EXCLUDE_FILE lists.
4153
3558ff4c
ILT
41542000-02-27 Loren J. Rittle <ljrittle@acm.org>
4155
4156 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
4157 host "i[3456]86-*-freebsdelf*".
4158
4eee2681
ILT
41592000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
4160
4161 * scripttempl/i386go32.sc: Move misplaced semicolons.
4162
8d75d12d
ILT
41632000-02-25 Ian Lance Taylor <ian@zembu.com>
4164
4165 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
4166 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
4167 (eelf64hppa.c, ehppaelf.c): Remove targets.
4168 * Makefile.in: Rebuild.
4169
a1836d49
AO
41702000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4171
ad51fb57
AO
4172 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
4173 GNU/Linux/sparc, but keep the default as 32.
4174
a1836d49
AO
4175 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
4176 it default if sparcv9 or sparc64.
4177
344a211f
NC
41782000-02-24 Nick Clifton <nickc@cygnus.com>
4179
4180 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
4181 * Makefile.in: Regenerate.
4182 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
4183
4184 * ldemul.h (ld_emulation_xfer_struct): Add new field:
4185 find_potential_libraries.
4186 * ldemul.c (ldemul_find_potential_libraries): New function.
4187
4188 * ldfile.c (ldfile_open_file_search): Allow function to be
50bbae35 4189 exported.
344a211f
NC
4190 (ldfile_open_file): Call ldemul_find_potential_libraries.
4191 * ldfile.h: Add prototype for ldfile_open_file_search.
4192
4193 * pe-dll.c: Add support for ARM, MIPS and SH targets.
4194
4195 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
4196 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
4197
4198 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
4199 (gld_X_find_potential_libraries): New function. Search for
4200 libraries called "*.lib".
4201
a2b64bed 4202 * scripttempl/pe.sc: Add .pdata section.
344a211f 4203
eaba1dd3
RH
42042000-02-23 Richard Henderson <rth@cygnus.com>
4205
4206 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
4207 Add and use memory regions.
4208
5b93d8bb
AM
42092000-02-23 Linas Vepstas (linas@linas.org)
4210
4211 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
4212
4213 * Makefile.am: Add support for Linux/IBM 370.
4214 * configure.tgt: Likewise.
4215
4216 * Makefile.in: Regenerate.
4217
f6af82bd
AM
42182000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
4219
4220 * ldlang.c (print_input_section, print_data_statement,
4221 print_reloc_statement, print_padding_statement, insert_pad,
4222 size_input_section, lang_check_section_addresses,
4223 lang_size_sections, lang_do_assignments, lang_set_startof,
50bbae35 4224 lang_one_common): Change `opb' to unsigned.
f6af82bd
AM
4225 (lang_do_assignments): Also change `size' to unsigned.
4226
9e673ad1
RH
42272000-02-16 Richard Henderson <rth@cygnus.com>
4228
4229 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
4230
562d3460
TW
42312000-02-16 Timothy Wall <twall@cygnus.com>
4232
4233 * mri.c (mri_draw_tree): Add default LMA region argument to call
4234 to lang_leave_output_section_statement.
4235 * ldlang.h: Update prototypes with LMA region arguments.
4236 * ldlang.c (lang_size_sections): Encapsulate region bounds
4237 checking in os_check_region call.
4238 (os_check_region): New function.
4239 (lang_output_section_statement_lookup): Initialize lma_region.
4240 (lang_leave_output_section_statement): Add LMA region argument.
4241 (lang_leave_overlay): Ditto.
4242 * ldgram.y: Handle LMA region syntax.
4243 * ld.texinfo (Output Section Description): Describe LMA region usage.
4244 * emultempl/armelf.em (gld$place_orphan): Add default value for
01cc8ff8 4245 lma region in call to lang_leave_output_section_statement.
562d3460 4246 * emultempl/elf32.em (gld$place_orphan): Add default value for
01cc8ff8 4247 lma region in call to lang_leave_output_section_statement.
562d3460 4248 * emultempl/pe.em (gld$place_orphan): Add default value for
01cc8ff8 4249 lma region in call to lang_leave_output_section_statement.
50bbae35
AM
4250
4251
9e4ed18c
TW
42522000-02-04 Timothy Wall <twall@redhat.com>
4253
4254 * ldlang.c (lang_check_section_addresses): Use bytes instead of
4255 octets when calculating section end addresses.
4256
32edc927
TW
42572000-02-04 Timothy Wall <twall@redhat.com>
4258
4259 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
4260
4cbfc3ac
TW
42612000-02-03 Timothy Wall <twall@redhat.com>
4262
a2b64bed 4263 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
4cbfc3ac 4264 octet count.
a2b64bed 4265 * ldlang.c (print_input_section, print_data_statement,
4cbfc3ac
TW
4266 print_reloc_statement, print_padding_statement): Print target
4267 address values and section sizes as bytes, not octets.
4268 (insert_pad) Calculate padding size in octets, and adjust "dot"
4269 by bytes.
4270 (size_input_section) Always adjust "dot" by bytes, not octets.
4271 (lang_check_section_addresses, lang_do_assignments) Adjust
4272 "dot" by bytes, not octets. Use the larger of the directive size
4273 or octets_per_byte for the number of octets actually allocated in
4274 the output section.
4275 (lang_set_startof) Make sure STARTOF returns a target address.
4276 (lang_one_common) Record size changes in octets.
4277 (lang_abs_symbol_at_end_of) Section end symbol's value is
4278 recorded in target bytes.
68b2fc7a 4279 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
4cbfc3ac 4280 to be clear about behavior when an octet is smaller than one byte.
50bbae35 4281
305c7206
AM
42822000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
4283
4284 * ldcref.c (output_cref): Don't pass message strings to printf
4285 as format arg.
4286 Update copyright.
4287
4288 * ldmisc.c (vfinfo): Same here.
4289 Update copyright.
4290
e1c47aa4
AM
42912000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
4292
4293 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
4294 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
4295 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
4296 Add missing NULL initialisers, and comments.
4297
4298 * testsuite/ld-srec/sr3.cc (__rethrow): New.
4299
13392b77
NC
43002000-01-21 Nick Clifton <nickc@cygnus.com>
4301
4302 * ldlang.c (lang_size_sections): Fix typo in comment.
4303
cce4c4c5
NC
43042000-01-18 H.J. Lu <hjl@gnu.org>
4305
4306 * ldlang.c (lang_size_sections): Also update the current
4307 address of a region if the SEC_NEVER_LOAD bit is not set.
4308
0decc840
NC
43092000-01-10 Philip Blundell <pb@futuretv.com>
4310
4311 * configure.tgt (arm*-*-conix*): New target.
4312
4e53152f
NC
43132000-01-07 Nick Clifton <nickc@cygnus.com>
4314
4315 * ld.texinfo (Options): Remind users to preceed linker command
fa19fce0
NC
4316 line switches with -Wl, (or whatever is appropriate) if it is
4317 being invoked by a comnpiler driver program.
50bbae35 4318 Fix description of the behaviour of the -n command line switch.
4e53152f 4319
3b16e843 43202000-01-05 Catherine Moore <clm@cygnus.com>
18625d54
CM
4321
4322 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
4323 (name_list): New.
4324 * ld.texinfo (EXCLUDE_FILE): Update documentation.
4325 * ldgram.y (wildcard_spec): Support a list of excluded_files.
4326 (exclude_name_list): New.
4327 ldlang.c (walk_wild_section): Support list of excluded files.
4328 (print_wild_statement): Likewise.
4329 (lang_add_wild): Likewise.
4330 * ldlang.h (lang_wild_statement_type): Likewise.
4331 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
6ddeca85 4332
5aaace27
NC
43332000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
4334
870df5dc
NC
4335 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
4336 (process_def_file): Use.
4337 (pe_dll_compat_implib): New variable.
4338 (make_one): Use.
50bbae35 4339
870df5dc
NC
4340 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
4341 pe_dll_compat_implib.
50bbae35
AM
4342
4343 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
870df5dc
NC
4344 compat-implib options.
4345 (gld_${EMULATION_NAME}_list_options): List new options.
4346 (gld_${EMULATION_NAME}_parse_args): Handle.
4347
50bbae35 4348 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
5aaace27 4349 dll.
50bbae35
AM
4350
4351 * deffilep.y (opt_name): Allow "." in name.
5aaace27 4352
2f6d2f85 4353For older changes see ChangeLog-9899
252b5132
RH
4354\f
4355Local Variables:
4356mode: change-log
4357left-margin: 8
4358fill-column: 74
4359version-control: never
4360End: