2001-09-04 Elena Zannoni <ezannoni@redhat.com>
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
559e4713
NC
12001-09-05 Danny Smith <dannysmith@users.souceforge.net>
2
3 * ld.texinfo (Options, --stack): Correct default value for stack
4 reserve.
5
9b5799b8
AJ
62001-09-03 Andreas Jaeger <aj@suse.de>
7
8 * emultempl/beos.em: Declare prototypes for comparions functions,
9 adjust definitions.
10
48f6162b
AJ
112001-09-02 Andreas Jaeger <aj@suse.de>
12
13 * emultempl/aix.em: Add missing prototype.
14 * emultempl/lnk960.em: Likewise.
15 * emultempl/vanilla.em: Likewise.
16 * emultempl/armcoff.em: Likewise.
17 * emultempl/armelf_oabi.em: Likewise.
18 * emultempl/beos.em: Likewise.
19 * emultempl/gld960c.em: Likewise.
20 * emultempl/gld960.em: Likewise.
21
22 * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
23 for prototype declaration.
24
39e5585e
EC
252001-08-31 Eric Christopher <echristo@redhat.com>
26 Jason Eckhardt <jle@redhat.com>
27
28 * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
29
3fc90ddb
AJ
302001-08-31 Andreas Jaeger <aj@suse.de>
31
32 * emultempl/pe.em: Add missing prototypes.
33 (gld_${EMULATION_NAME}_after_open): Remove extra args to
34 pe_find_data_imports.
35 (pr_sym): Add unused attribute.
36
d43ded80
PB
372001-08-29 Joel Sherrill <joel@OARcorp.com>
38
39e5585e 39 * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
d43ded80
PB
40 default from coff to elf.
41
3946dd2f
JL
422001-08-29 Jeff Law <law@redhat.com>
43
44 * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update
45 ARCH specification.
46 * emulparams/h8300self.sh: Similarly.
47
48Wed Aug 28 13:37:20 2001 J"orn Rennecke <amylaar@redhat.com>
8af6dd41
JR
49
50 * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
51 eh8300self.o .
52 (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
53 * configure.tgt (h8300-*-elf*): New case.
54 * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
55 * emulparams/h8300self.sh: New file.
56 * Makefile.in: Regenerated.
57
70d0c6e9
NC
582001-08-28 Nick Clifton <nickc@cambridge.redhat.com>
59
60 * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
61 with macro name.
62
5c67d4bb
AM
632001-08-27 Linus Nordberg <linus@swox.com>
64 Alan Modra <amodra@bigpond.net.au>
65
66 * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
67 (eelf64ppc.c, eelf64lppc.c): Add make targets.
68 Run "make dep-am"
69 * Makefile.in: Regenerate.
70 * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj
71 entries to correct alphabetical position.
72 * emulparams/elf64ppc.sh: New.
73 * emulparams/elf64lppc.sh: New.
74
08131015
NC
752001-08-27 Nick Clifton <nickc@cambridge.redhat.com>
76
77 * ldmain.c (main): Declare BSIZE as static.
78
db6751f2
JJ
792001-08-23 Jakub Jelinek <jakub@redhat.com>
80
81 * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
82 into .rel.dyn resp. .rela.dyn if combreloc.
83 (get_script): If .x linker script is equal to .xn, only put it
84 once into the binary.
85 Add .xc and .xsc scripts.
86 (parse_args): Handle -z combreloc and -z nocombreloc.
87 * scripttempl/elf.sc (.rela.sbss): Fix a typo.
88 For .xc and .xsc scripts put all .rel* or .rela* input sections
89 but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
90 * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
91 is elf.
92 Strip trailing whitespace from script.
93 Generate .xc and .xsc scripts if requested.
94 * ldmain.c (main): Initialize link_info.combreloc and
95 link_info.spare_dynamic_tags.
96 * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
97 (ld_options): Add --spare-dynamic-tags option.
98 (parse_args): Likewise.
99 * ld.texinfo: Document -z combreloc and -z nocombreloc.
100 * ldint.texinfo: Document .xc and .xsc linker scripts.
101 * NEWS: Add notes about -z combreloc and SHF_MERGE.
102
63d069c0
L
1032001-08-22 H.J. Lu <hjl@gnu.org>
104
105 * emulparams/elf32fr30.sh: Add a newline.
106
948f9114
AJ
1072001-08-21 Andreas Jaeger <aj@suse.de>
108
109 * deffilep.y: Add missing prototypes.
110 * pe-dll.c: Likewise.
111
ae7fb08f
AM
1122001-08-20 Alan Modra <amodra@bigpond.net.au>
113
2af02257
AM
114 * ldlang.c (insert_pad): Fix typos in last patch.
115
116 * ldlang.c: When traversing lang_statement_union_type lists,
117 consistently use "header.next" rather than "next".
118 * mpw-eppcmac.c: Likewise.
119 * emultempl/beos.em: Likewise.
120 * emultempl/hppaelf.em: Likewise.
121 * emultempl/pe.em: Likewise.
122 * ldlang.h (union lang_statement_union): Remove "next" field.
123
c0c330a7
AM
124 * ldlang.c (insert_pad): Use offsetof macro.
125 (lang_size_sections): Always neuter padding statements.
126 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
127
ae7fb08f
AM
128 * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
129 passed to lang_size_sections.
130 (pe_exe_fill_sections): Likewise.
131 * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
132 (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
133
fab80407
AM
1342001-08-18 Alan Modra <amodra@bigpond.net.au>
135
136 * emultempl/aix.em: Formatting fixes.
137
b3327aad
AM
1382001-08-18 Alan Modra <amodra@bigpond.net.au>
139
140 * ldlang.c (insert_pad): Make use of an existing pad statement if
141 available. Move code calculating alignment, adjusting section
142 alignment power, and adjusting dot to ..
143 (size_input_section): .. here. Remove unused relax param.
144 (lang_size_sections): Change boolean `relax' param to boolean *.
145 Adjust call to size_input_section. Make use of insert_pad to
146 place pad after the assignment statement. If relaxing, zap
147 padding statements.
148 (reset_memory_regions): Reset output_bfd section sizes too.
149 (relax_again): Move to..
150 (lang_process): ..here. Adjust call to lang_size_sections, and
151 remove duplicated code.
152 * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
153
563e308f
AM
1542001-08-17 Alan Modra <amodra@bigpond.net.au>
155
156 * ld.texinfo: Document that fill values now use the four least
157 significant bytes.
158 * emulparams/elf32fr30.sh (NOP): Update.
159 * emulparams/elf32mcore.sh: Likewise.
160 * emulparams/elf64_s390.sh: Likewise.
161 * emulparams/elf_i386.sh: Likewise.
162 * emulparams/elf_i386_be.sh: Likewise.
163 * emulparams/elf_i386_chaos.sh: Likewise.
164 * emulparams/elf_i386_ldso.sh: Likewise.
165 * emulparams/elf_s390.sh: Likewise.
166 * emulparams/elf_x86_64.sh: Likewise.
167 * emulparams/i386moss.sh: Likewise.
168 * emulparams/i386nw.sh: Likewise.
169 * emulparams/m68kelf.sh: Likewise.
170 * scripttempl/elf.sc: Update NOP comment.
171 * scripttempl/elfi370.sc: Likewise.
172 * scripttempl/elfm68hc11.sc: Likewise.
173 * scripttempl/elfm68hc12.sc: Likewise.
174 * scripttempl/nw.sc: Likewise.
175
b90e1c6f
TR
1762001-08-15 Tom Rix <trix@redhat.com>
177
178 * ldgram.y (saved_script_handle): Initialize to NULL.
179 * ldmain.c (main): Change check on saved_script_handle.
948f9114 180
39dcfe18
AM
1812001-08-14 Alan Modra <amodra@bigpond.net.au>
182
cde43e70
AM
183 * emultempl/elf32.em: Formatting fixes.
184 (output_prev_sec_find): Test for bfd_ind_section too; do so by
185 looking at sec->owner.
186 (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
187 (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove
188 unused code, and reorganize orphan section placement code.
189
39dcfe18
AM
190 * ldlang.c (wild_doit): Rename to lang_add_section.
191 * ldlang.h: Here too.
192 * mpw-elfmips.c: And here.
193 * emultempl/beos.em: And here.
194 * emultempl/elf32.em: And here.
195 * emultempl/hppaelf.em: And here.
196 * emultempl/pe.em: And here.
197
908d20b3
RH
1982001-08-13 Richard Henderson <rth@redhat.com>
199
200 * emultempl/needrelax.em: New file.
201 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
202 * Makefile.am (eelf64_ia64.c): Depend on it.
203 * Makefile.in: Rebuild.
204
0f33d40b
AM
2052001-08-13 Alan Modra <amodra@bigpond.net.au>
206
22af9fd3
AM
207 * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
208 output_section is set non-NULL.
209
0f33d40b
AM
210 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
211 `true' for SEC_EXCLUDE sections so that the generic code doesn't
212 needlessly create an output_section_statement. Treat a correctly
213 named output_section_statement with NULL bfd_section as compatible.
214
55ab6103
HPN
2152001-08-13 Hans-Peter Nilsson <hp@bitrange.com>
216
217 * emultempl/generic.em: Support EXTRA_EM_FILE.
218 (ld_${EMULATION_NAME}_emulation): Support emulation parameters
219 LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
220 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
221 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
222 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
223 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
224 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
225 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
226 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
227 LDEMUL_FIND_POTENTIAL_LIBRARIES.
228
24098abb
RH
2292001-08-12 Richard Henderson <rth@redhat.com>
230
231 * scripttempl/elf.sc, scripttempl/elfd30v.sc,
232 scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
233 scripttempl/v850.sc: Keep .jcr data.
234
b9a8de1e
NC
2352001-08-12 H.J. Lu <hjl@gnu.org>
236 Andrew Haley <aph@cambridge.redhat.com>
237 Nick Clifton <nickc@redhat.com>
238
239 * ldgram.y (had_script): Change name to saved_script_handle.
240 Change type to file handle.
241 * ld.h (had_script): Rename and retype.
242 * ldfile.c (ldfile_open_command_file): Save the file handle
243 used in saved_script_handle.
244 * lexsup.c (parse_args): Do not allow -c option to alter
245 saved_script_handle.
246 * ldmain.c (main): Print out the linker script used if
247 --verbose is given. Check saved_script_handle to obtain the
248 external linker script used, or if NULL, dump the builtin
249 script.
250 * ld.texinfo: Document that --verbose now dumps the linker
251 script used, regardless of whether it was an internal or an
252 external script.
253
0218d1e4
AJ
2542001-08-10 Andreas Jaeger <aj@suse.de>
255
256 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
257 to build warnings.
258 * configure: Regenerate.
259
5253f23b
AM
2602001-08-09 Alan Modra <amodra@bigpond.net.au>
261
73810896
AM
262 * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
263
5253f23b
AM
264 * scripttempl/elf.sc: Move non-text .dynamic section before
265 .plt/.got/.sdata* group.
266 (OTHER_GOT_SECTIONS): Move to immediately after .got.
267 (OTHER_SDATA_SECTIONS): Add.
268 * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
269 OTHER_GOT_SECTIONS.
270 * emulparams/crislinux.sh: Likewise.
271 * emulparams/elf32b4300.sh: Likewise.
272 * emulparams/elf32bmip.sh: Likewise.
273 * emulparams/elf32bmipn32.sh: Likewise.
274 * emulparams/elf32bsmip.sh: Likewise.
275 * emulparams/elf32btsmip.sh: Likewise.
276 * emulparams/elf32ebmip.sh: Likewise.
277 * emulparams/elf32elmip.sh: Likewise.
278 * emulparams/elf32l4300.sh: Likewise.
279 * emulparams/elf32lmip.sh: Likewise.
280 * emulparams/elf32lsmip.sh: Likewise.
281 * emulparams/elf32ltsmip.sh: Likewise.
282 * emulparams/elf64bmip.sh: Likewise.
283 * emulparams/elf64btsmip.sh: Likewise.
284 * emulparams/elf64ltsmip.sh: Likewise.
285
179c732c
AM
2862001-08-08 Alan Modra <amodra@bigpond.net.au>
287
288 * genscripts.sh: Source the emulparams script before each output
289 script is generated so that variables like `RELOCATING' may affect
290 variables defined in the emulparams script.
291
3fd36710
AM
2922001-08-04 Alan Modra <amodra@bigpond.net.au>
293
20713691
AM
294 * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
295 order.
296
3fd36710
AM
297 * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
298 ie. iterate over wild_statement.section_list.
299 (gld${EMULATION_NAME}_place_orphan): Likewise.
300
de0b1853
SC
3012001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
302
303 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
304 .fini[0-4] sections used by _exit
305 (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
306 (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
307 * scripttempl/elfm68hc11.sc: Likewise.
308
ff7e6f88
L
3092001-08-03 H.J. Lu <hjl@gnu.org>
310
311 * emultempl/beos.em (init): Add the missing initialization.
312
b6bf44ba
AM
3132001-08-03 Alan Modra <amodra@bigpond.net.au>
314
315 * ld.texinfo (Input Section Basics): Clarify ordering of output
316 sections.
317 * ldlang.c (callback_t): Add wildcard_list param.
318 (walk_wild_section): Remove "section" param. Rewrite for
319 lang_wild_statement_type change. Remove unique_section_p test.
320 (walk_wild_file): Remove "section" param.
321 (walk_wild): Remove "section" and "file" params.
322 (lang_gc_wild): Likewise.
323 (wild): Likewise. Modify for lang_wild_statement_type change.
324 (wild_sort): Likewise. Add "sec" param.
325 (gc_section_callback): Likewise.
326 (output_section_callback): Likewise. Do unique_section_p test.
327 (map_input_to_output_sections): Modify call to wild.
328 (lang_gc_sections_1): Likewise.
329 (print_wild_statement): Modify for lang_wild_statement_type
330 change.
331 (lang_add_wild): Replace filename, filenames_sorted param with
332 filespec. Replace section_name, sections_sorted,
333 exclude_filename_list with section_list.
334 * ldlang.h (lang_add_wild): Here too.
335 (lang_wild_statement_type): Replace section_name, sections_sorted,
336 and exclude_filename_list with section_list.
337 * ldgram.y (current_file): Delete.
338 (%union): Add wildcard_list.
339 (file_NAME_list): Set type to wildcard_list. Build a linked list
340 rather than calling lang_add_wild for each entry.
341 (input_section_spec_no_keep): Call lang_add_wild here instead.
342 * ld.h (struct wildcard_list): Declare.
343 * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
344
b044cda1
CW
3452001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
346
347 * ldmain.c (main): initialize link_info.pei386_auto_import
348 * pe-dll.c: new tables for auto-export filtering
349 (auto_export): change API, pass abfd for contextual filtering.
b6bf44ba 350 Loop thru tables of excluded symbols instead of comparing
b044cda1
CW
351 "by hand".
352
3532001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>
354
b6bf44ba
AM
355 * pe-dll.c: new variable pe_dll_enable_extra_debug. New
356 static variable current_sec (static struct sec *). Add
b044cda1 357 forward declaration for add_bfd_to_link.
b6bf44ba
AM
358 (process_def_file): Don't export undefined symbols. Do not
359 export symbols starting with "_imp__". Call auto_export()
b044cda1
CW
360 with new API.
361 (pe_walk_relocs_of_symbol): New function.
362 (generate_reloc): add optional extra debugging
b6bf44ba 363 (pe_dll_generate_def_file): eliminate extraneous initial blank
b044cda1 364 line in output
b6bf44ba 365 (make_one): enlarge symtab to make room for __nm__ symbols
b044cda1
CW
366 (DATA auto-import support).
367 (make_singleton_name_thunk): New function.
368 (make_import_fixup_mark): New function.
369 (make_import_fixup_entry): New function.
370 (pe_create_import_fixup): New function.
b6bf44ba 371 (add_bfd_to_link): Specify that 'name' argument is a CONST
b044cda1 372 char *.
b6bf44ba
AM
373 * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
374 declare new functions pe_walk_relocs_of_symbol and
b044cda1
CW
375 pe_create_import_fixup.
376 * emultempl/pe.em: add new options --enable-auto-import,
377 --disable-auto-import, and --enable-extra-pe-debug.
378 (make_import_fixup): New function.
379 (pe_find_data_imports): New function.
380 (pr_sym): New function.
b6bf44ba 381 (gld_${EMULATION_NAME}_after_open): Add optional extra pe
b044cda1
CW
382 debugging. Call pe_find_data_imports. Mark .idata as DATA, not
383 CODE.
384
3852001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
b6bf44ba 386
b044cda1
CW
387 * ld.texinfo: add additional documentation for
388 --export-all-symbols. Document --out-implib,
389 --enable-auto-image-base, --disable-auto-image-base,
b6bf44ba
AM
390 --dll-search-prefix, --enable-auto-import, and
391 --disable-auto-import.
b044cda1
CW
392 * ldint.texinfo: Add detailed documentation on auto-import
393 implementation.
394
156e34dd
NC
3952001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
396
397 * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
398 example.
399
d6231427
AM
4002001-07-24 Alan Modra <amodra@bigpond.net.au>
401
402 * Makefile.am: Update dependencies with "make dep-am".
403 * Makefile.in: Regenerate
404
e14ec88b
AM
4052001-07-23 Alan Modra <amodra@bigpond.net.au>
406
407 * ldcref.c (check_section_sym_xref): New function.
408 (check_nocrossrefs): Call it.
409 (check_nocrossref): Interate over h->refs here instead of..
410 (check_refs): ..here. Pass in the symbol name, section, and bfd
411 rather than hash_entry pointers.
412 (struct check_refs_info): Keep symbol name rather than hash entry.
413 Remove "same".
414 (check_reloc_refs): Tweak for above changes in check_refs_info.
415 Only report references to section syms when symname is NULL to
416 prevent duplicate messages for the same reloc.
417
1b577b00
NC
4182001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
419
c7d701b0
NC
420 * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
421 available. Do not print NULL trees.
422 (exp_print_token): Print unknown tokens with values > 126 as
423 decimal values not ASCII characters.
424
1545243b
NC
425 * ldlang.c (lang_leave_overlay): If a region is specified assign
426 it to all sections inside the overlay unless they have been
427 assigned to the own, non-default, memory region.
428
1b577b00
NC
429 * README: Add header for consistency with other README files.
430
5030876b
L
4312001-07-14 H.J. Lu <hjl@gnu.org>
432
433 * emultempl/elf32.em (output_prev_sec_find): Never return
434 bfd_abs_section_ptr, bfd_com_section_ptr nor
435 bfd_und_section_ptr.
436
18c7a9a5
NC
4372001-07-14 Nick Clifton <nickc@cambridge.redhat.com>
438
22af9fd3 439 * Makefile.am (em32relf.c): Change dependency from generic.em to
18c7a9a5
NC
440 elf32.em.
441 * Makefile.in: Regenerate.
442
9ffecff1
MG
4432001-07-14 matthew green <mrg@eterna.com.au>
444
445 * configure.tgt (i386-*-netbsdelf*): New target.
446 (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
447
95500e1c
JJ
4482001-07-13 Jakub Jelinek <jakub@redhat.com>
449
450 * emultempl/elf32.em (output_prev_sec_find): New.
451 (place_orphan): Use it.
452
e97cb84f
L
4532001-07-11 H.J. Lu <hjl@gnu.org>
454
455 * ldmain.c (main): Fix typos in the last change.
456
7333607e
JJ
4572001-07-11 Jakub Jelinek <jakub@redhat.com>
458
459 * ldmain.c (main): Disallow -F and -f without -shared.
460
d29d80f2
NC
4612001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
462
463 * emultempl/pe.em (after_open): Check for the output_bfd not
464 having any coff_data structure allocated to it.
465
c2a1a436
DB
4662001-07-09 David O'Brien <obrien@FreeBSD.org>
467
468 * emultempl/elf32.em: Do not assuming that contents of the buffer
469 returned from basename function will remain unchanged accross other
470 function calls.
471
63653551
L
4722001-07-03 H.J. Lu <hjl@gnu.org>
473
474 * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
475 2001-07-03. It creates dynamic entries even for static binaries.
476
d303a449
L
4772001-07-03 Jakub Jelinek <jakub@redhat.com>
478
479 * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
480 (DYNAMIC): Use it to reserve few dynamic entries for
481 post-linking tools.
482
9f22353f
AM
4832001-06-27 Alan Modra <amodra@bigpond.net.au>
484
485 * emulparams/hppa64linux.sh: New file.
486 * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
487 * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
488 (ehppa64linux.c): Add rule to make it.
489 Run "make dep-am".
490 * Makefile.in: Regenerate.
491
62bf86b4
HPN
4922001-06-21 Hans-Peter Nilsson <hp@axis.com>
493
494 * ld.texinfo (Options, -r): Mention restrictions when using
495 different object formats.
496
429d935d
HPN
4972001-06-19 Hans-Peter Nilsson <hp@axis.com>
498
499 * ldlang.c (lang_check): Emit fatal error if relocatable link
500 between different object flavours with relocations in input.
501
cb840a31
L
5022001-06-19 H.J. Lu <hjl@gnu.org>
503
504 * ld.texinfo (-E, --export-dynamic): Mention --version-script.
505 (--version-script): Mention the language support.
506
9bf03acc
L
5072001-06-19 H.J. Lu <hjl@gnu.org>
508
509 * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
510
c45021f2
NC
5112001-06-18 H.J. Lu <hjl@gnu.org>
512
b6bf44ba
AM
513 * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
514 (diststuff): Add $(MANS).
515 * Makefile.in: Regenerated.
c45021f2 516
b6bf44ba 517 * ld.1: Removed.
c45021f2 518
6caa99ab
HPN
5192001-06-18 Hans-Peter Nilsson <hp@axis.com>
520
605d9b3a
HPN
521 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
522 Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
523 * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
524 * ld.h (args_type): Remove member export_dynamic. All users
525 changed to use struct bfd_link_info member.
526
6caa99ab
HPN
527 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
528 $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
529 * Makefile.in: Regenerate.
530
6f9efd97
L
5312001-06-18 H.J. Lu <hjl@gnu.org>
532
533 * ldlang.c (init_os): Add the newline to the einfo call.
534 (lang_check): Likewise.
535 (lang_do_version_exports_section): Likewise.
536
5af9fd8b
L
5372001-06-15 H.J. Lu <hjl@gnu.org>
538
539 * lexsup.c (parse_args); Save optind to report unrecognized
540 option.
541
2a096f04
HPN
5422001-06-15 Hans-Peter Nilsson <hp@axis.com>
543
7e66c3f5
HPN
544 * ldlang.c (lang_check): Emit fatal error if relocatable link
545 between different object flavours.
546
2a096f04
HPN
547 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
548 Set new link_info member export_dynamic.
549 * ldmain.c (main): Initialize new link_info member export_dynamic.
550
6770ec8c
NC
5512001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
552
553 * ldlang.c (walk_wild): Only call walk_wild_file if
554 lookup_name returns something.
b6bf44ba 555 (lookup_name): If load_symbols fails, return NULL.
22af9fd3 556 (load_symbols): Change to a boolean function.
b6bf44ba 557 (open_input_bfds): If load_symbols fails then do not make the
6770ec8c
NC
558 executable.
559
8529105a
AM
5602001-06-08 Alan Modra <amodra@bigpond.net.au>
561
562 * ldlang.c (record_bfd_errors): Remove.
563
564 * emultempl/aix.em: Fix copyright dates.
565
8f3aa7a0
AJ
5662001-06-07 Andreas Jaeger <aj@suse.de>
567
568 * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
569 (TEXT_START_ADDR): Likewise.
570
3277f888
AM
5712001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
572
573 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
574
3763134d
DD
5752001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
576
577 * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
578
5929ebc0
L
5792001-05-31 H.J. Lu <hjl@gnu.org>
580
581 * ldlang.c (open_input_bfds): Don't change the bfd error
582 handler whilst loading symbols.
583
c04a062d
NC
5842001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
585
586 * configure.tgt: Remove i370-mvs architecture, it is not currently
587 supported.
588
96fcab3e
L
5892001-05-25 H.J. Lu <hjl@gnu.org>
590
591 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
592 like emulparams/aixppc.sh.
593
db8d4f23
L
5942001-05-25 H.J. Lu <hjl@gnu.org>
595
596 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
597 setting of output_filename after bfd_scan_arch.
598 * emultempl/pe.em: Likewise.
599
5f642101
L
6002001-05-25 H.J. Lu <hjl@gnu.org>
601
602 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
603 like emulparams/aixppc.sh.
604
605 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
606 instead of ${srcdir}/emultempl/stringify.sed.
607
64e9ece0
TW
6082001-05-25 Timothy Wall <twall@oculustech.com>
609
610 * emulparams/elf64_aix.sh: Change settings to match IBM linker
8f3aa7a0 611 output.
64e9ece0 612
c709b096
AM
6132001-05-25 Alan Modra <amodra@one.net.au>
614
615 * configure.host: Replace linuxoldld with linux*oldld.
616 * configure.tgt: Likewise.
617
6cbdcc6f
L
6182001-05-24 H.J. Lu <hjl@gnu.org>
619
620 * emultempl/stringify.sed: Removed again.
621
86af25fe
L
6222001-05-24 H.J. Lu <hjl@gnu.org>
623
624 * emultempl/aix.em (OUTPUT_ARCH): Defined.
625 (gld${EMULATION_NAME}_before_parse): Initialize
626 ldfile_output_architecture, ldfile_output_machine and
627 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
628 * emultempl/beos.em: Likewise.
629 * emultempl/elf32.em: Likewise.
630 * emultempl/linux.em: Likewise.
631 * emultempl/mipsecoff.em: Likewise.
632 * emultempl/pe.em: Likewise.
633 * emultempl/sunos.em: Likewise.
634
3b1b01cf
TR
6352001-05-24 Tom Rix <trix@redhat.com>
636
8f3aa7a0 637 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
3b1b01cf
TR
638 udate import file format.
639 (change_symbol_mode) New, same
640 (is_syscall) New, same
641 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
642 * emulparams/aixppc64.sh : same
643 * emulparams/aixrs6.sh : same
644 * emulparams/ppcmacos.sh : same
645 * emultempl/aix.em : use strtoull to parse options
646 * Makefile.am : add eaixppc64 emulation for xcoff64
647 * Makefile.in : same
648 * configure.tgt : same
649
650 * scripttempl/aix.sc : default text section offset to 0x10000000
651 default data section offset to 0x20000000
652 add .sv3264 and .sv64 pseudo sections
8f3aa7a0 653 loader and debug sections use the currect section offset.
3b1b01cf
TR
654
655 * emultempl/aix.em : Add xcoff64 support
656 Add -binitfini support
8f3aa7a0 657 (gld${EMULATION_NAME}_before_parse) -binitfini
3b1b01cf 658 (gld${EMULATION_NAME}_parse_args) same
8f3aa7a0 659 (gld${EMULATION_NAME}_before_allocation) format change for special
3b1b01cf
TR
660 sections
661
662 * emulparams/aixppc64.sh : New file for xcoff64 support
8f3aa7a0 663
57e6abd2
AO
6642001-05-23 Alexandre Oliva <aoliva@redhat.com>
665
666 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
667 variable to avoid non-portable shell construct.
668
d1cf510e
NC
6692001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
670
671 * ldmain.c (get_emulation): Add -mips5 command line argument.
672
506eee22
NC
6732001-05-22 Alexandre Oliva <aoliva@redhat.com>
674
675 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
676 (ELF_INTERPRETER_NAME): Define it.
677 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
678 it.
679 * configure.tgt (targ_emul, targ_extra_emuls)
680 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
681 as primary, elf_i386 as extra.
682 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
683 (eelf_i386_ldso.c): New rule.
684 * Makefile.in: Rebuilt.
685
6862001-05-22 Nick Clifton <nickc@redhat.com>
687
688 * lexsup.c (ld_options): Allow -I to be an alias for
689 --dynamic-linker. This is for Solaris compatability.
690 * ld.texinfo: Document that -I can be used.
691 * ld.1: Regenerate.
692
d1778b88
AM
6932001-05-16 Alan Modra <amodra@one.net.au>
694
695 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
696 whether an input section is the first one assigned to an output
697 section.
698 Assorted formatting fixes.
699
02649152
DD
7002001-05-14 DJ Delorie <dj@delorie.com>
701
702 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
703 * Makefile.in: Ditto.
704
579f31ac
JJ
7052001-05-11 Jakub Jelinek <jakub@redhat.com>
706
707 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
708 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
709 output sections.
710 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
711
8550eb6e
JJ
7122001-05-11 Jakub Jelinek <jakub@redhat.com>
713
714 * ldlang.c (lang_process): Call bfd_merge_sections.
715
8e5a525c
AM
7162001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
717
718 * ldgram.y: Fix typo.
719
1c9acd94
L
7202001-05-03 H.J. Lu <hjl@gnu.org>
721
722 * emultempl/elf32.em: Include "libiberty.h".
723 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
724 basename of the bfd filename.
725 (gld${EMULATION_NAME}_stat_needed): Likewise.
726 (gld${EMULATION_NAME}_try_needed): Likewise.
727 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
728
14fe918e
L
7292001-05-02 H.J. Lu <hjl@gnu.org>
730
731 * emultempl/pe.em: Include <ctype.h>.
732
c7e40348
NC
7332001-05-02 Johan Rydberg <jrydberg@opencores.org>
734
b6bf44ba 735 * emulparams/elf32openrisc.sh: New file.
c7e40348 736
b6bf44ba
AM
737 * Makefile.am: Add OpenRISC target.
738 * Makefile.in: Regenerated.
c7e40348 739
b6bf44ba 740 * configure.tgt: Add openrisc-*-* mapping.
c7e40348
NC
741
7422001-05-02 Nick Clifton <nickc@redhat.com>
743
744 * emultempl/aix.em: Replace buystring with xstrdup.
745 * emultempl/beos.em: Replace buystring with xstrdup.
8f3aa7a0 746
d1b2b2dc
L
7472001-05-02 H.J. Lu <hjl@gnu.org>
748
749 * ldfile.c: Include "libiberty.h".
750 * ldlex.l: Likewise.
751
752 * ldmisc.c (buystring): Removed.
753 * ldmisc.h: Likewise.
754
755 * ldfile.c: Replace buystring with xstrdup.
756 * ldlang.c: Likewise.
757 * ldlex.l: Likewise.
758 * ldmain.c: Likewise.
759 * ldmisc.c: Likewise.
760 * lexsup.c: Likewise.
761 * mpw-eppcmac.c: Likewise.
762
35714f2a
AJ
7632001-04-30 Andreas Jaeger <aj@suse.de>
764
765 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
766
884fb58e
NC
7672001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
768
b6bf44ba
AM
769 * ldlang.c (load_symbols): Give emulation a chance
770 to process unrecognized file before fatal error is
771 reported, not after.
884fb58e 772
87748b32
NC
7732001-04-27 Sean McNeil <sean@mcneil.com>
774
775 * configure.tgt: Add arm-vxworks target.
776 * scripttempl/armcoff.sc: Support .text or .data as a section name
777 prefix.
778 Define _etext.
35714f2a 779
7ce691ae
C
7802001-04-13 J.T. Conklin <jtc@redback.com>
781
782 * ld.texinfo: Document --fatal-warnings.
783 * ld.1: Regenerate.
784
785 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
35714f2a 786 warnings have been turned into errors.
7ce691ae
C
787 * lexsup.c (OPTION_WARN_FATAL): Define.
788 (ld_options): Entry for --fatal-warnings.
789 (parse_args): Handle OPTION_WARN_FATAL.
790 * ld.h (ld_config_type): Add fatal_warnings field.
791
f5fa8ca2
JJ
7922001-04-13 Jakub Jelinek <jakub@redhat.com>
793
794 * ldmain.c (main): Default to discard_sec_merge.
795 * lexsup.c (OPTION_DISCARD_NONE): Define.
796 (ld_options): Add --discard-none.
797 (parse_args): Handle OPTION_DISCARD_NONE.
798 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
799 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
800 all its input sections match.
801
fdec3cfc
L
8022001-04-05 Steven J. Hill <sjhill@cotw.com>
803
804 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
805 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
806 (eelf32ltsmip.c): New target.
807 (eelf64btsmip.c): Likewise.
808 (eelf64ltsmip.c): Likewise.
809 * Makefile.in: Regenerated.
810
811 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
812 target.
813 (mips*-*-linux-gnu*): Likewise.
814
815 * emulparams/elf32ltsmip.sh: New. Traditional little endian
816 MIPS taget.
35714f2a 817 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
fdec3cfc
L
818 target.
819 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
820 endian target.
821
589bad82
HPN
8222001-04-05 Hans-Peter Nilsson <hp@axis.com>
823
824 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
825 correct value of __Stext here.
826 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
827 .startup section.
828
829 * emulparams/crislinux.sh: Remove FIXME.
830
94202e16
AM
8312001-04-02 Alan Modra <alan@linuxcare.com.au>
832
833 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
834 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
835
1268a053
HPN
8362001-03-27 Hans-Peter Nilsson <hp@axis.com>
837
838 * configure.tgt (cris-*-*): Change default emulation to criself.
839 (cris-*-*aout*): New rule.
840
d85e9ff7
AM
8412001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com>
842
843 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
844 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
845
0879a67a
AJ
8462001-03-26 Andreas Jaeger <aj@suse.de>
847
848 * ld.texinfo (Overview): Fix syntax in texi code.
849
0285c67d
NC
8502001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
851
852 * ld.texinfo: Put @c man indications to generate the ld man page.
853 When generating man, define all the variables. Define SEEALSO
854 and SYNOPSIS. Re-organize some lines to avoid the cross references.
855 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
856 (ld.1): Generate from ld.texinfo.
857 * Makefile.in: Regenerate.
858
c20ec07b
NC
8592001-03-23 Mark Elbrecht <snowball3@bigfoot.com>
860
861 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
862 and '-fdata-sections'. Set the VMA of STABS sections to zero.
863
cc5ce052
UD
8642001-03-17 Ulrich Drepper <drepper@redhat.com>
865
866 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
867 is an absolute path look only for this file and not along the path.
868
a1ab1d2a
UD
8692001-03-17 Ulrich Drepper <drepper@redhat.com>
870
871 * emultempl/elf32.em (OPTION_GROUP): New macro.
872 Add new option Bgroup to longopts.
873 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
874 (gld*_list_options): Add -Bgroup and -z defs.
875 * ld.1: Document -Bgroup and -z defs.
876 * ld.texinfo: Likewise.
877
788fca5a
MM
8782001-03-07 Michael Meissner <meissner@redhat.com>
879
880 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
881 with sections created by -fdata-sections.
882 (.dynbss,.bss): Ditto.
883
1c7566d1
AM
8842001-03-05 Alan Modra <alan@linuxcare.com.au>
885
886 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
887 after_allocation_default, not gld..._before_allocation.
888
27b7e12d
AM
8892001-02-27 Alan Modra <alan@linuxcare.com.au>
890
891 * configure.in (BFD_VERSION): New.
892 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
893 * configure: Regenerate.
894 * Makefile.am: Run "make dep-am"
895 * Makefile.in: Regenerate.
896
2bc551c7
TW
8972001-02-26 Timothy Wall <twall@cygnus.com>
898
899 * emulparams/elf64_aix.sh: Add additional read-only sections;
900 uncomment lines which are now required.
901
1276aefa
NC
9022001-02-26 H.J. Lu <hjl@gnu.org>
903
904 * ldlang.c (open_input_bfds): Set the bfd error handler so
b6bf44ba
AM
905 that problems can be caught whilst loading symbols.
906 (record_bfd_errors): New function: Report BFD errors and mark
907 the executable output as being invalid.
1276aefa 908
41c49998
TW
9092001-02-22 Timothy Wall <twall@cygnus.com>
910
911 * configure.host: Add configuration for ia64-*-aix*.
912 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
913 Add dependencies for eelf64_aix.c.
914 * Makefile.in: Regenerate.
915 * configure.tgt: Add ia64-*-aix* mapping.
916 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
a2b64bed 917 * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
0879a67a
AJ
918 AIX-specific test.
919
78f85fd7
L
9202001-02-20 H.J. Lu <hjl@gnu.org>
921
922 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
923 false if we found the file.
924
1ac7e077 9252001-02-18 David O'Brien <obrien@FreeBSD.org>
fb33b906
DB
926
927 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
928 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
929
e135f41b
NC
9302001-02-18 lars brinkhoff <lars@nocrew.org>
931
932 * Makefile.am: Add PDP-11 target.
933 * configure.tgt: Likewise.
934 * emulparams/pdp11.sh: New file.
935
a842aceb
DB
9362001-02-17 David O'Brien <obrien@FreeBSD.org>
937
938 * configure.host: Add a generic FreeBSD configuration entry such that
939 all [modern] FreeBSD systems on all platforms will look the same.
940
24174db0
L
9412001-02-14 H.J. Lu <hjl@gnu.org>
942
943 * configure.tgt: Remove mention of earmelf_linux26.
944
30c3c13a
RH
9452001-02-13 Richard Henderson <rth@redhat.com>
946
947 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
948
b46a87b1
L
9492001-02-13 H.J. Lu <hjl@gnu.org>
950
951 * ldexp.h (node_type): Add etree_provided.
952 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
953 type to etree_provided if defined by PROVIDE. Allow updating
0879a67a 954 for etree_provided.
b46a87b1
L
955 (exp_print_tree): Handle etree_provided.
956 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
957 etree_provided.
958
f3988fd9
RH
9592001-02-09 David Mosberger <davidm@hpl.hp.com>
960
961 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
962 .IA_64.unwind.* pattern to unwind table section and
963 .IA_64.unwind_info* pattern to unwind info section.
964
a85d7ed0
NC
9652001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
966
967 * Makefile.am: Add linux target for S/390.
968 * Makefile.in: Likewise.
969 * configure.host: Likewise.
970 * configure.tgt: Likewise.
971 * emulparams/elf64_s390.sh: New file.
972 * emulparams/elf_s390.sh: New file.
973
780248c4
JJ
9742001-02-09 Jakub Jelinek <jakub@redhat.com>
975
976 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
977 targ_extra_libpath.
978 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
979
0e2534bd
PB
9802001-02-06 Philip Blundell <philb@gnu.org>
981
982 * Makefile.am: Remove mention of earmelf_linux26.
983 * Makefile.in: Regenerate.
984
46c1ea57
PB
9852001-02-04 Philip Blundell <philb@gnu.org>
986
987 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
988 * emulparams/armelf_linux26.sh: Delete.
989 * configure.tgt: Remove mention of armelf_linux26 emulation.
990
0088edd2
NC
9912001-02-01 Nick Clifton <nickc@redhat.com>
992
993 * ld.1: Replace occurances of -oformat with --oformat.
994
02aa14fb
AM
9952001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
996
997 * ldlang.c (lang_leave_overlay): Don't set lma_region when
998 load_base is specified.
999
f813923c
HPN
10002001-01-24 Hans-Peter Nilsson <hp@axis.com>
1001
1002 * emultempl/elf32.em: Correct spelling in comments and listed
1003 options.
1004
c1eb1488
AM
10052001-01-23 Alan Modra <alan@linuxcare.com.au>
1006
1007 * ldlang.c (lang_leave_overlay): Only set lma_region from the
1008 default for the first section of a group of overlay sections.
1009
d9fc3714
AM
10102001-01-22 Alan Modra <alan@linuxcare.com.au>
1011
1012 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
1013 * Makefile.in: Regenerate.
1014 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
1015 Check for null tool_dir.
1016
6be0ca94
JW
10172001-01-16 Jim Wilson <wilson@redhat.com>
1018
1019 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
1020 and IA_64.unwind.info.
1021
b9247304
L
10222001-01-16 H.J. Lu <hjl@gnu.org>
1023
1024 * ldlang.c (lang_check): Merge the private data only if the
1025 input file has contents.
1026
577a0623
AM
10272001-01-14 Alan Modra <alan@linuxcare.com.au>
1028
d952f17a
AM
1029 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
1030
ffd6e9de
AM
1031 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
1032 enabling search for libmilli. On a relocatable link, make .text
1033 sections unique.
1034 (LDEMUL_AFTER_PARSE): Define.
1035 (hppaelf_finish): Correct spelling of relocatable in comments.
1036
577a0623
AM
1037 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1038 rummage through the script for sections on the unique list.
1039 Correct length of strncmp for ".note".
1040 (gld${EMULATION_NAME}_check_needed): Rearrange function.
1041
1042 * ldlang.c (unique_section_list): New var.
1043 (unique_section_p): New function.
1044 (walk_wild_section): Don't match sections on unique_section_list.
1045 (lang_add_unique): New function.
ffd6e9de 1046 Correct spelling of relocatable in comments.
577a0623
AM
1047
1048 * ldlang.h (struct unique_sections): Declare.
1049 (unique_section_list): Declare.
1050 (unique_section_p): Declare.
1051 (lang_add_unique): Declare.
1052
1053 * lexsup.c (ld_options): Allow --unique to take an optional arg.
1054 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
1055
1056 * ld.texinfo (--unique): Update.
1057
b7ed8fad
NC
10582001-01-13 Nick Clifton <nickc@redhat.com>
1059
1060 * lexsup.c (parse_args): Remove spurious white space.
1061
d0398d6a
NC
10622001-01-12 Nick Clifton <nickc@redhat.com>
1063
1064 * lexsup.c (parse_args): Update copyright date.
1065
350fdb00
PB
10662001-01-12 Philip Blundell <pb@futuretv.com>
1067
1068 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
1069
60c6797e
KH
10702001-01-10 Kazu Hirata <kazu@hxi.com>
1071
1072 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
1073 * scripttempl/h8300h.sc: Fix formatting.
1074 * scripttempl/h8300s.sc: Likewise.
69f06969
KH
1075 * scripttempl/h8500.sc: Likewise.
1076 * scripttempl/h8500b.sc: Likewise.
1077 * scripttempl/h8500c.sc: Likewise.
1078 * scripttempl/h8500m.sc: Likewise.
1079 * scripttempl/h8500s.sc: Likewise.
60c6797e 1080
482e8b32
DB
10812000-01-07 David O'Brien <obrien@BSDi.com>
1082
1083 * emultempl/elf32.em: Only perform Linux ld hints processing when
1084 targeting Linux.
1085
d7ed7ca6
PB
10862001-01-07 Philip Blundell <philb@gnu.org>
1087
1088 * ld.texinfo (Bug Reporting): Update email address for reports.
1089
0fc3347a
NC
10902000-12-31 Nick Clifton <nickc@redhat.com>
1091
1092 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
1093 options by checking for a return value of '?' not -1.
1094
e4897a32
NC
10952000-12-28 Nick Clifton <nickc@redhat.com>
1096
1097 * lexsup.c (struct ld_option): Add new enum value:
1098 EXACTLY_TWO_DASHES.
1099 (ld_options[]): Change -omagic, -output and -oformat options
1100 to be EXACTLY_TWO_DASHES.
1101 (OUTPUT_COUNT): Use ARRAY_SIZE.
1102 (parse_args): Change parameter 'argc' to unsigned.
1103 Place EXACTLY_TWO_DASHES options into new really_longopts
1104 array.
1105 If getopt_long_only fails, try calling getopt_long using the
1106 really_longopts array.
1107 (help): Print a double dash for both EXACTLY_TWO_DASHES and
1108 TWO_DASHES options.
1109
1110 * ldlex.h: Fix prototype of parse_args.
1111
1112 * ld.texinfo: Document that long options starting with 'o'
1113 must be preceeded by two dashes. Change example of a single
1114 dashed long option from -oformat to -trace-symbol.
1115
1122a5fc
NC
11162000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1117
1118 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
1119 (longopts[]): New --no-default-excludes option.
1120 (gld_${EMULATION_NAME}_list_options): Document.
1121 (gld_${EMULATION_NAME}_parse_args): Handle.
1122
037849a9
NC
11232000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1124
1125 * ldlang.c (new_stat): Revert the last beautification with "innocent"
1126 whitespace, it breaks the K&R C preprocessor.
1127
7ec229ce
DD
11282000-12-11 DJ Delorie <dj@redhat.com>
1129
1130 * ld.texinfo: Add notes about --whole-archive and gcc.
1131
b79e8c78
NC
11322000-11-18 Fred Fish <fnf@be.com>
1133
1134 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
1135 (ld_options): Entry for --allow-shlib-undefined.
1136 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
1137 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
1138 to false.
1139 * ld.texinfo: Document new command line switch.
d952f17a 1140
9a8e2505
GK
11412000-12-12 Geoffrey Keating <geoffk@redhat.com>
1142
1143 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
1144 .fixup is actually read/write.
1145 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
1146 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
1147 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
1148
b8355149
JH
1149Mon Dec 11 14:50:33 MET 2000 Jan Hubicka <jh@suse.cz>
1150
1151 * NEWS: Add note about x86_64 architecture.
1152
93b63cd3
DD
11532000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
1154
1155 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
1156 Set DWARF2 sections to a VMA of zero.
1157
24f6971a
NC
11582000-12-01 Joel Sherrill <joel@OARcorp.com>
1159
d952f17a 1160 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
24f6971a
NC
1161 New targets.
1162 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
1163 (sparc*-*-rtems*): Switched from a.out to ELF.
1164
2be3aa03
NC
11652000-11-30 Jan Hubicka <jh@suse.cz>
1166
1167 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
1168 (eelf_x86_64.c): New.
1169 * Makefile.in: Regenerate.
1170 * configure.tgt: Add support for x86_64-*-linux-gnu*.
1171 * emulparams/elf_x86_64.sh: New.
1172
8c899858
HPN
11732000-11-30 Hans-Peter Nilsson <hp@axis.com>
1174
1175 * emulparams/crislinux.sh (ENTRY): Change back to _start.
1176 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
1177
1178 * scripttempl/crisaout.sc: Change all RELOCATING not related to
1179 merging non-a.out sections into CONSTRUCTING.
1180
e47b9e39
NC
11812000-11-28 Nick Clifton <nickc@redhat.com>
1182
1183 * ld.1 (COPYING): Mention that the GNU Free Documentation
1184 License is present in the sources, but not the output, and
1185 also available from the GNU website.
1186 (GNU Free Documentation License): Comment out this section.
1187
ad95f82a
DB
11882000-11-28 David O'Brien <obrien@dragon.nuxi.com>
1189
1190 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
1191 does not use them.
1192
fd89e65f
DB
11932000-11-25 David O'Brien <obrien@FreeBSD.org>
1194
1195 * ld.1: Remove old date so it does not give the impression the manpage
1196 is way out of date.
1197
077b8428
NC
11982000-11-24 Nick Clifton <nickc@redhat.com>
1199
1200 * configure.tgt (xscale-coff): Add target.
1201 (xscale-elf): Add target.
1202
49425d28
NC
12032000-11-24 Fred Fish <fnf@be.com>
1204
d952f17a
AM
1205 * ldmain.c (main): Remove redundant init of config.make_executable
1206 to true.
49425d28 1207
d3480244
RH
12082000-11-15 Richard Henderson <rth@redhat.com>
1209
1210 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
1211
1ce7de8b
KH
12122000-11-14 Kazu Hirata <kazu@hxi.com>
1213
1214 * scripttempl/h8300.sc: Fix formatting.
1215 * scripttempl/h8300h.sc: Likewise.
1216 * scripttempl/h8300s.sc: Likewise.
1217
208d5cd0
DC
1218Tue Nov 14 00:59:19 2000 Denis Chertykov <denisc@overta.ru>
1219
1220 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
1221
2e418547
PB
12222000-11-09 Philip Blundell <pb@futuretv.com>
1223
1224 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
1225 around orphan sections whose names can be represented in C.
1226
c940e6fc
JW
12272000-11-07 Jim Wilson <wilson@redhat.com>
1228
1229 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
1230 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
1231
704c465c
NC
12322000-11-06 Nick Clifton <nickc@redhat.com>
1233
1234 * ld.texinfo: Add GNU Free Documentation License.
1235 * ldint.texinfo: Add GNU Free Documentation License.
cf055d54 1236 * ld.1: Add GNU Free Documentation License.
704c465c 1237
dca7760f
AM
12382000-11-05 Alan Modra <alan@linuxcare.com.au>
1239
1240 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
1241 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
1242
1243 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
1244 Move 2000-11-02 Makefile.in changes to this file.
1245 * Makefile.in: Regenerate.
1246
40a633d5
NC
12472000-11-03 Nick Clifton <nickc@redhat.com>
1248
1249 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
1250 constructors and destructors.
1251 * scripttempl/h8300h.sc: Ditto.
1252 * scripttempl/h8300s.sc: Ditto.
1253 * scripttempl/h8500.sc: Ditto.
1254 * scripttempl/h8500b.sc: Ditto.
1255 * scripttempl/h8500c.sc: Ditto.
1256 * scripttempl/h8500m.sc: Ditto.
1257 * scripttempl/h8500s.sc: Ditto.
1258 * scripttempl/v850.sc: Ditto.
1259 * scripttempl/w65.sc: Ditto.
1260 * scripttempl/z8000.sc: Ditto.
1261
59ff2774
NC
12622000-11-02 Per Lundberg <plundis@chaosdev.org>
1263
1264 * Makefile.in (e_i386_chaos.c): New rule.
1265 (ALL_EMULATIONS): Added e_i386_chaos.o.
1266 * emulparams/elf_i386_chaos.sh: New file.
1267 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
1268
645571e1
JJ
12692000-10-20 Jakub Jelinek <jakub@redhat.com>
1270
1271 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
1272 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
1273 Fix sed invocation, so that it coped with '/' in Solaris 64bit
1274 library path suffix.
1275 Based on patch by Andrew Macleod <amacleod@cygnus.com>.
1276
c5975a45
HPN
12772000-10-18 Hans-Peter Nilsson <hp@axis.com>
1278
1279 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
1280 for consecutive sections.
1281
ea20a7da
CC
12822000-10-17 Chandrakala Chavva <cchavva@redhat.com>
1283
d952f17a
AM
1284 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
1285 options.
1286 * ld.texinfo: Added notes about this new option.
ea20a7da 1287
6e45556a
NC
12882000-10-16 Nick Clifton <nickc@redhat.com>
1289
1290 * emultempl/pe.em (_after_open): Add tests of return values from
1291 bfd functions. Emit appropriate error messages if necessary.
1292
b9a69188
NC
12932000-10-13 Nick Clifton <nickc@redhat.com>
1294
1295 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
102c86f8
NC
1296 local variables - they are not used, but leave in the call to
1297 bfd_canonicalize_symtab.
b9a69188
NC
1298 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
1299 pe_dll_search_prefix.
1300
627427de 13012000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
d952f17a 1302
627427de
DD
1303 * emultempl/pe.em (pe_dll_search_prefix): New variable,
1304 (longopts): New --dll-search-prefix option.
1305 (gld_${EMULATION_NAME}_list_options): Document.
1306 (gld_${EMULATION_NAME}_parse_args): Handle.
1307 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
1308 dynamically, search for a dll named '<prefix><basename>.dll'
1309 in preference to 'lib<basename>.dll' if --dll-search-prefix
1310 is specified.
1311
24376d1b
AM
13122000-10-12 Alan Modra <alan@linuxcare.com.au>
1313
1314 * ldlang.c (section_already_linked): Set kept_section instead of
1315 sec->comdat->sec.
1316
e47d05ad
KH
13172000-10-10 Kazu Hirata <kazu@hxi.com>
1318
1319 * deffile.h: Fix formatting.
1320 * lexsup.c: Likewise.
1321 * mri.c: Likewise.
1322
23a87948
DD
13232000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
1324
1325 * pe-dll.c (make_one): Do not generate code thunk for DATA
1326 exports.
1327 (process_def_file): deduce DATA flag for auto-export sumbols.
1328
86b1cc60
KH
13292000-10-09 Kazu Hirata <kazu@hxi.com>
1330
89cdebba
KH
1331 * ld.h: Fix formatting.
1332 * ldcref.c: Likewise.
1333 * ldctor.h: Likewise.
1334 * ldemul.c: Likewise.
1335 * ldemul.h: Likewise.
1336 * ldexp.c: Likewise.
1337 * ldexp.h: Likewise.
1338 * ldfile.c: Likewise.
1339 * ldfile.h: Likewise.
1340 * ldlang.c: Likewise.
1341 * ldlang.h: Likewise.
1342 * ldmain.c: Likewise.
7bfd51a3
KH
1343 * pe-dll.c: Likewise.
1344
1345 * pe-dll.c: Revert some formatting fixes.
86b1cc60 1346
d643799d
KH
13472000-10-08 Kazu Hirata <kazu@hxi.com>
1348
1349 * pe-dll.c: Fix formatting.
1350
08da4cac
KH
13512000-10-05 Kazu Hirata <kazu@hxi.com>
1352
1353 * ldlang.c: Fix formatting.
1354
c2a94a7a
DD
13552000-10-03 DJ Delorie <dj@redhat.com>
1356
1357 * pe-dll.c (fill_edata): initialize entire block
1358 (make_one): fill in correct section.
1359
8c95a62e
KH
13602000-10-03 Kazu Hirata <kazu@hxi.com>
1361
1362 * ldexp.c: Fix formatting.
1363
486e80e2
DD
13642000-10-02 DJ Delorie <dj@redhat.com>
1365
1366 * emultempl/pe.em (gld_*_after_open): detect case where there two
1367 import libraries for same dll; rename one to ensure proper link
1368 order.
1369
1370 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
1371 typo
1372 (generate_edata): fix typo
1373
24dd9f75
HPN
13742000-09-29 Hans-Peter Nilsson <hp@axis.com>
1375
1376 * scripttempl/crisaout.sc (ENTRY): Now __start.
1377 (.text): Add default setting for __start.
1378 Remove CONSTRUCTORS handling.
1379 (/DISCARD/): Add .gnu.warning.*.
1380 * emulparams/crislinux.sh (ENTRY): Now __start.
1381 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
1382 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
1383 (ENTRY): Now __start.
1384 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
1385 (EXECUTABLE_SYMBOLS): Add default setting for __start.
1386
4de2d33d
KH
13872000-09-29 Kazu Hirata <kazu@hxi.com>
1388
5cc18311
KH
1389 * deffile.h: Fix formatting.
1390 * ld.h: Likewise.
1391 * ldcref.c: Likewise.
4de2d33d 1392 * ldctor.c: Likewise.
5cc18311 1393 * ldctor.h: Likewise.
4de2d33d 1394 * ldemul.c: Likewise.
5cc18311 1395 * ldemul.h: Likewise.
4de2d33d 1396 * ldexp.c: Likewise.
5cc18311 1397 * ldexp.h: Likewise.
4de2d33d 1398 * ldfile.c: Likewise.
5cc18311 1399 * ldfile.h: Likewise.
4de2d33d 1400 * ldlang.c: Likewise.
5cc18311
KH
1401 * ldlang.h: Likewise.
1402 * lexsup.c: Likewise.
1403 * mri.c: Likewise.
1404 * pe-dll.c: Likewise.
4de2d33d 1405
45b1f63c
DD
14062000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
1407
1408 * pe-dll.c (process_def_file): Uninitialized data wasn't
1409 exported with --export-all-symbols switch.
d952f17a 1410
45b1f63c
DD
14112000-09-28 DJ Delorie <dj@redhat.com>
1412
1413 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
1414 noname work properly.
1415
47d89dba
AM
14162000-09-28 Alan Modra <alan@linuxcare.com.au>
1417
1418 * ld.texinfo (HPPA ELF32): New section.
1419
1420 * emultempl/hppaelf.em (group_size): New.
1421 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
1422 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
1423 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
1424 options to prevent abbreviations matching.
1425 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
1426 (PARSE_AND_LIST_ARGS_CASES): Handle it.
1427
36bdbeec
NC
14282000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1429
1430 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
1431 on the m68*-*-elf target. Make it support COFF input objects.
1432
6d5e62f8
KH
14332000-09-21 Kazu Hirata <kazu@hxi.com>
1434
1435 * ldmain.c: Fix formatting.
1436 * ldmisc.c: Likewise.
1437 * ldver.c: Likewise.
1438 * ldwrite.c: Likewise.
1439
e2eb67d9
AM
14402000-09-21 Alan Modra <alan@linuxcare.com.au>
1441
1442 * ldwrite.c (clone_section): Silence gcc warnings.
1443
b3ea3584
AM
14442000-09-20 Alan Modra <alan@linuxcare.com.au>
1445
1446 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
1447 out of memory failure.
1448
1449 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
1450 (clone_section): Handle out of memory failures. Rename var to
1451 avoid c++ reserved word.
1452
25f72752
AM
14532000-09-18 Alan Modra <alan@linuxcare.com.au>
1454
1455 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
1456 stub_name param to stub_sec_name.
1457 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
1458
0752970e
NC
14592000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1460
1461 * emultempl/m68kelf.em: New file.
1462 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
1463 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
1464 * Makefile.in: Regenerate.
1465
92b7e9d8
AM
14662000-09-15 Alan Modra <alan@linuxcare.com.au>
1467
1468 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
1469 only as needed.
1470
9b14b192
NC
14712000-09-13 Nick Clifton <nickc@redhat.com>
1472
1473 * ldmain.c (multiple_definition): Disable relaxation if
1474 multiple symbol definitions are encountered - otherwise the
1475 linker could abort with an assertion failure.
1476
891fa266
NC
14772000-09-10 Nick Clifton <nickc@redhat.com>
1478
1479 * mri.c: Fix formatting.
1480
5d64ca4e
L
14812000-09-07 H.J. Lu <hjl@gnu.org>
1482
1483 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1484 * configure: Rebuild.
1485
dd94604f
L
14862000-09-07 H.J. Lu <hjl@gnu.org>
1487
1488 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
1489 * Makefile.in: Rebuild.
1490
71bfc0ae
AM
14912000-09-07 Alan Modra <alan@linuxcare.com.au>
1492
1493 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
1494 broken list handling. Create __start_SECNAME and __stop_SECNAME
1495 when no place-holder. Add some comments. Test both SEC_CODE and
1496 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
ed15ac6a 1497 Handle case where no output section statement created.
71bfc0ae 1498
4a428502
AO
14992000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
1500
1501 * configure.tgt (sh-*-linux*): Added.
1502 * Makefile.am: Added eshelf_linux and eshlelf_linux.
1503 * Makefile.in: Rebuilt.
1504 * emulparams/shelf_linux.sh: New file.
1505 * emulparams/shlelf_linux.sh: New file.
1506
f9989030
AM
15072000-09-06 Alan Modra <alan@linuxcare.com.au>
1508
1509 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1510 try shuffling sections when the orphan happens to be the place
1511 holder. Keep count of unique section names generated so we speed
1512 the search for a new name.
1513
58cccadb
AO
15142000-09-06 Alexandre Oliva <aoliva@redhat.com>
1515
1516 * configure: Rebuilt with new libtool.m4.
1517
5b343f5a
NC
15182000-09-05 Nick Clifton <nickc@redhat.com>
1519
1520 * Makefile.in: Regenerate.
1521 * aclocal.m4: Regenerate.
1522 * configure: Regenerate.
1523 * config.in: Regenerate.
1524 * po/ld.pot: Regenerate.
1525
1526 * ldint.texinfo: Remove CVS revision marker - it foils local
1527 comparisons.
1528
1529 * emultempl/ticoff.em: Remove extraneous comma.
50bbae35 1530
a854a4a7
AM
15312000-09-05 Alan Modra <alan@linuxcare.com.au>
1532
3231d22e
AM
1533 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
1534 to stub section flags.
1535 (hppa_for_each_input_file_wrapper): New.
1536 (hppa_lang_for_each_input_file): New.
1537 (lang_for_each_input_file): Define to call above.
1538 (multi_subspace): New.
1539 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
1540 (PARSE_AND_LIST_PROLOGUE): Define.
1541 (PARSE_AND_LIST_LONGOPTS): Define.
1542 (PARSE_AND_LIST_OPTIONS): Define.
1543 (PARSE_AND_LIST_ARGS_CASES): Define.
1544 (hppaelf_finish): Call elf32_hppa_set_gp.
1545 (hppaelf_set_output_arch): Remove.
1546 (LDEMUL_SET_OUTPUT_ARCH): Remove.
1547
1548 * emulparams/hppalinux.sh (ELFSIZE): Define.
1549 (MACHINE): Define.
1550 (OTHER_READONLY_SECTIONS): Define.
1551 (DATA_PLT): Define.
1552 (GENERATE_SHLIB_SCRIPT): Define.
1553
5f992e62
AM
1554 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
1555 to const throughout. Change `void *' to `PTR' throughout.
1556 (lang_memory_default): Function is local to file, add `static'.
1557
1558 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
1559 (ehppalinux.c): Likewise.
1560 (earmelf.c): Likewise.
1561 (earmelf_linux.c): Likewise.
1562 (earmelf_linux26.c): Likewise.
1563 * Makefile.in: Regenerate.
1564
a854a4a7
AM
1565 * ld.h (ld_config_type): Add unique_orphan_sections.
1566 * lexsup.c (OPTION_UNIQUE): Define.
1567 (ld_options): Add "--unique".
1568 (parse_args): Handle it.
1569 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1570 search for an existing output section if unique_orphan_sections is
1571 set. Make use of bfd_get_unique_section_name rather than
1572 duplicating code here.
1573 * ld.texinfo: Describe --unique.
1574
1575 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
1576 optional arg to split-by-file.
1577 (parse_args): Handle them.
1578 * ld.texinfo: Update description of these options.
1579 * ldwrite.c (clone_section): Pass in the section name. Replace
1580 local code with bfd_get_unique_section_name.
1581 (split_sections): Tidy code and comments. Use a list traversal
1582 more appropriate to the list construction. Handle cooked section
1583 sizes. Split when split_by_reloc reached rather than exceeded.
1584 Track section size and split when split_by_file reached. Fix
1585 link_order_tail (even though it's not used).
1586 (ldwrite): Modify condition for calling split_sections to suit
1587 changed split_by_reloc and split_by_file.
1588 * ldmain.c (main): Init config.split_by_reloc and
1589 config.split_by_file to -1.
1590 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
1591 Change split_by_file to bfd_size_type.
1592
18e03609
NC
15932000-09-02 Nick Clifton <nickc@redhat.com>
1594
1595 * configure.in: Increase version number to 2.10.91.
1596 * NEWS: Mention new ability to support removal of duplicate DWARF2
1597 debug information.
1598 * configure: Regenerate.
1599 * aclocal.m4: Regenerate.
1600 * config.in: Regenerate.
1601
3a9d486c
NC
16022000-09-02 Daniel Berlin <dberlin@redhat.com>
1603
1604 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
1605 sections.
a2b64bed 1606 * scripttempl/elf32avr.sc: Ditto.
3a9d486c
NC
1607 * scripttempl/elfd10v.sc: Ditto.
1608 * scripttempl/elfd30v.sc: Ditto.
1609 * scripttempl/elfi370.sc: Ditto.
1610 * scripttempl/elfm68hc11.sc: Ditto.
1611 * scripttempl/elfm68hc12.sc: Ditto.
1612 * scripttempl/elfi386beos.sc: Ditto.
1613 * scripttempl/v850.sc: Ditto.
50bbae35 1614
ac48eca1
AO
16152000-08-31 Alexandre Oliva <aoliva@redhat.com>
1616
1617 * acinclude.m4: Include libtool and gettext macros from the
1618 top level.
1619 * aclocal.m4, configure: Rebuilt.
1620
c13b1b77
NC
16212000-08-25 Nick Clifton <nickc@redhat.com>
1622
1623 * ldlang.c (open_output): When choosing the target for a
1624 particular endianness, do nothing if the target is not
1625 supported.
1626
dcb0bd0e
L
16272000-08-25 H.J. Lu <hjl@gnu.org>
1628
1629 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
1630 check -rpath nor LD_RUN_PATH for cross link.
1631 * ld.texinfo: Document the change.
1632
5bcac8a4
HPN
16332000-08-24 Hans-Peter Nilsson <hp@axis.com>
1634
1635 * NEWS: Mention support for CRIS.
1636
6dd8c765
L
16372000-08-23 H.J. Lu <hjl@gnu.org>
1638
1639 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
1640 the current runpath list from bfd_elf_get_runpath_list ()
1641 before search.
1642
ec4eb78a
L
16432000-08-22 H.J. Lu <hjl@gnu.org>
1644
1645 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
1646 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
1647 LD_LIBRARY_PATH for native linker. Display the needed DSO if
1648 trace_file_tries is non-zero.
1649 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
1650 if trace_file_tries is non-zero.
1651
1652 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
a8175964 1653 * NEWS: Mention it.
ec4eb78a 1654
22b36938
JE
16552000-08-14 Jason Eckhardt <jle@cygnus.com>
1656
1657 * NEWS: Mention i860 support.
1658
d73e9da0
AS
16592000-08-14 Andreas Schwab <schwab@suse.de>
1660
1661 * scripttempl/elf.sc: Fix last change to use correct comment
50bbae35 1662 syntax.
d73e9da0 1663
9ac4db9c
GK
16642000-08-10 Geoff Keating <geoffk@cygnus.com>
1665
1666 * scripttempl/elf.sc: Add a comment giving the correspondence
1667 between sections, per-datum sections, and linkonce sections. Make
1668 the comment true even for .bss, .sdata, .sdata2, .sbss, and
1669 .sbss2.
1670
165589e4
JE
16712000-08-10 Jason Eckhardt <jle@cygnus.com>
1672
1673 * emulparams/elf32_i860.sh: New file.
1674 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
1675 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
1676 (eelf32_i860.c): New rule.
1677 * Makefile.in: Regenerate.
1678
345a835d
NC
16792000-08-10 Nick Clifton <nickc@cygnus.com>
1680
1681 * emulparams/mipspe.sh (ENTRY): Add definition.
1682
e374f1d9
NC
16832000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
1684
1685 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
1686 in error message.
1687
236d5abf
NC
16882000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1689
1690 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
1691 the final size of .bss section.
1692 * scripttempl/elfm68hc12.sc: Likewise.
1693
4b209b22
AM
16942000-08-04 Alan Modra <alan@linuxcare.com.au>
1695
1696 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
1697 gld${EMULATION_NAME}_parse_args for consistency. Combine
1698 lastoptind and prevoptind vars, and keep track of last optind.
1699 (gld_${EMULATION_NAME}_list_options): Rename to
1700 gld${EMULATION_NAME}_list_options.
1701
28423a68
AM
17022000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
1703
1704 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
1705 (i586-sco-sysv5uw7.1.0).
1706
b2009ff7
L
17072000-07-27 H.J. Lu <hjl@gnu.org>
1708
1709 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
1710 (PARSE_AND_LIST_PROLOGUE): New.
1711 (PARSE_AND_LIST_LONGOPTS): Likewise.
1712 (PARSE_AND_LIST_OPTIONS): Likewise.
1713 (PARSE_AND_LIST_ARGS_CASES): Likewise.
1714 (PARSE_AND_LIST_EPILOGUE): Likewise.
1715
04925e1e
AM
17162000-07-28 Alan Modra <alan@linuxcare.com.au>
1717
41392f03
AM
1718 * emultempl/armelf.em: Elide functions common to elf32.em,
1719 ie. most of the file.
1720 (arm_elf_after_open): New. Do arm specific things then call
1721 gld${EMULATION_NAME}_after_open.
1722 (arm_elf_before_allocation): New. Call
1723 gld${EMULATION_NAME}_before_allocation then do arm specifics.
1724 (PARSE_AND_LIST_PROLOGUE): Define.
1725 (PARSE_AND_LIST_SHORTOPTS): Define.
1726 (PARSE_AND_LIST_LONGOPTS): Define.
1727 (PARSE_AND_LIST_OPTIONS): Define.
1728 (PARSE_AND_LIST_ARGS_CASES): Define.
1729 (LDEMUL_AFTER_OPEN): Define.
1730 (LDEMUL_BEFORE_ALLOCATION): Define.
1731 (LDEMUL_BEFORE_PARSE): Define.
1732 (LDEMUL_FINISH): Define.
1733
1734 * emultempl/hppaelf.em: Similarly zap most of this file.
1735 (hppaelf_add_stub_section): Prototype.
1736 (hppaelf_layaout_sections_again): Prototype.
1737 (hook_in_stub): Prototype.
1738 (LDEMUL_SET_OUTPUT_ARCH): Define.
1739 (LDEMUL_FINISH): Define.
1740 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
1741
1742 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
1743 (EXTRA_EM_FILE): New.
1744 * emulparams/armelf_linux.sh: Likewise.
1745 * emulparams/armelf_linux26.sh: Likewise.
1746 * emulparams/hppalinux.sh: Likewise.
1747 * emulparams/hppaelf.sh: Likewise.
1748 (NOP): Define.
1749
1750 * emultempl/elf32.em: Fix formatting.
1751 (EXTRA_EM_FILE): Source it.
1752 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
1753 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
1754 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
1755 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
1756 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
1757 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
1758 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
1759 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
1760 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
1761 allow functions in this file to be overridden.
1762 (PARSE_AND_LIST_SHORTOPTS): Handle it.
1763
1764 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
1765
04925e1e
AM
1766 * emultempl/elf32.em: Reorganize file.
1767
88cdf297
NC
17682000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
1769
1770 * emulparams/elf64alpha.sh: Implement "-taso" emulation
1771 specific option to fit 64-bit executable in the lower
1772 31-bit address range. This is done by changing start
1773 address of .interp (the very first section of executable)
1774 and then setting EF_ALPHA_32BIT elf header flag.
1775
20bccb34
NC
17762000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1777
1778 * emultempl/m68kcoff.em: New file.
1779 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
1780 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
1781 generic.em.
1782 * Makefile.in: Regenerate.
1783
699845ef
L
17842000-07-20 H.J. Lu <hjl@gnu.org>
1785
1786 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
1787 and "disable-new-dtags" to stop getopt from treating -d/-e as
1788 abbreviations for these options.
1789
6c1439be
L
17902000-07-20 H.J. Lu <hjl@gnu.org>
1791
1792 * ld.texinfo: Add documentation for --disable-new-dtags and
1793 --enable-new-dtags.
1794
1795 * ldmain.c (main): Initialize link_info.new_dtags to false.
1796
1797 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
1798 --disable-new-dtags and --enable-new-dtags.
1799 (gld_${EMULATION_NAME}_list_options): Likewise.
1800
28c309a2
NC
18012000-07-05 Kenneth Block <krblock@computer.org>
1802
a2b64bed
NC
1803 * lexsup.c: Add optional style to demangle switch
1804 * ld.texinfo: Document optional style to demangle switch.
50bbae35 1805
9d06555c
HPN
18062000-07-20 Hans-Peter Nilsson <hp@axis.com>
1807
1808 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
1809 ecrislinux.o.
1810 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
1811 Regenerate dependencies.
1812 * Makefile.in: Rebuild.
1813 * configure.tgt (cris-*-*): New target.
1814 * emulparams/crisaout.sh, emulparams/criself.sh,
1815 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
1816 * po/POTFILES.in, po/ld.pot: Regenerate.
1817
19e3be22
L
18182000-07-20 H.J. Lu <hjl@gnu.org>
1819
1820 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
1821 Print out ignored -z options.
1822
e0ee487b
L
18232000-07-19 H.J. Lu <hjl@gnu.org>
1824
19e3be22
L
1825 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
1826 (PARSE_AND_LIST_PROLOGUE): New.
1827 (PARSE_AND_LIST_LONGOPTS): Likewise.
1828 (PARSE_AND_LIST_OPTIONS): Likewise.
1829 (PARSE_AND_LIST_ARGS_CASES): Likewise.
1830
1831 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
1832
1833 * lexsup.c (ld_options): Comment out 'z'.
1834 (parse_args): Likewise.
1835
1836 * emultempl/elf32.em: Include "elf/common.h".
1837 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
1838 options.
1839 (gld_${EMULATION_NAME}_list_options): Likewise.
1840
1841 * ld.texinfo: Add documentation for the recognized -z options.
e0ee487b 1842
49e56c49
L
18432000-07-19 H.J. Lu <hjl@gnu.org>
1844
1845 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
1846 bfd_elf_set_dt_needed_soname ().
1847
9d68bc82
DD
18482000-07-18 DJ Delorie <dj@cygnus.com>
1849
1850 * pe-dll.c (pe_dll_id_target): check object target name also
1851
53db15ed
HPN
18522000-07-18 Hans-Peter Nilsson <hp@axis.com>
1853
1854 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
1855 ${INIT_END} if relocating.
1856 (.fini): Likewise ${FINI_START} and ${FINI_END}.
1857
0ad8cf4c
DD
18582000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
1859
a2b64bed 1860 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
0ad8cf4c
DD
1861 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
1862 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
1863 errors introduced by the old dynamic lib search order.
1864
874c8c99
DD
18652000-07-17 DJ Delorie <dj@cygnus.com>
1866
1867 * pe-dll.c (process_def_file): auto-export data items also
1868 (pe_process_import_defs): also see if _imp_ form needed
1869
5b4cf3f4
DD
18702000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
1871
1872 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
1873 for dll import libraries
1874
062739d1
NC
18752000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
1876
1877 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
d952f17a 1878 gcc 2.95.2 and later.
062739d1 1879
1c64c4ed
NC
18802000-07-11 Kazu Hirata <kazu@hxi.com>
1881
50bbae35
AM
1882 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
1883 message.
1c64c4ed 1884
b71e2778
AM
18852000-07-10 Alan Modra <alan@linuxcare.com.au>
1886
1887 * ldemul.h (struct lang_input_statement_struct): Remove forward
1888 declaration.
1889 (struct search_dirs): Likewise.
1890 * ldfile.h (struct lang_input_statement_struct): Likewise.
1891 Protect file from multiple inclusion.
1892 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
1893 declaration from macro to file scope.
1894
1895 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
1896 * ldgram.y: Likewise here.
1897 * ldlang.c: And here.
1898 * ldmain.c: And here.
1899 * mpw-elfmips.c: And here.
1900 * mpw-eppcmac.c: And here.
1901 * emultempl/aix.em: And here.
1902 * emultempl/armcoff.em: And here.
1903 * emultempl/armelf.em: And here.
1904 * emultempl/armelf_oabi.em: And here.
1905 * emultempl/beos.em: And here.
1906 * emultempl/elf32.em: And here.
1907 * emultempl/hppaelf.em: And here.
1908 * emultempl/linux.em: And here.
1909 * emultempl/lnk960.em: And here.
1910 * emultempl/pe.em: And here.
1911 * emultempl/sunos.em: And here.
1912 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
1913 * mpw-idtmips.c: Ditto.
1914 * emultempl/generic.em: Ditto.
1915 * emultempl/gld960.em: Ditto.
1916 * emultempl/gld960c.em: Ditto.
1917 * emultempl/mipsecoff.em: Ditto.
1918 * emultempl/ticoff.em: Ditto.
1919 * emultempl/vanilla.em: Ditto.
1920
1921 * pe-dll.c: Include ldfile.h
1922 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
1923
1924 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
1925 arguments to bfd_elf32_size_dynamic_sections call.
1926 (gldelf32ebmip_place_orphan): Add missing arguments to
1927 lang_leave_output_section_statement call.
1928
2ef53d66
L
19292000-07-10 H.J. Lu <hjl@gnu.org>
1930
1931 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
1932 DLL_SUPPORT.
1933 (strhash): Likewise.
1934 (compute_dll_image_base): Likewise.
1935 (pe_undef_found_sym): Likewise.
1936 (pe_undef_cdecl_match): Likewise.
1937 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
1938 argument "arch" with ATTRIBUTE_UNUSED.
1939
9a8cbb09
AM
19402000-07-10 Alan Modra <alan@linuxcare.com.au>
1941
1942 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
1943
1944 From Ryan Bradetich <rbradetich@uswest.net>
1945 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
50bbae35 1946
4900fc06
AM
19472000-07-09 Alan Modra <alan@linuxcare.com.au>
1948
1949 Changes to create multiple linker stubs, positioned immediately
1950 before the section where they are required.
1951 * emultempl/hppaelf.em: Include elf32-hppa.h.
1952 (stub_sec, file_chain): Delete.
1953 (hppaelf_create_output_section_statements): Don't make a stub
1954 section here.
1955 (hook_stub_info): New struct.
1956 (hook_in_stub): New function.
1957 (hppaelf_add_stub_section): New function.
1958 (hppaelf_finish): Do nothing for relocateable links. Modify the
1959 call to elf32_hppa_size_stubs. Move code for updating section
1960 layout from here...
1961 (hppaelf_layaout_sections_again): ..to here, a new function.
1962
1963 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
1964 broken list handling. Pass in a pointer to the list.
1965 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
1966 for above changes.
1967 (hppaelf_before_parse): Prototype.
1968 (hppaelf_set_output_arch): Prototype.
1969 (hppaelf_create_output_section_statements): Prototype.
1970 (hppaelf_delete_padding_statements): Prototype.
1971 (hppaelf_finish): Prototype.
1972
1973 Merge from elf32.em
1974 * emultempl/hppaelf.em: Include ctype.h.
1975 (struct orphan_save): New.
1976 (gld${EMULATION_NAME}_place_orphan): New.
1977 (output_rel_find): New.
1978 (hppaelf_get_script): Update from elf32.em.
1979 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
1980 Change emulation_name field to "${EMULATION_NAME}". Add
50bbae35 1981 gld${EMULATION_NAME}_place_orphan.
4900fc06
AM
1982
1983 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
1984 ehppalinux.o, sort it. Regenerate dependencies.
1985 (ehppalinux.c): Depend on hppaelf.em
1986 * Makefile.in: Regenerate.
1987
1988 * configure.tgt: targ_emul=hppalinux for hppa*linux
1989
1990 * emulparams/hppalinux.sh: New.
1991 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
1992
227aeb07
AM
19932000-07-08 Alan Modra <alan@linuxcare.com.au>
1994
1995 * lexsup.c (parse_args): Copy section name.
1996
28609fd4 19972000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
602e90d3 1998
2ef53d66 1999 * emultempl/pe.em: institute the following search order for
602e90d3
DD
2000 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
2001 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
2002 static lib (libfoo.a) if none of the above are found.
2003
5f577f7d
DD
20042000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
2005
50bbae35 2006 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
5f577f7d 2007 (longopts): New --{enable,disable}-auto-image-base options.
50bbae35 2008 (gld_${EMULATION_NAME}_list_options): Document.
5f577f7d
DD
2009 (gld_${EMULATION_NAME}_parse): Handle.
2010 (strhash): New static function.
50bbae35 2011 (compute_dll_image_base): New static function.
5f577f7d
DD
2012 (gld_${EMULATION_NAME}_set_symbols): Use.
2013
9a8cbb09 20142000-07-05 DJ Delorie <dj@redhat.com>
302ab118
DD
2015
2016 * MAINTAINERS: new
2017
3548145d 20182000-07-01 Koundinya K <kk@ddeorg.soft.net>
50bbae35
AM
2019
2020 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
2021 * emulparams/elf32btsmip.sh: New file.
2022 * Makefile.am: Add traditional mips target.
2023 * Makefile.in: Rebuild.
2024
67798033
L
20252000-07-01 H.J. Lu <hjl@gnu.org>
2026
2027 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
2028 automake to use YLWRAP.
2029 * Makefile.in: Rebuild.
2030
0bdaf48b
AM
20312000-07-01 Alan Modra <alan@linuxcare.com.au>
2032
2033 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
2034 (CLEANFILES): Add DEPA.
2035 * Makefile.in: Regenerate.
2036
c9e769c2
TW
20372000-06-30 Timothy Wall <twall@ppc>
2038
2039 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
2040 the page in the upper octet of the address.
2041
65aa24b6
NC
20422000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
2043
2044 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
2045
4667035e
AM
20462000-06-24 Alan Modra <alan@linuxcare.com.au>
2047
2048 * NEWS: arm-elf does --gc-sections too.
2049
1581f8c9
AM
20502000-06-22 Alan Modra <alan@linuxcare.com.au>
2051
2052 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2053 find one.
2054 * Makefile.in: Regenerate.
2055
01580992
L
20562000-06-21 H.J. Lu <hjl@gnu.org>
2057
2058 * Makefile.am: Rebuild dependency.
2059 * Makefile.in: Rebuild.
2060
bbeb2e03
L
20612000-06-20 H.J. Lu <hjl@gnu.org>
2062
2063 * Makefile.am: Rebuild dependency.
2064 * Makefile.in: Rebuild.
2065
74459f0e
TW
20662000-06-20 Timothy Wall <twall@cygnus.com>
2067
2068 * scripttempl/tic54xcoff.sc: New.
2069 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
2070 * gen-doc.texi: Add flag for TI COFF.
2071 * ld.texinfo: Add documentation for TI COFF handling switches.
2072 * emultempl/ticoff.em: New. TI COFF handling.
2073 * configure.tgt: Add tic54x target.
2074 * Makefile.am: Add tic54x target.
2075 * Makefile.in: Ditto.
2076
2ab47eed
AM
20772000-06-20 Alan Modra <alan@linuxcare.com.au>
2078
2079 * ldmain.c (set_scripts_dir): Correct pointer comparison when
2080 checking for backslashes.
2081
919e4093
AM
20822000-06-19 Alan Modra <alan@linuxcare.com.au>
2083
2084 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
2085
987fd5b4
AM
20862000-06-18 Alan Modra <alan@linuxcare.com.au>
2087
2088 * NEWS: Update list of targets supporting --gc-sections.
2089
2090 * scripttempl/elf.sc: KEEP .eh_frame contents.
2091 * scripttempl/elfd30v.sc: Same here.
2092
60bcf0fa
NC
20932000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
2094
2095 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
2096 and m68hc11 (elf).
2097 * Makefile.in: Rebuild.
2098 * configure.tgt: Recognize m68hc12 and m68hc11.
2099 * scripttempl/elfm68hc12.sc: New file.
2100 * emulparams/m68hc12elfb: New emulation.
2101 * emulparams/m68hc12elf: New emulation.
2102 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
2103 (includes a memory.x script to define the ROM and RAM banks).
2104 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
2105 New configuration files for support of Motorola 68hc11
2106
c7c54483
AM
21072000-06-15 Alan Modra <alan@linuxcare.com.au>
2108
2109 * ldmain.c (main): Only change SEC_READONLY for final link.
2110
bcef29e6
L
21112000-06-13 H.J. Lu <hjl@gnu.org>
2112
2113 * configure: Regenerate.
2114
946efd95
DB
21152000-06-08 David O'Brien <obrien@FreeBSD.org>
2116
2117 * configure.in (VERSION): Update to show this is the CVS mainline.
2118
57a6fd07
DB
21192000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2120
2121 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
2122 input objects to be ECOFF.
2123 (check_sections): einfo takes %B, not %P, to print a BFD name.
2124
e06cae36
L
21252000-06-05 Michael Matz <matz@ifh.de>
2126
2127 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
d952f17a 2128 version scripts.
e06cae36 2129
d952f17a 2130 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
e06cae36 2131
2f0b56c0
DC
21322000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
2133
2134 * emulparams/avr1200.sh (STACK): Define as 0.
2135 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
2136 * emulparams/avr4433.sh (STACK): Likewise.
2137 * emulparams/avr44x4.sh (STACK): Likewise.
2138 * emulparams/avr85xx.sh (STACK): Likewise.
2139 * emulparams/avrmega103.sh (STACK): Likewise.
2140 * emulparams/avrmega161.sh (STACK): Likewise.
2141 * emulparams/avrmega603.sh (STACK): Likewise.
2142 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
2143 (__stack): Define from ${STACK} for main().
2144
2114f57b
AM
21452000-05-26 Alan Modra <alan@linuxcare.com.au>
2146
2147 * Makefile.am: Update dependencies with "make dep-am"
2148 * Makefile.in: Regenerate.
2149
5af11cab
AM
21502000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
2151
2152 * ldmain.c: Include filenames.h.
2153 (set_scripts_dir): Support backslashes in program name.
2154
1f0df59a
NC
21552000-05-22 Igor Shevlyakov <igor@windriver.com>
2156
2157 * ldmain.c (main): When deciding if ".text" section should be
50bbae35
AM
2158 read-only, don't forget to reset SEC_READONLY because it
2159 could be already set.
1f0df59a 2160
176355da
NC
21612000-05-22 Thomas de Lellis <tdel@windriver.com>
2162
50bbae35
AM
2163 * ld.1: Add documentation for new command line option:
2164 --section-start <sectionname>=<sectionorg>
2165 This is a generic version of -Ttext etc. which accepts
2166 any section name as a parameter instead of just text/data/
2167 bss.
2168 * ld.texinfo: More docs.
2169 * NEWS: More docs.
2170 * lexsup.c: (parse_args): Recognize new command line option.
176355da 2171 (ld_options): Add new option.
50bbae35 2172
8c5ff972
L
21732000-05-18 H.J. Lu <hjl@gnu.org>
2174
2175 * lexsup.c (parse_args): `i' == `r', not `q'.
2176
0b76fe77
JL
2177Thu May 18 10:47:57 2000 Jeffrey A Law (law@cygnus.com)
2178
2179 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
2180
a712da20
NC
21812000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
2182 Rick Gorton <gorton@scrugs.lkg.dec.com>
50bbae35 2183
a712da20
NC
2184 Add support for '-q' == '--emit-relocs' switch.
2185 * ldmain.c (main): Default to false.
2186 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
2187 * NEWS: Describe the emitrelocations switch.
2188 * ld.texinfo: Describe the emitrelocations switch.
2189
690a460e
NC
21902000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
2191
a2b64bed 2192 * emultempl/pe.em (_open_dynamic_archive): New function: Search
690a460e
NC
2193 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
2194 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
2195 link options.
50bbae35 2196
c2f1343c
AM
21972000-05-15 David O'Brien <obrien@FreeBSD.org>
2198
2199 * lexsup.c (parse_args): Update the year in the copyright notice.
2200
897083bd
AM
22012000-05-13 Alan Modra <alan@linuxcare.com.au>
2202
2203 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
2204 Replace defines with those from intl/libgettext.h to quieten gcc
2205 warnings.
2206
cd4c806a
L
22072000-05-10 H.J. Lu <hjl@gnu.org>
2208
2209 * ldlang.c (open_input_bfds): Don't load the same file within
2210 a group again if the whole archive has been loaded already.
2211
93697284
AM
22122000-05-03 Alan Modra <alan@linuxcare.com.au>
2213
2214 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
2215 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
2216 strtoul.
2217
ebd6fc29
JW
2218Mon May 1 17:34:34 2000 Jim Wilson <wilson@cygnus.com>
2219
99a4150f 2220 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
50bbae35 2221
ebd6fc29
JW
2222 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
2223 host "ia64-*-linux-gnu*".
2224
a1934524
AM
22252000-04-29 Andreas Jaeger <aj@suse.de>
2226
2227 * ld.h: Correctly check GCC version.
2228
730a39a0
JL
2229Tue Apr 25 11:20:43 2000 Jeffrey A Law (law@cygnus.com)
2230
2231 * Makefile.am: Add PA64 support. Add missing dependencies for
2232 PA32 elf support.
2233 * Makefile.in: Rebuilt.
2234 * configure.tgt: Add PA64 support (currently disabled).
2235
aea4bd9d
AM
22362000-04-25 Alan Modra <alan@linuxcare.com.au>
2237
2238 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
2239 (output_rel_find): New function.
2240 (hold_section, hold_use): Delete.
2241 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
2242 hold_interp): Make local to place_orphan.
2243 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
2244 rather than place_section to find possible previous use of orphan.
2245 Similarly find the place-holder output sections. Use returned
2246 value from lang_enter_output_section_statement rather than calling
2247 lang_output_section_statement_lookup.
2248 * emultempl/armelf.em: Same here.
2249 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
2250
2251 * ldlang.c (lang_enter_output_section_statement): Return output
2252 section statement.
2253 * ldlang.h (lang_enter_output_section_statement): Change
2254 declaration too.
2255
2256 * ldlang.h (lang_output_section_statement): Export it.
2257 * ldlang.c (lang_output_section_statement): Ditto.
2258
2b5fc1f5
NC
22592000-04-24 Nick Clifton <nickc@cygnus.com>
2260
2261 * ld.texinfo (Output Section Data): Add note that section data
2262 commands cannot appear outside of section directives.
2263
d8475ff6
JL
22642000-04-2 Matthew Green <mrg@cygnus.com>
2265
2266 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
2267
800eeca4
JW
2268Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
2269 David Mosberger <davidm@hpl.hp.com>
2270
2271 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
2272 (eelf64_ia64.c): New rule.
2273 * Makefile.in: Rebuild.
2274 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
2275 * emulparams/elf64_ia64.sh: New file.
50bbae35 2276
c9637625
RH
22772000-04-21 Richard Henderson <rth@cygnus.com>
2278
2279 * scripttempl/elfd30v.sc: Place .gcc_except_table.
2280
28ea9521
AM
22812000-04-19 Alan Modra <alan@linuxcare.com.au>
2282
2283 * dep-in.sed: Match space at start of file name, not at end.
2284
20d04697
L
22852000-04-18 H.J. Lu <hjl@gnu.org>
2286
2287 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
2288 lang_leave_output_section_statement () after calling
2289 lang_enter_output_section_statement ().
2290 * emultempl/armelf.em: Likewise.
2291
5ba47421
AM
22922000-04-18 Alan Modra <alan@linuxcare.com.au>
2293
2294 * emultempl/elf32.em (struct orphan_save): Add section field.
2295 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
2296 better order, and place first orphan section as we did before the
2297 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
2298 Don't call make_bfd_section here, let wild_doit do the job for us.
2299 Don't build a statement list when we'll only throw it away.
2300 * emultempl/armelf.em: Ditto.
2301 * emultempl/pe.em: Similarly.
2302
bdbe5705
GK
23032000-04-14 Geoff Keating <geoffk@cygnus.com>
2304
2305 * scripttempl/elfppc.sc: Remove.
2306 * emulparams/elf32ppc.sh: Use elf.sc.
2307 * emulparams/elf32lppc.sh: Use elf.sc.
2308 * emulparams/elf32ppclinux.sh: Use elf.sc.
2309 * emulparams/elf32ppcsim.sh: New file.
2310 * emulparams/elf32lppcsim.sh: New file.
2311 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
2312 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
2313 * Makefile.in: Regenerate.
2314 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
2315
01cc8ff8
AM
23162000-04-14 Alan Modra <alan@linuxcare.com.au>
2317
5ba47421 2318 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
01cc8ff8 2319 ~SEC_ALLOC sections too. Init start address of debug sections.
5ba47421
AM
2320 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
2321 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
01cc8ff8
AM
2322 Also set all relocateable section start addresses.
2323
6c86c541
GK
23242000-04-13 Geoff Keating <geoffk@cygnus.com>
2325
2326 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
2327 Add new BSS_PLT variable for when .plt need not be contained in
2328 the file. Move _etext so that it is also after .fini, and provide
2329 both etext and _etext with a leading underscore. Mark the start
2330 and end of .sbss.
2331
6a345e87
AM
23322000-04-12 Alan Modra <alan@linuxcare.com.au>
2333
2334 * emultempl/elf32.em (struct orphan_save): New.
2335 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
2336 hold_interp): Make them struct orphan_save.
2337 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
2338 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
2339 the end of the relevant section list. Also add associated section
2340 statements to the end of any previous orphan statements.
2341 * emultempl/armelf.em: Similarly.
2342 * emultempl/pe.em: Similarly.
2343
8be86746
AM
23442000-04-11 Alan Modra <alan@linuxcare.com.au>
2345
2346 * ld.texinfo (Simple Example): Remove extraneous paragraph.
2347
a2d91340 2348Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
50bbae35 2349
a2d91340 2350 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
50bbae35 2351 --enable-build-warnings option.
a2d91340
AC
2352 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
2353 * Makefile.in, configure: Re-generate.
2354
41b49281
AM
23552000-04-04 Alan Modra <alan@linuxcare.com.au>
2356
8ad3436c
AM
2357 * po/ld.pot: Regenerate.
2358
2359 * lexsup.c (help): Restore translated part of bug string.
2360
41b49281
AM
2361 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2362 (DEP): Quote when passing vars to sub-make. Add warning message
2363 to end.
2364 (DEP1): Rewrite for "gcc -MM".
2365 (CLEANFILES): Add DEP2.
2366 Update dependencies.
2367 * Makefile.in: Regenerate.
2368
c20f4f8c
AM
23692000-04-03 Alan Modra <alan@linuxcare.com.au>
2370
2371 * ld.h: #include "bin-bugs.h"
2372 * lexsup.c (help): Use REPORT_BUGS_TO.
2373
adde6300
AM
23742000-03-27 Denis Chertykov <denisc@overta.ru>
2375
2376 * configure.tgt (avr-*-*): New target support.
2377 * Makefile.am: Likewise.
2378 * scripttempl/elf32avr.sc: New script file.
2379 * emulparams/avr1200.sh: New file.
2380 * emulparams/avr23xx.sh: New file.
2381 * emulparams/avr4433.sh New file.
2382 * emulparams/avr44x4.sh New file.
2383 * emulparams/avr85xx.sh New file.
2384 * emulparams/avrmega103.sh New file.
2385 * emulparams/avrmega161.sh New file.
2386 * emulparams/avrmega603.sh New file.
2387 * Makefile.in: Regenerate.
2388
9282ff41
L
23892000-03-09 Andreas Jaeger <aj@suse.de>
2390
2391 * Makefile.am (check-DEJAGNU): Also unset LANG.
2392 * Makefile.in: Rebuild.
2393
a9998805
ILT
23942000-03-06 Ian Lance Taylor <ian@zembu.com>
2395
2396 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
2397 archive.
2398
f9bc20e7
NC
23992000-03-02 H.J. Lu <hjl@gnu.org>
2400
2401 * emulparams/elf32mcore.sh: Include "getopt.h".
2402
4e277b38
ILT
24032000-03-01 Ian Lance Taylor <ian@zembu.com>
2404
2405 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
2406
f0c87f88
NC
24072000-03-01 H.J. Lu <hjl@gnu.org>
2408
2409 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
2410 * emulparams/shpe.sh: Likewise.
2411
24122000-03-01 Nick Clifton <nickc@cygnus.com>
2413
2414 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
2415 to unused parameters.
2416
2417 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
2418 functions only used by DLL code.
2419 (_place_orphan): Initialise 'dollar'.
2420
b6f29aaa
L
24212000-03-01 H.J. Lu <hjl@gnu.org>
2422
2423 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
2424 indicate if the undefined symbol is a fatal error or not.
2425 Don't delete the output file if "fatal" is false.
2426
af28fce3
L
24272000-02-29 H.J. Lu <hjl@gnu.org>
2428
50bbae35 2429 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
af28fce3
L
2430 Set LC_COLLATE and LC_ALL to null and export them. It is for
2431 sort which expects the C locale.
2432 Add $(LIBS) to all $(HOSTING_LIBS).
2433 * Makefile.in: Rebuild.
2434
40d109bf
AM
24352000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
2436
2437 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
2438 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
2439 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
2440 (ld_emulation_xfer_struct): Add missing NULL initialiser for
2441 find_potential_libraries.
2442
db5be682
JB
24432000-02-28 Jim Blandy <jimb@redhat.com>
2444
2445 * ldgram.y (exclude_name_list): Don't require a comma to separate
50bbae35 2446 list entries; the lexer considers commas to be valid part of a
db5be682
JB
2447 filename, so in something like `foo, bar' the comma is considered
2448 part of the first filename, `foo,'.
2449 * ld.texinfo: Update section on EXCLUDE_FILE lists.
2450
3558ff4c
ILT
24512000-02-27 Loren J. Rittle <ljrittle@acm.org>
2452
2453 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
2454 host "i[3456]86-*-freebsdelf*".
2455
4eee2681
ILT
24562000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
2457
2458 * scripttempl/i386go32.sc: Move misplaced semicolons.
2459
8d75d12d
ILT
24602000-02-25 Ian Lance Taylor <ian@zembu.com>
2461
2462 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
2463 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
2464 (eelf64hppa.c, ehppaelf.c): Remove targets.
2465 * Makefile.in: Rebuild.
2466
a1836d49
AO
24672000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2468
ad51fb57
AO
2469 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
2470 GNU/Linux/sparc, but keep the default as 32.
2471
a1836d49
AO
2472 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
2473 it default if sparcv9 or sparc64.
2474
344a211f
NC
24752000-02-24 Nick Clifton <nickc@cygnus.com>
2476
2477 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
2478 * Makefile.in: Regenerate.
2479 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
2480
2481 * ldemul.h (ld_emulation_xfer_struct): Add new field:
2482 find_potential_libraries.
2483 * ldemul.c (ldemul_find_potential_libraries): New function.
2484
2485 * ldfile.c (ldfile_open_file_search): Allow function to be
50bbae35 2486 exported.
344a211f
NC
2487 (ldfile_open_file): Call ldemul_find_potential_libraries.
2488 * ldfile.h: Add prototype for ldfile_open_file_search.
2489
2490 * pe-dll.c: Add support for ARM, MIPS and SH targets.
2491
2492 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
2493 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
2494
2495 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
2496 (gld_X_find_potential_libraries): New function. Search for
2497 libraries called "*.lib".
2498
a2b64bed 2499 * scripttempl/pe.sc: Add .pdata section.
344a211f 2500
eaba1dd3
RH
25012000-02-23 Richard Henderson <rth@cygnus.com>
2502
2503 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
2504 Add and use memory regions.
2505
5b93d8bb
AM
25062000-02-23 Linas Vepstas (linas@linas.org)
2507
2508 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
2509
2510 * Makefile.am: Add support for Linux/IBM 370.
2511 * configure.tgt: Likewise.
2512
2513 * Makefile.in: Regenerate.
2514
f6af82bd
AM
25152000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2516
2517 * ldlang.c (print_input_section, print_data_statement,
2518 print_reloc_statement, print_padding_statement, insert_pad,
2519 size_input_section, lang_check_section_addresses,
2520 lang_size_sections, lang_do_assignments, lang_set_startof,
50bbae35 2521 lang_one_common): Change `opb' to unsigned.
f6af82bd
AM
2522 (lang_do_assignments): Also change `size' to unsigned.
2523
9e673ad1
RH
25242000-02-16 Richard Henderson <rth@cygnus.com>
2525
2526 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
2527
562d3460
TW
25282000-02-16 Timothy Wall <twall@cygnus.com>
2529
2530 * mri.c (mri_draw_tree): Add default LMA region argument to call
2531 to lang_leave_output_section_statement.
2532 * ldlang.h: Update prototypes with LMA region arguments.
2533 * ldlang.c (lang_size_sections): Encapsulate region bounds
2534 checking in os_check_region call.
2535 (os_check_region): New function.
2536 (lang_output_section_statement_lookup): Initialize lma_region.
2537 (lang_leave_output_section_statement): Add LMA region argument.
2538 (lang_leave_overlay): Ditto.
2539 * ldgram.y: Handle LMA region syntax.
2540 * ld.texinfo (Output Section Description): Describe LMA region usage.
2541 * emultempl/armelf.em (gld$place_orphan): Add default value for
01cc8ff8 2542 lma region in call to lang_leave_output_section_statement.
562d3460 2543 * emultempl/elf32.em (gld$place_orphan): Add default value for
01cc8ff8 2544 lma region in call to lang_leave_output_section_statement.
562d3460 2545 * emultempl/pe.em (gld$place_orphan): Add default value for
01cc8ff8 2546 lma region in call to lang_leave_output_section_statement.
50bbae35
AM
2547
2548
9e4ed18c
TW
25492000-02-04 Timothy Wall <twall@redhat.com>
2550
2551 * ldlang.c (lang_check_section_addresses): Use bytes instead of
2552 octets when calculating section end addresses.
2553
32edc927
TW
25542000-02-04 Timothy Wall <twall@redhat.com>
2555
2556 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
2557
4cbfc3ac
TW
25582000-02-03 Timothy Wall <twall@redhat.com>
2559
a2b64bed 2560 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
4cbfc3ac 2561 octet count.
a2b64bed 2562 * ldlang.c (print_input_section, print_data_statement,
4cbfc3ac
TW
2563 print_reloc_statement, print_padding_statement): Print target
2564 address values and section sizes as bytes, not octets.
2565 (insert_pad) Calculate padding size in octets, and adjust "dot"
2566 by bytes.
2567 (size_input_section) Always adjust "dot" by bytes, not octets.
2568 (lang_check_section_addresses, lang_do_assignments) Adjust
2569 "dot" by bytes, not octets. Use the larger of the directive size
2570 or octets_per_byte for the number of octets actually allocated in
2571 the output section.
2572 (lang_set_startof) Make sure STARTOF returns a target address.
2573 (lang_one_common) Record size changes in octets.
2574 (lang_abs_symbol_at_end_of) Section end symbol's value is
2575 recorded in target bytes.
2576 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
2577 to be clear about behavior when an octet is smaller than one byte.
50bbae35 2578
305c7206
AM
25792000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2580
2581 * ldcref.c (output_cref): Don't pass message strings to printf
2582 as format arg.
2583 Update copyright.
2584
2585 * ldmisc.c (vfinfo): Same here.
2586 Update copyright.
2587
e1c47aa4
AM
25882000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
2589
2590 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
2591 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
2592 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
2593 Add missing NULL initialisers, and comments.
2594
2595 * testsuite/ld-srec/sr3.cc (__rethrow): New.
2596
13392b77
NC
25972000-01-21 Nick Clifton <nickc@cygnus.com>
2598
2599 * ldlang.c (lang_size_sections): Fix typo in comment.
2600
cce4c4c5
NC
26012000-01-18 H.J. Lu <hjl@gnu.org>
2602
2603 * ldlang.c (lang_size_sections): Also update the current
2604 address of a region if the SEC_NEVER_LOAD bit is not set.
2605
0decc840
NC
26062000-01-10 Philip Blundell <pb@futuretv.com>
2607
2608 * configure.tgt (arm*-*-conix*): New target.
2609
4e53152f
NC
26102000-01-07 Nick Clifton <nickc@cygnus.com>
2611
2612 * ld.texinfo (Options): Remind users to preceed linker command
fa19fce0
NC
2613 line switches with -Wl, (or whatever is appropriate) if it is
2614 being invoked by a comnpiler driver program.
50bbae35 2615 Fix description of the behaviour of the -n command line switch.
4e53152f 2616
18625d54
CM
2617Wed Jan 5 08:02:12 2000 Catherine Moore <clm@cygnus.com>
2618
2619 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
2620 (name_list): New.
2621 * ld.texinfo (EXCLUDE_FILE): Update documentation.
2622 * ldgram.y (wildcard_spec): Support a list of excluded_files.
2623 (exclude_name_list): New.
2624 ldlang.c (walk_wild_section): Support list of excluded files.
2625 (print_wild_statement): Likewise.
2626 (lang_add_wild): Likewise.
2627 * ldlang.h (lang_wild_statement_type): Likewise.
2628 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
6ddeca85 2629
5aaace27
NC
26302000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2631
870df5dc
NC
2632 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
2633 (process_def_file): Use.
2634 (pe_dll_compat_implib): New variable.
2635 (make_one): Use.
50bbae35 2636
870df5dc
NC
2637 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
2638 pe_dll_compat_implib.
50bbae35
AM
2639
2640 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
870df5dc
NC
2641 compat-implib options.
2642 (gld_${EMULATION_NAME}_list_options): List new options.
2643 (gld_${EMULATION_NAME}_parse_args): Handle.
2644
50bbae35 2645 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
5aaace27 2646 dll.
50bbae35
AM
2647
2648 * deffilep.y (opt_name): Allow "." in name.
5aaace27 2649
2f6d2f85 2650For older changes see ChangeLog-9899
252b5132
RH
2651\f
2652Local Variables:
2653mode: change-log
2654left-margin: 8
2655fill-column: 74
2656version-control: never
2657End:
This page took 0.237476 seconds and 4 git commands to generate.