Remove spurious prototype.
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
2
3 * pe-dll.c: Remove spurious prototype.
4
5 2001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
6
7 * ld.texinfo(enable-auto-import): Clarify the explanation.
8
9 2001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
10
11 * pe-dll.c (pe_create_import_fixup): Revert previous patch.
12 * emultemp/pe.em (pe_data_import_dll): Move definition outside of
13 DLL_SUPPORT controlled code.
14
15 2001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
16
17 * emultempl/pe.em(pe_data_import_dll): Make static.
18 (pe_get_data_import_dll_name): New accessor function.
19 * pe-dll.c(pe_create_import_fixup): call
20 pe_get_data_import_dll_name() from pe.em, instead of
21 directly accessing pe_data_import_dll variable from pe.em.
22
23 2001-09-18 Bruno Haible <haible@clisp.cons.org>
24
25 * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>.
26 (def_file_add_directive): Use ISSPACE instead of isspace.
27 (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
28 isdigit/isxdigit/isalpha/isalnum.
29 * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>.
30 (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
31 * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>.
32 (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
33 isalnum.
34 * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>.
35 (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
36 isupper/tolower.
37 * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>.
38 (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
39 * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>.
40 (ctor_prio): Use ISDIGIT instead of isdigit.
41 * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>.
42 (ldfile_open_file_search): Use ISALPHA instead of isalpha.
43 (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
44 isupper/tolower.
45 * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>.
46 (stricpy): Use TOLOWER instead of isupper/tolower.
47 (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
48 * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>.
49 (lex_warn_invalid): Use ISPRINT instead of isprint.
50 * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>.
51 (main): For gettext, also set the LC_CTYPE locate facet.
52 (add_keepsyms_file): Use ISSPACE instead of isspace.
53 * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>.
54 (is_num, parse_args): Use ISDIGIT instead of isdigit.
55 * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>.
56 (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
57 * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>.
58 (gldppcmacos_read_file): Use ISSPACE instead of isspace.
59 * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>.
60 (quoteput): Use ISSPACE instead of isspace.
61 (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
62 instead of isalnum.
63
64 2001-09-18 Alan Modra <amodra@bigpond.net.au>
65
66 * deffilep.y (def_stash_module): Constify "name" param.
67
68 * pe-dll.c: Replace CONST with const throughout.
69 (quick_symbol): Constify "n1", "n2", "n3" params.
70 (make_singleton_name_thunk): Constify "import" param. Make
71 "buffer_len" a size_t.
72 (make_import_fixup_entry): Constify "name", "fixup_name",
73 "dll_symname" params.
74 (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread.
75 (pe_get32): Likewise.
76 (pe_implied_import_dll): Likewise.
77
78 * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
79 (sort_by_section_name): Likewise.
80
81 * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
82 (make_import_fixup): Cast printf arg, rel->address to long rather
83 than int.
84 (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
85
86 2001-09-15 Alan Modra <amodra@bigpond.net.au>
87
88 * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
89 defines BufferSize. Increase buffer size by one.
90
91 2001-09-14 Ralf Habacker <Ralf.Habacker@freenet.de>
92
93 * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
94
95 2001-09-14 Kevin Lo <kevlo@openbsd.org>
96
97 * configure.tgt: Add arm-openbsd target.
98
99 2001-09-12 H.J. Lu <hjl@gnu.org>
100
101 * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
102 eelf64lppc.o to ...
103 (ALL_64_EMULATIONS): Here.
104 * Makefile.in: Regenerated.
105
106 2001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
107
108 * emultempl/pe.em(make_import_fixup): change signature to
109 take asection as well as arelec; we need this for proper
110 error reporting. Only call pe_create_import_fixup() if
111 there is no attempt to add a constant addend to the reloc;
112 otherwise, report error condition.
113 * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
114 since final argument is a pointer to make_import_fixup().
115 Change call to cb() to match make_import_fixup() signature.
116 (make_import_fixup_mark): make buffer_len unsigned.
117 * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
118
119 2001-09-12 Charles Wilson <cwilson@ece.gatech.edu>
120
121 * ld.texinfo: add verbose documentation for auto-import
122 direct-addressing workaround, to compliment the terse
123 error message.
124
125 2001-09-12 Andrew MacLeod <amacleod@redhat.com>
126
127 * scripttempl/v850.sc: Add gcc_except_table sections.
128
129 Fri Sep 7 11:34:24 2001 Jeffrey A Law (law@cygnus.com)
130
131 * emulparams/h8300helf.sh: Move stack to a much higher memory address.
132 * emulparams/h8300self.sh: Similarly.
133
134 2001-09-05 Danny Smith <dannysmith@users.souceforge.net>
135
136 * ld.texinfo (Options, --stack): Correct default value for stack
137 reserve.
138
139 2001-09-05 Tom Rix <trix@redhat.com>
140
141 * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
142
143 2001-09-03 Andreas Jaeger <aj@suse.de>
144
145 * emultempl/beos.em: Declare prototypes for comparions functions,
146 adjust definitions.
147
148 2001-09-02 Andreas Jaeger <aj@suse.de>
149
150 * emultempl/aix.em: Add missing prototype.
151 * emultempl/lnk960.em: Likewise.
152 * emultempl/vanilla.em: Likewise.
153 * emultempl/armcoff.em: Likewise.
154 * emultempl/armelf_oabi.em: Likewise.
155 * emultempl/beos.em: Likewise.
156 * emultempl/gld960c.em: Likewise.
157 * emultempl/gld960.em: Likewise.
158
159 * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
160 for prototype declaration.
161
162 2001-08-31 Eric Christopher <echristo@redhat.com>
163 Jason Eckhardt <jle@redhat.com>
164
165 * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
166
167 2001-08-31 Andreas Jaeger <aj@suse.de>
168
169 * emultempl/pe.em: Add missing prototypes.
170 (gld_${EMULATION_NAME}_after_open): Remove extra args to
171 pe_find_data_imports.
172 (pr_sym): Add unused attribute.
173
174 2001-08-29 Joel Sherrill <joel@OARcorp.com>
175
176 * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
177 default from coff to elf.
178
179 2001-08-29 Jeff Law <law@redhat.com>
180
181 * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update
182 ARCH specification.
183 * emulparams/h8300self.sh: Similarly.
184
185 Wed Aug 28 13:37:20 2001 J"orn Rennecke <amylaar@redhat.com>
186
187 * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
188 eh8300self.o .
189 (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
190 * configure.tgt (h8300-*-elf*): New case.
191 * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
192 * emulparams/h8300self.sh: New file.
193 * Makefile.in: Regenerated.
194
195 2001-08-28 Nick Clifton <nickc@cambridge.redhat.com>
196
197 * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
198 with macro name.
199
200 2001-08-27 Linus Nordberg <linus@swox.com>
201 Alan Modra <amodra@bigpond.net.au>
202
203 * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
204 (eelf64ppc.c, eelf64lppc.c): Add make targets.
205 Run "make dep-am"
206 * Makefile.in: Regenerate.
207 * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj
208 entries to correct alphabetical position.
209 * emulparams/elf64ppc.sh: New.
210 * emulparams/elf64lppc.sh: New.
211
212 2001-08-27 Nick Clifton <nickc@cambridge.redhat.com>
213
214 * ldmain.c (main): Declare BSIZE as static.
215
216 2001-08-23 Jakub Jelinek <jakub@redhat.com>
217
218 * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
219 into .rel.dyn resp. .rela.dyn if combreloc.
220 (get_script): If .x linker script is equal to .xn, only put it
221 once into the binary.
222 Add .xc and .xsc scripts.
223 (parse_args): Handle -z combreloc and -z nocombreloc.
224 * scripttempl/elf.sc (.rela.sbss): Fix a typo.
225 For .xc and .xsc scripts put all .rel* or .rela* input sections
226 but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
227 * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
228 is elf.
229 Strip trailing whitespace from script.
230 Generate .xc and .xsc scripts if requested.
231 * ldmain.c (main): Initialize link_info.combreloc and
232 link_info.spare_dynamic_tags.
233 * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
234 (ld_options): Add --spare-dynamic-tags option.
235 (parse_args): Likewise.
236 * ld.texinfo: Document -z combreloc and -z nocombreloc.
237 * ldint.texinfo: Document .xc and .xsc linker scripts.
238 * NEWS: Add notes about -z combreloc and SHF_MERGE.
239
240 2001-08-22 H.J. Lu <hjl@gnu.org>
241
242 * emulparams/elf32fr30.sh: Add a newline.
243
244 2001-08-21 Andreas Jaeger <aj@suse.de>
245
246 * deffilep.y: Add missing prototypes.
247 * pe-dll.c: Likewise.
248
249 2001-08-20 Alan Modra <amodra@bigpond.net.au>
250
251 * ldlang.c (insert_pad): Fix typos in last patch.
252
253 * ldlang.c: When traversing lang_statement_union_type lists,
254 consistently use "header.next" rather than "next".
255 * mpw-eppcmac.c: Likewise.
256 * emultempl/beos.em: Likewise.
257 * emultempl/hppaelf.em: Likewise.
258 * emultempl/pe.em: Likewise.
259 * ldlang.h (union lang_statement_union): Remove "next" field.
260
261 * ldlang.c (insert_pad): Use offsetof macro.
262 (lang_size_sections): Always neuter padding statements.
263 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
264
265 * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
266 passed to lang_size_sections.
267 (pe_exe_fill_sections): Likewise.
268 * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
269 (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
270
271 2001-08-18 Alan Modra <amodra@bigpond.net.au>
272
273 * emultempl/aix.em: Formatting fixes.
274
275 2001-08-18 Alan Modra <amodra@bigpond.net.au>
276
277 * ldlang.c (insert_pad): Make use of an existing pad statement if
278 available. Move code calculating alignment, adjusting section
279 alignment power, and adjusting dot to ..
280 (size_input_section): .. here. Remove unused relax param.
281 (lang_size_sections): Change boolean `relax' param to boolean *.
282 Adjust call to size_input_section. Make use of insert_pad to
283 place pad after the assignment statement. If relaxing, zap
284 padding statements.
285 (reset_memory_regions): Reset output_bfd section sizes too.
286 (relax_again): Move to..
287 (lang_process): ..here. Adjust call to lang_size_sections, and
288 remove duplicated code.
289 * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
290
291 2001-08-17 Alan Modra <amodra@bigpond.net.au>
292
293 * ld.texinfo: Document that fill values now use the four least
294 significant bytes.
295 * emulparams/elf32fr30.sh (NOP): Update.
296 * emulparams/elf32mcore.sh: Likewise.
297 * emulparams/elf64_s390.sh: Likewise.
298 * emulparams/elf_i386.sh: Likewise.
299 * emulparams/elf_i386_be.sh: Likewise.
300 * emulparams/elf_i386_chaos.sh: Likewise.
301 * emulparams/elf_i386_ldso.sh: Likewise.
302 * emulparams/elf_s390.sh: Likewise.
303 * emulparams/elf_x86_64.sh: Likewise.
304 * emulparams/i386moss.sh: Likewise.
305 * emulparams/i386nw.sh: Likewise.
306 * emulparams/m68kelf.sh: Likewise.
307 * scripttempl/elf.sc: Update NOP comment.
308 * scripttempl/elfi370.sc: Likewise.
309 * scripttempl/elfm68hc11.sc: Likewise.
310 * scripttempl/elfm68hc12.sc: Likewise.
311 * scripttempl/nw.sc: Likewise.
312
313 2001-08-15 Tom Rix <trix@redhat.com>
314
315 * ldgram.y (saved_script_handle): Initialize to NULL.
316 * ldmain.c (main): Change check on saved_script_handle.
317
318 2001-08-14 Alan Modra <amodra@bigpond.net.au>
319
320 * emultempl/elf32.em: Formatting fixes.
321 (output_prev_sec_find): Test for bfd_ind_section too; do so by
322 looking at sec->owner.
323 (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
324 (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove
325 unused code, and reorganize orphan section placement code.
326
327 * ldlang.c (wild_doit): Rename to lang_add_section.
328 * ldlang.h: Here too.
329 * mpw-elfmips.c: And here.
330 * emultempl/beos.em: And here.
331 * emultempl/elf32.em: And here.
332 * emultempl/hppaelf.em: And here.
333 * emultempl/pe.em: And here.
334
335 2001-08-13 Richard Henderson <rth@redhat.com>
336
337 * emultempl/needrelax.em: New file.
338 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
339 * Makefile.am (eelf64_ia64.c): Depend on it.
340 * Makefile.in: Rebuild.
341
342 2001-08-13 Alan Modra <amodra@bigpond.net.au>
343
344 * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
345 output_section is set non-NULL.
346
347 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
348 `true' for SEC_EXCLUDE sections so that the generic code doesn't
349 needlessly create an output_section_statement. Treat a correctly
350 named output_section_statement with NULL bfd_section as compatible.
351
352 2001-08-13 Hans-Peter Nilsson <hp@bitrange.com>
353
354 * emultempl/generic.em: Support EXTRA_EM_FILE.
355 (ld_${EMULATION_NAME}_emulation): Support emulation parameters
356 LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
357 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
358 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
359 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
360 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
361 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
362 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
363 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
364 LDEMUL_FIND_POTENTIAL_LIBRARIES.
365
366 2001-08-12 Richard Henderson <rth@redhat.com>
367
368 * scripttempl/elf.sc, scripttempl/elfd30v.sc,
369 scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
370 scripttempl/v850.sc: Keep .jcr data.
371
372 2001-08-12 H.J. Lu <hjl@gnu.org>
373 Andrew Haley <aph@cambridge.redhat.com>
374 Nick Clifton <nickc@redhat.com>
375
376 * ldgram.y (had_script): Change name to saved_script_handle.
377 Change type to file handle.
378 * ld.h (had_script): Rename and retype.
379 * ldfile.c (ldfile_open_command_file): Save the file handle
380 used in saved_script_handle.
381 * lexsup.c (parse_args): Do not allow -c option to alter
382 saved_script_handle.
383 * ldmain.c (main): Print out the linker script used if
384 --verbose is given. Check saved_script_handle to obtain the
385 external linker script used, or if NULL, dump the builtin
386 script.
387 * ld.texinfo: Document that --verbose now dumps the linker
388 script used, regardless of whether it was an internal or an
389 external script.
390
391 2001-08-10 Andreas Jaeger <aj@suse.de>
392
393 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
394 to build warnings.
395 * configure: Regenerate.
396
397 2001-08-09 Alan Modra <amodra@bigpond.net.au>
398
399 * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
400
401 * scripttempl/elf.sc: Move non-text .dynamic section before
402 .plt/.got/.sdata* group.
403 (OTHER_GOT_SECTIONS): Move to immediately after .got.
404 (OTHER_SDATA_SECTIONS): Add.
405 * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
406 OTHER_GOT_SECTIONS.
407 * emulparams/crislinux.sh: Likewise.
408 * emulparams/elf32b4300.sh: Likewise.
409 * emulparams/elf32bmip.sh: Likewise.
410 * emulparams/elf32bmipn32.sh: Likewise.
411 * emulparams/elf32bsmip.sh: Likewise.
412 * emulparams/elf32btsmip.sh: Likewise.
413 * emulparams/elf32ebmip.sh: Likewise.
414 * emulparams/elf32elmip.sh: Likewise.
415 * emulparams/elf32l4300.sh: Likewise.
416 * emulparams/elf32lmip.sh: Likewise.
417 * emulparams/elf32lsmip.sh: Likewise.
418 * emulparams/elf32ltsmip.sh: Likewise.
419 * emulparams/elf64bmip.sh: Likewise.
420 * emulparams/elf64btsmip.sh: Likewise.
421 * emulparams/elf64ltsmip.sh: Likewise.
422
423 2001-08-08 Alan Modra <amodra@bigpond.net.au>
424
425 * genscripts.sh: Source the emulparams script before each output
426 script is generated so that variables like `RELOCATING' may affect
427 variables defined in the emulparams script.
428
429 2001-08-04 Alan Modra <amodra@bigpond.net.au>
430
431 * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
432 order.
433
434 * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
435 ie. iterate over wild_statement.section_list.
436 (gld${EMULATION_NAME}_place_orphan): Likewise.
437
438 2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
439
440 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
441 .fini[0-4] sections used by _exit
442 (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
443 (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
444 * scripttempl/elfm68hc11.sc: Likewise.
445
446 2001-08-03 H.J. Lu <hjl@gnu.org>
447
448 * emultempl/beos.em (init): Add the missing initialization.
449
450 2001-08-03 Alan Modra <amodra@bigpond.net.au>
451
452 * ld.texinfo (Input Section Basics): Clarify ordering of output
453 sections.
454 * ldlang.c (callback_t): Add wildcard_list param.
455 (walk_wild_section): Remove "section" param. Rewrite for
456 lang_wild_statement_type change. Remove unique_section_p test.
457 (walk_wild_file): Remove "section" param.
458 (walk_wild): Remove "section" and "file" params.
459 (lang_gc_wild): Likewise.
460 (wild): Likewise. Modify for lang_wild_statement_type change.
461 (wild_sort): Likewise. Add "sec" param.
462 (gc_section_callback): Likewise.
463 (output_section_callback): Likewise. Do unique_section_p test.
464 (map_input_to_output_sections): Modify call to wild.
465 (lang_gc_sections_1): Likewise.
466 (print_wild_statement): Modify for lang_wild_statement_type
467 change.
468 (lang_add_wild): Replace filename, filenames_sorted param with
469 filespec. Replace section_name, sections_sorted,
470 exclude_filename_list with section_list.
471 * ldlang.h (lang_add_wild): Here too.
472 (lang_wild_statement_type): Replace section_name, sections_sorted,
473 and exclude_filename_list with section_list.
474 * ldgram.y (current_file): Delete.
475 (%union): Add wildcard_list.
476 (file_NAME_list): Set type to wildcard_list. Build a linked list
477 rather than calling lang_add_wild for each entry.
478 (input_section_spec_no_keep): Call lang_add_wild here instead.
479 * ld.h (struct wildcard_list): Declare.
480 * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
481
482 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
483
484 * ldmain.c (main): initialize link_info.pei386_auto_import
485 * pe-dll.c: new tables for auto-export filtering
486 (auto_export): change API, pass abfd for contextual filtering.
487 Loop thru tables of excluded symbols instead of comparing
488 "by hand".
489
490 2001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>
491
492 * pe-dll.c: new variable pe_dll_enable_extra_debug. New
493 static variable current_sec (static struct sec *). Add
494 forward declaration for add_bfd_to_link.
495 (process_def_file): Don't export undefined symbols. Do not
496 export symbols starting with "_imp__". Call auto_export()
497 with new API.
498 (pe_walk_relocs_of_symbol): New function.
499 (generate_reloc): add optional extra debugging
500 (pe_dll_generate_def_file): eliminate extraneous initial blank
501 line in output
502 (make_one): enlarge symtab to make room for __nm__ symbols
503 (DATA auto-import support).
504 (make_singleton_name_thunk): New function.
505 (make_import_fixup_mark): New function.
506 (make_import_fixup_entry): New function.
507 (pe_create_import_fixup): New function.
508 (add_bfd_to_link): Specify that 'name' argument is a CONST
509 char *.
510 * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
511 declare new functions pe_walk_relocs_of_symbol and
512 pe_create_import_fixup.
513 * emultempl/pe.em: add new options --enable-auto-import,
514 --disable-auto-import, and --enable-extra-pe-debug.
515 (make_import_fixup): New function.
516 (pe_find_data_imports): New function.
517 (pr_sym): New function.
518 (gld_${EMULATION_NAME}_after_open): Add optional extra pe
519 debugging. Call pe_find_data_imports. Mark .idata as DATA, not
520 CODE.
521
522 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
523
524 * ld.texinfo: add additional documentation for
525 --export-all-symbols. Document --out-implib,
526 --enable-auto-image-base, --disable-auto-image-base,
527 --dll-search-prefix, --enable-auto-import, and
528 --disable-auto-import.
529 * ldint.texinfo: Add detailed documentation on auto-import
530 implementation.
531
532 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
533
534 * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
535 example.
536
537 2001-07-24 Alan Modra <amodra@bigpond.net.au>
538
539 * Makefile.am: Update dependencies with "make dep-am".
540 * Makefile.in: Regenerate
541
542 2001-07-23 Alan Modra <amodra@bigpond.net.au>
543
544 * ldcref.c (check_section_sym_xref): New function.
545 (check_nocrossrefs): Call it.
546 (check_nocrossref): Interate over h->refs here instead of..
547 (check_refs): ..here. Pass in the symbol name, section, and bfd
548 rather than hash_entry pointers.
549 (struct check_refs_info): Keep symbol name rather than hash entry.
550 Remove "same".
551 (check_reloc_refs): Tweak for above changes in check_refs_info.
552 Only report references to section syms when symname is NULL to
553 prevent duplicate messages for the same reloc.
554
555 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
556
557 * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
558 available. Do not print NULL trees.
559 (exp_print_token): Print unknown tokens with values > 126 as
560 decimal values not ASCII characters.
561
562 * ldlang.c (lang_leave_overlay): If a region is specified assign
563 it to all sections inside the overlay unless they have been
564 assigned to the own, non-default, memory region.
565
566 * README: Add header for consistency with other README files.
567
568 2001-07-14 H.J. Lu <hjl@gnu.org>
569
570 * emultempl/elf32.em (output_prev_sec_find): Never return
571 bfd_abs_section_ptr, bfd_com_section_ptr nor
572 bfd_und_section_ptr.
573
574 2001-07-14 Nick Clifton <nickc@cambridge.redhat.com>
575
576 * Makefile.am (em32relf.c): Change dependency from generic.em to
577 elf32.em.
578 * Makefile.in: Regenerate.
579
580 2001-07-14 matthew green <mrg@eterna.com.au>
581
582 * configure.tgt (i386-*-netbsdelf*): New target.
583 (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
584
585 2001-07-13 Jakub Jelinek <jakub@redhat.com>
586
587 * emultempl/elf32.em (output_prev_sec_find): New.
588 (place_orphan): Use it.
589
590 2001-07-11 H.J. Lu <hjl@gnu.org>
591
592 * ldmain.c (main): Fix typos in the last change.
593
594 2001-07-11 Jakub Jelinek <jakub@redhat.com>
595
596 * ldmain.c (main): Disallow -F and -f without -shared.
597
598 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
599
600 * emultempl/pe.em (after_open): Check for the output_bfd not
601 having any coff_data structure allocated to it.
602
603 2001-07-09 David O'Brien <obrien@FreeBSD.org>
604
605 * emultempl/elf32.em: Do not assuming that contents of the buffer
606 returned from basename function will remain unchanged accross other
607 function calls.
608
609 2001-07-03 H.J. Lu <hjl@gnu.org>
610
611 * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
612 2001-07-03. It creates dynamic entries even for static binaries.
613
614 2001-07-03 Jakub Jelinek <jakub@redhat.com>
615
616 * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
617 (DYNAMIC): Use it to reserve few dynamic entries for
618 post-linking tools.
619
620 2001-06-27 Alan Modra <amodra@bigpond.net.au>
621
622 * emulparams/hppa64linux.sh: New file.
623 * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
624 * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
625 (ehppa64linux.c): Add rule to make it.
626 Run "make dep-am".
627 * Makefile.in: Regenerate.
628
629 2001-06-21 Hans-Peter Nilsson <hp@axis.com>
630
631 * ld.texinfo (Options, -r): Mention restrictions when using
632 different object formats.
633
634 2001-06-19 Hans-Peter Nilsson <hp@axis.com>
635
636 * ldlang.c (lang_check): Emit fatal error if relocatable link
637 between different object flavours with relocations in input.
638
639 2001-06-19 H.J. Lu <hjl@gnu.org>
640
641 * ld.texinfo (-E, --export-dynamic): Mention --version-script.
642 (--version-script): Mention the language support.
643
644 2001-06-19 H.J. Lu <hjl@gnu.org>
645
646 * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
647
648 2001-06-18 H.J. Lu <hjl@gnu.org>
649
650 * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
651 (diststuff): Add $(MANS).
652 * Makefile.in: Regenerated.
653
654 * ld.1: Removed.
655
656 2001-06-18 Hans-Peter Nilsson <hp@axis.com>
657
658 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
659 Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
660 * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
661 * ld.h (args_type): Remove member export_dynamic. All users
662 changed to use struct bfd_link_info member.
663
664 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
665 $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
666 * Makefile.in: Regenerate.
667
668 2001-06-18 H.J. Lu <hjl@gnu.org>
669
670 * ldlang.c (init_os): Add the newline to the einfo call.
671 (lang_check): Likewise.
672 (lang_do_version_exports_section): Likewise.
673
674 2001-06-15 H.J. Lu <hjl@gnu.org>
675
676 * lexsup.c (parse_args); Save optind to report unrecognized
677 option.
678
679 2001-06-15 Hans-Peter Nilsson <hp@axis.com>
680
681 * ldlang.c (lang_check): Emit fatal error if relocatable link
682 between different object flavours.
683
684 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
685 Set new link_info member export_dynamic.
686 * ldmain.c (main): Initialize new link_info member export_dynamic.
687
688 2001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
689
690 * ldlang.c (walk_wild): Only call walk_wild_file if
691 lookup_name returns something.
692 (lookup_name): If load_symbols fails, return NULL.
693 (load_symbols): Change to a boolean function.
694 (open_input_bfds): If load_symbols fails then do not make the
695 executable.
696
697 2001-06-08 Alan Modra <amodra@bigpond.net.au>
698
699 * ldlang.c (record_bfd_errors): Remove.
700
701 * emultempl/aix.em: Fix copyright dates.
702
703 2001-06-07 Andreas Jaeger <aj@suse.de>
704
705 * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
706 (TEXT_START_ADDR): Likewise.
707
708 2001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
709
710 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
711
712 2001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
713
714 * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
715
716 2001-05-31 H.J. Lu <hjl@gnu.org>
717
718 * ldlang.c (open_input_bfds): Don't change the bfd error
719 handler whilst loading symbols.
720
721 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
722
723 * configure.tgt: Remove i370-mvs architecture, it is not currently
724 supported.
725
726 2001-05-25 H.J. Lu <hjl@gnu.org>
727
728 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
729 like emulparams/aixppc.sh.
730
731 2001-05-25 H.J. Lu <hjl@gnu.org>
732
733 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
734 setting of output_filename after bfd_scan_arch.
735 * emultempl/pe.em: Likewise.
736
737 2001-05-25 H.J. Lu <hjl@gnu.org>
738
739 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
740 like emulparams/aixppc.sh.
741
742 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
743 instead of ${srcdir}/emultempl/stringify.sed.
744
745 2001-05-25 Timothy Wall <twall@oculustech.com>
746
747 * emulparams/elf64_aix.sh: Change settings to match IBM linker
748 output.
749
750 2001-05-25 Alan Modra <amodra@one.net.au>
751
752 * configure.host: Replace linuxoldld with linux*oldld.
753 * configure.tgt: Likewise.
754
755 2001-05-24 H.J. Lu <hjl@gnu.org>
756
757 * emultempl/stringify.sed: Removed again.
758
759 2001-05-24 H.J. Lu <hjl@gnu.org>
760
761 * emultempl/aix.em (OUTPUT_ARCH): Defined.
762 (gld${EMULATION_NAME}_before_parse): Initialize
763 ldfile_output_architecture, ldfile_output_machine and
764 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
765 * emultempl/beos.em: Likewise.
766 * emultempl/elf32.em: Likewise.
767 * emultempl/linux.em: Likewise.
768 * emultempl/mipsecoff.em: Likewise.
769 * emultempl/pe.em: Likewise.
770 * emultempl/sunos.em: Likewise.
771
772 2001-05-24 Tom Rix <trix@redhat.com>
773
774 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
775 udate import file format.
776 (change_symbol_mode) New, same
777 (is_syscall) New, same
778 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
779 * emulparams/aixppc64.sh : same
780 * emulparams/aixrs6.sh : same
781 * emulparams/ppcmacos.sh : same
782 * emultempl/aix.em : use strtoull to parse options
783 * Makefile.am : add eaixppc64 emulation for xcoff64
784 * Makefile.in : same
785 * configure.tgt : same
786
787 * scripttempl/aix.sc : default text section offset to 0x10000000
788 default data section offset to 0x20000000
789 add .sv3264 and .sv64 pseudo sections
790 loader and debug sections use the currect section offset.
791
792 * emultempl/aix.em : Add xcoff64 support
793 Add -binitfini support
794 (gld${EMULATION_NAME}_before_parse) -binitfini
795 (gld${EMULATION_NAME}_parse_args) same
796 (gld${EMULATION_NAME}_before_allocation) format change for special
797 sections
798
799 * emulparams/aixppc64.sh : New file for xcoff64 support
800
801 2001-05-23 Alexandre Oliva <aoliva@redhat.com>
802
803 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
804 variable to avoid non-portable shell construct.
805
806 2001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
807
808 * ldmain.c (get_emulation): Add -mips5 command line argument.
809
810 2001-05-22 Alexandre Oliva <aoliva@redhat.com>
811
812 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
813 (ELF_INTERPRETER_NAME): Define it.
814 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
815 it.
816 * configure.tgt (targ_emul, targ_extra_emuls)
817 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
818 as primary, elf_i386 as extra.
819 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
820 (eelf_i386_ldso.c): New rule.
821 * Makefile.in: Rebuilt.
822
823 2001-05-22 Nick Clifton <nickc@redhat.com>
824
825 * lexsup.c (ld_options): Allow -I to be an alias for
826 --dynamic-linker. This is for Solaris compatability.
827 * ld.texinfo: Document that -I can be used.
828 * ld.1: Regenerate.
829
830 2001-05-16 Alan Modra <amodra@one.net.au>
831
832 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
833 whether an input section is the first one assigned to an output
834 section.
835 Assorted formatting fixes.
836
837 2001-05-14 DJ Delorie <dj@delorie.com>
838
839 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
840 * Makefile.in: Ditto.
841
842 2001-05-11 Jakub Jelinek <jakub@redhat.com>
843
844 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
845 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
846 output sections.
847 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
848
849 2001-05-11 Jakub Jelinek <jakub@redhat.com>
850
851 * ldlang.c (lang_process): Call bfd_merge_sections.
852
853 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
854
855 * ldgram.y: Fix typo.
856
857 2001-05-03 H.J. Lu <hjl@gnu.org>
858
859 * emultempl/elf32.em: Include "libiberty.h".
860 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
861 basename of the bfd filename.
862 (gld${EMULATION_NAME}_stat_needed): Likewise.
863 (gld${EMULATION_NAME}_try_needed): Likewise.
864 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
865
866 2001-05-02 H.J. Lu <hjl@gnu.org>
867
868 * emultempl/pe.em: Include <ctype.h>.
869
870 2001-05-02 Johan Rydberg <jrydberg@opencores.org>
871
872 * emulparams/elf32openrisc.sh: New file.
873
874 * Makefile.am: Add OpenRISC target.
875 * Makefile.in: Regenerated.
876
877 * configure.tgt: Add openrisc-*-* mapping.
878
879 2001-05-02 Nick Clifton <nickc@redhat.com>
880
881 * emultempl/aix.em: Replace buystring with xstrdup.
882 * emultempl/beos.em: Replace buystring with xstrdup.
883
884 2001-05-02 H.J. Lu <hjl@gnu.org>
885
886 * ldfile.c: Include "libiberty.h".
887 * ldlex.l: Likewise.
888
889 * ldmisc.c (buystring): Removed.
890 * ldmisc.h: Likewise.
891
892 * ldfile.c: Replace buystring with xstrdup.
893 * ldlang.c: Likewise.
894 * ldlex.l: Likewise.
895 * ldmain.c: Likewise.
896 * ldmisc.c: Likewise.
897 * lexsup.c: Likewise.
898 * mpw-eppcmac.c: Likewise.
899
900 2001-04-30 Andreas Jaeger <aj@suse.de>
901
902 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
903
904 2001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
905
906 * ldlang.c (load_symbols): Give emulation a chance
907 to process unrecognized file before fatal error is
908 reported, not after.
909
910 2001-04-27 Sean McNeil <sean@mcneil.com>
911
912 * configure.tgt: Add arm-vxworks target.
913 * scripttempl/armcoff.sc: Support .text or .data as a section name
914 prefix.
915 Define _etext.
916
917 2001-04-13 J.T. Conklin <jtc@redback.com>
918
919 * ld.texinfo: Document --fatal-warnings.
920 * ld.1: Regenerate.
921
922 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
923 warnings have been turned into errors.
924 * lexsup.c (OPTION_WARN_FATAL): Define.
925 (ld_options): Entry for --fatal-warnings.
926 (parse_args): Handle OPTION_WARN_FATAL.
927 * ld.h (ld_config_type): Add fatal_warnings field.
928
929 2001-04-13 Jakub Jelinek <jakub@redhat.com>
930
931 * ldmain.c (main): Default to discard_sec_merge.
932 * lexsup.c (OPTION_DISCARD_NONE): Define.
933 (ld_options): Add --discard-none.
934 (parse_args): Handle OPTION_DISCARD_NONE.
935 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
936 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
937 all its input sections match.
938
939 2001-04-05 Steven J. Hill <sjhill@cotw.com>
940
941 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
942 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
943 (eelf32ltsmip.c): New target.
944 (eelf64btsmip.c): Likewise.
945 (eelf64ltsmip.c): Likewise.
946 * Makefile.in: Regenerated.
947
948 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
949 target.
950 (mips*-*-linux-gnu*): Likewise.
951
952 * emulparams/elf32ltsmip.sh: New. Traditional little endian
953 MIPS taget.
954 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
955 target.
956 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
957 endian target.
958
959 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
960
961 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
962 correct value of __Stext here.
963 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
964 .startup section.
965
966 * emulparams/crislinux.sh: Remove FIXME.
967
968 2001-04-02 Alan Modra <alan@linuxcare.com.au>
969
970 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
971 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
972
973 2001-03-27 Hans-Peter Nilsson <hp@axis.com>
974
975 * configure.tgt (cris-*-*): Change default emulation to criself.
976 (cris-*-*aout*): New rule.
977
978 2001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com>
979
980 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
981 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
982
983 2001-03-26 Andreas Jaeger <aj@suse.de>
984
985 * ld.texinfo (Overview): Fix syntax in texi code.
986
987 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
988
989 * ld.texinfo: Put @c man indications to generate the ld man page.
990 When generating man, define all the variables. Define SEEALSO
991 and SYNOPSIS. Re-organize some lines to avoid the cross references.
992 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
993 (ld.1): Generate from ld.texinfo.
994 * Makefile.in: Regenerate.
995
996 2001-03-23 Mark Elbrecht <snowball3@bigfoot.com>
997
998 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
999 and '-fdata-sections'. Set the VMA of STABS sections to zero.
1000
1001 2001-03-17 Ulrich Drepper <drepper@redhat.com>
1002
1003 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
1004 is an absolute path look only for this file and not along the path.
1005
1006 2001-03-17 Ulrich Drepper <drepper@redhat.com>
1007
1008 * emultempl/elf32.em (OPTION_GROUP): New macro.
1009 Add new option Bgroup to longopts.
1010 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
1011 (gld*_list_options): Add -Bgroup and -z defs.
1012 * ld.1: Document -Bgroup and -z defs.
1013 * ld.texinfo: Likewise.
1014
1015 2001-03-07 Michael Meissner <meissner@redhat.com>
1016
1017 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
1018 with sections created by -fdata-sections.
1019 (.dynbss,.bss): Ditto.
1020
1021 2001-03-05 Alan Modra <alan@linuxcare.com.au>
1022
1023 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
1024 after_allocation_default, not gld..._before_allocation.
1025
1026 2001-02-27 Alan Modra <alan@linuxcare.com.au>
1027
1028 * configure.in (BFD_VERSION): New.
1029 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1030 * configure: Regenerate.
1031 * Makefile.am: Run "make dep-am"
1032 * Makefile.in: Regenerate.
1033
1034 2001-02-26 Timothy Wall <twall@cygnus.com>
1035
1036 * emulparams/elf64_aix.sh: Add additional read-only sections;
1037 uncomment lines which are now required.
1038
1039 2001-02-26 H.J. Lu <hjl@gnu.org>
1040
1041 * ldlang.c (open_input_bfds): Set the bfd error handler so
1042 that problems can be caught whilst loading symbols.
1043 (record_bfd_errors): New function: Report BFD errors and mark
1044 the executable output as being invalid.
1045
1046 2001-02-22 Timothy Wall <twall@cygnus.com>
1047
1048 * configure.host: Add configuration for ia64-*-aix*.
1049 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
1050 Add dependencies for eelf64_aix.c.
1051 * Makefile.in: Regenerate.
1052 * configure.tgt: Add ia64-*-aix* mapping.
1053 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
1054 * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
1055 AIX-specific test.
1056
1057 2001-02-20 H.J. Lu <hjl@gnu.org>
1058
1059 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
1060 false if we found the file.
1061
1062 2001-02-18 David O'Brien <obrien@FreeBSD.org>
1063
1064 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
1065 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
1066
1067 2001-02-18 lars brinkhoff <lars@nocrew.org>
1068
1069 * Makefile.am: Add PDP-11 target.
1070 * configure.tgt: Likewise.
1071 * emulparams/pdp11.sh: New file.
1072
1073 2001-02-17 David O'Brien <obrien@FreeBSD.org>
1074
1075 * configure.host: Add a generic FreeBSD configuration entry such that
1076 all [modern] FreeBSD systems on all platforms will look the same.
1077
1078 2001-02-14 H.J. Lu <hjl@gnu.org>
1079
1080 * configure.tgt: Remove mention of earmelf_linux26.
1081
1082 2001-02-13 Richard Henderson <rth@redhat.com>
1083
1084 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
1085
1086 2001-02-13 H.J. Lu <hjl@gnu.org>
1087
1088 * ldexp.h (node_type): Add etree_provided.
1089 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
1090 type to etree_provided if defined by PROVIDE. Allow updating
1091 for etree_provided.
1092 (exp_print_tree): Handle etree_provided.
1093 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
1094 etree_provided.
1095
1096 2001-02-09 David Mosberger <davidm@hpl.hp.com>
1097
1098 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
1099 .IA_64.unwind.* pattern to unwind table section and
1100 .IA_64.unwind_info* pattern to unwind info section.
1101
1102 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1103
1104 * Makefile.am: Add linux target for S/390.
1105 * Makefile.in: Likewise.
1106 * configure.host: Likewise.
1107 * configure.tgt: Likewise.
1108 * emulparams/elf64_s390.sh: New file.
1109 * emulparams/elf_s390.sh: New file.
1110
1111 2001-02-09 Jakub Jelinek <jakub@redhat.com>
1112
1113 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
1114 targ_extra_libpath.
1115 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
1116
1117 2001-02-06 Philip Blundell <philb@gnu.org>
1118
1119 * Makefile.am: Remove mention of earmelf_linux26.
1120 * Makefile.in: Regenerate.
1121
1122 2001-02-04 Philip Blundell <philb@gnu.org>
1123
1124 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
1125 * emulparams/armelf_linux26.sh: Delete.
1126 * configure.tgt: Remove mention of armelf_linux26 emulation.
1127
1128 2001-02-01 Nick Clifton <nickc@redhat.com>
1129
1130 * ld.1: Replace occurances of -oformat with --oformat.
1131
1132 2001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
1133
1134 * ldlang.c (lang_leave_overlay): Don't set lma_region when
1135 load_base is specified.
1136
1137 2001-01-24 Hans-Peter Nilsson <hp@axis.com>
1138
1139 * emultempl/elf32.em: Correct spelling in comments and listed
1140 options.
1141
1142 2001-01-23 Alan Modra <alan@linuxcare.com.au>
1143
1144 * ldlang.c (lang_leave_overlay): Only set lma_region from the
1145 default for the first section of a group of overlay sections.
1146
1147 2001-01-22 Alan Modra <alan@linuxcare.com.au>
1148
1149 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
1150 * Makefile.in: Regenerate.
1151 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
1152 Check for null tool_dir.
1153
1154 2001-01-16 Jim Wilson <wilson@redhat.com>
1155
1156 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
1157 and IA_64.unwind.info.
1158
1159 2001-01-16 H.J. Lu <hjl@gnu.org>
1160
1161 * ldlang.c (lang_check): Merge the private data only if the
1162 input file has contents.
1163
1164 2001-01-14 Alan Modra <alan@linuxcare.com.au>
1165
1166 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
1167
1168 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
1169 enabling search for libmilli. On a relocatable link, make .text
1170 sections unique.
1171 (LDEMUL_AFTER_PARSE): Define.
1172 (hppaelf_finish): Correct spelling of relocatable in comments.
1173
1174 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1175 rummage through the script for sections on the unique list.
1176 Correct length of strncmp for ".note".
1177 (gld${EMULATION_NAME}_check_needed): Rearrange function.
1178
1179 * ldlang.c (unique_section_list): New var.
1180 (unique_section_p): New function.
1181 (walk_wild_section): Don't match sections on unique_section_list.
1182 (lang_add_unique): New function.
1183 Correct spelling of relocatable in comments.
1184
1185 * ldlang.h (struct unique_sections): Declare.
1186 (unique_section_list): Declare.
1187 (unique_section_p): Declare.
1188 (lang_add_unique): Declare.
1189
1190 * lexsup.c (ld_options): Allow --unique to take an optional arg.
1191 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
1192
1193 * ld.texinfo (--unique): Update.
1194
1195 2001-01-13 Nick Clifton <nickc@redhat.com>
1196
1197 * lexsup.c (parse_args): Remove spurious white space.
1198
1199 2001-01-12 Nick Clifton <nickc@redhat.com>
1200
1201 * lexsup.c (parse_args): Update copyright date.
1202
1203 2001-01-12 Philip Blundell <pb@futuretv.com>
1204
1205 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
1206
1207 2001-01-10 Kazu Hirata <kazu@hxi.com>
1208
1209 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
1210 * scripttempl/h8300h.sc: Fix formatting.
1211 * scripttempl/h8300s.sc: Likewise.
1212 * scripttempl/h8500.sc: Likewise.
1213 * scripttempl/h8500b.sc: Likewise.
1214 * scripttempl/h8500c.sc: Likewise.
1215 * scripttempl/h8500m.sc: Likewise.
1216 * scripttempl/h8500s.sc: Likewise.
1217
1218 2000-01-07 David O'Brien <obrien@BSDi.com>
1219
1220 * emultempl/elf32.em: Only perform Linux ld hints processing when
1221 targeting Linux.
1222
1223 2001-01-07 Philip Blundell <philb@gnu.org>
1224
1225 * ld.texinfo (Bug Reporting): Update email address for reports.
1226
1227 2000-12-31 Nick Clifton <nickc@redhat.com>
1228
1229 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
1230 options by checking for a return value of '?' not -1.
1231
1232 2000-12-28 Nick Clifton <nickc@redhat.com>
1233
1234 * lexsup.c (struct ld_option): Add new enum value:
1235 EXACTLY_TWO_DASHES.
1236 (ld_options[]): Change -omagic, -output and -oformat options
1237 to be EXACTLY_TWO_DASHES.
1238 (OUTPUT_COUNT): Use ARRAY_SIZE.
1239 (parse_args): Change parameter 'argc' to unsigned.
1240 Place EXACTLY_TWO_DASHES options into new really_longopts
1241 array.
1242 If getopt_long_only fails, try calling getopt_long using the
1243 really_longopts array.
1244 (help): Print a double dash for both EXACTLY_TWO_DASHES and
1245 TWO_DASHES options.
1246
1247 * ldlex.h: Fix prototype of parse_args.
1248
1249 * ld.texinfo: Document that long options starting with 'o'
1250 must be preceeded by two dashes. Change example of a single
1251 dashed long option from -oformat to -trace-symbol.
1252
1253 2000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1254
1255 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
1256 (longopts[]): New --no-default-excludes option.
1257 (gld_${EMULATION_NAME}_list_options): Document.
1258 (gld_${EMULATION_NAME}_parse_args): Handle.
1259
1260 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1261
1262 * ldlang.c (new_stat): Revert the last beautification with "innocent"
1263 whitespace, it breaks the K&R C preprocessor.
1264
1265 2000-12-11 DJ Delorie <dj@redhat.com>
1266
1267 * ld.texinfo: Add notes about --whole-archive and gcc.
1268
1269 2000-11-18 Fred Fish <fnf@be.com>
1270
1271 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
1272 (ld_options): Entry for --allow-shlib-undefined.
1273 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
1274 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
1275 to false.
1276 * ld.texinfo: Document new command line switch.
1277
1278 2000-12-12 Geoffrey Keating <geoffk@redhat.com>
1279
1280 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
1281 .fixup is actually read/write.
1282 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
1283 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
1284 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
1285
1286 Mon Dec 11 14:50:33 MET 2000 Jan Hubicka <jh@suse.cz>
1287
1288 * NEWS: Add note about x86_64 architecture.
1289
1290 2000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
1291
1292 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
1293 Set DWARF2 sections to a VMA of zero.
1294
1295 2000-12-01 Joel Sherrill <joel@OARcorp.com>
1296
1297 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
1298 New targets.
1299 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
1300 (sparc*-*-rtems*): Switched from a.out to ELF.
1301
1302 2000-11-30 Jan Hubicka <jh@suse.cz>
1303
1304 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
1305 (eelf_x86_64.c): New.
1306 * Makefile.in: Regenerate.
1307 * configure.tgt: Add support for x86_64-*-linux-gnu*.
1308 * emulparams/elf_x86_64.sh: New.
1309
1310 2000-11-30 Hans-Peter Nilsson <hp@axis.com>
1311
1312 * emulparams/crislinux.sh (ENTRY): Change back to _start.
1313 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
1314
1315 * scripttempl/crisaout.sc: Change all RELOCATING not related to
1316 merging non-a.out sections into CONSTRUCTING.
1317
1318 2000-11-28 Nick Clifton <nickc@redhat.com>
1319
1320 * ld.1 (COPYING): Mention that the GNU Free Documentation
1321 License is present in the sources, but not the output, and
1322 also available from the GNU website.
1323 (GNU Free Documentation License): Comment out this section.
1324
1325 2000-11-28 David O'Brien <obrien@dragon.nuxi.com>
1326
1327 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
1328 does not use them.
1329
1330 2000-11-25 David O'Brien <obrien@FreeBSD.org>
1331
1332 * ld.1: Remove old date so it does not give the impression the manpage
1333 is way out of date.
1334
1335 2000-11-24 Nick Clifton <nickc@redhat.com>
1336
1337 * configure.tgt (xscale-coff): Add target.
1338 (xscale-elf): Add target.
1339
1340 2000-11-24 Fred Fish <fnf@be.com>
1341
1342 * ldmain.c (main): Remove redundant init of config.make_executable
1343 to true.
1344
1345 2000-11-15 Richard Henderson <rth@redhat.com>
1346
1347 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
1348
1349 2000-11-14 Kazu Hirata <kazu@hxi.com>
1350
1351 * scripttempl/h8300.sc: Fix formatting.
1352 * scripttempl/h8300h.sc: Likewise.
1353 * scripttempl/h8300s.sc: Likewise.
1354
1355 Tue Nov 14 00:59:19 2000 Denis Chertykov <denisc@overta.ru>
1356
1357 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
1358
1359 2000-11-09 Philip Blundell <pb@futuretv.com>
1360
1361 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
1362 around orphan sections whose names can be represented in C.
1363
1364 2000-11-07 Jim Wilson <wilson@redhat.com>
1365
1366 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
1367 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
1368
1369 2000-11-06 Nick Clifton <nickc@redhat.com>
1370
1371 * ld.texinfo: Add GNU Free Documentation License.
1372 * ldint.texinfo: Add GNU Free Documentation License.
1373 * ld.1: Add GNU Free Documentation License.
1374
1375 2000-11-05 Alan Modra <alan@linuxcare.com.au>
1376
1377 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
1378 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
1379
1380 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
1381 Move 2000-11-02 Makefile.in changes to this file.
1382 * Makefile.in: Regenerate.
1383
1384 2000-11-03 Nick Clifton <nickc@redhat.com>
1385
1386 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
1387 constructors and destructors.
1388 * scripttempl/h8300h.sc: Ditto.
1389 * scripttempl/h8300s.sc: Ditto.
1390 * scripttempl/h8500.sc: Ditto.
1391 * scripttempl/h8500b.sc: Ditto.
1392 * scripttempl/h8500c.sc: Ditto.
1393 * scripttempl/h8500m.sc: Ditto.
1394 * scripttempl/h8500s.sc: Ditto.
1395 * scripttempl/v850.sc: Ditto.
1396 * scripttempl/w65.sc: Ditto.
1397 * scripttempl/z8000.sc: Ditto.
1398
1399 2000-11-02 Per Lundberg <plundis@chaosdev.org>
1400
1401 * Makefile.in (e_i386_chaos.c): New rule.
1402 (ALL_EMULATIONS): Added e_i386_chaos.o.
1403 * emulparams/elf_i386_chaos.sh: New file.
1404 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
1405
1406 2000-10-20 Jakub Jelinek <jakub@redhat.com>
1407
1408 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
1409 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
1410 Fix sed invocation, so that it coped with '/' in Solaris 64bit
1411 library path suffix.
1412 Based on patch by Andrew Macleod <amacleod@cygnus.com>.
1413
1414 2000-10-18 Hans-Peter Nilsson <hp@axis.com>
1415
1416 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
1417 for consecutive sections.
1418
1419 2000-10-17 Chandrakala Chavva <cchavva@redhat.com>
1420
1421 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
1422 options.
1423 * ld.texinfo: Added notes about this new option.
1424
1425 2000-10-16 Nick Clifton <nickc@redhat.com>
1426
1427 * emultempl/pe.em (_after_open): Add tests of return values from
1428 bfd functions. Emit appropriate error messages if necessary.
1429
1430 2000-10-13 Nick Clifton <nickc@redhat.com>
1431
1432 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
1433 local variables - they are not used, but leave in the call to
1434 bfd_canonicalize_symtab.
1435 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
1436 pe_dll_search_prefix.
1437
1438 2000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
1439
1440 * emultempl/pe.em (pe_dll_search_prefix): New variable,
1441 (longopts): New --dll-search-prefix option.
1442 (gld_${EMULATION_NAME}_list_options): Document.
1443 (gld_${EMULATION_NAME}_parse_args): Handle.
1444 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
1445 dynamically, search for a dll named '<prefix><basename>.dll'
1446 in preference to 'lib<basename>.dll' if --dll-search-prefix
1447 is specified.
1448
1449 2000-10-12 Alan Modra <alan@linuxcare.com.au>
1450
1451 * ldlang.c (section_already_linked): Set kept_section instead of
1452 sec->comdat->sec.
1453
1454 2000-10-10 Kazu Hirata <kazu@hxi.com>
1455
1456 * deffile.h: Fix formatting.
1457 * lexsup.c: Likewise.
1458 * mri.c: Likewise.
1459
1460 2000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
1461
1462 * pe-dll.c (make_one): Do not generate code thunk for DATA
1463 exports.
1464 (process_def_file): deduce DATA flag for auto-export sumbols.
1465
1466 2000-10-09 Kazu Hirata <kazu@hxi.com>
1467
1468 * ld.h: Fix formatting.
1469 * ldcref.c: Likewise.
1470 * ldctor.h: Likewise.
1471 * ldemul.c: Likewise.
1472 * ldemul.h: Likewise.
1473 * ldexp.c: Likewise.
1474 * ldexp.h: Likewise.
1475 * ldfile.c: Likewise.
1476 * ldfile.h: Likewise.
1477 * ldlang.c: Likewise.
1478 * ldlang.h: Likewise.
1479 * ldmain.c: Likewise.
1480 * pe-dll.c: Likewise.
1481
1482 * pe-dll.c: Revert some formatting fixes.
1483
1484 2000-10-08 Kazu Hirata <kazu@hxi.com>
1485
1486 * pe-dll.c: Fix formatting.
1487
1488 2000-10-05 Kazu Hirata <kazu@hxi.com>
1489
1490 * ldlang.c: Fix formatting.
1491
1492 2000-10-03 DJ Delorie <dj@redhat.com>
1493
1494 * pe-dll.c (fill_edata): initialize entire block
1495 (make_one): fill in correct section.
1496
1497 2000-10-03 Kazu Hirata <kazu@hxi.com>
1498
1499 * ldexp.c: Fix formatting.
1500
1501 2000-10-02 DJ Delorie <dj@redhat.com>
1502
1503 * emultempl/pe.em (gld_*_after_open): detect case where there two
1504 import libraries for same dll; rename one to ensure proper link
1505 order.
1506
1507 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
1508 typo
1509 (generate_edata): fix typo
1510
1511 2000-09-29 Hans-Peter Nilsson <hp@axis.com>
1512
1513 * scripttempl/crisaout.sc (ENTRY): Now __start.
1514 (.text): Add default setting for __start.
1515 Remove CONSTRUCTORS handling.
1516 (/DISCARD/): Add .gnu.warning.*.
1517 * emulparams/crislinux.sh (ENTRY): Now __start.
1518 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
1519 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
1520 (ENTRY): Now __start.
1521 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
1522 (EXECUTABLE_SYMBOLS): Add default setting for __start.
1523
1524 2000-09-29 Kazu Hirata <kazu@hxi.com>
1525
1526 * deffile.h: Fix formatting.
1527 * ld.h: Likewise.
1528 * ldcref.c: Likewise.
1529 * ldctor.c: Likewise.
1530 * ldctor.h: Likewise.
1531 * ldemul.c: Likewise.
1532 * ldemul.h: Likewise.
1533 * ldexp.c: Likewise.
1534 * ldexp.h: Likewise.
1535 * ldfile.c: Likewise.
1536 * ldfile.h: Likewise.
1537 * ldlang.c: Likewise.
1538 * ldlang.h: Likewise.
1539 * lexsup.c: Likewise.
1540 * mri.c: Likewise.
1541 * pe-dll.c: Likewise.
1542
1543 2000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
1544
1545 * pe-dll.c (process_def_file): Uninitialized data wasn't
1546 exported with --export-all-symbols switch.
1547
1548 2000-09-28 DJ Delorie <dj@redhat.com>
1549
1550 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
1551 noname work properly.
1552
1553 2000-09-28 Alan Modra <alan@linuxcare.com.au>
1554
1555 * ld.texinfo (HPPA ELF32): New section.
1556
1557 * emultempl/hppaelf.em (group_size): New.
1558 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
1559 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
1560 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
1561 options to prevent abbreviations matching.
1562 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
1563 (PARSE_AND_LIST_ARGS_CASES): Handle it.
1564
1565 2000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1566
1567 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
1568 on the m68*-*-elf target. Make it support COFF input objects.
1569
1570 2000-09-21 Kazu Hirata <kazu@hxi.com>
1571
1572 * ldmain.c: Fix formatting.
1573 * ldmisc.c: Likewise.
1574 * ldver.c: Likewise.
1575 * ldwrite.c: Likewise.
1576
1577 2000-09-21 Alan Modra <alan@linuxcare.com.au>
1578
1579 * ldwrite.c (clone_section): Silence gcc warnings.
1580
1581 2000-09-20 Alan Modra <alan@linuxcare.com.au>
1582
1583 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
1584 out of memory failure.
1585
1586 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
1587 (clone_section): Handle out of memory failures. Rename var to
1588 avoid c++ reserved word.
1589
1590 2000-09-18 Alan Modra <alan@linuxcare.com.au>
1591
1592 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
1593 stub_name param to stub_sec_name.
1594 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
1595
1596 2000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1597
1598 * emultempl/m68kelf.em: New file.
1599 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
1600 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
1601 * Makefile.in: Regenerate.
1602
1603 2000-09-15 Alan Modra <alan@linuxcare.com.au>
1604
1605 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
1606 only as needed.
1607
1608 2000-09-13 Nick Clifton <nickc@redhat.com>
1609
1610 * ldmain.c (multiple_definition): Disable relaxation if
1611 multiple symbol definitions are encountered - otherwise the
1612 linker could abort with an assertion failure.
1613
1614 2000-09-10 Nick Clifton <nickc@redhat.com>
1615
1616 * mri.c: Fix formatting.
1617
1618 2000-09-07 H.J. Lu <hjl@gnu.org>
1619
1620 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1621 * configure: Rebuild.
1622
1623 2000-09-07 H.J. Lu <hjl@gnu.org>
1624
1625 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
1626 * Makefile.in: Rebuild.
1627
1628 2000-09-07 Alan Modra <alan@linuxcare.com.au>
1629
1630 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
1631 broken list handling. Create __start_SECNAME and __stop_SECNAME
1632 when no place-holder. Add some comments. Test both SEC_CODE and
1633 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
1634 Handle case where no output section statement created.
1635
1636 2000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
1637
1638 * configure.tgt (sh-*-linux*): Added.
1639 * Makefile.am: Added eshelf_linux and eshlelf_linux.
1640 * Makefile.in: Rebuilt.
1641 * emulparams/shelf_linux.sh: New file.
1642 * emulparams/shlelf_linux.sh: New file.
1643
1644 2000-09-06 Alan Modra <alan@linuxcare.com.au>
1645
1646 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1647 try shuffling sections when the orphan happens to be the place
1648 holder. Keep count of unique section names generated so we speed
1649 the search for a new name.
1650
1651 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1652
1653 * configure: Rebuilt with new libtool.m4.
1654
1655 2000-09-05 Nick Clifton <nickc@redhat.com>
1656
1657 * Makefile.in: Regenerate.
1658 * aclocal.m4: Regenerate.
1659 * configure: Regenerate.
1660 * config.in: Regenerate.
1661 * po/ld.pot: Regenerate.
1662
1663 * ldint.texinfo: Remove CVS revision marker - it foils local
1664 comparisons.
1665
1666 * emultempl/ticoff.em: Remove extraneous comma.
1667
1668 2000-09-05 Alan Modra <alan@linuxcare.com.au>
1669
1670 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
1671 to stub section flags.
1672 (hppa_for_each_input_file_wrapper): New.
1673 (hppa_lang_for_each_input_file): New.
1674 (lang_for_each_input_file): Define to call above.
1675 (multi_subspace): New.
1676 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
1677 (PARSE_AND_LIST_PROLOGUE): Define.
1678 (PARSE_AND_LIST_LONGOPTS): Define.
1679 (PARSE_AND_LIST_OPTIONS): Define.
1680 (PARSE_AND_LIST_ARGS_CASES): Define.
1681 (hppaelf_finish): Call elf32_hppa_set_gp.
1682 (hppaelf_set_output_arch): Remove.
1683 (LDEMUL_SET_OUTPUT_ARCH): Remove.
1684
1685 * emulparams/hppalinux.sh (ELFSIZE): Define.
1686 (MACHINE): Define.
1687 (OTHER_READONLY_SECTIONS): Define.
1688 (DATA_PLT): Define.
1689 (GENERATE_SHLIB_SCRIPT): Define.
1690
1691 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
1692 to const throughout. Change `void *' to `PTR' throughout.
1693 (lang_memory_default): Function is local to file, add `static'.
1694
1695 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
1696 (ehppalinux.c): Likewise.
1697 (earmelf.c): Likewise.
1698 (earmelf_linux.c): Likewise.
1699 (earmelf_linux26.c): Likewise.
1700 * Makefile.in: Regenerate.
1701
1702 * ld.h (ld_config_type): Add unique_orphan_sections.
1703 * lexsup.c (OPTION_UNIQUE): Define.
1704 (ld_options): Add "--unique".
1705 (parse_args): Handle it.
1706 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1707 search for an existing output section if unique_orphan_sections is
1708 set. Make use of bfd_get_unique_section_name rather than
1709 duplicating code here.
1710 * ld.texinfo: Describe --unique.
1711
1712 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
1713 optional arg to split-by-file.
1714 (parse_args): Handle them.
1715 * ld.texinfo: Update description of these options.
1716 * ldwrite.c (clone_section): Pass in the section name. Replace
1717 local code with bfd_get_unique_section_name.
1718 (split_sections): Tidy code and comments. Use a list traversal
1719 more appropriate to the list construction. Handle cooked section
1720 sizes. Split when split_by_reloc reached rather than exceeded.
1721 Track section size and split when split_by_file reached. Fix
1722 link_order_tail (even though it's not used).
1723 (ldwrite): Modify condition for calling split_sections to suit
1724 changed split_by_reloc and split_by_file.
1725 * ldmain.c (main): Init config.split_by_reloc and
1726 config.split_by_file to -1.
1727 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
1728 Change split_by_file to bfd_size_type.
1729
1730 2000-09-02 Nick Clifton <nickc@redhat.com>
1731
1732 * configure.in: Increase version number to 2.10.91.
1733 * NEWS: Mention new ability to support removal of duplicate DWARF2
1734 debug information.
1735 * configure: Regenerate.
1736 * aclocal.m4: Regenerate.
1737 * config.in: Regenerate.
1738
1739 2000-09-02 Daniel Berlin <dberlin@redhat.com>
1740
1741 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
1742 sections.
1743 * scripttempl/elf32avr.sc: Ditto.
1744 * scripttempl/elfd10v.sc: Ditto.
1745 * scripttempl/elfd30v.sc: Ditto.
1746 * scripttempl/elfi370.sc: Ditto.
1747 * scripttempl/elfm68hc11.sc: Ditto.
1748 * scripttempl/elfm68hc12.sc: Ditto.
1749 * scripttempl/elfi386beos.sc: Ditto.
1750 * scripttempl/v850.sc: Ditto.
1751
1752 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
1753
1754 * acinclude.m4: Include libtool and gettext macros from the
1755 top level.
1756 * aclocal.m4, configure: Rebuilt.
1757
1758 2000-08-25 Nick Clifton <nickc@redhat.com>
1759
1760 * ldlang.c (open_output): When choosing the target for a
1761 particular endianness, do nothing if the target is not
1762 supported.
1763
1764 2000-08-25 H.J. Lu <hjl@gnu.org>
1765
1766 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
1767 check -rpath nor LD_RUN_PATH for cross link.
1768 * ld.texinfo: Document the change.
1769
1770 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
1771
1772 * NEWS: Mention support for CRIS.
1773
1774 2000-08-23 H.J. Lu <hjl@gnu.org>
1775
1776 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
1777 the current runpath list from bfd_elf_get_runpath_list ()
1778 before search.
1779
1780 2000-08-22 H.J. Lu <hjl@gnu.org>
1781
1782 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
1783 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
1784 LD_LIBRARY_PATH for native linker. Display the needed DSO if
1785 trace_file_tries is non-zero.
1786 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
1787 if trace_file_tries is non-zero.
1788
1789 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
1790 * NEWS: Mention it.
1791
1792 2000-08-14 Jason Eckhardt <jle@cygnus.com>
1793
1794 * NEWS: Mention i860 support.
1795
1796 2000-08-14 Andreas Schwab <schwab@suse.de>
1797
1798 * scripttempl/elf.sc: Fix last change to use correct comment
1799 syntax.
1800
1801 2000-08-10 Geoff Keating <geoffk@cygnus.com>
1802
1803 * scripttempl/elf.sc: Add a comment giving the correspondence
1804 between sections, per-datum sections, and linkonce sections. Make
1805 the comment true even for .bss, .sdata, .sdata2, .sbss, and
1806 .sbss2.
1807
1808 2000-08-10 Jason Eckhardt <jle@cygnus.com>
1809
1810 * emulparams/elf32_i860.sh: New file.
1811 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
1812 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
1813 (eelf32_i860.c): New rule.
1814 * Makefile.in: Regenerate.
1815
1816 2000-08-10 Nick Clifton <nickc@cygnus.com>
1817
1818 * emulparams/mipspe.sh (ENTRY): Add definition.
1819
1820 2000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
1821
1822 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
1823 in error message.
1824
1825 2000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1826
1827 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
1828 the final size of .bss section.
1829 * scripttempl/elfm68hc12.sc: Likewise.
1830
1831 2000-08-04 Alan Modra <alan@linuxcare.com.au>
1832
1833 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
1834 gld${EMULATION_NAME}_parse_args for consistency. Combine
1835 lastoptind and prevoptind vars, and keep track of last optind.
1836 (gld_${EMULATION_NAME}_list_options): Rename to
1837 gld${EMULATION_NAME}_list_options.
1838
1839 2000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
1840
1841 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
1842 (i586-sco-sysv5uw7.1.0).
1843
1844 2000-07-27 H.J. Lu <hjl@gnu.org>
1845
1846 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
1847 (PARSE_AND_LIST_PROLOGUE): New.
1848 (PARSE_AND_LIST_LONGOPTS): Likewise.
1849 (PARSE_AND_LIST_OPTIONS): Likewise.
1850 (PARSE_AND_LIST_ARGS_CASES): Likewise.
1851 (PARSE_AND_LIST_EPILOGUE): Likewise.
1852
1853 2000-07-28 Alan Modra <alan@linuxcare.com.au>
1854
1855 * emultempl/armelf.em: Elide functions common to elf32.em,
1856 ie. most of the file.
1857 (arm_elf_after_open): New. Do arm specific things then call
1858 gld${EMULATION_NAME}_after_open.
1859 (arm_elf_before_allocation): New. Call
1860 gld${EMULATION_NAME}_before_allocation then do arm specifics.
1861 (PARSE_AND_LIST_PROLOGUE): Define.
1862 (PARSE_AND_LIST_SHORTOPTS): Define.
1863 (PARSE_AND_LIST_LONGOPTS): Define.
1864 (PARSE_AND_LIST_OPTIONS): Define.
1865 (PARSE_AND_LIST_ARGS_CASES): Define.
1866 (LDEMUL_AFTER_OPEN): Define.
1867 (LDEMUL_BEFORE_ALLOCATION): Define.
1868 (LDEMUL_BEFORE_PARSE): Define.
1869 (LDEMUL_FINISH): Define.
1870
1871 * emultempl/hppaelf.em: Similarly zap most of this file.
1872 (hppaelf_add_stub_section): Prototype.
1873 (hppaelf_layaout_sections_again): Prototype.
1874 (hook_in_stub): Prototype.
1875 (LDEMUL_SET_OUTPUT_ARCH): Define.
1876 (LDEMUL_FINISH): Define.
1877 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
1878
1879 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
1880 (EXTRA_EM_FILE): New.
1881 * emulparams/armelf_linux.sh: Likewise.
1882 * emulparams/armelf_linux26.sh: Likewise.
1883 * emulparams/hppalinux.sh: Likewise.
1884 * emulparams/hppaelf.sh: Likewise.
1885 (NOP): Define.
1886
1887 * emultempl/elf32.em: Fix formatting.
1888 (EXTRA_EM_FILE): Source it.
1889 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
1890 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
1891 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
1892 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
1893 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
1894 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
1895 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
1896 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
1897 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
1898 allow functions in this file to be overridden.
1899 (PARSE_AND_LIST_SHORTOPTS): Handle it.
1900
1901 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
1902
1903 * emultempl/elf32.em: Reorganize file.
1904
1905 2000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
1906
1907 * emulparams/elf64alpha.sh: Implement "-taso" emulation
1908 specific option to fit 64-bit executable in the lower
1909 31-bit address range. This is done by changing start
1910 address of .interp (the very first section of executable)
1911 and then setting EF_ALPHA_32BIT elf header flag.
1912
1913 2000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1914
1915 * emultempl/m68kcoff.em: New file.
1916 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
1917 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
1918 generic.em.
1919 * Makefile.in: Regenerate.
1920
1921 2000-07-20 H.J. Lu <hjl@gnu.org>
1922
1923 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
1924 and "disable-new-dtags" to stop getopt from treating -d/-e as
1925 abbreviations for these options.
1926
1927 2000-07-20 H.J. Lu <hjl@gnu.org>
1928
1929 * ld.texinfo: Add documentation for --disable-new-dtags and
1930 --enable-new-dtags.
1931
1932 * ldmain.c (main): Initialize link_info.new_dtags to false.
1933
1934 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
1935 --disable-new-dtags and --enable-new-dtags.
1936 (gld_${EMULATION_NAME}_list_options): Likewise.
1937
1938 2000-07-05 Kenneth Block <krblock@computer.org>
1939
1940 * lexsup.c: Add optional style to demangle switch
1941 * ld.texinfo: Document optional style to demangle switch.
1942
1943 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
1944
1945 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
1946 ecrislinux.o.
1947 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
1948 Regenerate dependencies.
1949 * Makefile.in: Rebuild.
1950 * configure.tgt (cris-*-*): New target.
1951 * emulparams/crisaout.sh, emulparams/criself.sh,
1952 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
1953 * po/POTFILES.in, po/ld.pot: Regenerate.
1954
1955 2000-07-20 H.J. Lu <hjl@gnu.org>
1956
1957 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
1958 Print out ignored -z options.
1959
1960 2000-07-19 H.J. Lu <hjl@gnu.org>
1961
1962 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
1963 (PARSE_AND_LIST_PROLOGUE): New.
1964 (PARSE_AND_LIST_LONGOPTS): Likewise.
1965 (PARSE_AND_LIST_OPTIONS): Likewise.
1966 (PARSE_AND_LIST_ARGS_CASES): Likewise.
1967
1968 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
1969
1970 * lexsup.c (ld_options): Comment out 'z'.
1971 (parse_args): Likewise.
1972
1973 * emultempl/elf32.em: Include "elf/common.h".
1974 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
1975 options.
1976 (gld_${EMULATION_NAME}_list_options): Likewise.
1977
1978 * ld.texinfo: Add documentation for the recognized -z options.
1979
1980 2000-07-19 H.J. Lu <hjl@gnu.org>
1981
1982 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
1983 bfd_elf_set_dt_needed_soname ().
1984
1985 2000-07-18 DJ Delorie <dj@cygnus.com>
1986
1987 * pe-dll.c (pe_dll_id_target): check object target name also
1988
1989 2000-07-18 Hans-Peter Nilsson <hp@axis.com>
1990
1991 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
1992 ${INIT_END} if relocating.
1993 (.fini): Likewise ${FINI_START} and ${FINI_END}.
1994
1995 2000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
1996
1997 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
1998 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
1999 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
2000 errors introduced by the old dynamic lib search order.
2001
2002 2000-07-17 DJ Delorie <dj@cygnus.com>
2003
2004 * pe-dll.c (process_def_file): auto-export data items also
2005 (pe_process_import_defs): also see if _imp_ form needed
2006
2007 2000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
2008
2009 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
2010 for dll import libraries
2011
2012 2000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
2013
2014 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
2015 gcc 2.95.2 and later.
2016
2017 2000-07-11 Kazu Hirata <kazu@hxi.com>
2018
2019 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
2020 message.
2021
2022 2000-07-10 Alan Modra <alan@linuxcare.com.au>
2023
2024 * ldemul.h (struct lang_input_statement_struct): Remove forward
2025 declaration.
2026 (struct search_dirs): Likewise.
2027 * ldfile.h (struct lang_input_statement_struct): Likewise.
2028 Protect file from multiple inclusion.
2029 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
2030 declaration from macro to file scope.
2031
2032 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
2033 * ldgram.y: Likewise here.
2034 * ldlang.c: And here.
2035 * ldmain.c: And here.
2036 * mpw-elfmips.c: And here.
2037 * mpw-eppcmac.c: And here.
2038 * emultempl/aix.em: And here.
2039 * emultempl/armcoff.em: And here.
2040 * emultempl/armelf.em: And here.
2041 * emultempl/armelf_oabi.em: And here.
2042 * emultempl/beos.em: And here.
2043 * emultempl/elf32.em: And here.
2044 * emultempl/hppaelf.em: And here.
2045 * emultempl/linux.em: And here.
2046 * emultempl/lnk960.em: And here.
2047 * emultempl/pe.em: And here.
2048 * emultempl/sunos.em: And here.
2049 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
2050 * mpw-idtmips.c: Ditto.
2051 * emultempl/generic.em: Ditto.
2052 * emultempl/gld960.em: Ditto.
2053 * emultempl/gld960c.em: Ditto.
2054 * emultempl/mipsecoff.em: Ditto.
2055 * emultempl/ticoff.em: Ditto.
2056 * emultempl/vanilla.em: Ditto.
2057
2058 * pe-dll.c: Include ldfile.h
2059 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
2060
2061 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
2062 arguments to bfd_elf32_size_dynamic_sections call.
2063 (gldelf32ebmip_place_orphan): Add missing arguments to
2064 lang_leave_output_section_statement call.
2065
2066 2000-07-10 H.J. Lu <hjl@gnu.org>
2067
2068 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
2069 DLL_SUPPORT.
2070 (strhash): Likewise.
2071 (compute_dll_image_base): Likewise.
2072 (pe_undef_found_sym): Likewise.
2073 (pe_undef_cdecl_match): Likewise.
2074 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
2075 argument "arch" with ATTRIBUTE_UNUSED.
2076
2077 2000-07-10 Alan Modra <alan@linuxcare.com.au>
2078
2079 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
2080
2081 From Ryan Bradetich <rbradetich@uswest.net>
2082 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
2083
2084 2000-07-09 Alan Modra <alan@linuxcare.com.au>
2085
2086 Changes to create multiple linker stubs, positioned immediately
2087 before the section where they are required.
2088 * emultempl/hppaelf.em: Include elf32-hppa.h.
2089 (stub_sec, file_chain): Delete.
2090 (hppaelf_create_output_section_statements): Don't make a stub
2091 section here.
2092 (hook_stub_info): New struct.
2093 (hook_in_stub): New function.
2094 (hppaelf_add_stub_section): New function.
2095 (hppaelf_finish): Do nothing for relocateable links. Modify the
2096 call to elf32_hppa_size_stubs. Move code for updating section
2097 layout from here...
2098 (hppaelf_layaout_sections_again): ..to here, a new function.
2099
2100 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
2101 broken list handling. Pass in a pointer to the list.
2102 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
2103 for above changes.
2104 (hppaelf_before_parse): Prototype.
2105 (hppaelf_set_output_arch): Prototype.
2106 (hppaelf_create_output_section_statements): Prototype.
2107 (hppaelf_delete_padding_statements): Prototype.
2108 (hppaelf_finish): Prototype.
2109
2110 Merge from elf32.em
2111 * emultempl/hppaelf.em: Include ctype.h.
2112 (struct orphan_save): New.
2113 (gld${EMULATION_NAME}_place_orphan): New.
2114 (output_rel_find): New.
2115 (hppaelf_get_script): Update from elf32.em.
2116 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
2117 Change emulation_name field to "${EMULATION_NAME}". Add
2118 gld${EMULATION_NAME}_place_orphan.
2119
2120 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
2121 ehppalinux.o, sort it. Regenerate dependencies.
2122 (ehppalinux.c): Depend on hppaelf.em
2123 * Makefile.in: Regenerate.
2124
2125 * configure.tgt: targ_emul=hppalinux for hppa*linux
2126
2127 * emulparams/hppalinux.sh: New.
2128 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
2129
2130 2000-07-08 Alan Modra <alan@linuxcare.com.au>
2131
2132 * lexsup.c (parse_args): Copy section name.
2133
2134 2000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
2135
2136 * emultempl/pe.em: institute the following search order for
2137 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
2138 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
2139 static lib (libfoo.a) if none of the above are found.
2140
2141 2000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
2142
2143 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
2144 (longopts): New --{enable,disable}-auto-image-base options.
2145 (gld_${EMULATION_NAME}_list_options): Document.
2146 (gld_${EMULATION_NAME}_parse): Handle.
2147 (strhash): New static function.
2148 (compute_dll_image_base): New static function.
2149 (gld_${EMULATION_NAME}_set_symbols): Use.
2150
2151 2000-07-05 DJ Delorie <dj@redhat.com>
2152
2153 * MAINTAINERS: new
2154
2155 2000-07-01 Koundinya K <kk@ddeorg.soft.net>
2156
2157 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
2158 * emulparams/elf32btsmip.sh: New file.
2159 * Makefile.am: Add traditional mips target.
2160 * Makefile.in: Rebuild.
2161
2162 2000-07-01 H.J. Lu <hjl@gnu.org>
2163
2164 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
2165 automake to use YLWRAP.
2166 * Makefile.in: Rebuild.
2167
2168 2000-07-01 Alan Modra <alan@linuxcare.com.au>
2169
2170 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
2171 (CLEANFILES): Add DEPA.
2172 * Makefile.in: Regenerate.
2173
2174 2000-06-30 Timothy Wall <twall@ppc>
2175
2176 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
2177 the page in the upper octet of the address.
2178
2179 2000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
2180
2181 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
2182
2183 2000-06-24 Alan Modra <alan@linuxcare.com.au>
2184
2185 * NEWS: arm-elf does --gc-sections too.
2186
2187 2000-06-22 Alan Modra <alan@linuxcare.com.au>
2188
2189 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2190 find one.
2191 * Makefile.in: Regenerate.
2192
2193 2000-06-21 H.J. Lu <hjl@gnu.org>
2194
2195 * Makefile.am: Rebuild dependency.
2196 * Makefile.in: Rebuild.
2197
2198 2000-06-20 H.J. Lu <hjl@gnu.org>
2199
2200 * Makefile.am: Rebuild dependency.
2201 * Makefile.in: Rebuild.
2202
2203 2000-06-20 Timothy Wall <twall@cygnus.com>
2204
2205 * scripttempl/tic54xcoff.sc: New.
2206 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
2207 * gen-doc.texi: Add flag for TI COFF.
2208 * ld.texinfo: Add documentation for TI COFF handling switches.
2209 * emultempl/ticoff.em: New. TI COFF handling.
2210 * configure.tgt: Add tic54x target.
2211 * Makefile.am: Add tic54x target.
2212 * Makefile.in: Ditto.
2213
2214 2000-06-20 Alan Modra <alan@linuxcare.com.au>
2215
2216 * ldmain.c (set_scripts_dir): Correct pointer comparison when
2217 checking for backslashes.
2218
2219 2000-06-19 Alan Modra <alan@linuxcare.com.au>
2220
2221 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
2222
2223 2000-06-18 Alan Modra <alan@linuxcare.com.au>
2224
2225 * NEWS: Update list of targets supporting --gc-sections.
2226
2227 * scripttempl/elf.sc: KEEP .eh_frame contents.
2228 * scripttempl/elfd30v.sc: Same here.
2229
2230 2000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
2231
2232 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
2233 and m68hc11 (elf).
2234 * Makefile.in: Rebuild.
2235 * configure.tgt: Recognize m68hc12 and m68hc11.
2236 * scripttempl/elfm68hc12.sc: New file.
2237 * emulparams/m68hc12elfb: New emulation.
2238 * emulparams/m68hc12elf: New emulation.
2239 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
2240 (includes a memory.x script to define the ROM and RAM banks).
2241 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
2242 New configuration files for support of Motorola 68hc11
2243
2244 2000-06-15 Alan Modra <alan@linuxcare.com.au>
2245
2246 * ldmain.c (main): Only change SEC_READONLY for final link.
2247
2248 2000-06-13 H.J. Lu <hjl@gnu.org>
2249
2250 * configure: Regenerate.
2251
2252 2000-06-08 David O'Brien <obrien@FreeBSD.org>
2253
2254 * configure.in (VERSION): Update to show this is the CVS mainline.
2255
2256 2000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2257
2258 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
2259 input objects to be ECOFF.
2260 (check_sections): einfo takes %B, not %P, to print a BFD name.
2261
2262 2000-06-05 Michael Matz <matz@ifh.de>
2263
2264 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
2265 version scripts.
2266
2267 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
2268
2269 2000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
2270
2271 * emulparams/avr1200.sh (STACK): Define as 0.
2272 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
2273 * emulparams/avr4433.sh (STACK): Likewise.
2274 * emulparams/avr44x4.sh (STACK): Likewise.
2275 * emulparams/avr85xx.sh (STACK): Likewise.
2276 * emulparams/avrmega103.sh (STACK): Likewise.
2277 * emulparams/avrmega161.sh (STACK): Likewise.
2278 * emulparams/avrmega603.sh (STACK): Likewise.
2279 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
2280 (__stack): Define from ${STACK} for main().
2281
2282 2000-05-26 Alan Modra <alan@linuxcare.com.au>
2283
2284 * Makefile.am: Update dependencies with "make dep-am"
2285 * Makefile.in: Regenerate.
2286
2287 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
2288
2289 * ldmain.c: Include filenames.h.
2290 (set_scripts_dir): Support backslashes in program name.
2291
2292 2000-05-22 Igor Shevlyakov <igor@windriver.com>
2293
2294 * ldmain.c (main): When deciding if ".text" section should be
2295 read-only, don't forget to reset SEC_READONLY because it
2296 could be already set.
2297
2298 2000-05-22 Thomas de Lellis <tdel@windriver.com>
2299
2300 * ld.1: Add documentation for new command line option:
2301 --section-start <sectionname>=<sectionorg>
2302 This is a generic version of -Ttext etc. which accepts
2303 any section name as a parameter instead of just text/data/
2304 bss.
2305 * ld.texinfo: More docs.
2306 * NEWS: More docs.
2307 * lexsup.c: (parse_args): Recognize new command line option.
2308 (ld_options): Add new option.
2309
2310 2000-05-18 H.J. Lu <hjl@gnu.org>
2311
2312 * lexsup.c (parse_args): `i' == `r', not `q'.
2313
2314 Thu May 18 10:47:57 2000 Jeffrey A Law (law@cygnus.com)
2315
2316 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
2317
2318 2000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
2319 Rick Gorton <gorton@scrugs.lkg.dec.com>
2320
2321 Add support for '-q' == '--emit-relocs' switch.
2322 * ldmain.c (main): Default to false.
2323 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
2324 * NEWS: Describe the emitrelocations switch.
2325 * ld.texinfo: Describe the emitrelocations switch.
2326
2327 2000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
2328
2329 * emultempl/pe.em (_open_dynamic_archive): New function: Search
2330 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
2331 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
2332 link options.
2333
2334 2000-05-15 David O'Brien <obrien@FreeBSD.org>
2335
2336 * lexsup.c (parse_args): Update the year in the copyright notice.
2337
2338 2000-05-13 Alan Modra <alan@linuxcare.com.au>
2339
2340 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
2341 Replace defines with those from intl/libgettext.h to quieten gcc
2342 warnings.
2343
2344 2000-05-10 H.J. Lu <hjl@gnu.org>
2345
2346 * ldlang.c (open_input_bfds): Don't load the same file within
2347 a group again if the whole archive has been loaded already.
2348
2349 2000-05-03 Alan Modra <alan@linuxcare.com.au>
2350
2351 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
2352 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
2353 strtoul.
2354
2355 Mon May 1 17:34:34 2000 Jim Wilson <wilson@cygnus.com>
2356
2357 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
2358
2359 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
2360 host "ia64-*-linux-gnu*".
2361
2362 2000-04-29 Andreas Jaeger <aj@suse.de>
2363
2364 * ld.h: Correctly check GCC version.
2365
2366 Tue Apr 25 11:20:43 2000 Jeffrey A Law (law@cygnus.com)
2367
2368 * Makefile.am: Add PA64 support. Add missing dependencies for
2369 PA32 elf support.
2370 * Makefile.in: Rebuilt.
2371 * configure.tgt: Add PA64 support (currently disabled).
2372
2373 2000-04-25 Alan Modra <alan@linuxcare.com.au>
2374
2375 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
2376 (output_rel_find): New function.
2377 (hold_section, hold_use): Delete.
2378 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
2379 hold_interp): Make local to place_orphan.
2380 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
2381 rather than place_section to find possible previous use of orphan.
2382 Similarly find the place-holder output sections. Use returned
2383 value from lang_enter_output_section_statement rather than calling
2384 lang_output_section_statement_lookup.
2385 * emultempl/armelf.em: Same here.
2386 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
2387
2388 * ldlang.c (lang_enter_output_section_statement): Return output
2389 section statement.
2390 * ldlang.h (lang_enter_output_section_statement): Change
2391 declaration too.
2392
2393 * ldlang.h (lang_output_section_statement): Export it.
2394 * ldlang.c (lang_output_section_statement): Ditto.
2395
2396 2000-04-24 Nick Clifton <nickc@cygnus.com>
2397
2398 * ld.texinfo (Output Section Data): Add note that section data
2399 commands cannot appear outside of section directives.
2400
2401 2000-04-2 Matthew Green <mrg@cygnus.com>
2402
2403 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
2404
2405 Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
2406 David Mosberger <davidm@hpl.hp.com>
2407
2408 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
2409 (eelf64_ia64.c): New rule.
2410 * Makefile.in: Rebuild.
2411 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
2412 * emulparams/elf64_ia64.sh: New file.
2413
2414 2000-04-21 Richard Henderson <rth@cygnus.com>
2415
2416 * scripttempl/elfd30v.sc: Place .gcc_except_table.
2417
2418 2000-04-19 Alan Modra <alan@linuxcare.com.au>
2419
2420 * dep-in.sed: Match space at start of file name, not at end.
2421
2422 2000-04-18 H.J. Lu <hjl@gnu.org>
2423
2424 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
2425 lang_leave_output_section_statement () after calling
2426 lang_enter_output_section_statement ().
2427 * emultempl/armelf.em: Likewise.
2428
2429 2000-04-18 Alan Modra <alan@linuxcare.com.au>
2430
2431 * emultempl/elf32.em (struct orphan_save): Add section field.
2432 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
2433 better order, and place first orphan section as we did before the
2434 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
2435 Don't call make_bfd_section here, let wild_doit do the job for us.
2436 Don't build a statement list when we'll only throw it away.
2437 * emultempl/armelf.em: Ditto.
2438 * emultempl/pe.em: Similarly.
2439
2440 2000-04-14 Geoff Keating <geoffk@cygnus.com>
2441
2442 * scripttempl/elfppc.sc: Remove.
2443 * emulparams/elf32ppc.sh: Use elf.sc.
2444 * emulparams/elf32lppc.sh: Use elf.sc.
2445 * emulparams/elf32ppclinux.sh: Use elf.sc.
2446 * emulparams/elf32ppcsim.sh: New file.
2447 * emulparams/elf32lppcsim.sh: New file.
2448 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
2449 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
2450 * Makefile.in: Regenerate.
2451 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
2452
2453 2000-04-14 Alan Modra <alan@linuxcare.com.au>
2454
2455 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
2456 ~SEC_ALLOC sections too. Init start address of debug sections.
2457 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
2458 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
2459 Also set all relocateable section start addresses.
2460
2461 2000-04-13 Geoff Keating <geoffk@cygnus.com>
2462
2463 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
2464 Add new BSS_PLT variable for when .plt need not be contained in
2465 the file. Move _etext so that it is also after .fini, and provide
2466 both etext and _etext with a leading underscore. Mark the start
2467 and end of .sbss.
2468
2469 2000-04-12 Alan Modra <alan@linuxcare.com.au>
2470
2471 * emultempl/elf32.em (struct orphan_save): New.
2472 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
2473 hold_interp): Make them struct orphan_save.
2474 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
2475 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
2476 the end of the relevant section list. Also add associated section
2477 statements to the end of any previous orphan statements.
2478 * emultempl/armelf.em: Similarly.
2479 * emultempl/pe.em: Similarly.
2480
2481 2000-04-11 Alan Modra <alan@linuxcare.com.au>
2482
2483 * ld.texinfo (Simple Example): Remove extraneous paragraph.
2484
2485 Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
2486
2487 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
2488 --enable-build-warnings option.
2489 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
2490 * Makefile.in, configure: Re-generate.
2491
2492 2000-04-04 Alan Modra <alan@linuxcare.com.au>
2493
2494 * po/ld.pot: Regenerate.
2495
2496 * lexsup.c (help): Restore translated part of bug string.
2497
2498 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2499 (DEP): Quote when passing vars to sub-make. Add warning message
2500 to end.
2501 (DEP1): Rewrite for "gcc -MM".
2502 (CLEANFILES): Add DEP2.
2503 Update dependencies.
2504 * Makefile.in: Regenerate.
2505
2506 2000-04-03 Alan Modra <alan@linuxcare.com.au>
2507
2508 * ld.h: #include "bin-bugs.h"
2509 * lexsup.c (help): Use REPORT_BUGS_TO.
2510
2511 2000-03-27 Denis Chertykov <denisc@overta.ru>
2512
2513 * configure.tgt (avr-*-*): New target support.
2514 * Makefile.am: Likewise.
2515 * scripttempl/elf32avr.sc: New script file.
2516 * emulparams/avr1200.sh: New file.
2517 * emulparams/avr23xx.sh: New file.
2518 * emulparams/avr4433.sh New file.
2519 * emulparams/avr44x4.sh New file.
2520 * emulparams/avr85xx.sh New file.
2521 * emulparams/avrmega103.sh New file.
2522 * emulparams/avrmega161.sh New file.
2523 * emulparams/avrmega603.sh New file.
2524 * Makefile.in: Regenerate.
2525
2526 2000-03-09 Andreas Jaeger <aj@suse.de>
2527
2528 * Makefile.am (check-DEJAGNU): Also unset LANG.
2529 * Makefile.in: Rebuild.
2530
2531 2000-03-06 Ian Lance Taylor <ian@zembu.com>
2532
2533 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
2534 archive.
2535
2536 2000-03-02 H.J. Lu <hjl@gnu.org>
2537
2538 * emulparams/elf32mcore.sh: Include "getopt.h".
2539
2540 2000-03-01 Ian Lance Taylor <ian@zembu.com>
2541
2542 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
2543
2544 2000-03-01 H.J. Lu <hjl@gnu.org>
2545
2546 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
2547 * emulparams/shpe.sh: Likewise.
2548
2549 2000-03-01 Nick Clifton <nickc@cygnus.com>
2550
2551 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
2552 to unused parameters.
2553
2554 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
2555 functions only used by DLL code.
2556 (_place_orphan): Initialise 'dollar'.
2557
2558 2000-03-01 H.J. Lu <hjl@gnu.org>
2559
2560 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
2561 indicate if the undefined symbol is a fatal error or not.
2562 Don't delete the output file if "fatal" is false.
2563
2564 2000-02-29 H.J. Lu <hjl@gnu.org>
2565
2566 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
2567 Set LC_COLLATE and LC_ALL to null and export them. It is for
2568 sort which expects the C locale.
2569 Add $(LIBS) to all $(HOSTING_LIBS).
2570 * Makefile.in: Rebuild.
2571
2572 2000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
2573
2574 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
2575 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
2576 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
2577 (ld_emulation_xfer_struct): Add missing NULL initialiser for
2578 find_potential_libraries.
2579
2580 2000-02-28 Jim Blandy <jimb@redhat.com>
2581
2582 * ldgram.y (exclude_name_list): Don't require a comma to separate
2583 list entries; the lexer considers commas to be valid part of a
2584 filename, so in something like `foo, bar' the comma is considered
2585 part of the first filename, `foo,'.
2586 * ld.texinfo: Update section on EXCLUDE_FILE lists.
2587
2588 2000-02-27 Loren J. Rittle <ljrittle@acm.org>
2589
2590 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
2591 host "i[3456]86-*-freebsdelf*".
2592
2593 2000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
2594
2595 * scripttempl/i386go32.sc: Move misplaced semicolons.
2596
2597 2000-02-25 Ian Lance Taylor <ian@zembu.com>
2598
2599 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
2600 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
2601 (eelf64hppa.c, ehppaelf.c): Remove targets.
2602 * Makefile.in: Rebuild.
2603
2604 2000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2605
2606 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
2607 GNU/Linux/sparc, but keep the default as 32.
2608
2609 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
2610 it default if sparcv9 or sparc64.
2611
2612 2000-02-24 Nick Clifton <nickc@cygnus.com>
2613
2614 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
2615 * Makefile.in: Regenerate.
2616 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
2617
2618 * ldemul.h (ld_emulation_xfer_struct): Add new field:
2619 find_potential_libraries.
2620 * ldemul.c (ldemul_find_potential_libraries): New function.
2621
2622 * ldfile.c (ldfile_open_file_search): Allow function to be
2623 exported.
2624 (ldfile_open_file): Call ldemul_find_potential_libraries.
2625 * ldfile.h: Add prototype for ldfile_open_file_search.
2626
2627 * pe-dll.c: Add support for ARM, MIPS and SH targets.
2628
2629 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
2630 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
2631
2632 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
2633 (gld_X_find_potential_libraries): New function. Search for
2634 libraries called "*.lib".
2635
2636 * scripttempl/pe.sc: Add .pdata section.
2637
2638 2000-02-23 Richard Henderson <rth@cygnus.com>
2639
2640 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
2641 Add and use memory regions.
2642
2643 2000-02-23 Linas Vepstas (linas@linas.org)
2644
2645 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
2646
2647 * Makefile.am: Add support for Linux/IBM 370.
2648 * configure.tgt: Likewise.
2649
2650 * Makefile.in: Regenerate.
2651
2652 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2653
2654 * ldlang.c (print_input_section, print_data_statement,
2655 print_reloc_statement, print_padding_statement, insert_pad,
2656 size_input_section, lang_check_section_addresses,
2657 lang_size_sections, lang_do_assignments, lang_set_startof,
2658 lang_one_common): Change `opb' to unsigned.
2659 (lang_do_assignments): Also change `size' to unsigned.
2660
2661 2000-02-16 Richard Henderson <rth@cygnus.com>
2662
2663 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
2664
2665 2000-02-16 Timothy Wall <twall@cygnus.com>
2666
2667 * mri.c (mri_draw_tree): Add default LMA region argument to call
2668 to lang_leave_output_section_statement.
2669 * ldlang.h: Update prototypes with LMA region arguments.
2670 * ldlang.c (lang_size_sections): Encapsulate region bounds
2671 checking in os_check_region call.
2672 (os_check_region): New function.
2673 (lang_output_section_statement_lookup): Initialize lma_region.
2674 (lang_leave_output_section_statement): Add LMA region argument.
2675 (lang_leave_overlay): Ditto.
2676 * ldgram.y: Handle LMA region syntax.
2677 * ld.texinfo (Output Section Description): Describe LMA region usage.
2678 * emultempl/armelf.em (gld$place_orphan): Add default value for
2679 lma region in call to lang_leave_output_section_statement.
2680 * emultempl/elf32.em (gld$place_orphan): Add default value for
2681 lma region in call to lang_leave_output_section_statement.
2682 * emultempl/pe.em (gld$place_orphan): Add default value for
2683 lma region in call to lang_leave_output_section_statement.
2684
2685
2686 2000-02-04 Timothy Wall <twall@redhat.com>
2687
2688 * ldlang.c (lang_check_section_addresses): Use bytes instead of
2689 octets when calculating section end addresses.
2690
2691 2000-02-04 Timothy Wall <twall@redhat.com>
2692
2693 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
2694
2695 2000-02-03 Timothy Wall <twall@redhat.com>
2696
2697 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
2698 octet count.
2699 * ldlang.c (print_input_section, print_data_statement,
2700 print_reloc_statement, print_padding_statement): Print target
2701 address values and section sizes as bytes, not octets.
2702 (insert_pad) Calculate padding size in octets, and adjust "dot"
2703 by bytes.
2704 (size_input_section) Always adjust "dot" by bytes, not octets.
2705 (lang_check_section_addresses, lang_do_assignments) Adjust
2706 "dot" by bytes, not octets. Use the larger of the directive size
2707 or octets_per_byte for the number of octets actually allocated in
2708 the output section.
2709 (lang_set_startof) Make sure STARTOF returns a target address.
2710 (lang_one_common) Record size changes in octets.
2711 (lang_abs_symbol_at_end_of) Section end symbol's value is
2712 recorded in target bytes.
2713 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
2714 to be clear about behavior when an octet is smaller than one byte.
2715
2716 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2717
2718 * ldcref.c (output_cref): Don't pass message strings to printf
2719 as format arg.
2720 Update copyright.
2721
2722 * ldmisc.c (vfinfo): Same here.
2723 Update copyright.
2724
2725 2000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
2726
2727 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
2728 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
2729 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
2730 Add missing NULL initialisers, and comments.
2731
2732 * testsuite/ld-srec/sr3.cc (__rethrow): New.
2733
2734 2000-01-21 Nick Clifton <nickc@cygnus.com>
2735
2736 * ldlang.c (lang_size_sections): Fix typo in comment.
2737
2738 2000-01-18 H.J. Lu <hjl@gnu.org>
2739
2740 * ldlang.c (lang_size_sections): Also update the current
2741 address of a region if the SEC_NEVER_LOAD bit is not set.
2742
2743 2000-01-10 Philip Blundell <pb@futuretv.com>
2744
2745 * configure.tgt (arm*-*-conix*): New target.
2746
2747 2000-01-07 Nick Clifton <nickc@cygnus.com>
2748
2749 * ld.texinfo (Options): Remind users to preceed linker command
2750 line switches with -Wl, (or whatever is appropriate) if it is
2751 being invoked by a comnpiler driver program.
2752 Fix description of the behaviour of the -n command line switch.
2753
2754 Wed Jan 5 08:02:12 2000 Catherine Moore <clm@cygnus.com>
2755
2756 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
2757 (name_list): New.
2758 * ld.texinfo (EXCLUDE_FILE): Update documentation.
2759 * ldgram.y (wildcard_spec): Support a list of excluded_files.
2760 (exclude_name_list): New.
2761 ldlang.c (walk_wild_section): Support list of excluded files.
2762 (print_wild_statement): Likewise.
2763 (lang_add_wild): Likewise.
2764 * ldlang.h (lang_wild_statement_type): Likewise.
2765 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
2766
2767 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2768
2769 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
2770 (process_def_file): Use.
2771 (pe_dll_compat_implib): New variable.
2772 (make_one): Use.
2773
2774 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
2775 pe_dll_compat_implib.
2776
2777 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
2778 compat-implib options.
2779 (gld_${EMULATION_NAME}_list_options): List new options.
2780 (gld_${EMULATION_NAME}_parse_args): Handle.
2781
2782 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
2783 dll.
2784
2785 * deffilep.y (opt_name): Allow "." in name.
2786
2787 For older changes see ChangeLog-9899
2788 \f
2789 Local Variables:
2790 mode: change-log
2791 left-margin: 8
2792 fill-column: 74
2793 version-control: never
2794 End:
This page took 0.090746 seconds and 5 git commands to generate.