Add translations
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
3c62831e
NC
12001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
2
3 * configure.in (ALL_LINGUAS): Add "fr" and "sv"
4 * configure: Regernate.
5 * po/fr.po: New file.
6 * po/sv.po: New file.
7
3a9091c4
NC
82001-11-01 NIIBE Yutaka <gniibe@m17n.org>
9
10 * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls
11 as little endian default and to support big endian.
12
361b220e
CD
132001-11-01 Chris Demetriou <cgd@broadcom.com>
14
15 * ld.texinfo (Options): Document new option, -nostdlib.
16 * lexsup.c (OPTION_NOSTDLIB): New definition.
17 (ld_options): Add entry for "nostdlib".
18 (parse_args): Handle OPTIONS_NOSTDLIB.
19 * ldfile.c (ldfile_add_library_path): Don't add directories
20 to the search path if they weren't specified on the command line
21 and -nostdlib was specified.
22 * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
23
210a7bd1
NC
242001-10-31 Nick Clifton <nickc@cambridge.redhat.com>
25
26 * lexsup.c (parse_args): Prevent infinite parsing loop when
27 "-rpath.a" is specified on the command line.
28 Replace calls to fprintf with calls to einfo.
29
114283d8
NC
302001-10-31 John Marshall <jmarshall@acm.org>
31
32 * ld.texinfo: A historical requirement that MEMORY and SECTIONS
33 appear only once across all the linker scripts involved in a link
34 invocation no longer applies. Make the documentation reflect
35 that.
36
7649aa50
NC
372001-10-31 NIIBE Yutaka <gniibe@m17n.org>
38
39 * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
40 targets.
41 (sh-*-linux*): Added targ_extra_libpath.
42
6e814ff8
AM
432001-10-31 David Heine <dlheine@tensilica.com>
44
45 * ldlang.c (lang_size_sections): Keep a valid output_offset field
46 for padding statements.
47
3c3bdf30
NC
482001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
49
50 * configure.tgt (mmix-*-*): New target.
51 * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o.
52 Add dependencies to match.
53 * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em,
54 emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em,
55 scripttempl/mmo.sc: New files.
56 * gen-doc.texi: @set MMIX.
57 * ld.texinfo: Ditto.
6e814ff8 58 [MMIX] Add MMIX node.
3c3bdf30
NC
59 * Makefile.in: Regenerate.
60
ca0c1d3e
KH
612001-10-29 Kazu Hirata <kazu@hxi.com>
62
63 * ldlang.c: Fix a comment typo.
64
1a3d33ce
AM
652001-10-23 Alan Modra <amodra@bigpond.net.au>
66
67 * configure.host: Move alpha*-*-linux-gnu* entry to generic
68 entries, and match *-*-linux*.
69
b47c4208
AM
702001-10-20 Alan Modra <amodra@bigpond.net.au>
71
72 * ldgram.y (mri_script_command): Surround processing of INCLUDE
73 with ldlex_script, ldlex_popstate.
74 (ifile_p1): Likewise.
75 * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the
76 correct slot.
77 (lex_push_file): Save current lineno to lineno_stack. Set lineno
78 to 1. Don't BEGIN(SCRIPT).
79 (lex_redirect): Similarly.
80 * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
81
fd521b47
NC
822001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
83
84 * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and
85 __EH_FRAME_END__ and accept eh frames into data section.
86 Add ctor and dtor sections.
87
59d28a94
DD
882001-10-19 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
89
90 * pe-dll.c (autofilter_objectlist): Add gcrt0.o.
91 (auto-export): Fix indentation.
92
663dd378
DD
932001-10-18 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
94
95 * pe-dll.c (autofilter_objectlist): Add startup objects
96 for profiling.
97 (auto-export): Constify char * p.
6e814ff8 98 Extract file basename and use strcmp rather than ststr
663dd378
DD
99 for object lookup.
100
31d677f9
CD
1012001-10-18 Chris Demetriou <cgd@broadcom.com>
102
103 * ldmain.c (get_emulation): Improve comment about the handling
104 of -mipsN options.
105
aa200fe8
AM
1062001-10-17 Alan Modra <amodra@bigpond.net.au>
107
108 * po/POTFILES.in: Regenerate.
109
146e7110
AM
1102001-10-16 Vassili Karpov <malc@pulsesoft.com>
111
112 * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
113 -z nocopyreloc and -z nocombreloc usage strings.
114
b4330e85
NC
1152001-10-12 Vassili Karpov <malc@pulsesoft.com>
116
146e7110 117 * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc
b4330e85
NC
118 in usage.
119
5af8a2fb
NC
1202001-10-11 Aleksey Romanov <aromanov@ennovatenetworks.com>
121
122 * scripttempl/armaout.sc: Place .bss section after end of aligned
123 data section to match behaviour of aout code in constructrion of
124 header.
125
5b784096
DD
1262001-10-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
127
128 * pe-dll.c (autofilter_entry_type autofilter_liblist: Add
129 startup files for mingw32 dlls to list.
130
61585df2
CD
1312001-10-10 Chris Demetriou <cgd@broadcom.com>
132
133 * emultempl/elf32.em: Fix shell 'if' usage for portability.
134
45cf6f3e
AH
1352001-10-08 Aldy Hernandez <aldyh@redhat.com>
136
137 * configure.tgt (targ): Add arm9e-*-elf.
138
e24d7c12
L
1392001-10-05 H.J. Lu <hjl@gnu.org>
140
141 * genscripts.sh: Fix a typo in the last change.
142
ec38dd05
JJ
1432001-10-05 Jakub Jelinek <jakub@redhat.com>
144
145 * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
146 -z nocombreloc in usage.
147
cedd6b0d
JB
1482001-10-03 Jim Blandy <jimb@redhat.com>
149
150 * genscripts.sh: Include a comment at the top of each generated
151 script, explaining its purpose.
152
8bd621d8
AM
1532001-10-03 Vassili Karpov <malc@pulsesoft.com>
154
155 * emultempl/elf32.em (parse_args): Handle -z nocopyreloc.
156 * NEWS: Mention -z nocopyreloc.
157 * ld.texinfo (Options): Describe nocopyreloc.
158
fcd8210c
AM
1592001-10-03 Alan Modra <amodra@bigpond.net.au>
160
161 * configure: Regenerate.
162
d32820f2
AM
1632001-10-02 Alan Modra <amodra@bigpond.net.au>
164
165 * ldver.h (ld_program_version): Remove declaration.
166 * lexsup.c (parse_args): Move printing of copyright message..
167 * ldver.c (ldversion): .. to here.
168 Use BFD_VERSION_STRING in place of BFD_VERSION.
169 (ld_program_version): Remove.
170 * Makefile.am (Makefile): Depend on bfd/configure.in.
171 Run "make dep-am".
172 * Makefile.in: Regenerate.
173
af46bcdc
HPN
1742001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
175
176 * Makefile.am: Update dependencies with "make dep-am".
177 * Makefile.in: Regenerate.
178
4818e05f 1792001-09-29 John Reiser <jreiser@BitWagon.com>
862517b6 180
4818e05f
AM
181 * ldlang.c (lang_common): Conditionally inhibit Common allocation.
182 * lexsup.c: Add --no-define-common commandline option.
183 * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
184 * ldlex.l: Likewise.
185 * ld.h: Add command_line.inhibit_common_definition.
186 * ldmain.c (main): Initialize.
187 * ld.texinfo: Document.
862517b6 188
d5e0ebeb
AM
1892001-09-26 Alan Modra <amodra@bigpond.net.au>
190
191 * ldmisc.c (USE_STDARG): Remove.
192 (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
193 (einfo): Likewise.
194 (minfo): Likewise.
195 (lfinfo): Likewise.
196
197 * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
198 declarations. Update copyright.
199
2f8d8971
NC
2002001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
201
85c77458
NC
202 * pe-dll.c: Remove obsoleted declaration of
203 pe_get_data_import_dll_name.
204 (pe_create_import_fixup): Fix thinko.
205
2f8d8971
NC
206 * ld.texinfo(enable-auto-import): Clarify the explanation.
207
2082001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
209
210 * pe-dll.c (pe_create_import_fixup): Revert previous patch.
211 * emultemp/pe.em (pe_data_import_dll): Move definition outside of
212 DLL_SUPPORT controlled code.
213
72358f65 2142001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
146e7110 215
72358f65
NC
216 * emultempl/pe.em(pe_data_import_dll): Make static.
217 (pe_get_data_import_dll_name): New accessor function.
146e7110 218 * pe-dll.c(pe_create_import_fixup): call
72358f65
NC
219 pe_get_data_import_dll_name() from pe.em, instead of
220 directly accessing pe_data_import_dll variable from pe.em.
221
3882b010
L
2222001-09-18 Bruno Haible <haible@clisp.cons.org>
223
224 * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>.
225 (def_file_add_directive): Use ISSPACE instead of isspace.
226 (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
227 isdigit/isxdigit/isalpha/isalnum.
228 * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>.
229 (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
230 * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>.
231 (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
232 isalnum.
233 * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>.
234 (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
235 isupper/tolower.
236 * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>.
237 (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
238 * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>.
239 (ctor_prio): Use ISDIGIT instead of isdigit.
240 * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>.
241 (ldfile_open_file_search): Use ISALPHA instead of isalpha.
242 (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
243 isupper/tolower.
244 * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>.
245 (stricpy): Use TOLOWER instead of isupper/tolower.
246 (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
247 * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>.
248 (lex_warn_invalid): Use ISPRINT instead of isprint.
249 * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>.
250 (main): For gettext, also set the LC_CTYPE locate facet.
251 (add_keepsyms_file): Use ISSPACE instead of isspace.
252 * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>.
253 (is_num, parse_args): Use ISDIGIT instead of isdigit.
254 * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>.
255 (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
256 * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>.
257 (gldppcmacos_read_file): Use ISSPACE instead of isspace.
258 * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>.
259 (quoteput): Use ISSPACE instead of isspace.
260 (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
261 instead of isalnum.
262
db09f25b
AM
2632001-09-18 Alan Modra <amodra@bigpond.net.au>
264
265 * deffilep.y (def_stash_module): Constify "name" param.
266
267 * pe-dll.c: Replace CONST with const throughout.
268 (quick_symbol): Constify "n1", "n2", "n3" params.
269 (make_singleton_name_thunk): Constify "import" param. Make
270 "buffer_len" a size_t.
271 (make_import_fixup_entry): Constify "name", "fixup_name",
272 "dll_symname" params.
273 (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread.
274 (pe_get32): Likewise.
275 (pe_implied_import_dll): Likewise.
276
277 * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
278 (sort_by_section_name): Likewise.
279
280 * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
281 (make_import_fixup): Cast printf arg, rel->address to long rather
282 than int.
283 (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
284
74699268
AM
2852001-09-15 Alan Modra <amodra@bigpond.net.au>
286
287 * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
288 defines BufferSize. Increase buffer size by one.
289
775cabad
NC
2902001-09-14 Ralf Habacker <Ralf.Habacker@freenet.de>
291
292 * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
293
056a1d49
NC
2942001-09-14 Kevin Lo <kevlo@openbsd.org>
295
296 * configure.tgt: Add arm-openbsd target.
297
a7d792bb
L
2982001-09-12 H.J. Lu <hjl@gnu.org>
299
300 * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
301 eelf64lppc.o to ...
302 (ALL_64_EMULATIONS): Here.
303 * Makefile.in: Regenerated.
304
0d888aac
CW
3052001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
306
307 * emultempl/pe.em(make_import_fixup): change signature to
308 take asection as well as arelec; we need this for proper
146e7110 309 error reporting. Only call pe_create_import_fixup() if
0d888aac
CW
310 there is no attempt to add a constant addend to the reloc;
311 otherwise, report error condition.
312 * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
313 since final argument is a pointer to make_import_fixup().
314 Change call to cb() to match make_import_fixup() signature.
315 (make_import_fixup_mark): make buffer_len unsigned.
316 * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
317
3182001-09-12 Charles Wilson <cwilson@ece.gatech.edu>
319
320 * ld.texinfo: add verbose documentation for auto-import
146e7110 321 direct-addressing workaround, to compliment the terse
0d888aac
CW
322 error message.
323
cedacdc0
CM
3242001-09-12 Andrew MacLeod <amacleod@redhat.com>
325
146e7110 326 * scripttempl/v850.sc: Add gcc_except_table sections.
cedacdc0 327
38be0bb1
JL
328Fri Sep 7 11:34:24 2001 Jeffrey A Law (law@cygnus.com)
329
330 * emulparams/h8300helf.sh: Move stack to a much higher memory address.
331 * emulparams/h8300self.sh: Similarly.
332
559e4713
NC
3332001-09-05 Danny Smith <dannysmith@users.souceforge.net>
334
335 * ld.texinfo (Options, --stack): Correct default value for stack
336 reserve.
337
1fdf0249
TR
3382001-09-05 Tom Rix <trix@redhat.com>
339
340 * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
146e7110 341
9b5799b8
AJ
3422001-09-03 Andreas Jaeger <aj@suse.de>
343
344 * emultempl/beos.em: Declare prototypes for comparions functions,
345 adjust definitions.
346
48f6162b
AJ
3472001-09-02 Andreas Jaeger <aj@suse.de>
348
349 * emultempl/aix.em: Add missing prototype.
350 * emultempl/lnk960.em: Likewise.
351 * emultempl/vanilla.em: Likewise.
352 * emultempl/armcoff.em: Likewise.
353 * emultempl/armelf_oabi.em: Likewise.
354 * emultempl/beos.em: Likewise.
355 * emultempl/gld960c.em: Likewise.
356 * emultempl/gld960.em: Likewise.
357
358 * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
359 for prototype declaration.
360
39e5585e
EC
3612001-08-31 Eric Christopher <echristo@redhat.com>
362 Jason Eckhardt <jle@redhat.com>
363
364 * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
365
3fc90ddb
AJ
3662001-08-31 Andreas Jaeger <aj@suse.de>
367
368 * emultempl/pe.em: Add missing prototypes.
369 (gld_${EMULATION_NAME}_after_open): Remove extra args to
370 pe_find_data_imports.
371 (pr_sym): Add unused attribute.
372
d43ded80
PB
3732001-08-29 Joel Sherrill <joel@OARcorp.com>
374
39e5585e 375 * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
d43ded80
PB
376 default from coff to elf.
377
3946dd2f
JL
3782001-08-29 Jeff Law <law@redhat.com>
379
380 * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update
381 ARCH specification.
382 * emulparams/h8300self.sh: Similarly.
383
384Wed Aug 28 13:37:20 2001 J"orn Rennecke <amylaar@redhat.com>
8af6dd41
JR
385
386 * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
387 eh8300self.o .
388 (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
389 * configure.tgt (h8300-*-elf*): New case.
390 * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
391 * emulparams/h8300self.sh: New file.
392 * Makefile.in: Regenerated.
393
70d0c6e9
NC
3942001-08-28 Nick Clifton <nickc@cambridge.redhat.com>
395
396 * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
397 with macro name.
398
5c67d4bb
AM
3992001-08-27 Linus Nordberg <linus@swox.com>
400 Alan Modra <amodra@bigpond.net.au>
401
402 * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
403 (eelf64ppc.c, eelf64lppc.c): Add make targets.
404 Run "make dep-am"
405 * Makefile.in: Regenerate.
406 * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj
407 entries to correct alphabetical position.
408 * emulparams/elf64ppc.sh: New.
409 * emulparams/elf64lppc.sh: New.
410
08131015
NC
4112001-08-27 Nick Clifton <nickc@cambridge.redhat.com>
412
413 * ldmain.c (main): Declare BSIZE as static.
414
db6751f2
JJ
4152001-08-23 Jakub Jelinek <jakub@redhat.com>
416
417 * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
418 into .rel.dyn resp. .rela.dyn if combreloc.
419 (get_script): If .x linker script is equal to .xn, only put it
420 once into the binary.
421 Add .xc and .xsc scripts.
422 (parse_args): Handle -z combreloc and -z nocombreloc.
423 * scripttempl/elf.sc (.rela.sbss): Fix a typo.
424 For .xc and .xsc scripts put all .rel* or .rela* input sections
425 but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
426 * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
427 is elf.
428 Strip trailing whitespace from script.
429 Generate .xc and .xsc scripts if requested.
430 * ldmain.c (main): Initialize link_info.combreloc and
431 link_info.spare_dynamic_tags.
432 * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
433 (ld_options): Add --spare-dynamic-tags option.
434 (parse_args): Likewise.
435 * ld.texinfo: Document -z combreloc and -z nocombreloc.
436 * ldint.texinfo: Document .xc and .xsc linker scripts.
437 * NEWS: Add notes about -z combreloc and SHF_MERGE.
438
63d069c0
L
4392001-08-22 H.J. Lu <hjl@gnu.org>
440
441 * emulparams/elf32fr30.sh: Add a newline.
442
948f9114
AJ
4432001-08-21 Andreas Jaeger <aj@suse.de>
444
445 * deffilep.y: Add missing prototypes.
446 * pe-dll.c: Likewise.
447
ae7fb08f
AM
4482001-08-20 Alan Modra <amodra@bigpond.net.au>
449
2af02257
AM
450 * ldlang.c (insert_pad): Fix typos in last patch.
451
452 * ldlang.c: When traversing lang_statement_union_type lists,
453 consistently use "header.next" rather than "next".
454 * mpw-eppcmac.c: Likewise.
455 * emultempl/beos.em: Likewise.
456 * emultempl/hppaelf.em: Likewise.
457 * emultempl/pe.em: Likewise.
458 * ldlang.h (union lang_statement_union): Remove "next" field.
459
c0c330a7
AM
460 * ldlang.c (insert_pad): Use offsetof macro.
461 (lang_size_sections): Always neuter padding statements.
462 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
463
ae7fb08f
AM
464 * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
465 passed to lang_size_sections.
466 (pe_exe_fill_sections): Likewise.
467 * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
468 (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
469
fab80407
AM
4702001-08-18 Alan Modra <amodra@bigpond.net.au>
471
472 * emultempl/aix.em: Formatting fixes.
473
b3327aad
AM
4742001-08-18 Alan Modra <amodra@bigpond.net.au>
475
476 * ldlang.c (insert_pad): Make use of an existing pad statement if
477 available. Move code calculating alignment, adjusting section
478 alignment power, and adjusting dot to ..
479 (size_input_section): .. here. Remove unused relax param.
480 (lang_size_sections): Change boolean `relax' param to boolean *.
481 Adjust call to size_input_section. Make use of insert_pad to
482 place pad after the assignment statement. If relaxing, zap
483 padding statements.
484 (reset_memory_regions): Reset output_bfd section sizes too.
485 (relax_again): Move to..
486 (lang_process): ..here. Adjust call to lang_size_sections, and
487 remove duplicated code.
488 * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
489
563e308f
AM
4902001-08-17 Alan Modra <amodra@bigpond.net.au>
491
492 * ld.texinfo: Document that fill values now use the four least
493 significant bytes.
494 * emulparams/elf32fr30.sh (NOP): Update.
495 * emulparams/elf32mcore.sh: Likewise.
496 * emulparams/elf64_s390.sh: Likewise.
497 * emulparams/elf_i386.sh: Likewise.
498 * emulparams/elf_i386_be.sh: Likewise.
499 * emulparams/elf_i386_chaos.sh: Likewise.
500 * emulparams/elf_i386_ldso.sh: Likewise.
501 * emulparams/elf_s390.sh: Likewise.
502 * emulparams/elf_x86_64.sh: Likewise.
503 * emulparams/i386moss.sh: Likewise.
504 * emulparams/i386nw.sh: Likewise.
505 * emulparams/m68kelf.sh: Likewise.
506 * scripttempl/elf.sc: Update NOP comment.
507 * scripttempl/elfi370.sc: Likewise.
508 * scripttempl/elfm68hc11.sc: Likewise.
509 * scripttempl/elfm68hc12.sc: Likewise.
510 * scripttempl/nw.sc: Likewise.
511
b90e1c6f
TR
5122001-08-15 Tom Rix <trix@redhat.com>
513
514 * ldgram.y (saved_script_handle): Initialize to NULL.
515 * ldmain.c (main): Change check on saved_script_handle.
948f9114 516
39dcfe18
AM
5172001-08-14 Alan Modra <amodra@bigpond.net.au>
518
cde43e70
AM
519 * emultempl/elf32.em: Formatting fixes.
520 (output_prev_sec_find): Test for bfd_ind_section too; do so by
521 looking at sec->owner.
522 (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
523 (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove
524 unused code, and reorganize orphan section placement code.
525
39dcfe18
AM
526 * ldlang.c (wild_doit): Rename to lang_add_section.
527 * ldlang.h: Here too.
528 * mpw-elfmips.c: And here.
529 * emultempl/beos.em: And here.
530 * emultempl/elf32.em: And here.
531 * emultempl/hppaelf.em: And here.
532 * emultempl/pe.em: And here.
533
908d20b3
RH
5342001-08-13 Richard Henderson <rth@redhat.com>
535
536 * emultempl/needrelax.em: New file.
537 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
538 * Makefile.am (eelf64_ia64.c): Depend on it.
539 * Makefile.in: Rebuild.
540
0f33d40b
AM
5412001-08-13 Alan Modra <amodra@bigpond.net.au>
542
22af9fd3
AM
543 * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
544 output_section is set non-NULL.
545
0f33d40b
AM
546 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
547 `true' for SEC_EXCLUDE sections so that the generic code doesn't
548 needlessly create an output_section_statement. Treat a correctly
549 named output_section_statement with NULL bfd_section as compatible.
550
55ab6103
HPN
5512001-08-13 Hans-Peter Nilsson <hp@bitrange.com>
552
553 * emultempl/generic.em: Support EXTRA_EM_FILE.
554 (ld_${EMULATION_NAME}_emulation): Support emulation parameters
555 LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
556 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
557 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
558 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
559 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
560 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
561 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
562 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
563 LDEMUL_FIND_POTENTIAL_LIBRARIES.
564
24098abb
RH
5652001-08-12 Richard Henderson <rth@redhat.com>
566
567 * scripttempl/elf.sc, scripttempl/elfd30v.sc,
568 scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
569 scripttempl/v850.sc: Keep .jcr data.
570
b9a8de1e 5712001-08-12 H.J. Lu <hjl@gnu.org>
146e7110
AM
572 Andrew Haley <aph@cambridge.redhat.com>
573 Nick Clifton <nickc@redhat.com>
b9a8de1e 574
146e7110 575 * ldgram.y (had_script): Change name to saved_script_handle.
b9a8de1e
NC
576 Change type to file handle.
577 * ld.h (had_script): Rename and retype.
578 * ldfile.c (ldfile_open_command_file): Save the file handle
579 used in saved_script_handle.
580 * lexsup.c (parse_args): Do not allow -c option to alter
581 saved_script_handle.
582 * ldmain.c (main): Print out the linker script used if
583 --verbose is given. Check saved_script_handle to obtain the
584 external linker script used, or if NULL, dump the builtin
585 script.
586 * ld.texinfo: Document that --verbose now dumps the linker
587 script used, regardless of whether it was an internal or an
588 external script.
589
0218d1e4
AJ
5902001-08-10 Andreas Jaeger <aj@suse.de>
591
592 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
593 to build warnings.
594 * configure: Regenerate.
595
5253f23b
AM
5962001-08-09 Alan Modra <amodra@bigpond.net.au>
597
73810896
AM
598 * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
599
5253f23b
AM
600 * scripttempl/elf.sc: Move non-text .dynamic section before
601 .plt/.got/.sdata* group.
602 (OTHER_GOT_SECTIONS): Move to immediately after .got.
603 (OTHER_SDATA_SECTIONS): Add.
604 * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
605 OTHER_GOT_SECTIONS.
606 * emulparams/crislinux.sh: Likewise.
607 * emulparams/elf32b4300.sh: Likewise.
608 * emulparams/elf32bmip.sh: Likewise.
609 * emulparams/elf32bmipn32.sh: Likewise.
610 * emulparams/elf32bsmip.sh: Likewise.
611 * emulparams/elf32btsmip.sh: Likewise.
612 * emulparams/elf32ebmip.sh: Likewise.
613 * emulparams/elf32elmip.sh: Likewise.
614 * emulparams/elf32l4300.sh: Likewise.
615 * emulparams/elf32lmip.sh: Likewise.
616 * emulparams/elf32lsmip.sh: Likewise.
617 * emulparams/elf32ltsmip.sh: Likewise.
618 * emulparams/elf64bmip.sh: Likewise.
619 * emulparams/elf64btsmip.sh: Likewise.
620 * emulparams/elf64ltsmip.sh: Likewise.
621
179c732c
AM
6222001-08-08 Alan Modra <amodra@bigpond.net.au>
623
624 * genscripts.sh: Source the emulparams script before each output
625 script is generated so that variables like `RELOCATING' may affect
626 variables defined in the emulparams script.
627
3fd36710
AM
6282001-08-04 Alan Modra <amodra@bigpond.net.au>
629
20713691
AM
630 * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
631 order.
632
3fd36710
AM
633 * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
634 ie. iterate over wild_statement.section_list.
635 (gld${EMULATION_NAME}_place_orphan): Likewise.
636
de0b1853
SC
6372001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
638
639 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
640 .fini[0-4] sections used by _exit
641 (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
642 (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
643 * scripttempl/elfm68hc11.sc: Likewise.
644
ff7e6f88
L
6452001-08-03 H.J. Lu <hjl@gnu.org>
646
647 * emultempl/beos.em (init): Add the missing initialization.
648
b6bf44ba
AM
6492001-08-03 Alan Modra <amodra@bigpond.net.au>
650
651 * ld.texinfo (Input Section Basics): Clarify ordering of output
652 sections.
653 * ldlang.c (callback_t): Add wildcard_list param.
654 (walk_wild_section): Remove "section" param. Rewrite for
655 lang_wild_statement_type change. Remove unique_section_p test.
656 (walk_wild_file): Remove "section" param.
657 (walk_wild): Remove "section" and "file" params.
658 (lang_gc_wild): Likewise.
659 (wild): Likewise. Modify for lang_wild_statement_type change.
660 (wild_sort): Likewise. Add "sec" param.
661 (gc_section_callback): Likewise.
662 (output_section_callback): Likewise. Do unique_section_p test.
663 (map_input_to_output_sections): Modify call to wild.
664 (lang_gc_sections_1): Likewise.
665 (print_wild_statement): Modify for lang_wild_statement_type
666 change.
667 (lang_add_wild): Replace filename, filenames_sorted param with
668 filespec. Replace section_name, sections_sorted,
669 exclude_filename_list with section_list.
670 * ldlang.h (lang_add_wild): Here too.
671 (lang_wild_statement_type): Replace section_name, sections_sorted,
672 and exclude_filename_list with section_list.
673 * ldgram.y (current_file): Delete.
674 (%union): Add wildcard_list.
675 (file_NAME_list): Set type to wildcard_list. Build a linked list
676 rather than calling lang_add_wild for each entry.
677 (input_section_spec_no_keep): Call lang_add_wild here instead.
678 * ld.h (struct wildcard_list): Declare.
679 * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
680
b044cda1
CW
6812001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
682
683 * ldmain.c (main): initialize link_info.pei386_auto_import
684 * pe-dll.c: new tables for auto-export filtering
685 (auto_export): change API, pass abfd for contextual filtering.
b6bf44ba 686 Loop thru tables of excluded symbols instead of comparing
b044cda1
CW
687 "by hand".
688
6892001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>
690
b6bf44ba
AM
691 * pe-dll.c: new variable pe_dll_enable_extra_debug. New
692 static variable current_sec (static struct sec *). Add
b044cda1 693 forward declaration for add_bfd_to_link.
b6bf44ba
AM
694 (process_def_file): Don't export undefined symbols. Do not
695 export symbols starting with "_imp__". Call auto_export()
b044cda1
CW
696 with new API.
697 (pe_walk_relocs_of_symbol): New function.
698 (generate_reloc): add optional extra debugging
b6bf44ba 699 (pe_dll_generate_def_file): eliminate extraneous initial blank
b044cda1 700 line in output
b6bf44ba 701 (make_one): enlarge symtab to make room for __nm__ symbols
b044cda1
CW
702 (DATA auto-import support).
703 (make_singleton_name_thunk): New function.
704 (make_import_fixup_mark): New function.
705 (make_import_fixup_entry): New function.
706 (pe_create_import_fixup): New function.
b6bf44ba 707 (add_bfd_to_link): Specify that 'name' argument is a CONST
b044cda1 708 char *.
b6bf44ba
AM
709 * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
710 declare new functions pe_walk_relocs_of_symbol and
b044cda1
CW
711 pe_create_import_fixup.
712 * emultempl/pe.em: add new options --enable-auto-import,
713 --disable-auto-import, and --enable-extra-pe-debug.
714 (make_import_fixup): New function.
715 (pe_find_data_imports): New function.
716 (pr_sym): New function.
b6bf44ba 717 (gld_${EMULATION_NAME}_after_open): Add optional extra pe
b044cda1
CW
718 debugging. Call pe_find_data_imports. Mark .idata as DATA, not
719 CODE.
720
7212001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
b6bf44ba 722
b044cda1
CW
723 * ld.texinfo: add additional documentation for
724 --export-all-symbols. Document --out-implib,
725 --enable-auto-image-base, --disable-auto-image-base,
b6bf44ba
AM
726 --dll-search-prefix, --enable-auto-import, and
727 --disable-auto-import.
b044cda1
CW
728 * ldint.texinfo: Add detailed documentation on auto-import
729 implementation.
730
156e34dd
NC
7312001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
732
733 * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
734 example.
735
d6231427
AM
7362001-07-24 Alan Modra <amodra@bigpond.net.au>
737
738 * Makefile.am: Update dependencies with "make dep-am".
739 * Makefile.in: Regenerate
740
e14ec88b
AM
7412001-07-23 Alan Modra <amodra@bigpond.net.au>
742
743 * ldcref.c (check_section_sym_xref): New function.
744 (check_nocrossrefs): Call it.
745 (check_nocrossref): Interate over h->refs here instead of..
746 (check_refs): ..here. Pass in the symbol name, section, and bfd
747 rather than hash_entry pointers.
748 (struct check_refs_info): Keep symbol name rather than hash entry.
749 Remove "same".
750 (check_reloc_refs): Tweak for above changes in check_refs_info.
751 Only report references to section syms when symname is NULL to
752 prevent duplicate messages for the same reloc.
753
1b577b00
NC
7542001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
755
c7d701b0
NC
756 * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
757 available. Do not print NULL trees.
758 (exp_print_token): Print unknown tokens with values > 126 as
759 decimal values not ASCII characters.
760
1545243b
NC
761 * ldlang.c (lang_leave_overlay): If a region is specified assign
762 it to all sections inside the overlay unless they have been
763 assigned to the own, non-default, memory region.
764
1b577b00
NC
765 * README: Add header for consistency with other README files.
766
5030876b
L
7672001-07-14 H.J. Lu <hjl@gnu.org>
768
769 * emultempl/elf32.em (output_prev_sec_find): Never return
770 bfd_abs_section_ptr, bfd_com_section_ptr nor
771 bfd_und_section_ptr.
772
18c7a9a5
NC
7732001-07-14 Nick Clifton <nickc@cambridge.redhat.com>
774
22af9fd3 775 * Makefile.am (em32relf.c): Change dependency from generic.em to
18c7a9a5
NC
776 elf32.em.
777 * Makefile.in: Regenerate.
778
9ffecff1
MG
7792001-07-14 matthew green <mrg@eterna.com.au>
780
781 * configure.tgt (i386-*-netbsdelf*): New target.
782 (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
783
95500e1c
JJ
7842001-07-13 Jakub Jelinek <jakub@redhat.com>
785
786 * emultempl/elf32.em (output_prev_sec_find): New.
787 (place_orphan): Use it.
788
e97cb84f
L
7892001-07-11 H.J. Lu <hjl@gnu.org>
790
791 * ldmain.c (main): Fix typos in the last change.
792
7333607e
JJ
7932001-07-11 Jakub Jelinek <jakub@redhat.com>
794
795 * ldmain.c (main): Disallow -F and -f without -shared.
796
d29d80f2
NC
7972001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
798
799 * emultempl/pe.em (after_open): Check for the output_bfd not
800 having any coff_data structure allocated to it.
801
c2a1a436
DB
8022001-07-09 David O'Brien <obrien@FreeBSD.org>
803
804 * emultempl/elf32.em: Do not assuming that contents of the buffer
805 returned from basename function will remain unchanged accross other
806 function calls.
807
63653551
L
8082001-07-03 H.J. Lu <hjl@gnu.org>
809
810 * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
811 2001-07-03. It creates dynamic entries even for static binaries.
812
d303a449
L
8132001-07-03 Jakub Jelinek <jakub@redhat.com>
814
815 * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
816 (DYNAMIC): Use it to reserve few dynamic entries for
817 post-linking tools.
818
9f22353f
AM
8192001-06-27 Alan Modra <amodra@bigpond.net.au>
820
821 * emulparams/hppa64linux.sh: New file.
822 * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
823 * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
824 (ehppa64linux.c): Add rule to make it.
825 Run "make dep-am".
826 * Makefile.in: Regenerate.
827
62bf86b4
HPN
8282001-06-21 Hans-Peter Nilsson <hp@axis.com>
829
830 * ld.texinfo (Options, -r): Mention restrictions when using
831 different object formats.
832
429d935d
HPN
8332001-06-19 Hans-Peter Nilsson <hp@axis.com>
834
835 * ldlang.c (lang_check): Emit fatal error if relocatable link
836 between different object flavours with relocations in input.
837
cb840a31
L
8382001-06-19 H.J. Lu <hjl@gnu.org>
839
840 * ld.texinfo (-E, --export-dynamic): Mention --version-script.
841 (--version-script): Mention the language support.
842
9bf03acc
L
8432001-06-19 H.J. Lu <hjl@gnu.org>
844
845 * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
846
c45021f2
NC
8472001-06-18 H.J. Lu <hjl@gnu.org>
848
b6bf44ba
AM
849 * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
850 (diststuff): Add $(MANS).
851 * Makefile.in: Regenerated.
c45021f2 852
b6bf44ba 853 * ld.1: Removed.
c45021f2 854
6caa99ab
HPN
8552001-06-18 Hans-Peter Nilsson <hp@axis.com>
856
605d9b3a
HPN
857 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
858 Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
859 * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
860 * ld.h (args_type): Remove member export_dynamic. All users
861 changed to use struct bfd_link_info member.
862
6caa99ab
HPN
863 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
864 $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
865 * Makefile.in: Regenerate.
866
6f9efd97
L
8672001-06-18 H.J. Lu <hjl@gnu.org>
868
869 * ldlang.c (init_os): Add the newline to the einfo call.
870 (lang_check): Likewise.
871 (lang_do_version_exports_section): Likewise.
872
5af9fd8b
L
8732001-06-15 H.J. Lu <hjl@gnu.org>
874
875 * lexsup.c (parse_args); Save optind to report unrecognized
876 option.
877
2a096f04
HPN
8782001-06-15 Hans-Peter Nilsson <hp@axis.com>
879
7e66c3f5
HPN
880 * ldlang.c (lang_check): Emit fatal error if relocatable link
881 between different object flavours.
882
2a096f04
HPN
883 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
884 Set new link_info member export_dynamic.
885 * ldmain.c (main): Initialize new link_info member export_dynamic.
886
6770ec8c
NC
8872001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
888
889 * ldlang.c (walk_wild): Only call walk_wild_file if
890 lookup_name returns something.
b6bf44ba 891 (lookup_name): If load_symbols fails, return NULL.
22af9fd3 892 (load_symbols): Change to a boolean function.
b6bf44ba 893 (open_input_bfds): If load_symbols fails then do not make the
6770ec8c
NC
894 executable.
895
8529105a
AM
8962001-06-08 Alan Modra <amodra@bigpond.net.au>
897
898 * ldlang.c (record_bfd_errors): Remove.
899
900 * emultempl/aix.em: Fix copyright dates.
901
8f3aa7a0
AJ
9022001-06-07 Andreas Jaeger <aj@suse.de>
903
904 * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
905 (TEXT_START_ADDR): Likewise.
906
3277f888
AM
9072001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
908
909 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
910
3763134d
DD
9112001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
912
913 * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
914
5929ebc0
L
9152001-05-31 H.J. Lu <hjl@gnu.org>
916
917 * ldlang.c (open_input_bfds): Don't change the bfd error
918 handler whilst loading symbols.
919
c04a062d
NC
9202001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
921
922 * configure.tgt: Remove i370-mvs architecture, it is not currently
923 supported.
924
96fcab3e
L
9252001-05-25 H.J. Lu <hjl@gnu.org>
926
927 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
928 like emulparams/aixppc.sh.
929
db8d4f23
L
9302001-05-25 H.J. Lu <hjl@gnu.org>
931
932 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
933 setting of output_filename after bfd_scan_arch.
934 * emultempl/pe.em: Likewise.
935
5f642101
L
9362001-05-25 H.J. Lu <hjl@gnu.org>
937
938 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
939 like emulparams/aixppc.sh.
940
941 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
942 instead of ${srcdir}/emultempl/stringify.sed.
943
64e9ece0
TW
9442001-05-25 Timothy Wall <twall@oculustech.com>
945
946 * emulparams/elf64_aix.sh: Change settings to match IBM linker
8f3aa7a0 947 output.
64e9ece0 948
c709b096
AM
9492001-05-25 Alan Modra <amodra@one.net.au>
950
951 * configure.host: Replace linuxoldld with linux*oldld.
952 * configure.tgt: Likewise.
953
6cbdcc6f
L
9542001-05-24 H.J. Lu <hjl@gnu.org>
955
956 * emultempl/stringify.sed: Removed again.
957
86af25fe
L
9582001-05-24 H.J. Lu <hjl@gnu.org>
959
960 * emultempl/aix.em (OUTPUT_ARCH): Defined.
961 (gld${EMULATION_NAME}_before_parse): Initialize
962 ldfile_output_architecture, ldfile_output_machine and
963 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
964 * emultempl/beos.em: Likewise.
965 * emultempl/elf32.em: Likewise.
966 * emultempl/linux.em: Likewise.
967 * emultempl/mipsecoff.em: Likewise.
968 * emultempl/pe.em: Likewise.
969 * emultempl/sunos.em: Likewise.
970
3b1b01cf
TR
9712001-05-24 Tom Rix <trix@redhat.com>
972
8f3aa7a0 973 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
3b1b01cf
TR
974 udate import file format.
975 (change_symbol_mode) New, same
976 (is_syscall) New, same
977 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
978 * emulparams/aixppc64.sh : same
979 * emulparams/aixrs6.sh : same
980 * emulparams/ppcmacos.sh : same
981 * emultempl/aix.em : use strtoull to parse options
982 * Makefile.am : add eaixppc64 emulation for xcoff64
983 * Makefile.in : same
984 * configure.tgt : same
985
986 * scripttempl/aix.sc : default text section offset to 0x10000000
146e7110 987 default data section offset to 0x20000000
3b1b01cf 988 add .sv3264 and .sv64 pseudo sections
8f3aa7a0 989 loader and debug sections use the currect section offset.
3b1b01cf
TR
990
991 * emultempl/aix.em : Add xcoff64 support
992 Add -binitfini support
8f3aa7a0 993 (gld${EMULATION_NAME}_before_parse) -binitfini
3b1b01cf 994 (gld${EMULATION_NAME}_parse_args) same
8f3aa7a0 995 (gld${EMULATION_NAME}_before_allocation) format change for special
3b1b01cf
TR
996 sections
997
998 * emulparams/aixppc64.sh : New file for xcoff64 support
8f3aa7a0 999
57e6abd2
AO
10002001-05-23 Alexandre Oliva <aoliva@redhat.com>
1001
1002 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
1003 variable to avoid non-portable shell construct.
1004
d1cf510e
NC
10052001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1006
1007 * ldmain.c (get_emulation): Add -mips5 command line argument.
1008
506eee22
NC
10092001-05-22 Alexandre Oliva <aoliva@redhat.com>
1010
1011 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
1012 (ELF_INTERPRETER_NAME): Define it.
1013 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
1014 it.
1015 * configure.tgt (targ_emul, targ_extra_emuls)
1016 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
1017 as primary, elf_i386 as extra.
1018 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
1019 (eelf_i386_ldso.c): New rule.
1020 * Makefile.in: Rebuilt.
1021
10222001-05-22 Nick Clifton <nickc@redhat.com>
1023
1024 * lexsup.c (ld_options): Allow -I to be an alias for
1025 --dynamic-linker. This is for Solaris compatability.
1026 * ld.texinfo: Document that -I can be used.
1027 * ld.1: Regenerate.
1028
d1778b88
AM
10292001-05-16 Alan Modra <amodra@one.net.au>
1030
1031 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
1032 whether an input section is the first one assigned to an output
1033 section.
1034 Assorted formatting fixes.
1035
02649152
DD
10362001-05-14 DJ Delorie <dj@delorie.com>
1037
1038 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
1039 * Makefile.in: Ditto.
1040
579f31ac
JJ
10412001-05-11 Jakub Jelinek <jakub@redhat.com>
1042
1043 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
1044 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
1045 output sections.
1046 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
1047
8550eb6e
JJ
10482001-05-11 Jakub Jelinek <jakub@redhat.com>
1049
1050 * ldlang.c (lang_process): Call bfd_merge_sections.
1051
8e5a525c
AM
10522001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1053
1054 * ldgram.y: Fix typo.
1055
1c9acd94
L
10562001-05-03 H.J. Lu <hjl@gnu.org>
1057
1058 * emultempl/elf32.em: Include "libiberty.h".
1059 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
1060 basename of the bfd filename.
1061 (gld${EMULATION_NAME}_stat_needed): Likewise.
1062 (gld${EMULATION_NAME}_try_needed): Likewise.
1063 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
1064
14fe918e
L
10652001-05-02 H.J. Lu <hjl@gnu.org>
1066
1067 * emultempl/pe.em: Include <ctype.h>.
1068
c7e40348
NC
10692001-05-02 Johan Rydberg <jrydberg@opencores.org>
1070
b6bf44ba 1071 * emulparams/elf32openrisc.sh: New file.
c7e40348 1072
b6bf44ba
AM
1073 * Makefile.am: Add OpenRISC target.
1074 * Makefile.in: Regenerated.
c7e40348 1075
b6bf44ba 1076 * configure.tgt: Add openrisc-*-* mapping.
c7e40348
NC
1077
10782001-05-02 Nick Clifton <nickc@redhat.com>
1079
1080 * emultempl/aix.em: Replace buystring with xstrdup.
1081 * emultempl/beos.em: Replace buystring with xstrdup.
8f3aa7a0 1082
d1b2b2dc
L
10832001-05-02 H.J. Lu <hjl@gnu.org>
1084
1085 * ldfile.c: Include "libiberty.h".
1086 * ldlex.l: Likewise.
1087
1088 * ldmisc.c (buystring): Removed.
1089 * ldmisc.h: Likewise.
1090
1091 * ldfile.c: Replace buystring with xstrdup.
1092 * ldlang.c: Likewise.
1093 * ldlex.l: Likewise.
1094 * ldmain.c: Likewise.
1095 * ldmisc.c: Likewise.
1096 * lexsup.c: Likewise.
1097 * mpw-eppcmac.c: Likewise.
1098
35714f2a
AJ
10992001-04-30 Andreas Jaeger <aj@suse.de>
1100
1101 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
1102
884fb58e
NC
11032001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
1104
b6bf44ba
AM
1105 * ldlang.c (load_symbols): Give emulation a chance
1106 to process unrecognized file before fatal error is
1107 reported, not after.
884fb58e 1108
87748b32
NC
11092001-04-27 Sean McNeil <sean@mcneil.com>
1110
1111 * configure.tgt: Add arm-vxworks target.
1112 * scripttempl/armcoff.sc: Support .text or .data as a section name
1113 prefix.
1114 Define _etext.
35714f2a 1115
7ce691ae
C
11162001-04-13 J.T. Conklin <jtc@redback.com>
1117
1118 * ld.texinfo: Document --fatal-warnings.
1119 * ld.1: Regenerate.
1120
1121 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
35714f2a 1122 warnings have been turned into errors.
7ce691ae
C
1123 * lexsup.c (OPTION_WARN_FATAL): Define.
1124 (ld_options): Entry for --fatal-warnings.
1125 (parse_args): Handle OPTION_WARN_FATAL.
1126 * ld.h (ld_config_type): Add fatal_warnings field.
1127
f5fa8ca2
JJ
11282001-04-13 Jakub Jelinek <jakub@redhat.com>
1129
1130 * ldmain.c (main): Default to discard_sec_merge.
1131 * lexsup.c (OPTION_DISCARD_NONE): Define.
1132 (ld_options): Add --discard-none.
1133 (parse_args): Handle OPTION_DISCARD_NONE.
1134 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
1135 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
1136 all its input sections match.
1137
fdec3cfc
L
11382001-04-05 Steven J. Hill <sjhill@cotw.com>
1139
1140 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
1141 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
1142 (eelf32ltsmip.c): New target.
1143 (eelf64btsmip.c): Likewise.
1144 (eelf64ltsmip.c): Likewise.
1145 * Makefile.in: Regenerated.
1146
1147 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
1148 target.
1149 (mips*-*-linux-gnu*): Likewise.
1150
1151 * emulparams/elf32ltsmip.sh: New. Traditional little endian
1152 MIPS taget.
35714f2a 1153 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
fdec3cfc
L
1154 target.
1155 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
1156 endian target.
1157
589bad82
HPN
11582001-04-05 Hans-Peter Nilsson <hp@axis.com>
1159
1160 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
1161 correct value of __Stext here.
1162 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
1163 .startup section.
1164
1165 * emulparams/crislinux.sh: Remove FIXME.
1166
94202e16
AM
11672001-04-02 Alan Modra <alan@linuxcare.com.au>
1168
1169 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
1170 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
1171
1268a053
HPN
11722001-03-27 Hans-Peter Nilsson <hp@axis.com>
1173
1174 * configure.tgt (cris-*-*): Change default emulation to criself.
1175 (cris-*-*aout*): New rule.
1176
d85e9ff7
AM
11772001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com>
1178
1179 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
1180 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
1181
0879a67a
AJ
11822001-03-26 Andreas Jaeger <aj@suse.de>
1183
1184 * ld.texinfo (Overview): Fix syntax in texi code.
1185
0285c67d
NC
11862001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1187
1188 * ld.texinfo: Put @c man indications to generate the ld man page.
1189 When generating man, define all the variables. Define SEEALSO
1190 and SYNOPSIS. Re-organize some lines to avoid the cross references.
1191 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
1192 (ld.1): Generate from ld.texinfo.
1193 * Makefile.in: Regenerate.
1194
c20ec07b
NC
11952001-03-23 Mark Elbrecht <snowball3@bigfoot.com>
1196
1197 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
146e7110 1198 and '-fdata-sections'. Set the VMA of STABS sections to zero.
c20ec07b 1199
cc5ce052
UD
12002001-03-17 Ulrich Drepper <drepper@redhat.com>
1201
1202 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
1203 is an absolute path look only for this file and not along the path.
1204
a1ab1d2a
UD
12052001-03-17 Ulrich Drepper <drepper@redhat.com>
1206
1207 * emultempl/elf32.em (OPTION_GROUP): New macro.
1208 Add new option Bgroup to longopts.
1209 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
1210 (gld*_list_options): Add -Bgroup and -z defs.
1211 * ld.1: Document -Bgroup and -z defs.
1212 * ld.texinfo: Likewise.
1213
788fca5a
MM
12142001-03-07 Michael Meissner <meissner@redhat.com>
1215
1216 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
1217 with sections created by -fdata-sections.
1218 (.dynbss,.bss): Ditto.
1219
1c7566d1
AM
12202001-03-05 Alan Modra <alan@linuxcare.com.au>
1221
1222 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
1223 after_allocation_default, not gld..._before_allocation.
1224
27b7e12d
AM
12252001-02-27 Alan Modra <alan@linuxcare.com.au>
1226
1227 * configure.in (BFD_VERSION): New.
1228 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1229 * configure: Regenerate.
1230 * Makefile.am: Run "make dep-am"
1231 * Makefile.in: Regenerate.
1232
2bc551c7
TW
12332001-02-26 Timothy Wall <twall@cygnus.com>
1234
1235 * emulparams/elf64_aix.sh: Add additional read-only sections;
1236 uncomment lines which are now required.
1237
1276aefa
NC
12382001-02-26 H.J. Lu <hjl@gnu.org>
1239
1240 * ldlang.c (open_input_bfds): Set the bfd error handler so
b6bf44ba
AM
1241 that problems can be caught whilst loading symbols.
1242 (record_bfd_errors): New function: Report BFD errors and mark
1243 the executable output as being invalid.
1276aefa 1244
41c49998
TW
12452001-02-22 Timothy Wall <twall@cygnus.com>
1246
1247 * configure.host: Add configuration for ia64-*-aix*.
1248 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
1249 Add dependencies for eelf64_aix.c.
1250 * Makefile.in: Regenerate.
1251 * configure.tgt: Add ia64-*-aix* mapping.
1252 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
a2b64bed 1253 * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
0879a67a
AJ
1254 AIX-specific test.
1255
78f85fd7
L
12562001-02-20 H.J. Lu <hjl@gnu.org>
1257
1258 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
1259 false if we found the file.
1260
1ac7e077 12612001-02-18 David O'Brien <obrien@FreeBSD.org>
fb33b906
DB
1262
1263 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
1264 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
1265
e135f41b
NC
12662001-02-18 lars brinkhoff <lars@nocrew.org>
1267
1268 * Makefile.am: Add PDP-11 target.
1269 * configure.tgt: Likewise.
1270 * emulparams/pdp11.sh: New file.
1271
a842aceb
DB
12722001-02-17 David O'Brien <obrien@FreeBSD.org>
1273
1274 * configure.host: Add a generic FreeBSD configuration entry such that
1275 all [modern] FreeBSD systems on all platforms will look the same.
1276
24174db0
L
12772001-02-14 H.J. Lu <hjl@gnu.org>
1278
1279 * configure.tgt: Remove mention of earmelf_linux26.
1280
30c3c13a
RH
12812001-02-13 Richard Henderson <rth@redhat.com>
1282
1283 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
1284
b46a87b1
L
12852001-02-13 H.J. Lu <hjl@gnu.org>
1286
1287 * ldexp.h (node_type): Add etree_provided.
1288 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
1289 type to etree_provided if defined by PROVIDE. Allow updating
0879a67a 1290 for etree_provided.
b46a87b1
L
1291 (exp_print_tree): Handle etree_provided.
1292 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
1293 etree_provided.
1294
f3988fd9
RH
12952001-02-09 David Mosberger <davidm@hpl.hp.com>
1296
1297 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
1298 .IA_64.unwind.* pattern to unwind table section and
1299 .IA_64.unwind_info* pattern to unwind info section.
1300
a85d7ed0
NC
13012001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1302
1303 * Makefile.am: Add linux target for S/390.
1304 * Makefile.in: Likewise.
1305 * configure.host: Likewise.
1306 * configure.tgt: Likewise.
1307 * emulparams/elf64_s390.sh: New file.
1308 * emulparams/elf_s390.sh: New file.
1309
780248c4
JJ
13102001-02-09 Jakub Jelinek <jakub@redhat.com>
1311
1312 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
1313 targ_extra_libpath.
1314 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
1315
0e2534bd
PB
13162001-02-06 Philip Blundell <philb@gnu.org>
1317
1318 * Makefile.am: Remove mention of earmelf_linux26.
1319 * Makefile.in: Regenerate.
1320
46c1ea57
PB
13212001-02-04 Philip Blundell <philb@gnu.org>
1322
1323 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
1324 * emulparams/armelf_linux26.sh: Delete.
1325 * configure.tgt: Remove mention of armelf_linux26 emulation.
1326
0088edd2
NC
13272001-02-01 Nick Clifton <nickc@redhat.com>
1328
1329 * ld.1: Replace occurances of -oformat with --oformat.
1330
02aa14fb
AM
13312001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
1332
1333 * ldlang.c (lang_leave_overlay): Don't set lma_region when
1334 load_base is specified.
1335
f813923c
HPN
13362001-01-24 Hans-Peter Nilsson <hp@axis.com>
1337
1338 * emultempl/elf32.em: Correct spelling in comments and listed
1339 options.
1340
c1eb1488
AM
13412001-01-23 Alan Modra <alan@linuxcare.com.au>
1342
1343 * ldlang.c (lang_leave_overlay): Only set lma_region from the
1344 default for the first section of a group of overlay sections.
1345
d9fc3714
AM
13462001-01-22 Alan Modra <alan@linuxcare.com.au>
1347
1348 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
1349 * Makefile.in: Regenerate.
1350 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
1351 Check for null tool_dir.
1352
6be0ca94
JW
13532001-01-16 Jim Wilson <wilson@redhat.com>
1354
1355 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
1356 and IA_64.unwind.info.
1357
b9247304
L
13582001-01-16 H.J. Lu <hjl@gnu.org>
1359
1360 * ldlang.c (lang_check): Merge the private data only if the
1361 input file has contents.
1362
577a0623
AM
13632001-01-14 Alan Modra <alan@linuxcare.com.au>
1364
d952f17a
AM
1365 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
1366
ffd6e9de
AM
1367 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
1368 enabling search for libmilli. On a relocatable link, make .text
1369 sections unique.
1370 (LDEMUL_AFTER_PARSE): Define.
1371 (hppaelf_finish): Correct spelling of relocatable in comments.
1372
577a0623
AM
1373 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1374 rummage through the script for sections on the unique list.
1375 Correct length of strncmp for ".note".
1376 (gld${EMULATION_NAME}_check_needed): Rearrange function.
1377
1378 * ldlang.c (unique_section_list): New var.
1379 (unique_section_p): New function.
1380 (walk_wild_section): Don't match sections on unique_section_list.
1381 (lang_add_unique): New function.
ffd6e9de 1382 Correct spelling of relocatable in comments.
577a0623
AM
1383
1384 * ldlang.h (struct unique_sections): Declare.
1385 (unique_section_list): Declare.
1386 (unique_section_p): Declare.
1387 (lang_add_unique): Declare.
1388
1389 * lexsup.c (ld_options): Allow --unique to take an optional arg.
1390 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
1391
1392 * ld.texinfo (--unique): Update.
1393
b7ed8fad
NC
13942001-01-13 Nick Clifton <nickc@redhat.com>
1395
1396 * lexsup.c (parse_args): Remove spurious white space.
1397
d0398d6a
NC
13982001-01-12 Nick Clifton <nickc@redhat.com>
1399
1400 * lexsup.c (parse_args): Update copyright date.
1401
350fdb00
PB
14022001-01-12 Philip Blundell <pb@futuretv.com>
1403
1404 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
1405
60c6797e
KH
14062001-01-10 Kazu Hirata <kazu@hxi.com>
1407
1408 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
1409 * scripttempl/h8300h.sc: Fix formatting.
1410 * scripttempl/h8300s.sc: Likewise.
69f06969
KH
1411 * scripttempl/h8500.sc: Likewise.
1412 * scripttempl/h8500b.sc: Likewise.
1413 * scripttempl/h8500c.sc: Likewise.
1414 * scripttempl/h8500m.sc: Likewise.
1415 * scripttempl/h8500s.sc: Likewise.
60c6797e 1416
482e8b32
DB
14172000-01-07 David O'Brien <obrien@BSDi.com>
1418
1419 * emultempl/elf32.em: Only perform Linux ld hints processing when
1420 targeting Linux.
1421
d7ed7ca6
PB
14222001-01-07 Philip Blundell <philb@gnu.org>
1423
1424 * ld.texinfo (Bug Reporting): Update email address for reports.
1425
0fc3347a
NC
14262000-12-31 Nick Clifton <nickc@redhat.com>
1427
1428 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
1429 options by checking for a return value of '?' not -1.
1430
e4897a32
NC
14312000-12-28 Nick Clifton <nickc@redhat.com>
1432
1433 * lexsup.c (struct ld_option): Add new enum value:
1434 EXACTLY_TWO_DASHES.
1435 (ld_options[]): Change -omagic, -output and -oformat options
1436 to be EXACTLY_TWO_DASHES.
1437 (OUTPUT_COUNT): Use ARRAY_SIZE.
1438 (parse_args): Change parameter 'argc' to unsigned.
1439 Place EXACTLY_TWO_DASHES options into new really_longopts
1440 array.
1441 If getopt_long_only fails, try calling getopt_long using the
1442 really_longopts array.
1443 (help): Print a double dash for both EXACTLY_TWO_DASHES and
1444 TWO_DASHES options.
1445
1446 * ldlex.h: Fix prototype of parse_args.
1447
1448 * ld.texinfo: Document that long options starting with 'o'
1449 must be preceeded by two dashes. Change example of a single
1450 dashed long option from -oformat to -trace-symbol.
1451
1122a5fc
NC
14522000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1453
1454 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
1455 (longopts[]): New --no-default-excludes option.
1456 (gld_${EMULATION_NAME}_list_options): Document.
1457 (gld_${EMULATION_NAME}_parse_args): Handle.
1458
037849a9
NC
14592000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1460
1461 * ldlang.c (new_stat): Revert the last beautification with "innocent"
1462 whitespace, it breaks the K&R C preprocessor.
1463
7ec229ce
DD
14642000-12-11 DJ Delorie <dj@redhat.com>
1465
1466 * ld.texinfo: Add notes about --whole-archive and gcc.
1467
b79e8c78
NC
14682000-11-18 Fred Fish <fnf@be.com>
1469
1470 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
1471 (ld_options): Entry for --allow-shlib-undefined.
1472 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
1473 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
1474 to false.
1475 * ld.texinfo: Document new command line switch.
d952f17a 1476
9a8e2505
GK
14772000-12-12 Geoffrey Keating <geoffk@redhat.com>
1478
1479 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
1480 .fixup is actually read/write.
1481 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
1482 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
1483 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
1484
b8355149
JH
1485Mon Dec 11 14:50:33 MET 2000 Jan Hubicka <jh@suse.cz>
1486
1487 * NEWS: Add note about x86_64 architecture.
1488
93b63cd3
DD
14892000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
1490
1491 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
1492 Set DWARF2 sections to a VMA of zero.
1493
24f6971a
NC
14942000-12-01 Joel Sherrill <joel@OARcorp.com>
1495
d952f17a 1496 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
24f6971a
NC
1497 New targets.
1498 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
1499 (sparc*-*-rtems*): Switched from a.out to ELF.
1500
2be3aa03
NC
15012000-11-30 Jan Hubicka <jh@suse.cz>
1502
1503 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
1504 (eelf_x86_64.c): New.
1505 * Makefile.in: Regenerate.
1506 * configure.tgt: Add support for x86_64-*-linux-gnu*.
1507 * emulparams/elf_x86_64.sh: New.
1508
8c899858
HPN
15092000-11-30 Hans-Peter Nilsson <hp@axis.com>
1510
1511 * emulparams/crislinux.sh (ENTRY): Change back to _start.
1512 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
1513
1514 * scripttempl/crisaout.sc: Change all RELOCATING not related to
1515 merging non-a.out sections into CONSTRUCTING.
1516
e47b9e39
NC
15172000-11-28 Nick Clifton <nickc@redhat.com>
1518
1519 * ld.1 (COPYING): Mention that the GNU Free Documentation
1520 License is present in the sources, but not the output, and
1521 also available from the GNU website.
1522 (GNU Free Documentation License): Comment out this section.
1523
ad95f82a
DB
15242000-11-28 David O'Brien <obrien@dragon.nuxi.com>
1525
1526 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
1527 does not use them.
1528
fd89e65f
DB
15292000-11-25 David O'Brien <obrien@FreeBSD.org>
1530
1531 * ld.1: Remove old date so it does not give the impression the manpage
1532 is way out of date.
1533
077b8428
NC
15342000-11-24 Nick Clifton <nickc@redhat.com>
1535
1536 * configure.tgt (xscale-coff): Add target.
1537 (xscale-elf): Add target.
1538
49425d28
NC
15392000-11-24 Fred Fish <fnf@be.com>
1540
d952f17a
AM
1541 * ldmain.c (main): Remove redundant init of config.make_executable
1542 to true.
49425d28 1543
d3480244
RH
15442000-11-15 Richard Henderson <rth@redhat.com>
1545
1546 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
1547
1ce7de8b
KH
15482000-11-14 Kazu Hirata <kazu@hxi.com>
1549
1550 * scripttempl/h8300.sc: Fix formatting.
1551 * scripttempl/h8300h.sc: Likewise.
1552 * scripttempl/h8300s.sc: Likewise.
1553
208d5cd0
DC
1554Tue Nov 14 00:59:19 2000 Denis Chertykov <denisc@overta.ru>
1555
1556 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
1557
2e418547
PB
15582000-11-09 Philip Blundell <pb@futuretv.com>
1559
1560 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
1561 around orphan sections whose names can be represented in C.
1562
c940e6fc
JW
15632000-11-07 Jim Wilson <wilson@redhat.com>
1564
1565 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
1566 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
1567
704c465c
NC
15682000-11-06 Nick Clifton <nickc@redhat.com>
1569
1570 * ld.texinfo: Add GNU Free Documentation License.
1571 * ldint.texinfo: Add GNU Free Documentation License.
cf055d54 1572 * ld.1: Add GNU Free Documentation License.
704c465c 1573
dca7760f
AM
15742000-11-05 Alan Modra <alan@linuxcare.com.au>
1575
1576 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
1577 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
1578
1579 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
1580 Move 2000-11-02 Makefile.in changes to this file.
1581 * Makefile.in: Regenerate.
1582
40a633d5
NC
15832000-11-03 Nick Clifton <nickc@redhat.com>
1584
1585 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
1586 constructors and destructors.
1587 * scripttempl/h8300h.sc: Ditto.
1588 * scripttempl/h8300s.sc: Ditto.
1589 * scripttempl/h8500.sc: Ditto.
1590 * scripttempl/h8500b.sc: Ditto.
1591 * scripttempl/h8500c.sc: Ditto.
1592 * scripttempl/h8500m.sc: Ditto.
1593 * scripttempl/h8500s.sc: Ditto.
1594 * scripttempl/v850.sc: Ditto.
1595 * scripttempl/w65.sc: Ditto.
1596 * scripttempl/z8000.sc: Ditto.
1597
59ff2774
NC
15982000-11-02 Per Lundberg <plundis@chaosdev.org>
1599
1600 * Makefile.in (e_i386_chaos.c): New rule.
1601 (ALL_EMULATIONS): Added e_i386_chaos.o.
1602 * emulparams/elf_i386_chaos.sh: New file.
1603 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
1604
645571e1
JJ
16052000-10-20 Jakub Jelinek <jakub@redhat.com>
1606
1607 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
1608 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
1609 Fix sed invocation, so that it coped with '/' in Solaris 64bit
1610 library path suffix.
1611 Based on patch by Andrew Macleod <amacleod@cygnus.com>.
1612
c5975a45
HPN
16132000-10-18 Hans-Peter Nilsson <hp@axis.com>
1614
1615 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
1616 for consecutive sections.
1617
ea20a7da
CC
16182000-10-17 Chandrakala Chavva <cchavva@redhat.com>
1619
d952f17a
AM
1620 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
1621 options.
1622 * ld.texinfo: Added notes about this new option.
ea20a7da 1623
6e45556a
NC
16242000-10-16 Nick Clifton <nickc@redhat.com>
1625
1626 * emultempl/pe.em (_after_open): Add tests of return values from
1627 bfd functions. Emit appropriate error messages if necessary.
1628
b9a69188
NC
16292000-10-13 Nick Clifton <nickc@redhat.com>
1630
1631 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
102c86f8
NC
1632 local variables - they are not used, but leave in the call to
1633 bfd_canonicalize_symtab.
b9a69188
NC
1634 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
1635 pe_dll_search_prefix.
1636
627427de 16372000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
d952f17a 1638
627427de
DD
1639 * emultempl/pe.em (pe_dll_search_prefix): New variable,
1640 (longopts): New --dll-search-prefix option.
1641 (gld_${EMULATION_NAME}_list_options): Document.
1642 (gld_${EMULATION_NAME}_parse_args): Handle.
1643 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
1644 dynamically, search for a dll named '<prefix><basename>.dll'
1645 in preference to 'lib<basename>.dll' if --dll-search-prefix
1646 is specified.
1647
24376d1b
AM
16482000-10-12 Alan Modra <alan@linuxcare.com.au>
1649
1650 * ldlang.c (section_already_linked): Set kept_section instead of
1651 sec->comdat->sec.
1652
e47d05ad
KH
16532000-10-10 Kazu Hirata <kazu@hxi.com>
1654
1655 * deffile.h: Fix formatting.
1656 * lexsup.c: Likewise.
1657 * mri.c: Likewise.
1658
23a87948
DD
16592000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
1660
1661 * pe-dll.c (make_one): Do not generate code thunk for DATA
1662 exports.
1663 (process_def_file): deduce DATA flag for auto-export sumbols.
1664
86b1cc60
KH
16652000-10-09 Kazu Hirata <kazu@hxi.com>
1666
89cdebba
KH
1667 * ld.h: Fix formatting.
1668 * ldcref.c: Likewise.
1669 * ldctor.h: Likewise.
1670 * ldemul.c: Likewise.
1671 * ldemul.h: Likewise.
1672 * ldexp.c: Likewise.
1673 * ldexp.h: Likewise.
1674 * ldfile.c: Likewise.
1675 * ldfile.h: Likewise.
1676 * ldlang.c: Likewise.
1677 * ldlang.h: Likewise.
1678 * ldmain.c: Likewise.
7bfd51a3
KH
1679 * pe-dll.c: Likewise.
1680
1681 * pe-dll.c: Revert some formatting fixes.
86b1cc60 1682
d643799d
KH
16832000-10-08 Kazu Hirata <kazu@hxi.com>
1684
1685 * pe-dll.c: Fix formatting.
1686
08da4cac
KH
16872000-10-05 Kazu Hirata <kazu@hxi.com>
1688
1689 * ldlang.c: Fix formatting.
1690
c2a94a7a
DD
16912000-10-03 DJ Delorie <dj@redhat.com>
1692
1693 * pe-dll.c (fill_edata): initialize entire block
1694 (make_one): fill in correct section.
1695
8c95a62e
KH
16962000-10-03 Kazu Hirata <kazu@hxi.com>
1697
1698 * ldexp.c: Fix formatting.
1699
486e80e2
DD
17002000-10-02 DJ Delorie <dj@redhat.com>
1701
1702 * emultempl/pe.em (gld_*_after_open): detect case where there two
1703 import libraries for same dll; rename one to ensure proper link
1704 order.
1705
1706 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
1707 typo
1708 (generate_edata): fix typo
1709
24dd9f75
HPN
17102000-09-29 Hans-Peter Nilsson <hp@axis.com>
1711
1712 * scripttempl/crisaout.sc (ENTRY): Now __start.
1713 (.text): Add default setting for __start.
1714 Remove CONSTRUCTORS handling.
1715 (/DISCARD/): Add .gnu.warning.*.
1716 * emulparams/crislinux.sh (ENTRY): Now __start.
1717 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
1718 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
1719 (ENTRY): Now __start.
1720 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
1721 (EXECUTABLE_SYMBOLS): Add default setting for __start.
1722
4de2d33d
KH
17232000-09-29 Kazu Hirata <kazu@hxi.com>
1724
5cc18311
KH
1725 * deffile.h: Fix formatting.
1726 * ld.h: Likewise.
1727 * ldcref.c: Likewise.
4de2d33d 1728 * ldctor.c: Likewise.
5cc18311 1729 * ldctor.h: Likewise.
4de2d33d 1730 * ldemul.c: Likewise.
5cc18311 1731 * ldemul.h: Likewise.
4de2d33d 1732 * ldexp.c: Likewise.
5cc18311 1733 * ldexp.h: Likewise.
4de2d33d 1734 * ldfile.c: Likewise.
5cc18311 1735 * ldfile.h: Likewise.
4de2d33d 1736 * ldlang.c: Likewise.
5cc18311
KH
1737 * ldlang.h: Likewise.
1738 * lexsup.c: Likewise.
1739 * mri.c: Likewise.
1740 * pe-dll.c: Likewise.
4de2d33d 1741
45b1f63c
DD
17422000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
1743
1744 * pe-dll.c (process_def_file): Uninitialized data wasn't
1745 exported with --export-all-symbols switch.
d952f17a 1746
45b1f63c
DD
17472000-09-28 DJ Delorie <dj@redhat.com>
1748
1749 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
1750 noname work properly.
1751
47d89dba
AM
17522000-09-28 Alan Modra <alan@linuxcare.com.au>
1753
1754 * ld.texinfo (HPPA ELF32): New section.
1755
1756 * emultempl/hppaelf.em (group_size): New.
1757 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
1758 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
1759 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
1760 options to prevent abbreviations matching.
1761 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
1762 (PARSE_AND_LIST_ARGS_CASES): Handle it.
1763
36bdbeec
NC
17642000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1765
1766 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
1767 on the m68*-*-elf target. Make it support COFF input objects.
1768
6d5e62f8
KH
17692000-09-21 Kazu Hirata <kazu@hxi.com>
1770
1771 * ldmain.c: Fix formatting.
1772 * ldmisc.c: Likewise.
1773 * ldver.c: Likewise.
1774 * ldwrite.c: Likewise.
1775
e2eb67d9
AM
17762000-09-21 Alan Modra <alan@linuxcare.com.au>
1777
1778 * ldwrite.c (clone_section): Silence gcc warnings.
1779
b3ea3584
AM
17802000-09-20 Alan Modra <alan@linuxcare.com.au>
1781
1782 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
1783 out of memory failure.
1784
1785 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
1786 (clone_section): Handle out of memory failures. Rename var to
1787 avoid c++ reserved word.
1788
25f72752
AM
17892000-09-18 Alan Modra <alan@linuxcare.com.au>
1790
1791 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
1792 stub_name param to stub_sec_name.
1793 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
1794
0752970e
NC
17952000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1796
1797 * emultempl/m68kelf.em: New file.
1798 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
1799 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
1800 * Makefile.in: Regenerate.
1801
92b7e9d8
AM
18022000-09-15 Alan Modra <alan@linuxcare.com.au>
1803
1804 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
1805 only as needed.
1806
9b14b192
NC
18072000-09-13 Nick Clifton <nickc@redhat.com>
1808
1809 * ldmain.c (multiple_definition): Disable relaxation if
1810 multiple symbol definitions are encountered - otherwise the
1811 linker could abort with an assertion failure.
1812
891fa266
NC
18132000-09-10 Nick Clifton <nickc@redhat.com>
1814
1815 * mri.c: Fix formatting.
1816
5d64ca4e
L
18172000-09-07 H.J. Lu <hjl@gnu.org>
1818
1819 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1820 * configure: Rebuild.
1821
dd94604f
L
18222000-09-07 H.J. Lu <hjl@gnu.org>
1823
1824 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
1825 * Makefile.in: Rebuild.
1826
71bfc0ae
AM
18272000-09-07 Alan Modra <alan@linuxcare.com.au>
1828
1829 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
1830 broken list handling. Create __start_SECNAME and __stop_SECNAME
1831 when no place-holder. Add some comments. Test both SEC_CODE and
1832 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
ed15ac6a 1833 Handle case where no output section statement created.
71bfc0ae 1834
4a428502
AO
18352000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
1836
1837 * configure.tgt (sh-*-linux*): Added.
1838 * Makefile.am: Added eshelf_linux and eshlelf_linux.
1839 * Makefile.in: Rebuilt.
1840 * emulparams/shelf_linux.sh: New file.
1841 * emulparams/shlelf_linux.sh: New file.
1842
f9989030
AM
18432000-09-06 Alan Modra <alan@linuxcare.com.au>
1844
1845 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1846 try shuffling sections when the orphan happens to be the place
1847 holder. Keep count of unique section names generated so we speed
1848 the search for a new name.
1849
58cccadb
AO
18502000-09-06 Alexandre Oliva <aoliva@redhat.com>
1851
1852 * configure: Rebuilt with new libtool.m4.
1853
5b343f5a
NC
18542000-09-05 Nick Clifton <nickc@redhat.com>
1855
1856 * Makefile.in: Regenerate.
1857 * aclocal.m4: Regenerate.
1858 * configure: Regenerate.
1859 * config.in: Regenerate.
1860 * po/ld.pot: Regenerate.
1861
1862 * ldint.texinfo: Remove CVS revision marker - it foils local
1863 comparisons.
1864
1865 * emultempl/ticoff.em: Remove extraneous comma.
50bbae35 1866
a854a4a7
AM
18672000-09-05 Alan Modra <alan@linuxcare.com.au>
1868
3231d22e
AM
1869 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
1870 to stub section flags.
1871 (hppa_for_each_input_file_wrapper): New.
1872 (hppa_lang_for_each_input_file): New.
1873 (lang_for_each_input_file): Define to call above.
1874 (multi_subspace): New.
1875 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
1876 (PARSE_AND_LIST_PROLOGUE): Define.
1877 (PARSE_AND_LIST_LONGOPTS): Define.
1878 (PARSE_AND_LIST_OPTIONS): Define.
1879 (PARSE_AND_LIST_ARGS_CASES): Define.
1880 (hppaelf_finish): Call elf32_hppa_set_gp.
1881 (hppaelf_set_output_arch): Remove.
1882 (LDEMUL_SET_OUTPUT_ARCH): Remove.
1883
1884 * emulparams/hppalinux.sh (ELFSIZE): Define.
1885 (MACHINE): Define.
1886 (OTHER_READONLY_SECTIONS): Define.
1887 (DATA_PLT): Define.
1888 (GENERATE_SHLIB_SCRIPT): Define.
1889
5f992e62
AM
1890 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
1891 to const throughout. Change `void *' to `PTR' throughout.
1892 (lang_memory_default): Function is local to file, add `static'.
1893
1894 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
1895 (ehppalinux.c): Likewise.
1896 (earmelf.c): Likewise.
1897 (earmelf_linux.c): Likewise.
1898 (earmelf_linux26.c): Likewise.
1899 * Makefile.in: Regenerate.
1900
a854a4a7
AM
1901 * ld.h (ld_config_type): Add unique_orphan_sections.
1902 * lexsup.c (OPTION_UNIQUE): Define.
1903 (ld_options): Add "--unique".
1904 (parse_args): Handle it.
1905 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1906 search for an existing output section if unique_orphan_sections is
1907 set. Make use of bfd_get_unique_section_name rather than
1908 duplicating code here.
1909 * ld.texinfo: Describe --unique.
1910
1911 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
1912 optional arg to split-by-file.
1913 (parse_args): Handle them.
1914 * ld.texinfo: Update description of these options.
1915 * ldwrite.c (clone_section): Pass in the section name. Replace
1916 local code with bfd_get_unique_section_name.
1917 (split_sections): Tidy code and comments. Use a list traversal
1918 more appropriate to the list construction. Handle cooked section
1919 sizes. Split when split_by_reloc reached rather than exceeded.
1920 Track section size and split when split_by_file reached. Fix
1921 link_order_tail (even though it's not used).
1922 (ldwrite): Modify condition for calling split_sections to suit
1923 changed split_by_reloc and split_by_file.
1924 * ldmain.c (main): Init config.split_by_reloc and
1925 config.split_by_file to -1.
1926 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
1927 Change split_by_file to bfd_size_type.
1928
18e03609
NC
19292000-09-02 Nick Clifton <nickc@redhat.com>
1930
1931 * configure.in: Increase version number to 2.10.91.
1932 * NEWS: Mention new ability to support removal of duplicate DWARF2
1933 debug information.
1934 * configure: Regenerate.
1935 * aclocal.m4: Regenerate.
1936 * config.in: Regenerate.
1937
3a9d486c
NC
19382000-09-02 Daniel Berlin <dberlin@redhat.com>
1939
1940 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
1941 sections.
a2b64bed 1942 * scripttempl/elf32avr.sc: Ditto.
3a9d486c
NC
1943 * scripttempl/elfd10v.sc: Ditto.
1944 * scripttempl/elfd30v.sc: Ditto.
1945 * scripttempl/elfi370.sc: Ditto.
1946 * scripttempl/elfm68hc11.sc: Ditto.
1947 * scripttempl/elfm68hc12.sc: Ditto.
1948 * scripttempl/elfi386beos.sc: Ditto.
1949 * scripttempl/v850.sc: Ditto.
50bbae35 1950
ac48eca1
AO
19512000-08-31 Alexandre Oliva <aoliva@redhat.com>
1952
1953 * acinclude.m4: Include libtool and gettext macros from the
1954 top level.
1955 * aclocal.m4, configure: Rebuilt.
1956
c13b1b77
NC
19572000-08-25 Nick Clifton <nickc@redhat.com>
1958
1959 * ldlang.c (open_output): When choosing the target for a
1960 particular endianness, do nothing if the target is not
1961 supported.
1962
dcb0bd0e
L
19632000-08-25 H.J. Lu <hjl@gnu.org>
1964
1965 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
1966 check -rpath nor LD_RUN_PATH for cross link.
1967 * ld.texinfo: Document the change.
1968
5bcac8a4
HPN
19692000-08-24 Hans-Peter Nilsson <hp@axis.com>
1970
1971 * NEWS: Mention support for CRIS.
1972
6dd8c765
L
19732000-08-23 H.J. Lu <hjl@gnu.org>
1974
1975 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
1976 the current runpath list from bfd_elf_get_runpath_list ()
1977 before search.
1978
ec4eb78a
L
19792000-08-22 H.J. Lu <hjl@gnu.org>
1980
1981 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
1982 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
1983 LD_LIBRARY_PATH for native linker. Display the needed DSO if
1984 trace_file_tries is non-zero.
1985 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
1986 if trace_file_tries is non-zero.
1987
1988 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
a8175964 1989 * NEWS: Mention it.
ec4eb78a 1990
22b36938
JE
19912000-08-14 Jason Eckhardt <jle@cygnus.com>
1992
1993 * NEWS: Mention i860 support.
1994
d73e9da0
AS
19952000-08-14 Andreas Schwab <schwab@suse.de>
1996
1997 * scripttempl/elf.sc: Fix last change to use correct comment
50bbae35 1998 syntax.
d73e9da0 1999
9ac4db9c
GK
20002000-08-10 Geoff Keating <geoffk@cygnus.com>
2001
2002 * scripttempl/elf.sc: Add a comment giving the correspondence
2003 between sections, per-datum sections, and linkonce sections. Make
2004 the comment true even for .bss, .sdata, .sdata2, .sbss, and
2005 .sbss2.
2006
165589e4
JE
20072000-08-10 Jason Eckhardt <jle@cygnus.com>
2008
2009 * emulparams/elf32_i860.sh: New file.
2010 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
2011 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
2012 (eelf32_i860.c): New rule.
2013 * Makefile.in: Regenerate.
2014
345a835d
NC
20152000-08-10 Nick Clifton <nickc@cygnus.com>
2016
2017 * emulparams/mipspe.sh (ENTRY): Add definition.
2018
e374f1d9
NC
20192000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
2020
2021 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
2022 in error message.
2023
236d5abf
NC
20242000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2025
2026 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
2027 the final size of .bss section.
2028 * scripttempl/elfm68hc12.sc: Likewise.
2029
4b209b22
AM
20302000-08-04 Alan Modra <alan@linuxcare.com.au>
2031
2032 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
2033 gld${EMULATION_NAME}_parse_args for consistency. Combine
2034 lastoptind and prevoptind vars, and keep track of last optind.
2035 (gld_${EMULATION_NAME}_list_options): Rename to
2036 gld${EMULATION_NAME}_list_options.
2037
28423a68
AM
20382000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
2039
2040 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
2041 (i586-sco-sysv5uw7.1.0).
2042
b2009ff7
L
20432000-07-27 H.J. Lu <hjl@gnu.org>
2044
2045 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
2046 (PARSE_AND_LIST_PROLOGUE): New.
2047 (PARSE_AND_LIST_LONGOPTS): Likewise.
2048 (PARSE_AND_LIST_OPTIONS): Likewise.
2049 (PARSE_AND_LIST_ARGS_CASES): Likewise.
2050 (PARSE_AND_LIST_EPILOGUE): Likewise.
2051
04925e1e
AM
20522000-07-28 Alan Modra <alan@linuxcare.com.au>
2053
41392f03
AM
2054 * emultempl/armelf.em: Elide functions common to elf32.em,
2055 ie. most of the file.
2056 (arm_elf_after_open): New. Do arm specific things then call
2057 gld${EMULATION_NAME}_after_open.
2058 (arm_elf_before_allocation): New. Call
2059 gld${EMULATION_NAME}_before_allocation then do arm specifics.
2060 (PARSE_AND_LIST_PROLOGUE): Define.
2061 (PARSE_AND_LIST_SHORTOPTS): Define.
2062 (PARSE_AND_LIST_LONGOPTS): Define.
2063 (PARSE_AND_LIST_OPTIONS): Define.
2064 (PARSE_AND_LIST_ARGS_CASES): Define.
2065 (LDEMUL_AFTER_OPEN): Define.
2066 (LDEMUL_BEFORE_ALLOCATION): Define.
2067 (LDEMUL_BEFORE_PARSE): Define.
2068 (LDEMUL_FINISH): Define.
2069
2070 * emultempl/hppaelf.em: Similarly zap most of this file.
2071 (hppaelf_add_stub_section): Prototype.
2072 (hppaelf_layaout_sections_again): Prototype.
2073 (hook_in_stub): Prototype.
2074 (LDEMUL_SET_OUTPUT_ARCH): Define.
2075 (LDEMUL_FINISH): Define.
2076 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
2077
2078 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
2079 (EXTRA_EM_FILE): New.
2080 * emulparams/armelf_linux.sh: Likewise.
2081 * emulparams/armelf_linux26.sh: Likewise.
2082 * emulparams/hppalinux.sh: Likewise.
2083 * emulparams/hppaelf.sh: Likewise.
2084 (NOP): Define.
2085
2086 * emultempl/elf32.em: Fix formatting.
2087 (EXTRA_EM_FILE): Source it.
2088 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
2089 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
2090 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
2091 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
2092 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
2093 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
2094 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
2095 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
2096 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
2097 allow functions in this file to be overridden.
2098 (PARSE_AND_LIST_SHORTOPTS): Handle it.
2099
2100 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
2101
04925e1e
AM
2102 * emultempl/elf32.em: Reorganize file.
2103
88cdf297
NC
21042000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
2105
2106 * emulparams/elf64alpha.sh: Implement "-taso" emulation
2107 specific option to fit 64-bit executable in the lower
2108 31-bit address range. This is done by changing start
2109 address of .interp (the very first section of executable)
2110 and then setting EF_ALPHA_32BIT elf header flag.
2111
20bccb34
NC
21122000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2113
2114 * emultempl/m68kcoff.em: New file.
2115 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
2116 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
2117 generic.em.
2118 * Makefile.in: Regenerate.
2119
699845ef
L
21202000-07-20 H.J. Lu <hjl@gnu.org>
2121
2122 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
2123 and "disable-new-dtags" to stop getopt from treating -d/-e as
2124 abbreviations for these options.
2125
6c1439be
L
21262000-07-20 H.J. Lu <hjl@gnu.org>
2127
2128 * ld.texinfo: Add documentation for --disable-new-dtags and
2129 --enable-new-dtags.
2130
2131 * ldmain.c (main): Initialize link_info.new_dtags to false.
2132
2133 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
2134 --disable-new-dtags and --enable-new-dtags.
2135 (gld_${EMULATION_NAME}_list_options): Likewise.
2136
28c309a2
NC
21372000-07-05 Kenneth Block <krblock@computer.org>
2138
a2b64bed
NC
2139 * lexsup.c: Add optional style to demangle switch
2140 * ld.texinfo: Document optional style to demangle switch.
50bbae35 2141
9d06555c
HPN
21422000-07-20 Hans-Peter Nilsson <hp@axis.com>
2143
2144 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
2145 ecrislinux.o.
2146 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
2147 Regenerate dependencies.
2148 * Makefile.in: Rebuild.
2149 * configure.tgt (cris-*-*): New target.
2150 * emulparams/crisaout.sh, emulparams/criself.sh,
2151 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
2152 * po/POTFILES.in, po/ld.pot: Regenerate.
2153
19e3be22
L
21542000-07-20 H.J. Lu <hjl@gnu.org>
2155
2156 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
2157 Print out ignored -z options.
2158
e0ee487b
L
21592000-07-19 H.J. Lu <hjl@gnu.org>
2160
19e3be22
L
2161 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
2162 (PARSE_AND_LIST_PROLOGUE): New.
2163 (PARSE_AND_LIST_LONGOPTS): Likewise.
2164 (PARSE_AND_LIST_OPTIONS): Likewise.
2165 (PARSE_AND_LIST_ARGS_CASES): Likewise.
2166
2167 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
2168
2169 * lexsup.c (ld_options): Comment out 'z'.
2170 (parse_args): Likewise.
2171
2172 * emultempl/elf32.em: Include "elf/common.h".
2173 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
2174 options.
2175 (gld_${EMULATION_NAME}_list_options): Likewise.
2176
2177 * ld.texinfo: Add documentation for the recognized -z options.
e0ee487b 2178
49e56c49
L
21792000-07-19 H.J. Lu <hjl@gnu.org>
2180
2181 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
2182 bfd_elf_set_dt_needed_soname ().
2183
9d68bc82
DD
21842000-07-18 DJ Delorie <dj@cygnus.com>
2185
2186 * pe-dll.c (pe_dll_id_target): check object target name also
2187
53db15ed
HPN
21882000-07-18 Hans-Peter Nilsson <hp@axis.com>
2189
2190 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
2191 ${INIT_END} if relocating.
2192 (.fini): Likewise ${FINI_START} and ${FINI_END}.
2193
0ad8cf4c
DD
21942000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
2195
a2b64bed 2196 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
0ad8cf4c
DD
2197 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
2198 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
2199 errors introduced by the old dynamic lib search order.
2200
874c8c99
DD
22012000-07-17 DJ Delorie <dj@cygnus.com>
2202
2203 * pe-dll.c (process_def_file): auto-export data items also
2204 (pe_process_import_defs): also see if _imp_ form needed
2205
5b4cf3f4
DD
22062000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
2207
2208 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
2209 for dll import libraries
2210
062739d1
NC
22112000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
2212
2213 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
d952f17a 2214 gcc 2.95.2 and later.
062739d1 2215
1c64c4ed
NC
22162000-07-11 Kazu Hirata <kazu@hxi.com>
2217
50bbae35
AM
2218 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
2219 message.
1c64c4ed 2220
b71e2778
AM
22212000-07-10 Alan Modra <alan@linuxcare.com.au>
2222
2223 * ldemul.h (struct lang_input_statement_struct): Remove forward
2224 declaration.
2225 (struct search_dirs): Likewise.
2226 * ldfile.h (struct lang_input_statement_struct): Likewise.
2227 Protect file from multiple inclusion.
2228 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
2229 declaration from macro to file scope.
2230
2231 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
2232 * ldgram.y: Likewise here.
2233 * ldlang.c: And here.
2234 * ldmain.c: And here.
2235 * mpw-elfmips.c: And here.
2236 * mpw-eppcmac.c: And here.
2237 * emultempl/aix.em: And here.
2238 * emultempl/armcoff.em: And here.
2239 * emultempl/armelf.em: And here.
2240 * emultempl/armelf_oabi.em: And here.
2241 * emultempl/beos.em: And here.
2242 * emultempl/elf32.em: And here.
2243 * emultempl/hppaelf.em: And here.
2244 * emultempl/linux.em: And here.
2245 * emultempl/lnk960.em: And here.
2246 * emultempl/pe.em: And here.
2247 * emultempl/sunos.em: And here.
2248 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
2249 * mpw-idtmips.c: Ditto.
2250 * emultempl/generic.em: Ditto.
2251 * emultempl/gld960.em: Ditto.
2252 * emultempl/gld960c.em: Ditto.
2253 * emultempl/mipsecoff.em: Ditto.
2254 * emultempl/ticoff.em: Ditto.
2255 * emultempl/vanilla.em: Ditto.
2256
2257 * pe-dll.c: Include ldfile.h
2258 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
2259
2260 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
2261 arguments to bfd_elf32_size_dynamic_sections call.
2262 (gldelf32ebmip_place_orphan): Add missing arguments to
2263 lang_leave_output_section_statement call.
2264
2ef53d66
L
22652000-07-10 H.J. Lu <hjl@gnu.org>
2266
2267 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
2268 DLL_SUPPORT.
2269 (strhash): Likewise.
2270 (compute_dll_image_base): Likewise.
2271 (pe_undef_found_sym): Likewise.
2272 (pe_undef_cdecl_match): Likewise.
2273 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
2274 argument "arch" with ATTRIBUTE_UNUSED.
2275
9a8cbb09
AM
22762000-07-10 Alan Modra <alan@linuxcare.com.au>
2277
2278 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
2279
2280 From Ryan Bradetich <rbradetich@uswest.net>
2281 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
50bbae35 2282
4900fc06
AM
22832000-07-09 Alan Modra <alan@linuxcare.com.au>
2284
2285 Changes to create multiple linker stubs, positioned immediately
2286 before the section where they are required.
2287 * emultempl/hppaelf.em: Include elf32-hppa.h.
2288 (stub_sec, file_chain): Delete.
2289 (hppaelf_create_output_section_statements): Don't make a stub
2290 section here.
2291 (hook_stub_info): New struct.
2292 (hook_in_stub): New function.
2293 (hppaelf_add_stub_section): New function.
2294 (hppaelf_finish): Do nothing for relocateable links. Modify the
2295 call to elf32_hppa_size_stubs. Move code for updating section
2296 layout from here...
2297 (hppaelf_layaout_sections_again): ..to here, a new function.
2298
2299 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
2300 broken list handling. Pass in a pointer to the list.
2301 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
2302 for above changes.
2303 (hppaelf_before_parse): Prototype.
2304 (hppaelf_set_output_arch): Prototype.
2305 (hppaelf_create_output_section_statements): Prototype.
2306 (hppaelf_delete_padding_statements): Prototype.
2307 (hppaelf_finish): Prototype.
2308
2309 Merge from elf32.em
2310 * emultempl/hppaelf.em: Include ctype.h.
2311 (struct orphan_save): New.
2312 (gld${EMULATION_NAME}_place_orphan): New.
2313 (output_rel_find): New.
2314 (hppaelf_get_script): Update from elf32.em.
2315 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
2316 Change emulation_name field to "${EMULATION_NAME}". Add
50bbae35 2317 gld${EMULATION_NAME}_place_orphan.
4900fc06
AM
2318
2319 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
2320 ehppalinux.o, sort it. Regenerate dependencies.
2321 (ehppalinux.c): Depend on hppaelf.em
2322 * Makefile.in: Regenerate.
2323
2324 * configure.tgt: targ_emul=hppalinux for hppa*linux
2325
2326 * emulparams/hppalinux.sh: New.
2327 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
2328
227aeb07
AM
23292000-07-08 Alan Modra <alan@linuxcare.com.au>
2330
2331 * lexsup.c (parse_args): Copy section name.
2332
28609fd4 23332000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
602e90d3 2334
2ef53d66 2335 * emultempl/pe.em: institute the following search order for
602e90d3
DD
2336 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
2337 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
2338 static lib (libfoo.a) if none of the above are found.
2339
5f577f7d
DD
23402000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
2341
50bbae35 2342 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
5f577f7d 2343 (longopts): New --{enable,disable}-auto-image-base options.
50bbae35 2344 (gld_${EMULATION_NAME}_list_options): Document.
5f577f7d
DD
2345 (gld_${EMULATION_NAME}_parse): Handle.
2346 (strhash): New static function.
50bbae35 2347 (compute_dll_image_base): New static function.
5f577f7d
DD
2348 (gld_${EMULATION_NAME}_set_symbols): Use.
2349
9a8cbb09 23502000-07-05 DJ Delorie <dj@redhat.com>
302ab118
DD
2351
2352 * MAINTAINERS: new
2353
3548145d 23542000-07-01 Koundinya K <kk@ddeorg.soft.net>
50bbae35
AM
2355
2356 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
2357 * emulparams/elf32btsmip.sh: New file.
2358 * Makefile.am: Add traditional mips target.
2359 * Makefile.in: Rebuild.
2360
67798033
L
23612000-07-01 H.J. Lu <hjl@gnu.org>
2362
2363 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
2364 automake to use YLWRAP.
2365 * Makefile.in: Rebuild.
2366
0bdaf48b
AM
23672000-07-01 Alan Modra <alan@linuxcare.com.au>
2368
2369 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
2370 (CLEANFILES): Add DEPA.
2371 * Makefile.in: Regenerate.
2372
c9e769c2
TW
23732000-06-30 Timothy Wall <twall@ppc>
2374
2375 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
2376 the page in the upper octet of the address.
2377
65aa24b6
NC
23782000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
2379
2380 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
2381
4667035e
AM
23822000-06-24 Alan Modra <alan@linuxcare.com.au>
2383
2384 * NEWS: arm-elf does --gc-sections too.
2385
1581f8c9
AM
23862000-06-22 Alan Modra <alan@linuxcare.com.au>
2387
2388 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2389 find one.
2390 * Makefile.in: Regenerate.
2391
01580992
L
23922000-06-21 H.J. Lu <hjl@gnu.org>
2393
2394 * Makefile.am: Rebuild dependency.
2395 * Makefile.in: Rebuild.
2396
bbeb2e03
L
23972000-06-20 H.J. Lu <hjl@gnu.org>
2398
2399 * Makefile.am: Rebuild dependency.
2400 * Makefile.in: Rebuild.
2401
74459f0e
TW
24022000-06-20 Timothy Wall <twall@cygnus.com>
2403
2404 * scripttempl/tic54xcoff.sc: New.
2405 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
2406 * gen-doc.texi: Add flag for TI COFF.
2407 * ld.texinfo: Add documentation for TI COFF handling switches.
2408 * emultempl/ticoff.em: New. TI COFF handling.
2409 * configure.tgt: Add tic54x target.
2410 * Makefile.am: Add tic54x target.
2411 * Makefile.in: Ditto.
2412
2ab47eed
AM
24132000-06-20 Alan Modra <alan@linuxcare.com.au>
2414
2415 * ldmain.c (set_scripts_dir): Correct pointer comparison when
2416 checking for backslashes.
2417
919e4093
AM
24182000-06-19 Alan Modra <alan@linuxcare.com.au>
2419
2420 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
2421
987fd5b4
AM
24222000-06-18 Alan Modra <alan@linuxcare.com.au>
2423
2424 * NEWS: Update list of targets supporting --gc-sections.
2425
2426 * scripttempl/elf.sc: KEEP .eh_frame contents.
2427 * scripttempl/elfd30v.sc: Same here.
2428
60bcf0fa
NC
24292000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
2430
2431 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
2432 and m68hc11 (elf).
2433 * Makefile.in: Rebuild.
2434 * configure.tgt: Recognize m68hc12 and m68hc11.
2435 * scripttempl/elfm68hc12.sc: New file.
2436 * emulparams/m68hc12elfb: New emulation.
2437 * emulparams/m68hc12elf: New emulation.
2438 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
2439 (includes a memory.x script to define the ROM and RAM banks).
2440 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
2441 New configuration files for support of Motorola 68hc11
2442
c7c54483
AM
24432000-06-15 Alan Modra <alan@linuxcare.com.au>
2444
2445 * ldmain.c (main): Only change SEC_READONLY for final link.
2446
bcef29e6
L
24472000-06-13 H.J. Lu <hjl@gnu.org>
2448
2449 * configure: Regenerate.
2450
946efd95
DB
24512000-06-08 David O'Brien <obrien@FreeBSD.org>
2452
2453 * configure.in (VERSION): Update to show this is the CVS mainline.
2454
57a6fd07
DB
24552000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2456
2457 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
2458 input objects to be ECOFF.
2459 (check_sections): einfo takes %B, not %P, to print a BFD name.
2460
e06cae36
L
24612000-06-05 Michael Matz <matz@ifh.de>
2462
2463 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
d952f17a 2464 version scripts.
e06cae36 2465
d952f17a 2466 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
e06cae36 2467
2f0b56c0
DC
24682000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
2469
2470 * emulparams/avr1200.sh (STACK): Define as 0.
2471 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
2472 * emulparams/avr4433.sh (STACK): Likewise.
2473 * emulparams/avr44x4.sh (STACK): Likewise.
2474 * emulparams/avr85xx.sh (STACK): Likewise.
2475 * emulparams/avrmega103.sh (STACK): Likewise.
2476 * emulparams/avrmega161.sh (STACK): Likewise.
2477 * emulparams/avrmega603.sh (STACK): Likewise.
2478 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
2479 (__stack): Define from ${STACK} for main().
2480
2114f57b
AM
24812000-05-26 Alan Modra <alan@linuxcare.com.au>
2482
2483 * Makefile.am: Update dependencies with "make dep-am"
2484 * Makefile.in: Regenerate.
2485
5af11cab
AM
24862000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
2487
2488 * ldmain.c: Include filenames.h.
2489 (set_scripts_dir): Support backslashes in program name.
2490
1f0df59a
NC
24912000-05-22 Igor Shevlyakov <igor@windriver.com>
2492
2493 * ldmain.c (main): When deciding if ".text" section should be
50bbae35
AM
2494 read-only, don't forget to reset SEC_READONLY because it
2495 could be already set.
1f0df59a 2496
176355da
NC
24972000-05-22 Thomas de Lellis <tdel@windriver.com>
2498
50bbae35
AM
2499 * ld.1: Add documentation for new command line option:
2500 --section-start <sectionname>=<sectionorg>
2501 This is a generic version of -Ttext etc. which accepts
2502 any section name as a parameter instead of just text/data/
2503 bss.
2504 * ld.texinfo: More docs.
2505 * NEWS: More docs.
2506 * lexsup.c: (parse_args): Recognize new command line option.
176355da 2507 (ld_options): Add new option.
50bbae35 2508
8c5ff972
L
25092000-05-18 H.J. Lu <hjl@gnu.org>
2510
2511 * lexsup.c (parse_args): `i' == `r', not `q'.
2512
0b76fe77
JL
2513Thu May 18 10:47:57 2000 Jeffrey A Law (law@cygnus.com)
2514
2515 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
2516
a712da20
NC
25172000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
2518 Rick Gorton <gorton@scrugs.lkg.dec.com>
50bbae35 2519
a712da20
NC
2520 Add support for '-q' == '--emit-relocs' switch.
2521 * ldmain.c (main): Default to false.
2522 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
2523 * NEWS: Describe the emitrelocations switch.
2524 * ld.texinfo: Describe the emitrelocations switch.
2525
690a460e
NC
25262000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
2527
a2b64bed 2528 * emultempl/pe.em (_open_dynamic_archive): New function: Search
690a460e
NC
2529 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
2530 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
2531 link options.
50bbae35 2532
c2f1343c
AM
25332000-05-15 David O'Brien <obrien@FreeBSD.org>
2534
2535 * lexsup.c (parse_args): Update the year in the copyright notice.
2536
897083bd
AM
25372000-05-13 Alan Modra <alan@linuxcare.com.au>
2538
2539 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
2540 Replace defines with those from intl/libgettext.h to quieten gcc
2541 warnings.
2542
cd4c806a
L
25432000-05-10 H.J. Lu <hjl@gnu.org>
2544
2545 * ldlang.c (open_input_bfds): Don't load the same file within
2546 a group again if the whole archive has been loaded already.
2547
93697284
AM
25482000-05-03 Alan Modra <alan@linuxcare.com.au>
2549
2550 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
2551 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
2552 strtoul.
2553
ebd6fc29
JW
2554Mon May 1 17:34:34 2000 Jim Wilson <wilson@cygnus.com>
2555
99a4150f 2556 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
50bbae35 2557
ebd6fc29
JW
2558 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
2559 host "ia64-*-linux-gnu*".
2560
a1934524
AM
25612000-04-29 Andreas Jaeger <aj@suse.de>
2562
2563 * ld.h: Correctly check GCC version.
2564
730a39a0
JL
2565Tue Apr 25 11:20:43 2000 Jeffrey A Law (law@cygnus.com)
2566
2567 * Makefile.am: Add PA64 support. Add missing dependencies for
2568 PA32 elf support.
2569 * Makefile.in: Rebuilt.
2570 * configure.tgt: Add PA64 support (currently disabled).
2571
aea4bd9d
AM
25722000-04-25 Alan Modra <alan@linuxcare.com.au>
2573
2574 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
2575 (output_rel_find): New function.
2576 (hold_section, hold_use): Delete.
2577 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
2578 hold_interp): Make local to place_orphan.
2579 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
2580 rather than place_section to find possible previous use of orphan.
2581 Similarly find the place-holder output sections. Use returned
2582 value from lang_enter_output_section_statement rather than calling
2583 lang_output_section_statement_lookup.
2584 * emultempl/armelf.em: Same here.
2585 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
2586
2587 * ldlang.c (lang_enter_output_section_statement): Return output
2588 section statement.
2589 * ldlang.h (lang_enter_output_section_statement): Change
2590 declaration too.
2591
2592 * ldlang.h (lang_output_section_statement): Export it.
2593 * ldlang.c (lang_output_section_statement): Ditto.
2594
2b5fc1f5
NC
25952000-04-24 Nick Clifton <nickc@cygnus.com>
2596
2597 * ld.texinfo (Output Section Data): Add note that section data
2598 commands cannot appear outside of section directives.
2599
d8475ff6
JL
26002000-04-2 Matthew Green <mrg@cygnus.com>
2601
2602 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
2603
800eeca4
JW
2604Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
2605 David Mosberger <davidm@hpl.hp.com>
2606
2607 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
2608 (eelf64_ia64.c): New rule.
2609 * Makefile.in: Rebuild.
2610 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
2611 * emulparams/elf64_ia64.sh: New file.
50bbae35 2612
c9637625
RH
26132000-04-21 Richard Henderson <rth@cygnus.com>
2614
2615 * scripttempl/elfd30v.sc: Place .gcc_except_table.
2616
28ea9521
AM
26172000-04-19 Alan Modra <alan@linuxcare.com.au>
2618
2619 * dep-in.sed: Match space at start of file name, not at end.
2620
20d04697
L
26212000-04-18 H.J. Lu <hjl@gnu.org>
2622
2623 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
2624 lang_leave_output_section_statement () after calling
2625 lang_enter_output_section_statement ().
2626 * emultempl/armelf.em: Likewise.
2627
5ba47421
AM
26282000-04-18 Alan Modra <alan@linuxcare.com.au>
2629
2630 * emultempl/elf32.em (struct orphan_save): Add section field.
2631 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
2632 better order, and place first orphan section as we did before the
2633 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
2634 Don't call make_bfd_section here, let wild_doit do the job for us.
2635 Don't build a statement list when we'll only throw it away.
2636 * emultempl/armelf.em: Ditto.
2637 * emultempl/pe.em: Similarly.
2638
bdbe5705
GK
26392000-04-14 Geoff Keating <geoffk@cygnus.com>
2640
2641 * scripttempl/elfppc.sc: Remove.
2642 * emulparams/elf32ppc.sh: Use elf.sc.
2643 * emulparams/elf32lppc.sh: Use elf.sc.
2644 * emulparams/elf32ppclinux.sh: Use elf.sc.
2645 * emulparams/elf32ppcsim.sh: New file.
2646 * emulparams/elf32lppcsim.sh: New file.
2647 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
2648 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
2649 * Makefile.in: Regenerate.
2650 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
2651
01cc8ff8
AM
26522000-04-14 Alan Modra <alan@linuxcare.com.au>
2653
5ba47421 2654 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
01cc8ff8 2655 ~SEC_ALLOC sections too. Init start address of debug sections.
5ba47421
AM
2656 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
2657 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
01cc8ff8
AM
2658 Also set all relocateable section start addresses.
2659
6c86c541
GK
26602000-04-13 Geoff Keating <geoffk@cygnus.com>
2661
2662 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
2663 Add new BSS_PLT variable for when .plt need not be contained in
2664 the file. Move _etext so that it is also after .fini, and provide
2665 both etext and _etext with a leading underscore. Mark the start
2666 and end of .sbss.
2667
6a345e87
AM
26682000-04-12 Alan Modra <alan@linuxcare.com.au>
2669
2670 * emultempl/elf32.em (struct orphan_save): New.
2671 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
2672 hold_interp): Make them struct orphan_save.
2673 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
2674 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
2675 the end of the relevant section list. Also add associated section
2676 statements to the end of any previous orphan statements.
2677 * emultempl/armelf.em: Similarly.
2678 * emultempl/pe.em: Similarly.
2679
8be86746
AM
26802000-04-11 Alan Modra <alan@linuxcare.com.au>
2681
2682 * ld.texinfo (Simple Example): Remove extraneous paragraph.
2683
a2d91340 2684Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
50bbae35 2685
a2d91340 2686 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
50bbae35 2687 --enable-build-warnings option.
a2d91340
AC
2688 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
2689 * Makefile.in, configure: Re-generate.
2690
41b49281
AM
26912000-04-04 Alan Modra <alan@linuxcare.com.au>
2692
8ad3436c
AM
2693 * po/ld.pot: Regenerate.
2694
2695 * lexsup.c (help): Restore translated part of bug string.
2696
41b49281
AM
2697 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2698 (DEP): Quote when passing vars to sub-make. Add warning message
2699 to end.
2700 (DEP1): Rewrite for "gcc -MM".
2701 (CLEANFILES): Add DEP2.
2702 Update dependencies.
2703 * Makefile.in: Regenerate.
2704
c20f4f8c
AM
27052000-04-03 Alan Modra <alan@linuxcare.com.au>
2706
2707 * ld.h: #include "bin-bugs.h"
2708 * lexsup.c (help): Use REPORT_BUGS_TO.
2709
adde6300
AM
27102000-03-27 Denis Chertykov <denisc@overta.ru>
2711
2712 * configure.tgt (avr-*-*): New target support.
2713 * Makefile.am: Likewise.
2714 * scripttempl/elf32avr.sc: New script file.
2715 * emulparams/avr1200.sh: New file.
2716 * emulparams/avr23xx.sh: New file.
2717 * emulparams/avr4433.sh New file.
2718 * emulparams/avr44x4.sh New file.
2719 * emulparams/avr85xx.sh New file.
2720 * emulparams/avrmega103.sh New file.
2721 * emulparams/avrmega161.sh New file.
2722 * emulparams/avrmega603.sh New file.
2723 * Makefile.in: Regenerate.
2724
9282ff41
L
27252000-03-09 Andreas Jaeger <aj@suse.de>
2726
2727 * Makefile.am (check-DEJAGNU): Also unset LANG.
2728 * Makefile.in: Rebuild.
2729
a9998805
ILT
27302000-03-06 Ian Lance Taylor <ian@zembu.com>
2731
2732 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
2733 archive.
2734
f9bc20e7
NC
27352000-03-02 H.J. Lu <hjl@gnu.org>
2736
2737 * emulparams/elf32mcore.sh: Include "getopt.h".
2738
4e277b38
ILT
27392000-03-01 Ian Lance Taylor <ian@zembu.com>
2740
2741 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
2742
f0c87f88
NC
27432000-03-01 H.J. Lu <hjl@gnu.org>
2744
2745 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
2746 * emulparams/shpe.sh: Likewise.
2747
27482000-03-01 Nick Clifton <nickc@cygnus.com>
2749
2750 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
2751 to unused parameters.
2752
2753 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
2754 functions only used by DLL code.
2755 (_place_orphan): Initialise 'dollar'.
2756
b6f29aaa
L
27572000-03-01 H.J. Lu <hjl@gnu.org>
2758
2759 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
2760 indicate if the undefined symbol is a fatal error or not.
2761 Don't delete the output file if "fatal" is false.
2762
af28fce3
L
27632000-02-29 H.J. Lu <hjl@gnu.org>
2764
50bbae35 2765 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
af28fce3
L
2766 Set LC_COLLATE and LC_ALL to null and export them. It is for
2767 sort which expects the C locale.
2768 Add $(LIBS) to all $(HOSTING_LIBS).
2769 * Makefile.in: Rebuild.
2770
40d109bf
AM
27712000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
2772
2773 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
2774 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
2775 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
2776 (ld_emulation_xfer_struct): Add missing NULL initialiser for
2777 find_potential_libraries.
2778
db5be682
JB
27792000-02-28 Jim Blandy <jimb@redhat.com>
2780
2781 * ldgram.y (exclude_name_list): Don't require a comma to separate
50bbae35 2782 list entries; the lexer considers commas to be valid part of a
db5be682
JB
2783 filename, so in something like `foo, bar' the comma is considered
2784 part of the first filename, `foo,'.
2785 * ld.texinfo: Update section on EXCLUDE_FILE lists.
2786
3558ff4c
ILT
27872000-02-27 Loren J. Rittle <ljrittle@acm.org>
2788
2789 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
2790 host "i[3456]86-*-freebsdelf*".
2791
4eee2681
ILT
27922000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
2793
2794 * scripttempl/i386go32.sc: Move misplaced semicolons.
2795
8d75d12d
ILT
27962000-02-25 Ian Lance Taylor <ian@zembu.com>
2797
2798 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
2799 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
2800 (eelf64hppa.c, ehppaelf.c): Remove targets.
2801 * Makefile.in: Rebuild.
2802
a1836d49
AO
28032000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2804
ad51fb57
AO
2805 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
2806 GNU/Linux/sparc, but keep the default as 32.
2807
a1836d49
AO
2808 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
2809 it default if sparcv9 or sparc64.
2810
344a211f
NC
28112000-02-24 Nick Clifton <nickc@cygnus.com>
2812
2813 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
2814 * Makefile.in: Regenerate.
2815 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
2816
2817 * ldemul.h (ld_emulation_xfer_struct): Add new field:
2818 find_potential_libraries.
2819 * ldemul.c (ldemul_find_potential_libraries): New function.
2820
2821 * ldfile.c (ldfile_open_file_search): Allow function to be
50bbae35 2822 exported.
344a211f
NC
2823 (ldfile_open_file): Call ldemul_find_potential_libraries.
2824 * ldfile.h: Add prototype for ldfile_open_file_search.
2825
2826 * pe-dll.c: Add support for ARM, MIPS and SH targets.
2827
2828 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
2829 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
2830
2831 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
2832 (gld_X_find_potential_libraries): New function. Search for
2833 libraries called "*.lib".
2834
a2b64bed 2835 * scripttempl/pe.sc: Add .pdata section.
344a211f 2836
eaba1dd3
RH
28372000-02-23 Richard Henderson <rth@cygnus.com>
2838
2839 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
2840 Add and use memory regions.
2841
5b93d8bb
AM
28422000-02-23 Linas Vepstas (linas@linas.org)
2843
2844 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
2845
2846 * Makefile.am: Add support for Linux/IBM 370.
2847 * configure.tgt: Likewise.
2848
2849 * Makefile.in: Regenerate.
2850
f6af82bd
AM
28512000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2852
2853 * ldlang.c (print_input_section, print_data_statement,
2854 print_reloc_statement, print_padding_statement, insert_pad,
2855 size_input_section, lang_check_section_addresses,
2856 lang_size_sections, lang_do_assignments, lang_set_startof,
50bbae35 2857 lang_one_common): Change `opb' to unsigned.
f6af82bd
AM
2858 (lang_do_assignments): Also change `size' to unsigned.
2859
9e673ad1
RH
28602000-02-16 Richard Henderson <rth@cygnus.com>
2861
2862 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
2863
562d3460
TW
28642000-02-16 Timothy Wall <twall@cygnus.com>
2865
2866 * mri.c (mri_draw_tree): Add default LMA region argument to call
2867 to lang_leave_output_section_statement.
2868 * ldlang.h: Update prototypes with LMA region arguments.
2869 * ldlang.c (lang_size_sections): Encapsulate region bounds
2870 checking in os_check_region call.
2871 (os_check_region): New function.
2872 (lang_output_section_statement_lookup): Initialize lma_region.
2873 (lang_leave_output_section_statement): Add LMA region argument.
2874 (lang_leave_overlay): Ditto.
2875 * ldgram.y: Handle LMA region syntax.
2876 * ld.texinfo (Output Section Description): Describe LMA region usage.
2877 * emultempl/armelf.em (gld$place_orphan): Add default value for
01cc8ff8 2878 lma region in call to lang_leave_output_section_statement.
562d3460 2879 * emultempl/elf32.em (gld$place_orphan): Add default value for
01cc8ff8 2880 lma region in call to lang_leave_output_section_statement.
562d3460 2881 * emultempl/pe.em (gld$place_orphan): Add default value for
01cc8ff8 2882 lma region in call to lang_leave_output_section_statement.
50bbae35
AM
2883
2884
9e4ed18c
TW
28852000-02-04 Timothy Wall <twall@redhat.com>
2886
2887 * ldlang.c (lang_check_section_addresses): Use bytes instead of
2888 octets when calculating section end addresses.
2889
32edc927
TW
28902000-02-04 Timothy Wall <twall@redhat.com>
2891
2892 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
2893
4cbfc3ac
TW
28942000-02-03 Timothy Wall <twall@redhat.com>
2895
a2b64bed 2896 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
4cbfc3ac 2897 octet count.
a2b64bed 2898 * ldlang.c (print_input_section, print_data_statement,
4cbfc3ac
TW
2899 print_reloc_statement, print_padding_statement): Print target
2900 address values and section sizes as bytes, not octets.
2901 (insert_pad) Calculate padding size in octets, and adjust "dot"
2902 by bytes.
2903 (size_input_section) Always adjust "dot" by bytes, not octets.
2904 (lang_check_section_addresses, lang_do_assignments) Adjust
2905 "dot" by bytes, not octets. Use the larger of the directive size
2906 or octets_per_byte for the number of octets actually allocated in
2907 the output section.
2908 (lang_set_startof) Make sure STARTOF returns a target address.
2909 (lang_one_common) Record size changes in octets.
2910 (lang_abs_symbol_at_end_of) Section end symbol's value is
2911 recorded in target bytes.
2912 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
2913 to be clear about behavior when an octet is smaller than one byte.
50bbae35 2914
305c7206
AM
29152000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2916
2917 * ldcref.c (output_cref): Don't pass message strings to printf
2918 as format arg.
2919 Update copyright.
2920
2921 * ldmisc.c (vfinfo): Same here.
2922 Update copyright.
2923
e1c47aa4
AM
29242000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
2925
2926 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
2927 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
2928 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
2929 Add missing NULL initialisers, and comments.
2930
2931 * testsuite/ld-srec/sr3.cc (__rethrow): New.
2932
13392b77
NC
29332000-01-21 Nick Clifton <nickc@cygnus.com>
2934
2935 * ldlang.c (lang_size_sections): Fix typo in comment.
2936
cce4c4c5
NC
29372000-01-18 H.J. Lu <hjl@gnu.org>
2938
2939 * ldlang.c (lang_size_sections): Also update the current
2940 address of a region if the SEC_NEVER_LOAD bit is not set.
2941
0decc840
NC
29422000-01-10 Philip Blundell <pb@futuretv.com>
2943
2944 * configure.tgt (arm*-*-conix*): New target.
2945
4e53152f
NC
29462000-01-07 Nick Clifton <nickc@cygnus.com>
2947
2948 * ld.texinfo (Options): Remind users to preceed linker command
fa19fce0
NC
2949 line switches with -Wl, (or whatever is appropriate) if it is
2950 being invoked by a comnpiler driver program.
50bbae35 2951 Fix description of the behaviour of the -n command line switch.
4e53152f 2952
18625d54
CM
2953Wed Jan 5 08:02:12 2000 Catherine Moore <clm@cygnus.com>
2954
2955 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
2956 (name_list): New.
2957 * ld.texinfo (EXCLUDE_FILE): Update documentation.
2958 * ldgram.y (wildcard_spec): Support a list of excluded_files.
2959 (exclude_name_list): New.
2960 ldlang.c (walk_wild_section): Support list of excluded files.
2961 (print_wild_statement): Likewise.
2962 (lang_add_wild): Likewise.
2963 * ldlang.h (lang_wild_statement_type): Likewise.
2964 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
6ddeca85 2965
5aaace27
NC
29662000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2967
870df5dc
NC
2968 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
2969 (process_def_file): Use.
2970 (pe_dll_compat_implib): New variable.
2971 (make_one): Use.
50bbae35 2972
870df5dc
NC
2973 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
2974 pe_dll_compat_implib.
50bbae35
AM
2975
2976 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
870df5dc
NC
2977 compat-implib options.
2978 (gld_${EMULATION_NAME}_list_options): List new options.
2979 (gld_${EMULATION_NAME}_parse_args): Handle.
2980
50bbae35 2981 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
5aaace27 2982 dll.
50bbae35
AM
2983
2984 * deffilep.y (opt_name): Allow "." in name.
5aaace27 2985
2f6d2f85 2986For older changes see ChangeLog-9899
252b5132
RH
2987\f
2988Local Variables:
2989mode: change-log
2990left-margin: 8
2991fill-column: 74
2992version-control: never
2993End:
This page took 0.266341 seconds and 4 git commands to generate.