* scripttempl/elf.sc: Move non-text .dynamic section before
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
5253f23b
AM
12001-08-09 Alan Modra <amodra@bigpond.net.au>
2
3 * scripttempl/elf.sc: Move non-text .dynamic section before
4 .plt/.got/.sdata* group.
5 (OTHER_GOT_SECTIONS): Move to immediately after .got.
6 (OTHER_SDATA_SECTIONS): Add.
7 * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
8 OTHER_GOT_SECTIONS.
9 * emulparams/crislinux.sh: Likewise.
10 * emulparams/elf32b4300.sh: Likewise.
11 * emulparams/elf32bmip.sh: Likewise.
12 * emulparams/elf32bmipn32.sh: Likewise.
13 * emulparams/elf32bsmip.sh: Likewise.
14 * emulparams/elf32btsmip.sh: Likewise.
15 * emulparams/elf32ebmip.sh: Likewise.
16 * emulparams/elf32elmip.sh: Likewise.
17 * emulparams/elf32l4300.sh: Likewise.
18 * emulparams/elf32lmip.sh: Likewise.
19 * emulparams/elf32lsmip.sh: Likewise.
20 * emulparams/elf32ltsmip.sh: Likewise.
21 * emulparams/elf64bmip.sh: Likewise.
22 * emulparams/elf64btsmip.sh: Likewise.
23 * emulparams/elf64ltsmip.sh: Likewise.
24
179c732c
AM
252001-08-08 Alan Modra <amodra@bigpond.net.au>
26
27 * genscripts.sh: Source the emulparams script before each output
28 script is generated so that variables like `RELOCATING' may affect
29 variables defined in the emulparams script.
30
3fd36710
AM
312001-08-04 Alan Modra <amodra@bigpond.net.au>
32
20713691
AM
33 * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
34 order.
35
3fd36710
AM
36 * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
37 ie. iterate over wild_statement.section_list.
38 (gld${EMULATION_NAME}_place_orphan): Likewise.
39
de0b1853
SC
402001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
41
42 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
43 .fini[0-4] sections used by _exit
44 (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
45 (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
46 * scripttempl/elfm68hc11.sc: Likewise.
47
ff7e6f88
L
482001-08-03 H.J. Lu <hjl@gnu.org>
49
50 * emultempl/beos.em (init): Add the missing initialization.
51
b6bf44ba
AM
522001-08-03 Alan Modra <amodra@bigpond.net.au>
53
54 * ld.texinfo (Input Section Basics): Clarify ordering of output
55 sections.
56 * ldlang.c (callback_t): Add wildcard_list param.
57 (walk_wild_section): Remove "section" param. Rewrite for
58 lang_wild_statement_type change. Remove unique_section_p test.
59 (walk_wild_file): Remove "section" param.
60 (walk_wild): Remove "section" and "file" params.
61 (lang_gc_wild): Likewise.
62 (wild): Likewise. Modify for lang_wild_statement_type change.
63 (wild_sort): Likewise. Add "sec" param.
64 (gc_section_callback): Likewise.
65 (output_section_callback): Likewise. Do unique_section_p test.
66 (map_input_to_output_sections): Modify call to wild.
67 (lang_gc_sections_1): Likewise.
68 (print_wild_statement): Modify for lang_wild_statement_type
69 change.
70 (lang_add_wild): Replace filename, filenames_sorted param with
71 filespec. Replace section_name, sections_sorted,
72 exclude_filename_list with section_list.
73 * ldlang.h (lang_add_wild): Here too.
74 (lang_wild_statement_type): Replace section_name, sections_sorted,
75 and exclude_filename_list with section_list.
76 * ldgram.y (current_file): Delete.
77 (%union): Add wildcard_list.
78 (file_NAME_list): Set type to wildcard_list. Build a linked list
79 rather than calling lang_add_wild for each entry.
80 (input_section_spec_no_keep): Call lang_add_wild here instead.
81 * ld.h (struct wildcard_list): Declare.
82 * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
83
b044cda1
CW
842001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
85
86 * ldmain.c (main): initialize link_info.pei386_auto_import
87 * pe-dll.c: new tables for auto-export filtering
88 (auto_export): change API, pass abfd for contextual filtering.
b6bf44ba 89 Loop thru tables of excluded symbols instead of comparing
b044cda1
CW
90 "by hand".
91
922001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>
93
b6bf44ba
AM
94 * pe-dll.c: new variable pe_dll_enable_extra_debug. New
95 static variable current_sec (static struct sec *). Add
b044cda1 96 forward declaration for add_bfd_to_link.
b6bf44ba
AM
97 (process_def_file): Don't export undefined symbols. Do not
98 export symbols starting with "_imp__". Call auto_export()
b044cda1
CW
99 with new API.
100 (pe_walk_relocs_of_symbol): New function.
101 (generate_reloc): add optional extra debugging
b6bf44ba 102 (pe_dll_generate_def_file): eliminate extraneous initial blank
b044cda1 103 line in output
b6bf44ba 104 (make_one): enlarge symtab to make room for __nm__ symbols
b044cda1
CW
105 (DATA auto-import support).
106 (make_singleton_name_thunk): New function.
107 (make_import_fixup_mark): New function.
108 (make_import_fixup_entry): New function.
109 (pe_create_import_fixup): New function.
b6bf44ba 110 (add_bfd_to_link): Specify that 'name' argument is a CONST
b044cda1 111 char *.
b6bf44ba
AM
112 * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
113 declare new functions pe_walk_relocs_of_symbol and
b044cda1
CW
114 pe_create_import_fixup.
115 * emultempl/pe.em: add new options --enable-auto-import,
116 --disable-auto-import, and --enable-extra-pe-debug.
117 (make_import_fixup): New function.
118 (pe_find_data_imports): New function.
119 (pr_sym): New function.
b6bf44ba 120 (gld_${EMULATION_NAME}_after_open): Add optional extra pe
b044cda1
CW
121 debugging. Call pe_find_data_imports. Mark .idata as DATA, not
122 CODE.
123
1242001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
b6bf44ba 125
b044cda1
CW
126 * ld.texinfo: add additional documentation for
127 --export-all-symbols. Document --out-implib,
128 --enable-auto-image-base, --disable-auto-image-base,
b6bf44ba
AM
129 --dll-search-prefix, --enable-auto-import, and
130 --disable-auto-import.
b044cda1
CW
131 * ldint.texinfo: Add detailed documentation on auto-import
132 implementation.
133
156e34dd
NC
1342001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
135
136 * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
137 example.
138
d6231427
AM
1392001-07-24 Alan Modra <amodra@bigpond.net.au>
140
141 * Makefile.am: Update dependencies with "make dep-am".
142 * Makefile.in: Regenerate
143
e14ec88b
AM
1442001-07-23 Alan Modra <amodra@bigpond.net.au>
145
146 * ldcref.c (check_section_sym_xref): New function.
147 (check_nocrossrefs): Call it.
148 (check_nocrossref): Interate over h->refs here instead of..
149 (check_refs): ..here. Pass in the symbol name, section, and bfd
150 rather than hash_entry pointers.
151 (struct check_refs_info): Keep symbol name rather than hash entry.
152 Remove "same".
153 (check_reloc_refs): Tweak for above changes in check_refs_info.
154 Only report references to section syms when symname is NULL to
155 prevent duplicate messages for the same reloc.
156
1b577b00
NC
1572001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
158
c7d701b0
NC
159 * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
160 available. Do not print NULL trees.
161 (exp_print_token): Print unknown tokens with values > 126 as
162 decimal values not ASCII characters.
163
1545243b
NC
164 * ldlang.c (lang_leave_overlay): If a region is specified assign
165 it to all sections inside the overlay unless they have been
166 assigned to the own, non-default, memory region.
167
1b577b00
NC
168 * README: Add header for consistency with other README files.
169
5030876b
L
1702001-07-14 H.J. Lu <hjl@gnu.org>
171
172 * emultempl/elf32.em (output_prev_sec_find): Never return
173 bfd_abs_section_ptr, bfd_com_section_ptr nor
174 bfd_und_section_ptr.
175
18c7a9a5
NC
1762001-07-14 Nick Clifton <nickc@cambridge.redhat.com>
177
178 * Makefile.am (em32relf.c): Chnage dependencu from generic.em to
179 elf32.em.
180 * Makefile.in: Regenerate.
181
9ffecff1
MG
1822001-07-14 matthew green <mrg@eterna.com.au>
183
184 * configure.tgt (i386-*-netbsdelf*): New target.
185 (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
186
95500e1c
JJ
1872001-07-13 Jakub Jelinek <jakub@redhat.com>
188
189 * emultempl/elf32.em (output_prev_sec_find): New.
190 (place_orphan): Use it.
191
e97cb84f
L
1922001-07-11 H.J. Lu <hjl@gnu.org>
193
194 * ldmain.c (main): Fix typos in the last change.
195
7333607e
JJ
1962001-07-11 Jakub Jelinek <jakub@redhat.com>
197
198 * ldmain.c (main): Disallow -F and -f without -shared.
199
d29d80f2
NC
2002001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
201
202 * emultempl/pe.em (after_open): Check for the output_bfd not
203 having any coff_data structure allocated to it.
204
c2a1a436
DB
2052001-07-09 David O'Brien <obrien@FreeBSD.org>
206
207 * emultempl/elf32.em: Do not assuming that contents of the buffer
208 returned from basename function will remain unchanged accross other
209 function calls.
210
63653551
L
2112001-07-03 H.J. Lu <hjl@gnu.org>
212
213 * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
214 2001-07-03. It creates dynamic entries even for static binaries.
215
d303a449
L
2162001-07-03 Jakub Jelinek <jakub@redhat.com>
217
218 * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
219 (DYNAMIC): Use it to reserve few dynamic entries for
220 post-linking tools.
221
9f22353f
AM
2222001-06-27 Alan Modra <amodra@bigpond.net.au>
223
224 * emulparams/hppa64linux.sh: New file.
225 * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
226 * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
227 (ehppa64linux.c): Add rule to make it.
228 Run "make dep-am".
229 * Makefile.in: Regenerate.
230
62bf86b4
HPN
2312001-06-21 Hans-Peter Nilsson <hp@axis.com>
232
233 * ld.texinfo (Options, -r): Mention restrictions when using
234 different object formats.
235
429d935d
HPN
2362001-06-19 Hans-Peter Nilsson <hp@axis.com>
237
238 * ldlang.c (lang_check): Emit fatal error if relocatable link
239 between different object flavours with relocations in input.
240
cb840a31
L
2412001-06-19 H.J. Lu <hjl@gnu.org>
242
243 * ld.texinfo (-E, --export-dynamic): Mention --version-script.
244 (--version-script): Mention the language support.
245
9bf03acc
L
2462001-06-19 H.J. Lu <hjl@gnu.org>
247
248 * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
249
c45021f2
NC
2502001-06-18 H.J. Lu <hjl@gnu.org>
251
b6bf44ba
AM
252 * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
253 (diststuff): Add $(MANS).
254 * Makefile.in: Regenerated.
c45021f2 255
b6bf44ba 256 * ld.1: Removed.
c45021f2 257
6caa99ab
HPN
2582001-06-18 Hans-Peter Nilsson <hp@axis.com>
259
605d9b3a
HPN
260 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
261 Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
262 * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
263 * ld.h (args_type): Remove member export_dynamic. All users
264 changed to use struct bfd_link_info member.
265
6caa99ab
HPN
266 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
267 $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
268 * Makefile.in: Regenerate.
269
6f9efd97
L
2702001-06-18 H.J. Lu <hjl@gnu.org>
271
272 * ldlang.c (init_os): Add the newline to the einfo call.
273 (lang_check): Likewise.
274 (lang_do_version_exports_section): Likewise.
275
5af9fd8b
L
2762001-06-15 H.J. Lu <hjl@gnu.org>
277
278 * lexsup.c (parse_args); Save optind to report unrecognized
279 option.
280
2a096f04
HPN
2812001-06-15 Hans-Peter Nilsson <hp@axis.com>
282
7e66c3f5
HPN
283 * ldlang.c (lang_check): Emit fatal error if relocatable link
284 between different object flavours.
285
2a096f04
HPN
286 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
287 Set new link_info member export_dynamic.
288 * ldmain.c (main): Initialize new link_info member export_dynamic.
289
6770ec8c
NC
2902001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
291
292 * ldlang.c (walk_wild): Only call walk_wild_file if
293 lookup_name returns something.
b6bf44ba
AM
294 (lookup_name): If load_symbols fails, return NULL.
295 (load_symbols): Chnage to a boolean function.
296 (open_input_bfds): If load_symbols fails then do not make the
6770ec8c
NC
297 executable.
298
8529105a
AM
2992001-06-08 Alan Modra <amodra@bigpond.net.au>
300
301 * ldlang.c (record_bfd_errors): Remove.
302
303 * emultempl/aix.em: Fix copyright dates.
304
8f3aa7a0
AJ
3052001-06-07 Andreas Jaeger <aj@suse.de>
306
307 * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
308 (TEXT_START_ADDR): Likewise.
309
3277f888
AM
3102001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
311
312 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
313
3763134d
DD
3142001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
315
316 * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
317
5929ebc0
L
3182001-05-31 H.J. Lu <hjl@gnu.org>
319
320 * ldlang.c (open_input_bfds): Don't change the bfd error
321 handler whilst loading symbols.
322
c04a062d
NC
3232001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
324
325 * configure.tgt: Remove i370-mvs architecture, it is not currently
326 supported.
327
96fcab3e
L
3282001-05-25 H.J. Lu <hjl@gnu.org>
329
330 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
331 like emulparams/aixppc.sh.
332
db8d4f23
L
3332001-05-25 H.J. Lu <hjl@gnu.org>
334
335 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
336 setting of output_filename after bfd_scan_arch.
337 * emultempl/pe.em: Likewise.
338
5f642101
L
3392001-05-25 H.J. Lu <hjl@gnu.org>
340
341 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
342 like emulparams/aixppc.sh.
343
344 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
345 instead of ${srcdir}/emultempl/stringify.sed.
346
64e9ece0
TW
3472001-05-25 Timothy Wall <twall@oculustech.com>
348
349 * emulparams/elf64_aix.sh: Change settings to match IBM linker
8f3aa7a0 350 output.
64e9ece0 351
c709b096
AM
3522001-05-25 Alan Modra <amodra@one.net.au>
353
354 * configure.host: Replace linuxoldld with linux*oldld.
355 * configure.tgt: Likewise.
356
6cbdcc6f
L
3572001-05-24 H.J. Lu <hjl@gnu.org>
358
359 * emultempl/stringify.sed: Removed again.
360
86af25fe
L
3612001-05-24 H.J. Lu <hjl@gnu.org>
362
363 * emultempl/aix.em (OUTPUT_ARCH): Defined.
364 (gld${EMULATION_NAME}_before_parse): Initialize
365 ldfile_output_architecture, ldfile_output_machine and
366 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
367 * emultempl/beos.em: Likewise.
368 * emultempl/elf32.em: Likewise.
369 * emultempl/linux.em: Likewise.
370 * emultempl/mipsecoff.em: Likewise.
371 * emultempl/pe.em: Likewise.
372 * emultempl/sunos.em: Likewise.
373
3b1b01cf
TR
3742001-05-24 Tom Rix <trix@redhat.com>
375
8f3aa7a0 376 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
3b1b01cf
TR
377 udate import file format.
378 (change_symbol_mode) New, same
379 (is_syscall) New, same
380 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
381 * emulparams/aixppc64.sh : same
382 * emulparams/aixrs6.sh : same
383 * emulparams/ppcmacos.sh : same
384 * emultempl/aix.em : use strtoull to parse options
385 * Makefile.am : add eaixppc64 emulation for xcoff64
386 * Makefile.in : same
387 * configure.tgt : same
388
389 * scripttempl/aix.sc : default text section offset to 0x10000000
390 default data section offset to 0x20000000
391 add .sv3264 and .sv64 pseudo sections
8f3aa7a0 392 loader and debug sections use the currect section offset.
3b1b01cf
TR
393
394 * emultempl/aix.em : Add xcoff64 support
395 Add -binitfini support
8f3aa7a0 396 (gld${EMULATION_NAME}_before_parse) -binitfini
3b1b01cf 397 (gld${EMULATION_NAME}_parse_args) same
8f3aa7a0 398 (gld${EMULATION_NAME}_before_allocation) format change for special
3b1b01cf
TR
399 sections
400
401 * emulparams/aixppc64.sh : New file for xcoff64 support
8f3aa7a0 402
57e6abd2
AO
4032001-05-23 Alexandre Oliva <aoliva@redhat.com>
404
405 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
406 variable to avoid non-portable shell construct.
407
d1cf510e
NC
4082001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
409
410 * ldmain.c (get_emulation): Add -mips5 command line argument.
411
506eee22
NC
4122001-05-22 Alexandre Oliva <aoliva@redhat.com>
413
414 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
415 (ELF_INTERPRETER_NAME): Define it.
416 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
417 it.
418 * configure.tgt (targ_emul, targ_extra_emuls)
419 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
420 as primary, elf_i386 as extra.
421 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
422 (eelf_i386_ldso.c): New rule.
423 * Makefile.in: Rebuilt.
424
4252001-05-22 Nick Clifton <nickc@redhat.com>
426
427 * lexsup.c (ld_options): Allow -I to be an alias for
428 --dynamic-linker. This is for Solaris compatability.
429 * ld.texinfo: Document that -I can be used.
430 * ld.1: Regenerate.
431
d1778b88
AM
4322001-05-16 Alan Modra <amodra@one.net.au>
433
434 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
435 whether an input section is the first one assigned to an output
436 section.
437 Assorted formatting fixes.
438
02649152
DD
4392001-05-14 DJ Delorie <dj@delorie.com>
440
441 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
442 * Makefile.in: Ditto.
443
579f31ac
JJ
4442001-05-11 Jakub Jelinek <jakub@redhat.com>
445
446 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
447 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
448 output sections.
449 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
450
8550eb6e
JJ
4512001-05-11 Jakub Jelinek <jakub@redhat.com>
452
453 * ldlang.c (lang_process): Call bfd_merge_sections.
454
8e5a525c
AM
4552001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
456
457 * ldgram.y: Fix typo.
458
1c9acd94
L
4592001-05-03 H.J. Lu <hjl@gnu.org>
460
461 * emultempl/elf32.em: Include "libiberty.h".
462 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
463 basename of the bfd filename.
464 (gld${EMULATION_NAME}_stat_needed): Likewise.
465 (gld${EMULATION_NAME}_try_needed): Likewise.
466 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
467
14fe918e
L
4682001-05-02 H.J. Lu <hjl@gnu.org>
469
470 * emultempl/pe.em: Include <ctype.h>.
471
c7e40348
NC
4722001-05-02 Johan Rydberg <jrydberg@opencores.org>
473
b6bf44ba 474 * emulparams/elf32openrisc.sh: New file.
c7e40348 475
b6bf44ba
AM
476 * Makefile.am: Add OpenRISC target.
477 * Makefile.in: Regenerated.
c7e40348 478
b6bf44ba 479 * configure.tgt: Add openrisc-*-* mapping.
c7e40348
NC
480
4812001-05-02 Nick Clifton <nickc@redhat.com>
482
483 * emultempl/aix.em: Replace buystring with xstrdup.
484 * emultempl/beos.em: Replace buystring with xstrdup.
8f3aa7a0 485
d1b2b2dc
L
4862001-05-02 H.J. Lu <hjl@gnu.org>
487
488 * ldfile.c: Include "libiberty.h".
489 * ldlex.l: Likewise.
490
491 * ldmisc.c (buystring): Removed.
492 * ldmisc.h: Likewise.
493
494 * ldfile.c: Replace buystring with xstrdup.
495 * ldlang.c: Likewise.
496 * ldlex.l: Likewise.
497 * ldmain.c: Likewise.
498 * ldmisc.c: Likewise.
499 * lexsup.c: Likewise.
500 * mpw-eppcmac.c: Likewise.
501
35714f2a
AJ
5022001-04-30 Andreas Jaeger <aj@suse.de>
503
504 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
505
884fb58e
NC
5062001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
507
b6bf44ba
AM
508 * ldlang.c (load_symbols): Give emulation a chance
509 to process unrecognized file before fatal error is
510 reported, not after.
884fb58e 511
87748b32
NC
5122001-04-27 Sean McNeil <sean@mcneil.com>
513
514 * configure.tgt: Add arm-vxworks target.
515 * scripttempl/armcoff.sc: Support .text or .data as a section name
516 prefix.
517 Define _etext.
35714f2a 518
7ce691ae
C
5192001-04-13 J.T. Conklin <jtc@redback.com>
520
521 * ld.texinfo: Document --fatal-warnings.
522 * ld.1: Regenerate.
523
524 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
35714f2a 525 warnings have been turned into errors.
7ce691ae
C
526 * lexsup.c (OPTION_WARN_FATAL): Define.
527 (ld_options): Entry for --fatal-warnings.
528 (parse_args): Handle OPTION_WARN_FATAL.
529 * ld.h (ld_config_type): Add fatal_warnings field.
530
f5fa8ca2
JJ
5312001-04-13 Jakub Jelinek <jakub@redhat.com>
532
533 * ldmain.c (main): Default to discard_sec_merge.
534 * lexsup.c (OPTION_DISCARD_NONE): Define.
535 (ld_options): Add --discard-none.
536 (parse_args): Handle OPTION_DISCARD_NONE.
537 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
538 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
539 all its input sections match.
540
fdec3cfc
L
5412001-04-05 Steven J. Hill <sjhill@cotw.com>
542
543 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
544 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
545 (eelf32ltsmip.c): New target.
546 (eelf64btsmip.c): Likewise.
547 (eelf64ltsmip.c): Likewise.
548 * Makefile.in: Regenerated.
549
550 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
551 target.
552 (mips*-*-linux-gnu*): Likewise.
553
554 * emulparams/elf32ltsmip.sh: New. Traditional little endian
555 MIPS taget.
35714f2a 556 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
fdec3cfc
L
557 target.
558 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
559 endian target.
560
589bad82
HPN
5612001-04-05 Hans-Peter Nilsson <hp@axis.com>
562
563 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
564 correct value of __Stext here.
565 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
566 .startup section.
567
568 * emulparams/crislinux.sh: Remove FIXME.
569
94202e16
AM
5702001-04-02 Alan Modra <alan@linuxcare.com.au>
571
572 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
573 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
574
1268a053
HPN
5752001-03-27 Hans-Peter Nilsson <hp@axis.com>
576
577 * configure.tgt (cris-*-*): Change default emulation to criself.
578 (cris-*-*aout*): New rule.
579
d85e9ff7
AM
5802001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com>
581
582 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
583 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
584
0879a67a
AJ
5852001-03-26 Andreas Jaeger <aj@suse.de>
586
587 * ld.texinfo (Overview): Fix syntax in texi code.
588
0285c67d
NC
5892001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
590
591 * ld.texinfo: Put @c man indications to generate the ld man page.
592 When generating man, define all the variables. Define SEEALSO
593 and SYNOPSIS. Re-organize some lines to avoid the cross references.
594 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
595 (ld.1): Generate from ld.texinfo.
596 * Makefile.in: Regenerate.
597
c20ec07b
NC
5982001-03-23 Mark Elbrecht <snowball3@bigfoot.com>
599
600 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
601 and '-fdata-sections'. Set the VMA of STABS sections to zero.
602
cc5ce052
UD
6032001-03-17 Ulrich Drepper <drepper@redhat.com>
604
605 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
606 is an absolute path look only for this file and not along the path.
607
a1ab1d2a
UD
6082001-03-17 Ulrich Drepper <drepper@redhat.com>
609
610 * emultempl/elf32.em (OPTION_GROUP): New macro.
611 Add new option Bgroup to longopts.
612 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
613 (gld*_list_options): Add -Bgroup and -z defs.
614 * ld.1: Document -Bgroup and -z defs.
615 * ld.texinfo: Likewise.
616
788fca5a
MM
6172001-03-07 Michael Meissner <meissner@redhat.com>
618
619 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
620 with sections created by -fdata-sections.
621 (.dynbss,.bss): Ditto.
622
1c7566d1
AM
6232001-03-05 Alan Modra <alan@linuxcare.com.au>
624
625 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
626 after_allocation_default, not gld..._before_allocation.
627
27b7e12d
AM
6282001-02-27 Alan Modra <alan@linuxcare.com.au>
629
630 * configure.in (BFD_VERSION): New.
631 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
632 * configure: Regenerate.
633 * Makefile.am: Run "make dep-am"
634 * Makefile.in: Regenerate.
635
2bc551c7
TW
6362001-02-26 Timothy Wall <twall@cygnus.com>
637
638 * emulparams/elf64_aix.sh: Add additional read-only sections;
639 uncomment lines which are now required.
640
1276aefa
NC
6412001-02-26 H.J. Lu <hjl@gnu.org>
642
643 * ldlang.c (open_input_bfds): Set the bfd error handler so
b6bf44ba
AM
644 that problems can be caught whilst loading symbols.
645 (record_bfd_errors): New function: Report BFD errors and mark
646 the executable output as being invalid.
1276aefa 647
41c49998
TW
6482001-02-22 Timothy Wall <twall@cygnus.com>
649
650 * configure.host: Add configuration for ia64-*-aix*.
651 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
652 Add dependencies for eelf64_aix.c.
653 * Makefile.in: Regenerate.
654 * configure.tgt: Add ia64-*-aix* mapping.
655 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
a2b64bed 656 * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
0879a67a
AJ
657 AIX-specific test.
658
78f85fd7
L
6592001-02-20 H.J. Lu <hjl@gnu.org>
660
661 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
662 false if we found the file.
663
1ac7e077 6642001-02-18 David O'Brien <obrien@FreeBSD.org>
fb33b906
DB
665
666 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
667 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
668
e135f41b
NC
6692001-02-18 lars brinkhoff <lars@nocrew.org>
670
671 * Makefile.am: Add PDP-11 target.
672 * configure.tgt: Likewise.
673 * emulparams/pdp11.sh: New file.
674
a842aceb
DB
6752001-02-17 David O'Brien <obrien@FreeBSD.org>
676
677 * configure.host: Add a generic FreeBSD configuration entry such that
678 all [modern] FreeBSD systems on all platforms will look the same.
679
24174db0
L
6802001-02-14 H.J. Lu <hjl@gnu.org>
681
682 * configure.tgt: Remove mention of earmelf_linux26.
683
30c3c13a
RH
6842001-02-13 Richard Henderson <rth@redhat.com>
685
686 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
687
b46a87b1
L
6882001-02-13 H.J. Lu <hjl@gnu.org>
689
690 * ldexp.h (node_type): Add etree_provided.
691 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
692 type to etree_provided if defined by PROVIDE. Allow updating
0879a67a 693 for etree_provided.
b46a87b1
L
694 (exp_print_tree): Handle etree_provided.
695 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
696 etree_provided.
697
f3988fd9
RH
6982001-02-09 David Mosberger <davidm@hpl.hp.com>
699
700 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
701 .IA_64.unwind.* pattern to unwind table section and
702 .IA_64.unwind_info* pattern to unwind info section.
703
a85d7ed0
NC
7042001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
705
706 * Makefile.am: Add linux target for S/390.
707 * Makefile.in: Likewise.
708 * configure.host: Likewise.
709 * configure.tgt: Likewise.
710 * emulparams/elf64_s390.sh: New file.
711 * emulparams/elf_s390.sh: New file.
712
780248c4
JJ
7132001-02-09 Jakub Jelinek <jakub@redhat.com>
714
715 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
716 targ_extra_libpath.
717 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
718
0e2534bd
PB
7192001-02-06 Philip Blundell <philb@gnu.org>
720
721 * Makefile.am: Remove mention of earmelf_linux26.
722 * Makefile.in: Regenerate.
723
46c1ea57
PB
7242001-02-04 Philip Blundell <philb@gnu.org>
725
726 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
727 * emulparams/armelf_linux26.sh: Delete.
728 * configure.tgt: Remove mention of armelf_linux26 emulation.
729
0088edd2
NC
7302001-02-01 Nick Clifton <nickc@redhat.com>
731
732 * ld.1: Replace occurances of -oformat with --oformat.
733
02aa14fb
AM
7342001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
735
736 * ldlang.c (lang_leave_overlay): Don't set lma_region when
737 load_base is specified.
738
f813923c
HPN
7392001-01-24 Hans-Peter Nilsson <hp@axis.com>
740
741 * emultempl/elf32.em: Correct spelling in comments and listed
742 options.
743
c1eb1488
AM
7442001-01-23 Alan Modra <alan@linuxcare.com.au>
745
746 * ldlang.c (lang_leave_overlay): Only set lma_region from the
747 default for the first section of a group of overlay sections.
748
d9fc3714
AM
7492001-01-22 Alan Modra <alan@linuxcare.com.au>
750
751 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
752 * Makefile.in: Regenerate.
753 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
754 Check for null tool_dir.
755
6be0ca94
JW
7562001-01-16 Jim Wilson <wilson@redhat.com>
757
758 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
759 and IA_64.unwind.info.
760
b9247304
L
7612001-01-16 H.J. Lu <hjl@gnu.org>
762
763 * ldlang.c (lang_check): Merge the private data only if the
764 input file has contents.
765
577a0623
AM
7662001-01-14 Alan Modra <alan@linuxcare.com.au>
767
d952f17a
AM
768 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
769
ffd6e9de
AM
770 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
771 enabling search for libmilli. On a relocatable link, make .text
772 sections unique.
773 (LDEMUL_AFTER_PARSE): Define.
774 (hppaelf_finish): Correct spelling of relocatable in comments.
775
577a0623
AM
776 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
777 rummage through the script for sections on the unique list.
778 Correct length of strncmp for ".note".
779 (gld${EMULATION_NAME}_check_needed): Rearrange function.
780
781 * ldlang.c (unique_section_list): New var.
782 (unique_section_p): New function.
783 (walk_wild_section): Don't match sections on unique_section_list.
784 (lang_add_unique): New function.
ffd6e9de 785 Correct spelling of relocatable in comments.
577a0623
AM
786
787 * ldlang.h (struct unique_sections): Declare.
788 (unique_section_list): Declare.
789 (unique_section_p): Declare.
790 (lang_add_unique): Declare.
791
792 * lexsup.c (ld_options): Allow --unique to take an optional arg.
793 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
794
795 * ld.texinfo (--unique): Update.
796
b7ed8fad
NC
7972001-01-13 Nick Clifton <nickc@redhat.com>
798
799 * lexsup.c (parse_args): Remove spurious white space.
800
d0398d6a
NC
8012001-01-12 Nick Clifton <nickc@redhat.com>
802
803 * lexsup.c (parse_args): Update copyright date.
804
350fdb00
PB
8052001-01-12 Philip Blundell <pb@futuretv.com>
806
807 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
808
60c6797e
KH
8092001-01-10 Kazu Hirata <kazu@hxi.com>
810
811 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
812 * scripttempl/h8300h.sc: Fix formatting.
813 * scripttempl/h8300s.sc: Likewise.
69f06969
KH
814 * scripttempl/h8500.sc: Likewise.
815 * scripttempl/h8500b.sc: Likewise.
816 * scripttempl/h8500c.sc: Likewise.
817 * scripttempl/h8500m.sc: Likewise.
818 * scripttempl/h8500s.sc: Likewise.
60c6797e 819
482e8b32
DB
8202000-01-07 David O'Brien <obrien@BSDi.com>
821
822 * emultempl/elf32.em: Only perform Linux ld hints processing when
823 targeting Linux.
824
d7ed7ca6
PB
8252001-01-07 Philip Blundell <philb@gnu.org>
826
827 * ld.texinfo (Bug Reporting): Update email address for reports.
828
0fc3347a
NC
8292000-12-31 Nick Clifton <nickc@redhat.com>
830
831 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
832 options by checking for a return value of '?' not -1.
833
e4897a32
NC
8342000-12-28 Nick Clifton <nickc@redhat.com>
835
836 * lexsup.c (struct ld_option): Add new enum value:
837 EXACTLY_TWO_DASHES.
838 (ld_options[]): Change -omagic, -output and -oformat options
839 to be EXACTLY_TWO_DASHES.
840 (OUTPUT_COUNT): Use ARRAY_SIZE.
841 (parse_args): Change parameter 'argc' to unsigned.
842 Place EXACTLY_TWO_DASHES options into new really_longopts
843 array.
844 If getopt_long_only fails, try calling getopt_long using the
845 really_longopts array.
846 (help): Print a double dash for both EXACTLY_TWO_DASHES and
847 TWO_DASHES options.
848
849 * ldlex.h: Fix prototype of parse_args.
850
851 * ld.texinfo: Document that long options starting with 'o'
852 must be preceeded by two dashes. Change example of a single
853 dashed long option from -oformat to -trace-symbol.
854
1122a5fc
NC
8552000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
856
857 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
858 (longopts[]): New --no-default-excludes option.
859 (gld_${EMULATION_NAME}_list_options): Document.
860 (gld_${EMULATION_NAME}_parse_args): Handle.
861
037849a9
NC
8622000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
863
864 * ldlang.c (new_stat): Revert the last beautification with "innocent"
865 whitespace, it breaks the K&R C preprocessor.
866
7ec229ce
DD
8672000-12-11 DJ Delorie <dj@redhat.com>
868
869 * ld.texinfo: Add notes about --whole-archive and gcc.
870
b79e8c78
NC
8712000-11-18 Fred Fish <fnf@be.com>
872
873 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
874 (ld_options): Entry for --allow-shlib-undefined.
875 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
876 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
877 to false.
878 * ld.texinfo: Document new command line switch.
d952f17a 879
9a8e2505
GK
8802000-12-12 Geoffrey Keating <geoffk@redhat.com>
881
882 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
883 .fixup is actually read/write.
884 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
885 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
886 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
887
b8355149
JH
888Mon Dec 11 14:50:33 MET 2000 Jan Hubicka <jh@suse.cz>
889
890 * NEWS: Add note about x86_64 architecture.
891
93b63cd3
DD
8922000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
893
894 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
895 Set DWARF2 sections to a VMA of zero.
896
24f6971a
NC
8972000-12-01 Joel Sherrill <joel@OARcorp.com>
898
d952f17a 899 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
24f6971a
NC
900 New targets.
901 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
902 (sparc*-*-rtems*): Switched from a.out to ELF.
903
2be3aa03
NC
9042000-11-30 Jan Hubicka <jh@suse.cz>
905
906 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
907 (eelf_x86_64.c): New.
908 * Makefile.in: Regenerate.
909 * configure.tgt: Add support for x86_64-*-linux-gnu*.
910 * emulparams/elf_x86_64.sh: New.
911
8c899858
HPN
9122000-11-30 Hans-Peter Nilsson <hp@axis.com>
913
914 * emulparams/crislinux.sh (ENTRY): Change back to _start.
915 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
916
917 * scripttempl/crisaout.sc: Change all RELOCATING not related to
918 merging non-a.out sections into CONSTRUCTING.
919
e47b9e39
NC
9202000-11-28 Nick Clifton <nickc@redhat.com>
921
922 * ld.1 (COPYING): Mention that the GNU Free Documentation
923 License is present in the sources, but not the output, and
924 also available from the GNU website.
925 (GNU Free Documentation License): Comment out this section.
926
ad95f82a
DB
9272000-11-28 David O'Brien <obrien@dragon.nuxi.com>
928
929 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
930 does not use them.
931
fd89e65f
DB
9322000-11-25 David O'Brien <obrien@FreeBSD.org>
933
934 * ld.1: Remove old date so it does not give the impression the manpage
935 is way out of date.
936
077b8428
NC
9372000-11-24 Nick Clifton <nickc@redhat.com>
938
939 * configure.tgt (xscale-coff): Add target.
940 (xscale-elf): Add target.
941
49425d28
NC
9422000-11-24 Fred Fish <fnf@be.com>
943
d952f17a
AM
944 * ldmain.c (main): Remove redundant init of config.make_executable
945 to true.
49425d28 946
d3480244
RH
9472000-11-15 Richard Henderson <rth@redhat.com>
948
949 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
950
1ce7de8b
KH
9512000-11-14 Kazu Hirata <kazu@hxi.com>
952
953 * scripttempl/h8300.sc: Fix formatting.
954 * scripttempl/h8300h.sc: Likewise.
955 * scripttempl/h8300s.sc: Likewise.
956
208d5cd0
DC
957Tue Nov 14 00:59:19 2000 Denis Chertykov <denisc@overta.ru>
958
959 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
960
2e418547
PB
9612000-11-09 Philip Blundell <pb@futuretv.com>
962
963 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
964 around orphan sections whose names can be represented in C.
965
c940e6fc
JW
9662000-11-07 Jim Wilson <wilson@redhat.com>
967
968 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
969 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
970
704c465c
NC
9712000-11-06 Nick Clifton <nickc@redhat.com>
972
973 * ld.texinfo: Add GNU Free Documentation License.
974 * ldint.texinfo: Add GNU Free Documentation License.
cf055d54 975 * ld.1: Add GNU Free Documentation License.
704c465c 976
dca7760f
AM
9772000-11-05 Alan Modra <alan@linuxcare.com.au>
978
979 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
980 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
981
982 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
983 Move 2000-11-02 Makefile.in changes to this file.
984 * Makefile.in: Regenerate.
985
40a633d5
NC
9862000-11-03 Nick Clifton <nickc@redhat.com>
987
988 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
989 constructors and destructors.
990 * scripttempl/h8300h.sc: Ditto.
991 * scripttempl/h8300s.sc: Ditto.
992 * scripttempl/h8500.sc: Ditto.
993 * scripttempl/h8500b.sc: Ditto.
994 * scripttempl/h8500c.sc: Ditto.
995 * scripttempl/h8500m.sc: Ditto.
996 * scripttempl/h8500s.sc: Ditto.
997 * scripttempl/v850.sc: Ditto.
998 * scripttempl/w65.sc: Ditto.
999 * scripttempl/z8000.sc: Ditto.
1000
59ff2774
NC
10012000-11-02 Per Lundberg <plundis@chaosdev.org>
1002
1003 * Makefile.in (e_i386_chaos.c): New rule.
1004 (ALL_EMULATIONS): Added e_i386_chaos.o.
1005 * emulparams/elf_i386_chaos.sh: New file.
1006 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
1007
645571e1
JJ
10082000-10-20 Jakub Jelinek <jakub@redhat.com>
1009
1010 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
1011 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
1012 Fix sed invocation, so that it coped with '/' in Solaris 64bit
1013 library path suffix.
1014 Based on patch by Andrew Macleod <amacleod@cygnus.com>.
1015
c5975a45
HPN
10162000-10-18 Hans-Peter Nilsson <hp@axis.com>
1017
1018 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
1019 for consecutive sections.
1020
ea20a7da
CC
10212000-10-17 Chandrakala Chavva <cchavva@redhat.com>
1022
d952f17a
AM
1023 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
1024 options.
1025 * ld.texinfo: Added notes about this new option.
ea20a7da 1026
6e45556a
NC
10272000-10-16 Nick Clifton <nickc@redhat.com>
1028
1029 * emultempl/pe.em (_after_open): Add tests of return values from
1030 bfd functions. Emit appropriate error messages if necessary.
1031
b9a69188
NC
10322000-10-13 Nick Clifton <nickc@redhat.com>
1033
1034 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
102c86f8
NC
1035 local variables - they are not used, but leave in the call to
1036 bfd_canonicalize_symtab.
b9a69188
NC
1037 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
1038 pe_dll_search_prefix.
1039
627427de 10402000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
d952f17a 1041
627427de
DD
1042 * emultempl/pe.em (pe_dll_search_prefix): New variable,
1043 (longopts): New --dll-search-prefix option.
1044 (gld_${EMULATION_NAME}_list_options): Document.
1045 (gld_${EMULATION_NAME}_parse_args): Handle.
1046 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
1047 dynamically, search for a dll named '<prefix><basename>.dll'
1048 in preference to 'lib<basename>.dll' if --dll-search-prefix
1049 is specified.
1050
24376d1b
AM
10512000-10-12 Alan Modra <alan@linuxcare.com.au>
1052
1053 * ldlang.c (section_already_linked): Set kept_section instead of
1054 sec->comdat->sec.
1055
e47d05ad
KH
10562000-10-10 Kazu Hirata <kazu@hxi.com>
1057
1058 * deffile.h: Fix formatting.
1059 * lexsup.c: Likewise.
1060 * mri.c: Likewise.
1061
23a87948
DD
10622000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
1063
1064 * pe-dll.c (make_one): Do not generate code thunk for DATA
1065 exports.
1066 (process_def_file): deduce DATA flag for auto-export sumbols.
1067
86b1cc60
KH
10682000-10-09 Kazu Hirata <kazu@hxi.com>
1069
89cdebba
KH
1070 * ld.h: Fix formatting.
1071 * ldcref.c: Likewise.
1072 * ldctor.h: Likewise.
1073 * ldemul.c: Likewise.
1074 * ldemul.h: Likewise.
1075 * ldexp.c: Likewise.
1076 * ldexp.h: Likewise.
1077 * ldfile.c: Likewise.
1078 * ldfile.h: Likewise.
1079 * ldlang.c: Likewise.
1080 * ldlang.h: Likewise.
1081 * ldmain.c: Likewise.
7bfd51a3
KH
1082 * pe-dll.c: Likewise.
1083
1084 * pe-dll.c: Revert some formatting fixes.
86b1cc60 1085
d643799d
KH
10862000-10-08 Kazu Hirata <kazu@hxi.com>
1087
1088 * pe-dll.c: Fix formatting.
1089
08da4cac
KH
10902000-10-05 Kazu Hirata <kazu@hxi.com>
1091
1092 * ldlang.c: Fix formatting.
1093
c2a94a7a
DD
10942000-10-03 DJ Delorie <dj@redhat.com>
1095
1096 * pe-dll.c (fill_edata): initialize entire block
1097 (make_one): fill in correct section.
1098
8c95a62e
KH
10992000-10-03 Kazu Hirata <kazu@hxi.com>
1100
1101 * ldexp.c: Fix formatting.
1102
486e80e2
DD
11032000-10-02 DJ Delorie <dj@redhat.com>
1104
1105 * emultempl/pe.em (gld_*_after_open): detect case where there two
1106 import libraries for same dll; rename one to ensure proper link
1107 order.
1108
1109 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
1110 typo
1111 (generate_edata): fix typo
1112
24dd9f75
HPN
11132000-09-29 Hans-Peter Nilsson <hp@axis.com>
1114
1115 * scripttempl/crisaout.sc (ENTRY): Now __start.
1116 (.text): Add default setting for __start.
1117 Remove CONSTRUCTORS handling.
1118 (/DISCARD/): Add .gnu.warning.*.
1119 * emulparams/crislinux.sh (ENTRY): Now __start.
1120 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
1121 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
1122 (ENTRY): Now __start.
1123 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
1124 (EXECUTABLE_SYMBOLS): Add default setting for __start.
1125
4de2d33d
KH
11262000-09-29 Kazu Hirata <kazu@hxi.com>
1127
5cc18311
KH
1128 * deffile.h: Fix formatting.
1129 * ld.h: Likewise.
1130 * ldcref.c: Likewise.
4de2d33d 1131 * ldctor.c: Likewise.
5cc18311 1132 * ldctor.h: Likewise.
4de2d33d 1133 * ldemul.c: Likewise.
5cc18311 1134 * ldemul.h: Likewise.
4de2d33d 1135 * ldexp.c: Likewise.
5cc18311 1136 * ldexp.h: Likewise.
4de2d33d 1137 * ldfile.c: Likewise.
5cc18311 1138 * ldfile.h: Likewise.
4de2d33d 1139 * ldlang.c: Likewise.
5cc18311
KH
1140 * ldlang.h: Likewise.
1141 * lexsup.c: Likewise.
1142 * mri.c: Likewise.
1143 * pe-dll.c: Likewise.
4de2d33d 1144
45b1f63c
DD
11452000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
1146
1147 * pe-dll.c (process_def_file): Uninitialized data wasn't
1148 exported with --export-all-symbols switch.
d952f17a 1149
45b1f63c
DD
11502000-09-28 DJ Delorie <dj@redhat.com>
1151
1152 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
1153 noname work properly.
1154
47d89dba
AM
11552000-09-28 Alan Modra <alan@linuxcare.com.au>
1156
1157 * ld.texinfo (HPPA ELF32): New section.
1158
1159 * emultempl/hppaelf.em (group_size): New.
1160 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
1161 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
1162 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
1163 options to prevent abbreviations matching.
1164 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
1165 (PARSE_AND_LIST_ARGS_CASES): Handle it.
1166
36bdbeec
NC
11672000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1168
1169 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
1170 on the m68*-*-elf target. Make it support COFF input objects.
1171
6d5e62f8
KH
11722000-09-21 Kazu Hirata <kazu@hxi.com>
1173
1174 * ldmain.c: Fix formatting.
1175 * ldmisc.c: Likewise.
1176 * ldver.c: Likewise.
1177 * ldwrite.c: Likewise.
1178
e2eb67d9
AM
11792000-09-21 Alan Modra <alan@linuxcare.com.au>
1180
1181 * ldwrite.c (clone_section): Silence gcc warnings.
1182
b3ea3584
AM
11832000-09-20 Alan Modra <alan@linuxcare.com.au>
1184
1185 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
1186 out of memory failure.
1187
1188 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
1189 (clone_section): Handle out of memory failures. Rename var to
1190 avoid c++ reserved word.
1191
25f72752
AM
11922000-09-18 Alan Modra <alan@linuxcare.com.au>
1193
1194 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
1195 stub_name param to stub_sec_name.
1196 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
1197
0752970e
NC
11982000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1199
1200 * emultempl/m68kelf.em: New file.
1201 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
1202 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
1203 * Makefile.in: Regenerate.
1204
92b7e9d8
AM
12052000-09-15 Alan Modra <alan@linuxcare.com.au>
1206
1207 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
1208 only as needed.
1209
9b14b192
NC
12102000-09-13 Nick Clifton <nickc@redhat.com>
1211
1212 * ldmain.c (multiple_definition): Disable relaxation if
1213 multiple symbol definitions are encountered - otherwise the
1214 linker could abort with an assertion failure.
1215
891fa266
NC
12162000-09-10 Nick Clifton <nickc@redhat.com>
1217
1218 * mri.c: Fix formatting.
1219
5d64ca4e
L
12202000-09-07 H.J. Lu <hjl@gnu.org>
1221
1222 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1223 * configure: Rebuild.
1224
dd94604f
L
12252000-09-07 H.J. Lu <hjl@gnu.org>
1226
1227 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
1228 * Makefile.in: Rebuild.
1229
71bfc0ae
AM
12302000-09-07 Alan Modra <alan@linuxcare.com.au>
1231
1232 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
1233 broken list handling. Create __start_SECNAME and __stop_SECNAME
1234 when no place-holder. Add some comments. Test both SEC_CODE and
1235 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
ed15ac6a 1236 Handle case where no output section statement created.
71bfc0ae 1237
4a428502
AO
12382000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
1239
1240 * configure.tgt (sh-*-linux*): Added.
1241 * Makefile.am: Added eshelf_linux and eshlelf_linux.
1242 * Makefile.in: Rebuilt.
1243 * emulparams/shelf_linux.sh: New file.
1244 * emulparams/shlelf_linux.sh: New file.
1245
f9989030
AM
12462000-09-06 Alan Modra <alan@linuxcare.com.au>
1247
1248 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1249 try shuffling sections when the orphan happens to be the place
1250 holder. Keep count of unique section names generated so we speed
1251 the search for a new name.
1252
58cccadb
AO
12532000-09-06 Alexandre Oliva <aoliva@redhat.com>
1254
1255 * configure: Rebuilt with new libtool.m4.
1256
5b343f5a
NC
12572000-09-05 Nick Clifton <nickc@redhat.com>
1258
1259 * Makefile.in: Regenerate.
1260 * aclocal.m4: Regenerate.
1261 * configure: Regenerate.
1262 * config.in: Regenerate.
1263 * po/ld.pot: Regenerate.
1264
1265 * ldint.texinfo: Remove CVS revision marker - it foils local
1266 comparisons.
1267
1268 * emultempl/ticoff.em: Remove extraneous comma.
50bbae35 1269
a854a4a7
AM
12702000-09-05 Alan Modra <alan@linuxcare.com.au>
1271
3231d22e
AM
1272 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
1273 to stub section flags.
1274 (hppa_for_each_input_file_wrapper): New.
1275 (hppa_lang_for_each_input_file): New.
1276 (lang_for_each_input_file): Define to call above.
1277 (multi_subspace): New.
1278 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
1279 (PARSE_AND_LIST_PROLOGUE): Define.
1280 (PARSE_AND_LIST_LONGOPTS): Define.
1281 (PARSE_AND_LIST_OPTIONS): Define.
1282 (PARSE_AND_LIST_ARGS_CASES): Define.
1283 (hppaelf_finish): Call elf32_hppa_set_gp.
1284 (hppaelf_set_output_arch): Remove.
1285 (LDEMUL_SET_OUTPUT_ARCH): Remove.
1286
1287 * emulparams/hppalinux.sh (ELFSIZE): Define.
1288 (MACHINE): Define.
1289 (OTHER_READONLY_SECTIONS): Define.
1290 (DATA_PLT): Define.
1291 (GENERATE_SHLIB_SCRIPT): Define.
1292
5f992e62
AM
1293 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
1294 to const throughout. Change `void *' to `PTR' throughout.
1295 (lang_memory_default): Function is local to file, add `static'.
1296
1297 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
1298 (ehppalinux.c): Likewise.
1299 (earmelf.c): Likewise.
1300 (earmelf_linux.c): Likewise.
1301 (earmelf_linux26.c): Likewise.
1302 * Makefile.in: Regenerate.
1303
a854a4a7
AM
1304 * ld.h (ld_config_type): Add unique_orphan_sections.
1305 * lexsup.c (OPTION_UNIQUE): Define.
1306 (ld_options): Add "--unique".
1307 (parse_args): Handle it.
1308 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1309 search for an existing output section if unique_orphan_sections is
1310 set. Make use of bfd_get_unique_section_name rather than
1311 duplicating code here.
1312 * ld.texinfo: Describe --unique.
1313
1314 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
1315 optional arg to split-by-file.
1316 (parse_args): Handle them.
1317 * ld.texinfo: Update description of these options.
1318 * ldwrite.c (clone_section): Pass in the section name. Replace
1319 local code with bfd_get_unique_section_name.
1320 (split_sections): Tidy code and comments. Use a list traversal
1321 more appropriate to the list construction. Handle cooked section
1322 sizes. Split when split_by_reloc reached rather than exceeded.
1323 Track section size and split when split_by_file reached. Fix
1324 link_order_tail (even though it's not used).
1325 (ldwrite): Modify condition for calling split_sections to suit
1326 changed split_by_reloc and split_by_file.
1327 * ldmain.c (main): Init config.split_by_reloc and
1328 config.split_by_file to -1.
1329 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
1330 Change split_by_file to bfd_size_type.
1331
18e03609
NC
13322000-09-02 Nick Clifton <nickc@redhat.com>
1333
1334 * configure.in: Increase version number to 2.10.91.
1335 * NEWS: Mention new ability to support removal of duplicate DWARF2
1336 debug information.
1337 * configure: Regenerate.
1338 * aclocal.m4: Regenerate.
1339 * config.in: Regenerate.
1340
3a9d486c
NC
13412000-09-02 Daniel Berlin <dberlin@redhat.com>
1342
1343 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
1344 sections.
a2b64bed 1345 * scripttempl/elf32avr.sc: Ditto.
3a9d486c
NC
1346 * scripttempl/elfd10v.sc: Ditto.
1347 * scripttempl/elfd30v.sc: Ditto.
1348 * scripttempl/elfi370.sc: Ditto.
1349 * scripttempl/elfm68hc11.sc: Ditto.
1350 * scripttempl/elfm68hc12.sc: Ditto.
1351 * scripttempl/elfi386beos.sc: Ditto.
1352 * scripttempl/v850.sc: Ditto.
50bbae35 1353
ac48eca1
AO
13542000-08-31 Alexandre Oliva <aoliva@redhat.com>
1355
1356 * acinclude.m4: Include libtool and gettext macros from the
1357 top level.
1358 * aclocal.m4, configure: Rebuilt.
1359
c13b1b77
NC
13602000-08-25 Nick Clifton <nickc@redhat.com>
1361
1362 * ldlang.c (open_output): When choosing the target for a
1363 particular endianness, do nothing if the target is not
1364 supported.
1365
dcb0bd0e
L
13662000-08-25 H.J. Lu <hjl@gnu.org>
1367
1368 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
1369 check -rpath nor LD_RUN_PATH for cross link.
1370 * ld.texinfo: Document the change.
1371
5bcac8a4
HPN
13722000-08-24 Hans-Peter Nilsson <hp@axis.com>
1373
1374 * NEWS: Mention support for CRIS.
1375
6dd8c765
L
13762000-08-23 H.J. Lu <hjl@gnu.org>
1377
1378 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
1379 the current runpath list from bfd_elf_get_runpath_list ()
1380 before search.
1381
ec4eb78a
L
13822000-08-22 H.J. Lu <hjl@gnu.org>
1383
1384 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
1385 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
1386 LD_LIBRARY_PATH for native linker. Display the needed DSO if
1387 trace_file_tries is non-zero.
1388 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
1389 if trace_file_tries is non-zero.
1390
1391 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
a8175964 1392 * NEWS: Mention it.
ec4eb78a 1393
22b36938
JE
13942000-08-14 Jason Eckhardt <jle@cygnus.com>
1395
1396 * NEWS: Mention i860 support.
1397
d73e9da0
AS
13982000-08-14 Andreas Schwab <schwab@suse.de>
1399
1400 * scripttempl/elf.sc: Fix last change to use correct comment
50bbae35 1401 syntax.
d73e9da0 1402
9ac4db9c
GK
14032000-08-10 Geoff Keating <geoffk@cygnus.com>
1404
1405 * scripttempl/elf.sc: Add a comment giving the correspondence
1406 between sections, per-datum sections, and linkonce sections. Make
1407 the comment true even for .bss, .sdata, .sdata2, .sbss, and
1408 .sbss2.
1409
165589e4
JE
14102000-08-10 Jason Eckhardt <jle@cygnus.com>
1411
1412 * emulparams/elf32_i860.sh: New file.
1413 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
1414 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
1415 (eelf32_i860.c): New rule.
1416 * Makefile.in: Regenerate.
1417
345a835d
NC
14182000-08-10 Nick Clifton <nickc@cygnus.com>
1419
1420 * emulparams/mipspe.sh (ENTRY): Add definition.
1421
e374f1d9
NC
14222000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
1423
1424 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
1425 in error message.
1426
236d5abf
NC
14272000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1428
1429 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
1430 the final size of .bss section.
1431 * scripttempl/elfm68hc12.sc: Likewise.
1432
4b209b22
AM
14332000-08-04 Alan Modra <alan@linuxcare.com.au>
1434
1435 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
1436 gld${EMULATION_NAME}_parse_args for consistency. Combine
1437 lastoptind and prevoptind vars, and keep track of last optind.
1438 (gld_${EMULATION_NAME}_list_options): Rename to
1439 gld${EMULATION_NAME}_list_options.
1440
28423a68
AM
14412000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
1442
1443 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
1444 (i586-sco-sysv5uw7.1.0).
1445
b2009ff7
L
14462000-07-27 H.J. Lu <hjl@gnu.org>
1447
1448 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
1449 (PARSE_AND_LIST_PROLOGUE): New.
1450 (PARSE_AND_LIST_LONGOPTS): Likewise.
1451 (PARSE_AND_LIST_OPTIONS): Likewise.
1452 (PARSE_AND_LIST_ARGS_CASES): Likewise.
1453 (PARSE_AND_LIST_EPILOGUE): Likewise.
1454
04925e1e
AM
14552000-07-28 Alan Modra <alan@linuxcare.com.au>
1456
41392f03
AM
1457 * emultempl/armelf.em: Elide functions common to elf32.em,
1458 ie. most of the file.
1459 (arm_elf_after_open): New. Do arm specific things then call
1460 gld${EMULATION_NAME}_after_open.
1461 (arm_elf_before_allocation): New. Call
1462 gld${EMULATION_NAME}_before_allocation then do arm specifics.
1463 (PARSE_AND_LIST_PROLOGUE): Define.
1464 (PARSE_AND_LIST_SHORTOPTS): Define.
1465 (PARSE_AND_LIST_LONGOPTS): Define.
1466 (PARSE_AND_LIST_OPTIONS): Define.
1467 (PARSE_AND_LIST_ARGS_CASES): Define.
1468 (LDEMUL_AFTER_OPEN): Define.
1469 (LDEMUL_BEFORE_ALLOCATION): Define.
1470 (LDEMUL_BEFORE_PARSE): Define.
1471 (LDEMUL_FINISH): Define.
1472
1473 * emultempl/hppaelf.em: Similarly zap most of this file.
1474 (hppaelf_add_stub_section): Prototype.
1475 (hppaelf_layaout_sections_again): Prototype.
1476 (hook_in_stub): Prototype.
1477 (LDEMUL_SET_OUTPUT_ARCH): Define.
1478 (LDEMUL_FINISH): Define.
1479 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
1480
1481 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
1482 (EXTRA_EM_FILE): New.
1483 * emulparams/armelf_linux.sh: Likewise.
1484 * emulparams/armelf_linux26.sh: Likewise.
1485 * emulparams/hppalinux.sh: Likewise.
1486 * emulparams/hppaelf.sh: Likewise.
1487 (NOP): Define.
1488
1489 * emultempl/elf32.em: Fix formatting.
1490 (EXTRA_EM_FILE): Source it.
1491 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
1492 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
1493 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
1494 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
1495 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
1496 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
1497 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
1498 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
1499 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
1500 allow functions in this file to be overridden.
1501 (PARSE_AND_LIST_SHORTOPTS): Handle it.
1502
1503 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
1504
04925e1e
AM
1505 * emultempl/elf32.em: Reorganize file.
1506
88cdf297
NC
15072000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
1508
1509 * emulparams/elf64alpha.sh: Implement "-taso" emulation
1510 specific option to fit 64-bit executable in the lower
1511 31-bit address range. This is done by changing start
1512 address of .interp (the very first section of executable)
1513 and then setting EF_ALPHA_32BIT elf header flag.
1514
20bccb34
NC
15152000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1516
1517 * emultempl/m68kcoff.em: New file.
1518 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
1519 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
1520 generic.em.
1521 * Makefile.in: Regenerate.
1522
699845ef
L
15232000-07-20 H.J. Lu <hjl@gnu.org>
1524
1525 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
1526 and "disable-new-dtags" to stop getopt from treating -d/-e as
1527 abbreviations for these options.
1528
6c1439be
L
15292000-07-20 H.J. Lu <hjl@gnu.org>
1530
1531 * ld.texinfo: Add documentation for --disable-new-dtags and
1532 --enable-new-dtags.
1533
1534 * ldmain.c (main): Initialize link_info.new_dtags to false.
1535
1536 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
1537 --disable-new-dtags and --enable-new-dtags.
1538 (gld_${EMULATION_NAME}_list_options): Likewise.
1539
28c309a2
NC
15402000-07-05 Kenneth Block <krblock@computer.org>
1541
a2b64bed
NC
1542 * lexsup.c: Add optional style to demangle switch
1543 * ld.texinfo: Document optional style to demangle switch.
50bbae35 1544
9d06555c
HPN
15452000-07-20 Hans-Peter Nilsson <hp@axis.com>
1546
1547 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
1548 ecrislinux.o.
1549 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
1550 Regenerate dependencies.
1551 * Makefile.in: Rebuild.
1552 * configure.tgt (cris-*-*): New target.
1553 * emulparams/crisaout.sh, emulparams/criself.sh,
1554 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
1555 * po/POTFILES.in, po/ld.pot: Regenerate.
1556
19e3be22
L
15572000-07-20 H.J. Lu <hjl@gnu.org>
1558
1559 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
1560 Print out ignored -z options.
1561
e0ee487b
L
15622000-07-19 H.J. Lu <hjl@gnu.org>
1563
19e3be22
L
1564 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
1565 (PARSE_AND_LIST_PROLOGUE): New.
1566 (PARSE_AND_LIST_LONGOPTS): Likewise.
1567 (PARSE_AND_LIST_OPTIONS): Likewise.
1568 (PARSE_AND_LIST_ARGS_CASES): Likewise.
1569
1570 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
1571
1572 * lexsup.c (ld_options): Comment out 'z'.
1573 (parse_args): Likewise.
1574
1575 * emultempl/elf32.em: Include "elf/common.h".
1576 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
1577 options.
1578 (gld_${EMULATION_NAME}_list_options): Likewise.
1579
1580 * ld.texinfo: Add documentation for the recognized -z options.
e0ee487b 1581
49e56c49
L
15822000-07-19 H.J. Lu <hjl@gnu.org>
1583
1584 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
1585 bfd_elf_set_dt_needed_soname ().
1586
9d68bc82
DD
15872000-07-18 DJ Delorie <dj@cygnus.com>
1588
1589 * pe-dll.c (pe_dll_id_target): check object target name also
1590
53db15ed
HPN
15912000-07-18 Hans-Peter Nilsson <hp@axis.com>
1592
1593 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
1594 ${INIT_END} if relocating.
1595 (.fini): Likewise ${FINI_START} and ${FINI_END}.
1596
0ad8cf4c
DD
15972000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
1598
a2b64bed 1599 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
0ad8cf4c
DD
1600 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
1601 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
1602 errors introduced by the old dynamic lib search order.
1603
874c8c99
DD
16042000-07-17 DJ Delorie <dj@cygnus.com>
1605
1606 * pe-dll.c (process_def_file): auto-export data items also
1607 (pe_process_import_defs): also see if _imp_ form needed
1608
5b4cf3f4
DD
16092000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
1610
1611 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
1612 for dll import libraries
1613
062739d1
NC
16142000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
1615
1616 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
d952f17a 1617 gcc 2.95.2 and later.
062739d1 1618
1c64c4ed
NC
16192000-07-11 Kazu Hirata <kazu@hxi.com>
1620
50bbae35
AM
1621 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
1622 message.
1c64c4ed 1623
b71e2778
AM
16242000-07-10 Alan Modra <alan@linuxcare.com.au>
1625
1626 * ldemul.h (struct lang_input_statement_struct): Remove forward
1627 declaration.
1628 (struct search_dirs): Likewise.
1629 * ldfile.h (struct lang_input_statement_struct): Likewise.
1630 Protect file from multiple inclusion.
1631 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
1632 declaration from macro to file scope.
1633
1634 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
1635 * ldgram.y: Likewise here.
1636 * ldlang.c: And here.
1637 * ldmain.c: And here.
1638 * mpw-elfmips.c: And here.
1639 * mpw-eppcmac.c: And here.
1640 * emultempl/aix.em: And here.
1641 * emultempl/armcoff.em: And here.
1642 * emultempl/armelf.em: And here.
1643 * emultempl/armelf_oabi.em: And here.
1644 * emultempl/beos.em: And here.
1645 * emultempl/elf32.em: And here.
1646 * emultempl/hppaelf.em: And here.
1647 * emultempl/linux.em: And here.
1648 * emultempl/lnk960.em: And here.
1649 * emultempl/pe.em: And here.
1650 * emultempl/sunos.em: And here.
1651 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
1652 * mpw-idtmips.c: Ditto.
1653 * emultempl/generic.em: Ditto.
1654 * emultempl/gld960.em: Ditto.
1655 * emultempl/gld960c.em: Ditto.
1656 * emultempl/mipsecoff.em: Ditto.
1657 * emultempl/ticoff.em: Ditto.
1658 * emultempl/vanilla.em: Ditto.
1659
1660 * pe-dll.c: Include ldfile.h
1661 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
1662
1663 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
1664 arguments to bfd_elf32_size_dynamic_sections call.
1665 (gldelf32ebmip_place_orphan): Add missing arguments to
1666 lang_leave_output_section_statement call.
1667
2ef53d66
L
16682000-07-10 H.J. Lu <hjl@gnu.org>
1669
1670 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
1671 DLL_SUPPORT.
1672 (strhash): Likewise.
1673 (compute_dll_image_base): Likewise.
1674 (pe_undef_found_sym): Likewise.
1675 (pe_undef_cdecl_match): Likewise.
1676 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
1677 argument "arch" with ATTRIBUTE_UNUSED.
1678
9a8cbb09
AM
16792000-07-10 Alan Modra <alan@linuxcare.com.au>
1680
1681 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
1682
1683 From Ryan Bradetich <rbradetich@uswest.net>
1684 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
50bbae35 1685
4900fc06
AM
16862000-07-09 Alan Modra <alan@linuxcare.com.au>
1687
1688 Changes to create multiple linker stubs, positioned immediately
1689 before the section where they are required.
1690 * emultempl/hppaelf.em: Include elf32-hppa.h.
1691 (stub_sec, file_chain): Delete.
1692 (hppaelf_create_output_section_statements): Don't make a stub
1693 section here.
1694 (hook_stub_info): New struct.
1695 (hook_in_stub): New function.
1696 (hppaelf_add_stub_section): New function.
1697 (hppaelf_finish): Do nothing for relocateable links. Modify the
1698 call to elf32_hppa_size_stubs. Move code for updating section
1699 layout from here...
1700 (hppaelf_layaout_sections_again): ..to here, a new function.
1701
1702 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
1703 broken list handling. Pass in a pointer to the list.
1704 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
1705 for above changes.
1706 (hppaelf_before_parse): Prototype.
1707 (hppaelf_set_output_arch): Prototype.
1708 (hppaelf_create_output_section_statements): Prototype.
1709 (hppaelf_delete_padding_statements): Prototype.
1710 (hppaelf_finish): Prototype.
1711
1712 Merge from elf32.em
1713 * emultempl/hppaelf.em: Include ctype.h.
1714 (struct orphan_save): New.
1715 (gld${EMULATION_NAME}_place_orphan): New.
1716 (output_rel_find): New.
1717 (hppaelf_get_script): Update from elf32.em.
1718 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
1719 Change emulation_name field to "${EMULATION_NAME}". Add
50bbae35 1720 gld${EMULATION_NAME}_place_orphan.
4900fc06
AM
1721
1722 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
1723 ehppalinux.o, sort it. Regenerate dependencies.
1724 (ehppalinux.c): Depend on hppaelf.em
1725 * Makefile.in: Regenerate.
1726
1727 * configure.tgt: targ_emul=hppalinux for hppa*linux
1728
1729 * emulparams/hppalinux.sh: New.
1730 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
1731
227aeb07
AM
17322000-07-08 Alan Modra <alan@linuxcare.com.au>
1733
1734 * lexsup.c (parse_args): Copy section name.
1735
28609fd4 17362000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
602e90d3 1737
2ef53d66 1738 * emultempl/pe.em: institute the following search order for
602e90d3
DD
1739 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
1740 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
1741 static lib (libfoo.a) if none of the above are found.
1742
5f577f7d
DD
17432000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
1744
50bbae35 1745 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
5f577f7d 1746 (longopts): New --{enable,disable}-auto-image-base options.
50bbae35 1747 (gld_${EMULATION_NAME}_list_options): Document.
5f577f7d
DD
1748 (gld_${EMULATION_NAME}_parse): Handle.
1749 (strhash): New static function.
50bbae35 1750 (compute_dll_image_base): New static function.
5f577f7d
DD
1751 (gld_${EMULATION_NAME}_set_symbols): Use.
1752
9a8cbb09 17532000-07-05 DJ Delorie <dj@redhat.com>
302ab118
DD
1754
1755 * MAINTAINERS: new
1756
3548145d 17572000-07-01 Koundinya K <kk@ddeorg.soft.net>
50bbae35
AM
1758
1759 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
1760 * emulparams/elf32btsmip.sh: New file.
1761 * Makefile.am: Add traditional mips target.
1762 * Makefile.in: Rebuild.
1763
67798033
L
17642000-07-01 H.J. Lu <hjl@gnu.org>
1765
1766 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
1767 automake to use YLWRAP.
1768 * Makefile.in: Rebuild.
1769
0bdaf48b
AM
17702000-07-01 Alan Modra <alan@linuxcare.com.au>
1771
1772 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
1773 (CLEANFILES): Add DEPA.
1774 * Makefile.in: Regenerate.
1775
c9e769c2
TW
17762000-06-30 Timothy Wall <twall@ppc>
1777
1778 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
1779 the page in the upper octet of the address.
1780
65aa24b6
NC
17812000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
1782
1783 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
1784
4667035e
AM
17852000-06-24 Alan Modra <alan@linuxcare.com.au>
1786
1787 * NEWS: arm-elf does --gc-sections too.
1788
1581f8c9
AM
17892000-06-22 Alan Modra <alan@linuxcare.com.au>
1790
1791 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1792 find one.
1793 * Makefile.in: Regenerate.
1794
01580992
L
17952000-06-21 H.J. Lu <hjl@gnu.org>
1796
1797 * Makefile.am: Rebuild dependency.
1798 * Makefile.in: Rebuild.
1799
bbeb2e03
L
18002000-06-20 H.J. Lu <hjl@gnu.org>
1801
1802 * Makefile.am: Rebuild dependency.
1803 * Makefile.in: Rebuild.
1804
74459f0e
TW
18052000-06-20 Timothy Wall <twall@cygnus.com>
1806
1807 * scripttempl/tic54xcoff.sc: New.
1808 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
1809 * gen-doc.texi: Add flag for TI COFF.
1810 * ld.texinfo: Add documentation for TI COFF handling switches.
1811 * emultempl/ticoff.em: New. TI COFF handling.
1812 * configure.tgt: Add tic54x target.
1813 * Makefile.am: Add tic54x target.
1814 * Makefile.in: Ditto.
1815
2ab47eed
AM
18162000-06-20 Alan Modra <alan@linuxcare.com.au>
1817
1818 * ldmain.c (set_scripts_dir): Correct pointer comparison when
1819 checking for backslashes.
1820
919e4093
AM
18212000-06-19 Alan Modra <alan@linuxcare.com.au>
1822
1823 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
1824
987fd5b4
AM
18252000-06-18 Alan Modra <alan@linuxcare.com.au>
1826
1827 * NEWS: Update list of targets supporting --gc-sections.
1828
1829 * scripttempl/elf.sc: KEEP .eh_frame contents.
1830 * scripttempl/elfd30v.sc: Same here.
1831
60bcf0fa
NC
18322000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
1833
1834 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
1835 and m68hc11 (elf).
1836 * Makefile.in: Rebuild.
1837 * configure.tgt: Recognize m68hc12 and m68hc11.
1838 * scripttempl/elfm68hc12.sc: New file.
1839 * emulparams/m68hc12elfb: New emulation.
1840 * emulparams/m68hc12elf: New emulation.
1841 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
1842 (includes a memory.x script to define the ROM and RAM banks).
1843 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
1844 New configuration files for support of Motorola 68hc11
1845
c7c54483
AM
18462000-06-15 Alan Modra <alan@linuxcare.com.au>
1847
1848 * ldmain.c (main): Only change SEC_READONLY for final link.
1849
bcef29e6
L
18502000-06-13 H.J. Lu <hjl@gnu.org>
1851
1852 * configure: Regenerate.
1853
946efd95
DB
18542000-06-08 David O'Brien <obrien@FreeBSD.org>
1855
1856 * configure.in (VERSION): Update to show this is the CVS mainline.
1857
57a6fd07
DB
18582000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1859
1860 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
1861 input objects to be ECOFF.
1862 (check_sections): einfo takes %B, not %P, to print a BFD name.
1863
e06cae36
L
18642000-06-05 Michael Matz <matz@ifh.de>
1865
1866 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
d952f17a 1867 version scripts.
e06cae36 1868
d952f17a 1869 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
e06cae36 1870
2f0b56c0
DC
18712000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
1872
1873 * emulparams/avr1200.sh (STACK): Define as 0.
1874 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
1875 * emulparams/avr4433.sh (STACK): Likewise.
1876 * emulparams/avr44x4.sh (STACK): Likewise.
1877 * emulparams/avr85xx.sh (STACK): Likewise.
1878 * emulparams/avrmega103.sh (STACK): Likewise.
1879 * emulparams/avrmega161.sh (STACK): Likewise.
1880 * emulparams/avrmega603.sh (STACK): Likewise.
1881 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
1882 (__stack): Define from ${STACK} for main().
1883
2114f57b
AM
18842000-05-26 Alan Modra <alan@linuxcare.com.au>
1885
1886 * Makefile.am: Update dependencies with "make dep-am"
1887 * Makefile.in: Regenerate.
1888
5af11cab
AM
18892000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
1890
1891 * ldmain.c: Include filenames.h.
1892 (set_scripts_dir): Support backslashes in program name.
1893
1f0df59a
NC
18942000-05-22 Igor Shevlyakov <igor@windriver.com>
1895
1896 * ldmain.c (main): When deciding if ".text" section should be
50bbae35
AM
1897 read-only, don't forget to reset SEC_READONLY because it
1898 could be already set.
1f0df59a 1899
176355da
NC
19002000-05-22 Thomas de Lellis <tdel@windriver.com>
1901
50bbae35
AM
1902 * ld.1: Add documentation for new command line option:
1903 --section-start <sectionname>=<sectionorg>
1904 This is a generic version of -Ttext etc. which accepts
1905 any section name as a parameter instead of just text/data/
1906 bss.
1907 * ld.texinfo: More docs.
1908 * NEWS: More docs.
1909 * lexsup.c: (parse_args): Recognize new command line option.
176355da 1910 (ld_options): Add new option.
50bbae35 1911
8c5ff972
L
19122000-05-18 H.J. Lu <hjl@gnu.org>
1913
1914 * lexsup.c (parse_args): `i' == `r', not `q'.
1915
0b76fe77
JL
1916Thu May 18 10:47:57 2000 Jeffrey A Law (law@cygnus.com)
1917
1918 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
1919
a712da20
NC
19202000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
1921 Rick Gorton <gorton@scrugs.lkg.dec.com>
50bbae35 1922
a712da20
NC
1923 Add support for '-q' == '--emit-relocs' switch.
1924 * ldmain.c (main): Default to false.
1925 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
1926 * NEWS: Describe the emitrelocations switch.
1927 * ld.texinfo: Describe the emitrelocations switch.
1928
690a460e
NC
19292000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
1930
a2b64bed 1931 * emultempl/pe.em (_open_dynamic_archive): New function: Search
690a460e
NC
1932 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
1933 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
1934 link options.
50bbae35 1935
c2f1343c
AM
19362000-05-15 David O'Brien <obrien@FreeBSD.org>
1937
1938 * lexsup.c (parse_args): Update the year in the copyright notice.
1939
897083bd
AM
19402000-05-13 Alan Modra <alan@linuxcare.com.au>
1941
1942 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
1943 Replace defines with those from intl/libgettext.h to quieten gcc
1944 warnings.
1945
cd4c806a
L
19462000-05-10 H.J. Lu <hjl@gnu.org>
1947
1948 * ldlang.c (open_input_bfds): Don't load the same file within
1949 a group again if the whole archive has been loaded already.
1950
93697284
AM
19512000-05-03 Alan Modra <alan@linuxcare.com.au>
1952
1953 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
1954 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
1955 strtoul.
1956
ebd6fc29
JW
1957Mon May 1 17:34:34 2000 Jim Wilson <wilson@cygnus.com>
1958
99a4150f 1959 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
50bbae35 1960
ebd6fc29
JW
1961 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
1962 host "ia64-*-linux-gnu*".
1963
a1934524
AM
19642000-04-29 Andreas Jaeger <aj@suse.de>
1965
1966 * ld.h: Correctly check GCC version.
1967
730a39a0
JL
1968Tue Apr 25 11:20:43 2000 Jeffrey A Law (law@cygnus.com)
1969
1970 * Makefile.am: Add PA64 support. Add missing dependencies for
1971 PA32 elf support.
1972 * Makefile.in: Rebuilt.
1973 * configure.tgt: Add PA64 support (currently disabled).
1974
aea4bd9d
AM
19752000-04-25 Alan Modra <alan@linuxcare.com.au>
1976
1977 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
1978 (output_rel_find): New function.
1979 (hold_section, hold_use): Delete.
1980 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
1981 hold_interp): Make local to place_orphan.
1982 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
1983 rather than place_section to find possible previous use of orphan.
1984 Similarly find the place-holder output sections. Use returned
1985 value from lang_enter_output_section_statement rather than calling
1986 lang_output_section_statement_lookup.
1987 * emultempl/armelf.em: Same here.
1988 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
1989
1990 * ldlang.c (lang_enter_output_section_statement): Return output
1991 section statement.
1992 * ldlang.h (lang_enter_output_section_statement): Change
1993 declaration too.
1994
1995 * ldlang.h (lang_output_section_statement): Export it.
1996 * ldlang.c (lang_output_section_statement): Ditto.
1997
2b5fc1f5
NC
19982000-04-24 Nick Clifton <nickc@cygnus.com>
1999
2000 * ld.texinfo (Output Section Data): Add note that section data
2001 commands cannot appear outside of section directives.
2002
d8475ff6
JL
20032000-04-2 Matthew Green <mrg@cygnus.com>
2004
2005 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
2006
800eeca4
JW
2007Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
2008 David Mosberger <davidm@hpl.hp.com>
2009
2010 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
2011 (eelf64_ia64.c): New rule.
2012 * Makefile.in: Rebuild.
2013 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
2014 * emulparams/elf64_ia64.sh: New file.
50bbae35 2015
c9637625
RH
20162000-04-21 Richard Henderson <rth@cygnus.com>
2017
2018 * scripttempl/elfd30v.sc: Place .gcc_except_table.
2019
28ea9521
AM
20202000-04-19 Alan Modra <alan@linuxcare.com.au>
2021
2022 * dep-in.sed: Match space at start of file name, not at end.
2023
20d04697
L
20242000-04-18 H.J. Lu <hjl@gnu.org>
2025
2026 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
2027 lang_leave_output_section_statement () after calling
2028 lang_enter_output_section_statement ().
2029 * emultempl/armelf.em: Likewise.
2030
5ba47421
AM
20312000-04-18 Alan Modra <alan@linuxcare.com.au>
2032
2033 * emultempl/elf32.em (struct orphan_save): Add section field.
2034 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
2035 better order, and place first orphan section as we did before the
2036 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
2037 Don't call make_bfd_section here, let wild_doit do the job for us.
2038 Don't build a statement list when we'll only throw it away.
2039 * emultempl/armelf.em: Ditto.
2040 * emultempl/pe.em: Similarly.
2041
bdbe5705
GK
20422000-04-14 Geoff Keating <geoffk@cygnus.com>
2043
2044 * scripttempl/elfppc.sc: Remove.
2045 * emulparams/elf32ppc.sh: Use elf.sc.
2046 * emulparams/elf32lppc.sh: Use elf.sc.
2047 * emulparams/elf32ppclinux.sh: Use elf.sc.
2048 * emulparams/elf32ppcsim.sh: New file.
2049 * emulparams/elf32lppcsim.sh: New file.
2050 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
2051 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
2052 * Makefile.in: Regenerate.
2053 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
2054
01cc8ff8
AM
20552000-04-14 Alan Modra <alan@linuxcare.com.au>
2056
5ba47421 2057 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
01cc8ff8 2058 ~SEC_ALLOC sections too. Init start address of debug sections.
5ba47421
AM
2059 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
2060 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
01cc8ff8
AM
2061 Also set all relocateable section start addresses.
2062
6c86c541
GK
20632000-04-13 Geoff Keating <geoffk@cygnus.com>
2064
2065 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
2066 Add new BSS_PLT variable for when .plt need not be contained in
2067 the file. Move _etext so that it is also after .fini, and provide
2068 both etext and _etext with a leading underscore. Mark the start
2069 and end of .sbss.
2070
6a345e87
AM
20712000-04-12 Alan Modra <alan@linuxcare.com.au>
2072
2073 * emultempl/elf32.em (struct orphan_save): New.
2074 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
2075 hold_interp): Make them struct orphan_save.
2076 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
2077 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
2078 the end of the relevant section list. Also add associated section
2079 statements to the end of any previous orphan statements.
2080 * emultempl/armelf.em: Similarly.
2081 * emultempl/pe.em: Similarly.
2082
8be86746
AM
20832000-04-11 Alan Modra <alan@linuxcare.com.au>
2084
2085 * ld.texinfo (Simple Example): Remove extraneous paragraph.
2086
a2d91340 2087Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
50bbae35 2088
a2d91340 2089 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
50bbae35 2090 --enable-build-warnings option.
a2d91340
AC
2091 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
2092 * Makefile.in, configure: Re-generate.
2093
41b49281
AM
20942000-04-04 Alan Modra <alan@linuxcare.com.au>
2095
8ad3436c
AM
2096 * po/ld.pot: Regenerate.
2097
2098 * lexsup.c (help): Restore translated part of bug string.
2099
41b49281
AM
2100 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2101 (DEP): Quote when passing vars to sub-make. Add warning message
2102 to end.
2103 (DEP1): Rewrite for "gcc -MM".
2104 (CLEANFILES): Add DEP2.
2105 Update dependencies.
2106 * Makefile.in: Regenerate.
2107
c20f4f8c
AM
21082000-04-03 Alan Modra <alan@linuxcare.com.au>
2109
2110 * ld.h: #include "bin-bugs.h"
2111 * lexsup.c (help): Use REPORT_BUGS_TO.
2112
adde6300
AM
21132000-03-27 Denis Chertykov <denisc@overta.ru>
2114
2115 * configure.tgt (avr-*-*): New target support.
2116 * Makefile.am: Likewise.
2117 * scripttempl/elf32avr.sc: New script file.
2118 * emulparams/avr1200.sh: New file.
2119 * emulparams/avr23xx.sh: New file.
2120 * emulparams/avr4433.sh New file.
2121 * emulparams/avr44x4.sh New file.
2122 * emulparams/avr85xx.sh New file.
2123 * emulparams/avrmega103.sh New file.
2124 * emulparams/avrmega161.sh New file.
2125 * emulparams/avrmega603.sh New file.
2126 * Makefile.in: Regenerate.
2127
9282ff41
L
21282000-03-09 Andreas Jaeger <aj@suse.de>
2129
2130 * Makefile.am (check-DEJAGNU): Also unset LANG.
2131 * Makefile.in: Rebuild.
2132
a9998805
ILT
21332000-03-06 Ian Lance Taylor <ian@zembu.com>
2134
2135 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
2136 archive.
2137
f9bc20e7
NC
21382000-03-02 H.J. Lu <hjl@gnu.org>
2139
2140 * emulparams/elf32mcore.sh: Include "getopt.h".
2141
4e277b38
ILT
21422000-03-01 Ian Lance Taylor <ian@zembu.com>
2143
2144 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
2145
f0c87f88
NC
21462000-03-01 H.J. Lu <hjl@gnu.org>
2147
2148 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
2149 * emulparams/shpe.sh: Likewise.
2150
21512000-03-01 Nick Clifton <nickc@cygnus.com>
2152
2153 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
2154 to unused parameters.
2155
2156 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
2157 functions only used by DLL code.
2158 (_place_orphan): Initialise 'dollar'.
2159
b6f29aaa
L
21602000-03-01 H.J. Lu <hjl@gnu.org>
2161
2162 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
2163 indicate if the undefined symbol is a fatal error or not.
2164 Don't delete the output file if "fatal" is false.
2165
af28fce3
L
21662000-02-29 H.J. Lu <hjl@gnu.org>
2167
50bbae35 2168 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
af28fce3
L
2169 Set LC_COLLATE and LC_ALL to null and export them. It is for
2170 sort which expects the C locale.
2171 Add $(LIBS) to all $(HOSTING_LIBS).
2172 * Makefile.in: Rebuild.
2173
40d109bf
AM
21742000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
2175
2176 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
2177 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
2178 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
2179 (ld_emulation_xfer_struct): Add missing NULL initialiser for
2180 find_potential_libraries.
2181
db5be682
JB
21822000-02-28 Jim Blandy <jimb@redhat.com>
2183
2184 * ldgram.y (exclude_name_list): Don't require a comma to separate
50bbae35 2185 list entries; the lexer considers commas to be valid part of a
db5be682
JB
2186 filename, so in something like `foo, bar' the comma is considered
2187 part of the first filename, `foo,'.
2188 * ld.texinfo: Update section on EXCLUDE_FILE lists.
2189
3558ff4c
ILT
21902000-02-27 Loren J. Rittle <ljrittle@acm.org>
2191
2192 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
2193 host "i[3456]86-*-freebsdelf*".
2194
4eee2681
ILT
21952000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
2196
2197 * scripttempl/i386go32.sc: Move misplaced semicolons.
2198
8d75d12d
ILT
21992000-02-25 Ian Lance Taylor <ian@zembu.com>
2200
2201 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
2202 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
2203 (eelf64hppa.c, ehppaelf.c): Remove targets.
2204 * Makefile.in: Rebuild.
2205
a1836d49
AO
22062000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2207
ad51fb57
AO
2208 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
2209 GNU/Linux/sparc, but keep the default as 32.
2210
a1836d49
AO
2211 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
2212 it default if sparcv9 or sparc64.
2213
344a211f
NC
22142000-02-24 Nick Clifton <nickc@cygnus.com>
2215
2216 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
2217 * Makefile.in: Regenerate.
2218 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
2219
2220 * ldemul.h (ld_emulation_xfer_struct): Add new field:
2221 find_potential_libraries.
2222 * ldemul.c (ldemul_find_potential_libraries): New function.
2223
2224 * ldfile.c (ldfile_open_file_search): Allow function to be
50bbae35 2225 exported.
344a211f
NC
2226 (ldfile_open_file): Call ldemul_find_potential_libraries.
2227 * ldfile.h: Add prototype for ldfile_open_file_search.
2228
2229 * pe-dll.c: Add support for ARM, MIPS and SH targets.
2230
2231 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
2232 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
2233
2234 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
2235 (gld_X_find_potential_libraries): New function. Search for
2236 libraries called "*.lib".
2237
a2b64bed 2238 * scripttempl/pe.sc: Add .pdata section.
344a211f 2239
eaba1dd3
RH
22402000-02-23 Richard Henderson <rth@cygnus.com>
2241
2242 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
2243 Add and use memory regions.
2244
5b93d8bb
AM
22452000-02-23 Linas Vepstas (linas@linas.org)
2246
2247 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
2248
2249 * Makefile.am: Add support for Linux/IBM 370.
2250 * configure.tgt: Likewise.
2251
2252 * Makefile.in: Regenerate.
2253
f6af82bd
AM
22542000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2255
2256 * ldlang.c (print_input_section, print_data_statement,
2257 print_reloc_statement, print_padding_statement, insert_pad,
2258 size_input_section, lang_check_section_addresses,
2259 lang_size_sections, lang_do_assignments, lang_set_startof,
50bbae35 2260 lang_one_common): Change `opb' to unsigned.
f6af82bd
AM
2261 (lang_do_assignments): Also change `size' to unsigned.
2262
9e673ad1
RH
22632000-02-16 Richard Henderson <rth@cygnus.com>
2264
2265 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
2266
562d3460
TW
22672000-02-16 Timothy Wall <twall@cygnus.com>
2268
2269 * mri.c (mri_draw_tree): Add default LMA region argument to call
2270 to lang_leave_output_section_statement.
2271 * ldlang.h: Update prototypes with LMA region arguments.
2272 * ldlang.c (lang_size_sections): Encapsulate region bounds
2273 checking in os_check_region call.
2274 (os_check_region): New function.
2275 (lang_output_section_statement_lookup): Initialize lma_region.
2276 (lang_leave_output_section_statement): Add LMA region argument.
2277 (lang_leave_overlay): Ditto.
2278 * ldgram.y: Handle LMA region syntax.
2279 * ld.texinfo (Output Section Description): Describe LMA region usage.
2280 * emultempl/armelf.em (gld$place_orphan): Add default value for
01cc8ff8 2281 lma region in call to lang_leave_output_section_statement.
562d3460 2282 * emultempl/elf32.em (gld$place_orphan): Add default value for
01cc8ff8 2283 lma region in call to lang_leave_output_section_statement.
562d3460 2284 * emultempl/pe.em (gld$place_orphan): Add default value for
01cc8ff8 2285 lma region in call to lang_leave_output_section_statement.
50bbae35
AM
2286
2287
9e4ed18c
TW
22882000-02-04 Timothy Wall <twall@redhat.com>
2289
2290 * ldlang.c (lang_check_section_addresses): Use bytes instead of
2291 octets when calculating section end addresses.
2292
32edc927
TW
22932000-02-04 Timothy Wall <twall@redhat.com>
2294
2295 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
2296
4cbfc3ac
TW
22972000-02-03 Timothy Wall <twall@redhat.com>
2298
a2b64bed 2299 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
4cbfc3ac 2300 octet count.
a2b64bed 2301 * ldlang.c (print_input_section, print_data_statement,
4cbfc3ac
TW
2302 print_reloc_statement, print_padding_statement): Print target
2303 address values and section sizes as bytes, not octets.
2304 (insert_pad) Calculate padding size in octets, and adjust "dot"
2305 by bytes.
2306 (size_input_section) Always adjust "dot" by bytes, not octets.
2307 (lang_check_section_addresses, lang_do_assignments) Adjust
2308 "dot" by bytes, not octets. Use the larger of the directive size
2309 or octets_per_byte for the number of octets actually allocated in
2310 the output section.
2311 (lang_set_startof) Make sure STARTOF returns a target address.
2312 (lang_one_common) Record size changes in octets.
2313 (lang_abs_symbol_at_end_of) Section end symbol's value is
2314 recorded in target bytes.
2315 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
2316 to be clear about behavior when an octet is smaller than one byte.
50bbae35 2317
305c7206
AM
23182000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2319
2320 * ldcref.c (output_cref): Don't pass message strings to printf
2321 as format arg.
2322 Update copyright.
2323
2324 * ldmisc.c (vfinfo): Same here.
2325 Update copyright.
2326
e1c47aa4
AM
23272000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
2328
2329 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
2330 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
2331 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
2332 Add missing NULL initialisers, and comments.
2333
2334 * testsuite/ld-srec/sr3.cc (__rethrow): New.
2335
13392b77
NC
23362000-01-21 Nick Clifton <nickc@cygnus.com>
2337
2338 * ldlang.c (lang_size_sections): Fix typo in comment.
2339
cce4c4c5
NC
23402000-01-18 H.J. Lu <hjl@gnu.org>
2341
2342 * ldlang.c (lang_size_sections): Also update the current
2343 address of a region if the SEC_NEVER_LOAD bit is not set.
2344
0decc840
NC
23452000-01-10 Philip Blundell <pb@futuretv.com>
2346
2347 * configure.tgt (arm*-*-conix*): New target.
2348
4e53152f
NC
23492000-01-07 Nick Clifton <nickc@cygnus.com>
2350
2351 * ld.texinfo (Options): Remind users to preceed linker command
fa19fce0
NC
2352 line switches with -Wl, (or whatever is appropriate) if it is
2353 being invoked by a comnpiler driver program.
50bbae35 2354 Fix description of the behaviour of the -n command line switch.
4e53152f 2355
18625d54
CM
2356Wed Jan 5 08:02:12 2000 Catherine Moore <clm@cygnus.com>
2357
2358 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
2359 (name_list): New.
2360 * ld.texinfo (EXCLUDE_FILE): Update documentation.
2361 * ldgram.y (wildcard_spec): Support a list of excluded_files.
2362 (exclude_name_list): New.
2363 ldlang.c (walk_wild_section): Support list of excluded files.
2364 (print_wild_statement): Likewise.
2365 (lang_add_wild): Likewise.
2366 * ldlang.h (lang_wild_statement_type): Likewise.
2367 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
6ddeca85 2368
5aaace27
NC
23692000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2370
870df5dc
NC
2371 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
2372 (process_def_file): Use.
2373 (pe_dll_compat_implib): New variable.
2374 (make_one): Use.
50bbae35 2375
870df5dc
NC
2376 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
2377 pe_dll_compat_implib.
50bbae35
AM
2378
2379 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
870df5dc
NC
2380 compat-implib options.
2381 (gld_${EMULATION_NAME}_list_options): List new options.
2382 (gld_${EMULATION_NAME}_parse_args): Handle.
2383
50bbae35 2384 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
5aaace27 2385 dll.
50bbae35
AM
2386
2387 * deffilep.y (opt_name): Allow "." in name.
5aaace27 2388
2f6d2f85 2389For older changes see ChangeLog-9899
252b5132
RH
2390\f
2391Local Variables:
2392mode: change-log
2393left-margin: 8
2394fill-column: 74
2395version-control: never
2396End:
This page took 0.240569 seconds and 4 git commands to generate.