a9a4b85268c0c2c3df03ecc518c19934f1ba6976
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2006-12-15 Ulrich Weigand <uweigand@de.ibm.com>
2
3 * configure.tgt (NATIVE_LIB_DIRS): Specify for spu-*-elf*.
4
5 2006-12-12 Daniel Jacobowitz <dan@codesourcery.com>
6
7 * Makefile.am (ld_TEXINFOS): Set.
8 (ld.info ld.dvi ld.html): Delete rule.
9 * Makefile.in: Regenerated.
10
11 2006-12-12 Ina Pandit <inap@kpitcummins.com>
12
13 * ldlang.c (print_output_section_statement): Print load address
14 when lma differs from vma.
15
16 2006-12-11 Daniel Jacobowitz <dan@codesourcery.com>
17
18 * configure.in: Define GENINSRC_NEVER.
19 * doc/Makefile.am (ld.info): Remove srcdir prefix.
20 (MAINTAINERCLEANFILES): Add info file.
21 (DISTCLEANFILES): Pretend to add info file.
22 * po/Make-in (.po.gmo): Put gmo files in objdir.
23 * configure, Makefile.in: Regenerated.
24
25 2006-12-04 Jan Beulich <jbeulich@novell.com>
26
27 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Create
28 .eh_frame_hdr section here.
29
30 2006-11-27 Ian Lance Taylor <ian@airs.com>
31
32 * Makefile.am (EXTRA_DIST): Put spu_ovl.o in the emultempl
33 subdirectory.
34 * Makefile.in: Regenerate.
35
36 2006-11-27 Bob Wilson <bob.wilson@acm.org>
37
38 * emultempl/xtensaelf.em (XSHAL_ABI): Add default definition.
39 (replace_insn_sec_with_prop_sec): Use bfd_make_section_with_flags.
40 Delete redundant code to set sections flags and alignment.
41 (xt_config_info_unpack_and_check, check_xtensa_info): New.
42 (elf_xtensa_after_open): Iterate over input statements instead of
43 link_info.input_bfds.
44 (elf_xtensa_before_allocation): Likewise. Call check_xtensa_info for
45 each input, and write a new .xtensa.info section in the output.
46
47 2006-11-22 Nick Clifton <nickc@redhat.com>
48
49 * configure.in (LINGUAS): Add ga.
50 * po/ga.po: New Irish translation.
51
52 2006-11-20 H.J. Lu <hongjiu.lu@intel.com>
53
54 * ld.texinfo: Fix a typo.
55
56 2006-11-20 Alan Modra <amodra@bigpond.net.au>
57
58 * emulparams/elf32_spu.sh (OTHER_SECTIONS): Define.
59
60 2006-11-13 Daniel Jacobowitz <dan@codesourcery.com>
61
62 * emultempl/armelf.em (arm_elf_before_allocation): Only call
63 bfd_elf32_arm_process_before_allocation if no dynamic sections.
64
65 2006-11-08 Alan Modra <amodra@bigpond.net.au>
66
67 * emultempl/elf32.em (gld*_before_allocation): Adjust output section
68 size for warning sections.
69
70 2006-11-06 Vladimir Prus <vladimir@codesourcery.com>
71
72 * emultempl/elf32.em (gld*_before_allocation): Don't prepend
73 "warning" to the message.
74
75 2006-10-31 Pedro Alves <pedro_alves@portugalmail.pt>
76
77 * pe-dll.c (autofilter_entry_type): Change name to const.
78 (pe_details_type) : Change target_name, object_target and
79 autofilter_symbollist to const.
80 (autofilter_symbollist_generic): Change to const.
81 (autofilter_symbollist_i386, pe_detail_list, pe_details,
82 autofilter_liblist, autofilter_objlist autofilter_symbolprefixlist,
83 autofilter_symbolsuffixlist): Likewise.
84 (is_import): Fix indentation.
85 (auto_export): Change afptr to const. Move name declaration to
86 beginning of scope.
87 (make_tail): Clear undefined byte.
88 (jmp_ix86_bytes, jmp_sh_bytes, jmp_mips_bytes, jmp_arm_bytes): Change
89 to const.
90 (make_one): Change jmp_bytes to const. Make idata$6 member size
91 arithmetic explicit and add comment.
92
93 2006-10-30 H.J. Lu <hongjiu.lu@intel.com>
94
95 PR ld/3111
96 * ld.h (args_type): Remove reduce_memory_overheads.
97
98 * ldlang.c (lang_map): Updated.
99 (section_already_linked): Likewise.
100 (print_input_section): Likewise.
101 * ldmain.c (main): Likewise.
102 * lexsup.c (parse_args): Likewise.
103
104 2006-10-29 Pedro Alves <pedro_alves@portugalmail.pt>
105
106 * pe-dll.c (make_singleton_name_thunk): Re-add the NULL terminator.
107
108 2006-10-27 Alan Modra <amodra@bigpond.net.au>
109
110 * ldlang.c (lang_map): Don't say SEC_LINKER_CREATED and SEC_KEEP
111 sections have been discarded.
112 (lang_do_version_exports_section): Set SEC_KEEP on export section.
113 * emultempl/elf32.em (before_allocation): Set SEC_KEEP on warning
114 sections.
115
116 2006-10-26 Joseph S. Myers <joseph@codesourcery.com>
117 Mark Mitchell <mark@codesourcery.com>
118
119 * configure.tgt (arm*linux*): Support both big- and little-endian.
120
121 2006-10-25 H.J. Lu <hongjiu.lu@intel.com>
122
123 * emulparams/hppa64linux.sh (LARGE_SECTIONS): Renamed to ...
124 (OTHER_BSS_SECTIONS): This.
125 * scripttempl/elf.sc (OTHER_BSS_SECTIONS): Support LARGE_SECTIONS.
126 (LARGE_SECTIONS): Move .lbss sections to OTHER_BSS_SECTIONS.
127
128 2006-10-25 Alan Modra <amodra@bigpond.net.au>
129 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
130 Yukishige Shibata <shibata@rd.scei.sony.co.jp>
131 Nobuhisa Fujinami <fnami@rd.scei.sony.co.jp>
132 Takeaki Fukuoka <fukuoka@rd.scei.sony.co.jp>
133
134 * emulparams/elf32_spu.sh: New file.
135 * emultempl/spu_inc.s: New file.
136 * emultempl/spu_ovl.S: New file.
137 * emultempl/spu_ovl.o: New file.
138 * emultempl/spuelf.em: New file.
139 * Makefile.am: Add SPU support.
140 * configure.tgt: Likewise.
141 * ldlang.c (load_symbols): Make global.
142 * ldlang.h (load_symbols): Declare.
143 * scripttempl/elf.sc (OTHER_BSS_SECTIONS): Add.
144 * Makefile.in: Regenerate.
145
146 2006-10-24 Ben Elliston <bje@au.ibm.com>
147
148 * lexsup.c (parse_args): Add a comment noting a fall-through.
149
150 2006-10-24 H.J. Lu <hongjiu.lu@intel.com>
151
152 * configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
153 * configure: Regenerated.
154 * config.in: Likewise.
155
156 2006-10-23 Alan Modra <amodra@bigpond.net.au>
157
158 * emulparams/h8300elf.sh (TINY_DATA_SECTION, TINY_BSS_SECTION): Don't
159 set section address on a relocatable link.
160
161 * ld.texinfo (Output Section Discarding): Fix xref.
162
163 2006-10-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
164
165 * emulparams/shelf32.sh: Set default stack to 0x80000.
166 * emulparams/shelf64.sh: Likewise.
167
168 2006-10-20 Richard Sandiford <richard@codesourcery.com>
169
170 * emulparams/elf32bmip.sh (OTHER_GOT_RELOC_SECTIONS): Define.
171 * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_RELOC_SECTIONS): Likewise.
172
173 2006-10-19 Alan Modra <amodra@bigpond.net.au>
174
175 * emultempl/armelf.em (arm_elf_before_allocation): Run
176 gld${EMULATION_NAME}_before_allocation later.
177 * ldlang.c (lang_size_sections_1): Revert 2006-09-15 change.
178
179 2006-10-18 Roy Marples <uberlord@gentoo.org>
180
181 * emulparams/elf64_sparc_fbsd.sh (OUTPUT_FORMAT): Define as
182 elf64-sparc-freebsd.
183
184 2006-10-18 Joseph Myers <joseph@codesourcery.com>
185
186 * configure.tgt (i[3-7]86-*-linux-*): Also define
187 targ_extra_libpath in want64 case.
188 * emulparams/elf_x86_64.sh: Handle i[3-7]86-*-linux-* the same as
189 x86_64*-linux*.
190
191 2006-10-17 Alan Modra <amodra@bigpond.net.au>
192
193 * scripttempl/elf.sc (INTERP): Delete. Move definition to..
194 (INITIAL_READONLY_SECTIONS): ..here.
195 * emulparams/criself.sh (INITIAL_READONLY_SECTIONS): Include .interp.
196 * emulparams/elf32bmip.sh (INITIAL_READONLY_SECTIONS): Ditto.
197 * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Ditto.
198
199 2006-10-17 Alan Modra <amodra@bigpond.net.au>
200
201 * ldlang.c (strip_excluded_output_sections): Do strip sections
202 that define syms, but don't ignore them.
203 * ld.texinfo (Output Section Discarding): Revise.
204 * emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Always call
205 finish_default.
206
207 2006-10-16 Richard Sandiford <richard@codesourcery.com>
208
209 * Makefile.am (eelf64bmip.c): Depend on emulparams/elf64bmip-defs.sh.
210 (eelf64btsmip.c, eelf64ltsmip.c): Likewise.
211 * Makefile.in: Regenerate.
212 * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Include
213 .reginfo rather than .MIPS.options.
214 * emulparams/elf64bmip-defs.sh: New file.
215 * emulparams/elf64bmip.sh: Include it.
216 (COMMONPAGESIZE): Delete.
217 * emulparams/elf64btsmip.sh: As for elf64bmip.sh.
218
219 2006-10-12 Bob Wilson <bob.wilson@acm.org>
220
221 * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Check
222 for linkonce XCC exception tables (".e" and ".h").
223
224 2006-10-11 Bob Wilson <bob.wilson@acm.org>
225
226 * emulparams/elf32xtensa.sh (TEXT_PLT): Enable.
227 (OTHER_READONLY_SECTIONS): Add linkonce .xt_except_table sections.
228 (OTHER_READWRITE_SECTIONS): Add linkonce .xt_except_desc sections.
229 (OTHER_SDATA_SECTIONS): New.
230 * scripttempl/elfxtensa.sc: Import changes from elf.sc.
231
232 2006-10-11 Jakub Jelinek <jakub@redhat.com>
233
234 * ldlang.c (lang_append_dynamic_list): When appending, add all elements
235 of the dynamic list rather than just the first entry.
236
237 2006-10-10 Bob Wilson <bob.wilson@acm.org>
238
239 * emulparams/elf32xtensa.sh (GENERATE_PIE_SCRIPT): Enable.
240
241 2006-10-06 Mike Frysinger <vapier@gentoo.org>
242
243 * genscripts.sh: Respect LIBPATH_SUFFIX when not using sysroot.
244
245 2006-10-04 Bob Wilson <bob.wilson@acm.org>
246
247 * emulparams/xtensa-config.sh: Delete file.
248 * emulparams/elf32xtensa.sh: Set MAXPAGESIZE here instead of including
249 xtensa-config.sh.
250 * Makefile.am (eelf32xtensa.c): Remove dependency on xtensa-config.sh.
251 * Makefile.in: Regenerate.
252
253 2006-10-03 Pedro Alves <pedro_alves@portugalmail.pt>
254
255 * pe-dll.c : Fix typo.
256 (autofilter_symbolprefixlist) : Remove __imp_.
257 (is_import) : New.
258 (auto-export) : Remove re-import check. Moved to callers.
259 (process_def_file) : Check is symbol is an import. Always
260 underscore __imp_.
261 Only skip underscore on underscored targets.
262 (make_one) : Always underscore __imp_.
263 (pe_create_runtime_relocator_reference) : Only underscore
264 _pei386_runtime_relocator on underscored targets.
265 (pe_process_import_defs) : Always underscore __imp_.
266 * pe.em (U) : New macro.
267 (set_pe_subsystem) : Remove underscore from _WinMainCRTStartup
268 on wince subsystem case.
269 (pe_find_data_imports) : Use U on "_head_".
270 (gld_${EMULATION_NAME}_unrecognized_file) : Use U.
271
272 2006-09-26 H.J. Lu <hongjiu.lu@intel.com>
273
274 PR ld/3223
275 PR ld/3267
276 * ld.texinfo: Updated Output Section Discarding.
277
278 * ldlang.h (lang_output_section_statement_type): Add
279 section_relative_symbol.
280 * ldlang.c (strip_excluded_output_sections): Don't strip a
281 section with a symbol relative to it.
282 (lang_size_sections_1): Mark if an output section has a symbol
283 symbol relative to it.
284
285 2006-09-25 Bob Wilson <bob.wilson@acm.org>
286
287 * ld.texinfo (Options): Update description of local symbols for -X.
288
289 2006-09-23 H.J. Lu <hongjiu.lu@intel.com>
290
291 PR ld/3249
292 * scripttempl/elf.sc: Don't combine .gnu.linkonce.d.*personality*
293 and .gnu.linkonce.wi.* sections with .data and .debug_info for
294 relocatable link.
295
296 2006-09-20 Kai Tietz <Kai.Tietz@onevision.com>
297
298 * configure.in: Add new target x86_64-pc-mingw64.
299 * configure: Regenerate.
300 * configure.tgt: Add definition of target emulation i386pep.
301 * Makefile.am: Add new target files for target-all.
302 * Makefile.in: Regenerate.
303 * pe-dll.c: Adjust to be inheritable by pep_dll.c as include.
304 Fix memory out of bounds excess for idata relocation section data.
305 * pep-dll.c: Add target specific shared object handling.
306 * pep-dll.h: Add target specific definitions for shared object handling.
307 * emulparams/i386pep.sh: Add new emulation params for target x86_64 coff.
308 * emultempl/pep.em: Add new emulation file for target x86_64 coff.
309 * po/POTFILES.in: Regenerate.
310 * scripttempl/pep.sc: Add linker script template for target x86_64 coff.
311 * NEWS: Mention new target.
312
313 2006-09-18 Thiemo Seufer <ths@networkno.de>
314
315 * configure.tgt: Add mips*el-sde-elf* and mips*-sde-elf*
316 configurations.
317
318 2006-09-17 Mei Ligang <ligang@sunnorth.com.cn>
319
320 * emulparams/scoreelf.sh: New file.
321 * emultempl/scoreelf.em: New file.
322 * Makefile.am: Add Score files.
323 * Makefile.in: Regenerate.
324 * configure.tgt: Add Score target.
325 * NEWS: Mention new target support.
326
327 2006-09-16 Nick Clifton <nickc@redhat.com>
328 Pedro Alves <pedro_alves@portugalmail.pt>
329
330 * ldctor.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ
331 macros defined in bfd.h.
332 * ldmain.c: Likewise.
333 * ldwrite.c: Likewise.
334 * lexsup.c: Likewise.
335 * pe-dll.c: Likewise.
336 * emultempl/aix.em: Likewise.
337 * emultempl/beos.em: Likewise.
338 * emultempl/elf32.em: Likewise.
339 * emultempl/pe.em: Likewise.
340 * emultempl/sunos.em: Likewise.
341 * emultempl/xtensaelf.em: Likewise.
342
343 2006-09-15 Nick Clifton <nickc@redhat.com>
344
345 PR ld/3107
346 * ldlang.c (lang_size_sections_1): Do not abort when encountering
347 a non-empty section that is ignored. Instead produce a warning
348 message.
349
350 2006-09-08 H.J. Lu <hongjiu.lu@intel.com>
351
352 * ld.texinfo: Document --dynamic-list-cpp-typeinfo.
353
354 2006-09-07 H.J. Lu <hongjiu.lu@intel.com>
355
356 * Makefile.am (CXX): Set to g++.
357 (CXX_FOR_TARGET): Likewise.
358 * Makefile.in: Regenerated.
359
360 * NEWS: Mention --dynamic-list.
361
362 * ld.texinfo: Document --dynamic-list.
363
364 * ldgram.y: Support dynamic list.
365
366 * ldlang.c (lang_process): Call lang_finalize_version_expr_head
367 on link_info.dynamic if needed.
368 (lang_append_dynamic_list): New.
369 (lang_append_dynamic_list_cpp_typeinfo): New.
370 * ldlang.h (lang_append_dynamic_list): Likewise.
371 * ldlang.h (lang_append_dynamic_list_cpp_typeinfo): Likewise.
372
373 * ldlex.h (input_enum): Add input_dynamic_list.
374 * ldlex.l: Handle it.
375
376 * ldmain.c (main): Initialize link_info.dynamic.
377
378 * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST and
379 OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
380 (ld_options): Add entries for OPTION_DYNAMIC_LIST and
381 OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
382 (parse_args): Handle OPTION_DYNAMIC_LIST and
383 OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
384
385 2006-09-07 Joel Sherrill <joel.sherrill@oarcorp.com>
386
387 * emulparams/h8300elf.sh: _tinydata should not be placed in
388 relocatables.
389 * emulparams/h8300.sh: Likewise.
390 * emulparams/h8300sxelf.sh: Likewise.
391
392 2006-09-05 H.J. Lu <hongjiu.lu@intel.com>
393
394 PR ld/3015
395 * emultempl/elf32.em: Enable "-z relro" only if $COMMONPAGESIZE
396 is defined.
397
398 2006-08-29 Nathan Sidwell <nathan@codesourcery.com>
399
400 * ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.
401
402 2006-08-28 Alan Modra <amodra@bigpond.net.au>
403
404 * scripttempl/elf.sc: Ensure that crtbegin and crtend entries will
405 not match random object files in a path containing "crtbegin" or
406 "crtend" as part of a directory name.
407 * scripttempl/armbpabi.sc: Likewise.
408 * scripttempl/crisaout.sc: Likewise.
409 * scripttempl/elf32crx.sc: Likewise.
410 * scripttempl/elf32sh-symbian.sc: Likewise.
411 * scripttempl/elf_chaos.sc: Likewise.
412 * scripttempl/elfd10v.sc: Likewise.
413 * scripttempl/elfd30v.sc: Likewise.
414 * scripttempl/elfxtensa.sc: Likewise.
415 * scripttempl/iq2000.sc: Likewise.
416 * scripttempl/mmo.sc: Likewise.
417 * scripttempl/xstormy16.sc: Likewise.
418
419 2006-08-24 Bob Wilson <bob.wilson@acm.org>
420
421 * emulparams/elf32xtensa.sh (.xt.prop): Add .xt.prop.*.
422 * scripttempl/elfxtensa.sc (.text): Add .literal.*.
423
424 2006-08-24 Pedro Alves <pedro_alves@portugalmail.pt>
425
426 * ldlang.c (lang_size_sections_1, lang_assignment_statement_enum):
427 Adjust the current address of DEFAULT_MEMORY_REGION even
428 when dot hasn't changed.
429
430 2006-08-23 Alan Modra <amodra@bigpond.net.au>
431
432 * ldexp.c (fold_name <LOADADDR>): Return an absolute value
433 rather than a section relative value.
434
435 2006-08-22 Alan Modra <amodra@bigpond.net.au>
436
437 * NEWS: Mention LMA default change.
438 * ld.texinfo (Output Section LMA): Update default description.
439 (Location Counter): Clarify backward movement.
440 * ldlang.c (lang_size_sections_1): Leave non-alloc sections with
441 default lma equal to vma. Warn on backward movement of dot.
442
443 2006-08-22 Pedro Alves <pedro_alves@portugalmail.pt>
444
445 * configure.tgt: Set targ_emul to arm_wince_pe for ARM
446 Windows CE targets.
447
448 2006-08-22 Pedro Alves <pedro_alves@portugalmail.pt>
449
450 * Makefile.am: Split arm-wince into its own emulation.
451 * Makefile.in: Regenerate.
452 * pe-dll.c : Define PE_ARCH_arm_wince.
453 (pe_detail_list): Add PE_ARCH_arm_wince case.
454 (make_one): Handle PE_ARCH_arm_epoc and PE_ARCH_arm_wince cases.
455 * emulparams/arm_wince_pe.sh: New file.
456 * emultempl/pe.em: Handle new TARGET_IS_arm_wince_pe define.
457 Remap bfd_arm_allocate_interworking_sections,
458 bfd_arm_get_bfd_for_interworking and
459 bfd_arm_process_before_allocation for arm-pe and arm-wince-pe
460 targets too.
461 (gld_${EMULATION_NAME}_recognized_file): Handle arm-wince and
462 arm-epoc bfd format names.
463
464 2006-08-18 Paul Brook <paul@codesourcery.com>
465
466 * emultempl/armelf.em (arm_elf_before_allocation): Call
467 gld${EMULATION_NAME}_before_allocation after setting interworking bfd.
468
469 2006-08-17 Pedro Alves <pedro_alves@portugalmail.pt>
470
471 * pe-dll.c (autofilter_symbolprefixlist): Remove .idata$.
472 (generate_reloc): Revert to skipping sections without a SEC_LOAD flag,
473 and to not skipping .idata* sections.
474
475 2006-08-16 Alan Modra <amodra@bigpond.net.au>
476
477 PR 3052
478 * ldlang.h (lang_output_section_statement_type): Replace
479 "processed" field with "processed_vma" and "processed_lma".
480 * ldlang.c (lang_do_assignments_1): Move lma setting code..
481 (lang_size_sections_1): ..to here.
482 (lang_reset_memory_regions): Adjust for
483 lang_output_section_statement_type change.
484 * ldexp.c (fold_name): Likewise.
485
486 2006-08-08 Peter S. Mazinger <ps.m@gmx.net>
487
488 * emulparams/armelf.sh (MAXPAGESIZE): Changed to
489 "CONSTANT (MAXPAGESIZE)".
490
491 2006-08-08 H.J. Lu <hongjiu.lu@intel.com>
492
493 PR ld/3006
494 * ldlang.c (lang_section_bst_type): Moved to ...
495 * ldlang.h: Here.
496
497 * ldlang.h (lang_wild_statement_struct): Add a tree field.
498
499 * ldlang.c (wild_sort_fast): Use the tree field for BST.
500 (wild): Likeise.
501 (analyze_walk_wild_section_handler): Initialize the tree field.
502
503 2006-08-08 H.J. Lu <hongjiu.lu@intel.com>
504
505 PR ld/3009
506 * ldlang.c (update_wild_statements): Update the whole wild
507 section list.
508
509 2006-08-04 Nick Clifton <nickc@redhat.com>
510 Mike Frysinger <michael.frysinger@analog.com>
511
512 * scripttempl/elf.sc (USER_LABEL_PREFIX): Define.
513 (__preinit_array_start, __preinit_array_end, __init_array_start,
514 __init_array_end, __fini_array_start, __fini_array_end, edata, end):
515 Use ${USER_LABEL_PREFIX}.
516 * emulparams/bfin.sh (DATA_END_SYMBOLS,END_SYMBOLS): Unset.
517 (USER_LABEL_PREFIX): Set.
518
519 2006-08-04 Marcelo Tosatti <marcelo@kvack.org>
520
521 * ldmain.c (main): Initialise print_gc_sections field of link_info
522 structure.
523 * lexsup.c: Add --print-gc-sections and --no-print-gc-sections
524 switches.
525 * ld.texinfo: Document new switches.
526 * NEWS: Mention new switches.
527
528 2006-08-04 Richard Sandiford <richard@codesourcery.com>
529 Kazu Hirata <kazu@codesourcery.com>
530 Phil Edwards <phil@codesourcery.com>
531
532 * Makefile.am (ALL_EMULATIONS): Add eshelf_vxworks.o and
533 eshlelf_vxworks.o.
534 (eshelf_vxworks.c, eshlelf_vxworks.c): New rules.
535 * Makefile.in: Regenerate.
536 * configure.tgt (sh-*-vxworks): Use shelf_vxworks and
537 shlelf_vxworks.
538 * emulparams/shelf_vxworks.sh: New file.
539 * emulparams/shlelf_vxworks.sh: Likewise.
540 * emulparams/vxworks.sh (FINI): Prefix _etext with ${SYMPREFIX}.
541 (OTHER_END_SYMBOLS): Likewise _ehdr.
542 (DATA_END_SYMBOLS): Likewise _edata.
543 * emultempl/vxworks.em (vxworks_after_open): Check whether output_bfd
544 is indeed an ELF file before dealing with --force-dynamic.
545
546 2006-08-02 Petr Salinger <Petr.Salinger@seznam.cz>
547
548 PR binutils/2983
549 * emulparams/elf_x86_64_fbsd.sh (OUTPUT_FORMAT): Define as
550 elf64-x86-64-freebsd.
551
552 2006-08-01 H.J. Lu <hongjiu.lu@intel.com>
553
554 * ldlang.c (init_os): Add flags. Replace bfd_make_section with
555 bfd_make_section_with_flags.
556 (exp_init_os): Updated.
557 (lang_add_section): Call init_os with flags.
558 (map_input_to_output_sections): Likewise.
559
560 2006-07-29 Richard Sandiford <richard@codesourcery.com>
561
562 * Makefile.am (eelf32b4300.c): Update dependencies.
563 (eelf32bmip.c): Likewise.
564 (eelf32bsmip.c): Likewise.
565 (eelf32btsmip.c): Likewise.
566 (eelf32btsmipn32.c): Likewise.
567 (eelf32ltsmip.c): Likewise.
568 (eelf32ltsmipn32.c): Likewise.
569 (eelf32ebmip.c): Likewise.
570 (eelf32ebmipvxworks.c): Likewise.
571 (eelf32elmip.c): Likewise.
572 (eelf32elmipvxworks.c): Likewise.
573 (eelf32bmipn32.c): Likewise.
574 (eelf32lmip.c): Likewise.
575 (eelf32mipswindiss.c): Likewise.
576 (eelf32lsmip.c): Likewise.
577 (eelf64bmip.c): Likewise.
578 (eelf64btsmip.c): Likewise.
579 (eelf64ltsmip.c): Likewise.
580 (emipsbig.c): Likewise. Canonicalize ${GENSCRIPTS} line.
581 (emipsbsd.c): Likewise.
582 (emipsidt.c): Update dependencies.
583 (emipsidtl.c): Likewise.
584 (emipslit.c): Likewise.
585 (emipslnews.c): Likewise.
586 (emipspe.c): Likewise. Fix ${GENSCRIPTS} invocation.
587 * Makefile.in: Regenerate.
588 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define.
589 * emulparams/elf32bmipn32-defs.sh (EXTRA_EM_FILE): Likewise.
590 * emultempl/irix.em: Include emultempl/mipself.em.
591 * emultempl/mipself.em: New file.
592
593 2006-07-26 Alan Modra <amodra@bigpond.net.au>
594
595 * emultempl/elf-generic.em (map_segments): Reorganise loop so that
596 layout happens before segment map. Don't do segment map on
597 relocatable link.
598
599 2006-07-26 Alan Modra <amodra@bigpond.net.au>
600
601 * ldexp.c (fold_name <LOADADDR>): Use the lma.
602 * ldlang.h (lang_memory_region_type): Delete old_length. Add
603 last_os.
604 * ldlang.c (lang_memory_region_lookup): Init new field.
605 (lang_reset_memory_regions): Reset new field.
606 (lang_insert_orphan): Don't set load_base.
607 (lang_leave_overlay): Likewise.
608 (lang_size_sections_1): Delete unnecessary code setting lma_region
609 to region. Correct lma region check.
610 (lang_do_assignments_1): Rename output_section_statement parm
611 to current_os. Set lma from previous section in region.
612
613 * ldlang.c: Formatting.
614
615 2006-07-25 Bob Wilson <bob.wilson@acm.org>
616
617 * emultempl/xtensaelf.em (xtensa_strip_inconsistent_linkonce_sections):
618 Set discarded section's output_section to bfd_abs_section_ptr.
619
620 2006-07-26 Alan Modra <amodra@bigpond.net.au>
621
622 * ldlang.c (analyze_walk_wild_section_handler): Init handler_data
623 earlier.
624
625 2006-07-24 Bob Wilson <bob.wilson@acm.org>
626
627 * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Add space
628 in dep_sec_name for null terminator. Make sure dep_sec_name has a
629 ".t" linkonce tag.
630
631 2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
632
633 * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME):
634 Set for *-*-solaris2*.
635
636 2006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de>
637
638 * ld.texinfo: Fix spelling mistakes.
639 * ldint.texinfo: Likewise.
640
641 2006-07-23 Sonal Santan <sonal.santan@xilinx.com>
642
643 * ldlang.c (lang_section_bst): New structure for sorting sections
644 by name.
645 (wild_sort_fast): New function: Insert a section into a binary
646 search tree.
647 (output_section_callback_fast): New function: Store a section in
648 BST.
649 (output_section_callback_tree_to_list): New function: Convert a
650 BST into a list.
651 (analyze_walk_wild_section_handler): Initialize handler_data
652 elements.
653 (wild): If the data is sorted by name use the BST method to sort
654 the names.
655
656 2006-07-19 Alan Modra <amodra@bigpond.net.au>
657
658 * ld.h (handle_asneeded_cref): Declare.
659 * ldcref.c: Include objalloc.h.
660 (old_table, old_count, old_tab, alloc_mark): New variables.
661 (tabsize, entsize, refsize, old_symcount): Likewise.
662 (add_cref): Use bfd_hash_allocate for refs.
663 (handle_asneeded_cref): New function.
664 * ldmain.c (notice): Call handle_asneeded_cref for NULL name.
665
666 2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
667
668 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
669 typo setting targ_extra_libpath.
670
671 2006-07-10 Jakub Jelinek <jakub@redhat.com>
672
673 * scripttempl/elf.sc: Add .gnu.hash section.
674 * emultempl/elf32.em (OPTION_HASH_STYLE): Define.
675 (gld${EMULATION_NAME}_add_options): Register --hash-style option.
676 (gld${EMULATION_NAME}_handle_option): Handle it.
677 (gld${EMULATION_NAME}_list_options): Document it.
678 * ldmain.c (main): Initialize emit_hash and emit_gnu_hash.
679 * ld.texinfo: Document --hash-style option.
680
681 2006-07-10 Nick Clifton <nickc@redhat.com>
682
683 * po/zh_TW.po: New Chinese (traditional) translation.
684 * configure.in (ALL_LINGUAS): Add zh_TW.
685 * configure: Regenerate.
686
687 2006-07-07 Nick Clifton <nickc@redhat.com>
688
689 PR ld/2874
690 * ld.texinfo: Remove "Using LD" from the title since it is
691 redundant.
692
693 2006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
694
695 PR ld/2877
696 * ld.texinfo: Fix spelling mistakes.
697
698 2006-06-27 Pedro Alves <pedro_alves@portugalmail.pt>
699 Nick Clifton <nickc@redhat.com>
700
701 * emultempl/pe.em (gld_$_open_dynamic_archive): Compute maximum
702 length of format strings in the libname_fmt[] array, rather than
703 relying upon a statically chosen value. Adjust xmalloc call to
704 use this longest length.
705
706 2006-06-27 Nick Clifton <nickc@redhat.com>
707
708 * ld.texinfo (-rpath-link): Clarify distinction between -rpath and
709 -rpath-link.
710
711 2006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
712
713 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set
714 targ_extra_libpath.
715
716 2006-06-23 Pedro Alves <pedro_alves@portugalmail.pt>
717
718 * pe-dll.c (pe_details_type): Add new pointer for symbols list
719 autofilter.
720 (autofilter_symbollist): Split into autofilter_symbollist_generic
721 and autofilter_symbollist_i386.
722 (pe_detail_list): Add autofilter_symbollist_i386 to i386 case and
723 autofilter_symbollist_generic for all the others.
724 (autofilter_symbolprefixlist): Moved _fmode, _impure_ptr, cygwin_attach_dll,
725 cygwin_premain0, cygwin_premain1, cygwin_premain2, cygwin_premain3, environ,
726 into autofilter_symbollist_i386.
727 (auto_export): Get autofilter_symbollist from pe_details.
728
729 2006-06-22 Nick Clifton <nickc@redhat.com>
730
731 PR ld/2757
732 * emultempl/pe.em (gld_$_after_open): When reporting non PE format
733 output files mention the file name and the fact that it is an
734 output file.
735
736 2006-06-22 Danny Smith <dannysmith@users.sourceforge.net>
737
738 * emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive):
739 Restructure. Add native "%s.lib" format to search list
740 * ld.texinfo (node WIN32): Update documentation on dynamic lib
741 search order. Add another reason for using import libs.
742
743 2006-06-21 Mark Shinwell <shinwell@codesourcery.com>
744
745 * ldlang.c (lang_insert_orphan): Correctly handle the case where
746 the section is to end up after the section currently at the end
747 of the list in output_bfd.
748
749 2006-06-21 Hans-Peter Nilsson <hp@bitrange.com>
750
751 * emultempl/mmo.em: Improve comments. Explain why there's
752 ELF-stuff here.
753
754 2006-06-21 Alan Modra <amodra@bigpond.net.au>
755
756 * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Limit
757 loop to ten iterations. Throw away any previous linker generated
758 segment map.
759 * ldlang.c (lang_phdr_list): Make global.
760 * ldlang.h (lang_phdr_list): Declare.
761 * Makefile.am (ELF_GEN_DEPS): Define. Use in emul deps.
762 * Makefile.in: Regenerate.
763
764 2006-06-20 Alan Modra <amodra@bigpond.net.au>
765
766 * Makefile.am (ELF_DEPS): Define. Use in emul file deps. Fix
767 many ELF emul file deps that incorrectly said they needed elf32.em
768 instead of generic.em. Add genelf.em as required.
769 * Makefile.in: Regenerate.
770 * ldlang.c (lang_process): Call ldemul_finish before
771 lang_check_section_addresses.
772 * emulparams/arcelf.sh: Generic elf target needs genelf.
773 * emulparams/d30v_e.sh: Likewise.
774 * emulparams/d30v_o.sh: Likewise.
775 * emulparams/d30velf.sh: Likewise.
776 * emulparams/elf32_dlx.sh: Likewise.
777 * emulparams/elf32_i860.sh: Likewise.
778 * emulparams/elf32fr30.sh: Likewise.
779 * emulparams/elf32frv.sh: Likewise.
780 * emulparams/elf32iq10.sh: Likewise.
781 * emulparams/elf32iq2000.sh: Likewise.
782 * emulparams/elf32mt.sh: Likewise.
783 * emulparams/mn10200.sh: Likewise.
784 * emulparams/or32.sh: Likewise.
785 * emulparams/or32elf.sh: Likewise.
786 * emulparams/pjelf.sh: Likewise.
787 * emulparams/msp430all.sh: Likewise. Extract common entries.
788 * emulparams/pjlelf.sh: Include pjelf.sh.
789 * emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset.
790 * emulparams/mn10300.sh (EXTRA_EM_FILE): Unset.
791 * emultempl/elf-generic.em: New file.
792 * emultempl/genelf.em: New file.
793 * emultempl/elf32.em: Include elf-generic.em.
794 (gld${EMULATION_NAME}_layout_sections_again): Delete.
795 (gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments.
796 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
797 (gld${EMULATION_NAME}_finish): Rename from hppaelf_finish. Call
798 gld${EMULATION_NAME}_map_segments.
799 (LDEMUL_FINISH): Update.
800 * emultempl/mmo.em: Correct comment. Include elf-bfd.h and
801 source elf-generic.em.
802 (mmo_finish): Call gld${EMULATION_NAME}_map_segments.
803 * emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
804 (gld${EMULATION_NAME}_finish): Rename from ppc_finish. Call
805 gld${EMULATION_NAME}_map_segments.
806 (LDEMUL_FINISH): Update.
807
808 2006-06-19 Alan Modra <amodra@bigpond.net.au>
809
810 * ldexp.c (fold_name): Adjust bfd_sizeof_headers call.
811
812 2006-06-14 Kevin F. Quinn <kevquinn@gentoo.org>
813
814 * ld.texinfo: Document new -z lazy option.
815 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
816 new option.
817 (gld${EMULATION_NAME}_list_options): Update help text.
818
819 2006-06-12 Fred Fish <fnf@specifix.com>
820
821 * emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the
822 ".mdebug.<abi>" and ".gcc_compiled_long<size>" sections
823 generated by mips gcc.
824
825 2006-06-12 Thiemo Seufer <ths@mips.com>
826
827 * emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE):
828 Define.
829
830 2006-06-09 Alan Modra <amodra@bigpond.net.au>
831
832 * ldlang.h (lang_input_statement_type): Use bitfields for booleans.
833 * ldlang.c (struct out_section_hash_entry): Rename from
834 output_statement_hash_entry. Delete output_section_statement_type
835 entry. Add statement_union_type entry. Adjust all users.
836 (output_section_statement_table): Rename from output_statement_table.
837 Adjust all users.
838 (output_section_statement_newfunc): Rename from
839 output_statement_newfunc. Adjust all users.
840 (output_section_statement_table_init): Rename from
841 output_statement_table_init. Adjust all users.
842 (output_section_statement_table_free): Rename from
843 output_statement_table_free. Adjust all users.
844
845 2006-06-07 Joseph S. Myers <joseph@codesourcery.com>
846
847 * po/Make-in (pdf, ps): New dummy targets.
848
849 2006-06-07 Alan Modra <amodra@bigpond.net.au>
850
851 * ldlang.h (enum section_type): Delete dsect_section, copy_section,
852 info_section and overlay_section. Add noalloc_section.
853 * ldlang.c (lang_add_section): Adjust.
854 * ldgram.y (type): Adjust.
855
856 2006-06-06 Alan Modra <amodra@bigpond.net.au>
857
858 * ldlang.c (init_os): Whitespace.
859 (map_input_to_output_sections): Don't init_os for lang_input_section.
860 (print_all_symbols): Remove forward declaration. Convert to ISO C.
861
862 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
863
864 * po/Make-in (top_builddir): Define.
865
866 2006-06-05 Alan Modra <amodra@bigpond.net.au>
867
868 * ldexp.c (exp_get_abs_int): Make error message the same as
869 others emitted in this file.
870
871 2006-06-05 Alan Modra <amodra@bigpond.net.au>
872
873 * config.in: Regenerate.
874
875 2006-06-05 Alan Modra <amodra@bigpond.net.au>
876
877 * ldlang.c (lookup_name): Delete dead code. Remove FIXMEs.
878
879 2006-06-03 Alan Modra <amodra@bigpond.net.au>
880
881 * emultempl/elf32.em (global_found): Make it a pointer.
882 (stat_needed, try_needed): Adjust.
883 (check_needed): Don't skip non-loaded as-needed entries. Only
884 consider entries with both filename and the_bfd non-null.
885 (after_open): Try loading non-loaded as-needed libs to satisfy
886 DT_NEEDED libs.
887
888 2006-06-02 Joseph S. Myers <joseph@codesourcery.com>
889
890 * Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
891 * Makefile.in: Regenerate.
892
893 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
894
895 * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
896 and LIBINTL_DEP everywhere.
897 (INTLLIBS): Remove.
898 (INCLUDES): Use @INCINTL@.
899 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
900 Remove local code for po/Makefile.
901 * Makefile.in, configure: Regenerated.
902
903 2006-05-30 H.J. Lu <hongjiu.lu@intel.com>
904
905 * emulparams/arcelf.sh (MAXPAGESIZE): Changed to
906 "CONSTANT (MAXPAGESIZE)".
907 * emulparams/armelf_nbsd.sh: Likewise.
908 * emulparams/armelf_vxworks.sh: Likewise.
909 * emulparams/armnto.sh: Likewise.
910 * emulparams/armsymbian.sh: Likewise.
911 * emulparams/crislinux.sh: Likewise.
912 * emulparams/elf32_i860.sh: Likewise.
913 * emulparams/elf32_i960.sh: Likewise.
914 * emulparams/elf32am33lin.sh: Likewise.
915 * emulparams/elf32bfinfd.sh: Likewise.
916 * emulparams/elf32bmipn32-defs.sh: Likewise.
917 * emulparams/elf32frvfd.sh: Likewise.
918 * emulparams/elf32i370.sh: Likewise.
919 * emulparams/elf32lppcnto.sh: Likewise.
920 * emulparams/elf32mcore.sh: Likewise.
921 * emulparams/elf32openrisc.sh: Likewise.
922 * emulparams/elf32ppcnto.sh: Likewise.
923 * emulparams/elf32ppcwindiss.sh: Likewise.
924 * emulparams/elf32vax.sh: Likewise.
925 * emulparams/elf32xc16x.sh: Likewise.
926 * emulparams/elf32xc16xl.sh: Likewise.
927 * emulparams/elf32xc16xs.sh: Likewise.
928 * emulparams/elf64_aix.sh: Likewise.
929 * emulparams/elf64hppa.sh: Likewise.
930 * emulparams/elf64mmix.sh: Likewise.
931 * emulparams/elf_i386_be.sh: Likewise.
932 * emulparams/elf_i386_chaos.sh: Likewise.
933 * emulparams/elf_i386_ldso.sh: Likewise.
934 * emulparams/hppa64linux.sh: Likewise.
935 * emulparams/hppalinux.sh: Likewise.
936 * emulparams/hppaobsd.sh: Likewise.
937 * emulparams/i386lynx.sh: Likewise.
938 * emulparams/i386moss.sh: Likewise.
939 * emulparams/i386nto.sh: Likewise.
940 * emulparams/i386nw.sh: Likewise.
941 * emulparams/m32relf_linux.sh: Likewise.
942 * emulparams/m68kpsos.sh: Likewise.
943 * emulparams/or32elf.sh: Likewise.
944 * emulparams/pjelf.sh: Likewise.
945 * emulparams/pjlelf.sh: Likewise.
946 * emulparams/ppclynx.sh: Likewise.
947 * emulparams/ppcnw.sh: Likewise.
948 * emulparams/shelf32_nbsd.sh : Likewise.
949 * emulparams/shelf_nbsd.sh: Likewise.
950 * emulparams/shelf_nto.sh: Likewise.
951 * emulparams/shlelf_nto.sh: Likewise.
952 * emulparams/xtensa-config.sh: Likewise.
953
954 * emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to
955 "CONSTANT (MAXPAGESIZE)".
956 (COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)".
957 * emulparams/elf32_sparc.sh: Likewise.
958 * emulparams/elf32bmip.sh: Likewise.
959 * emulparams/elf32ppccommon.sh: Likewise.
960 * emulparams/elf64_ia64.sh: Likewise.
961 * emulparams/elf64_s390.sh: Likewise.
962 * emulparams/elf64_sparc.sh: Likewise.
963 * emulparams/elf64alpha.sh: Likewise.
964 * emulparams/elf64ppc.sh: Likewise.
965 * emulparams/elf_i386.sh: Likewise.
966 * emulparams/elf_i386_vxworks.sh: Likewise.
967 * emulparams/elf_s390.sh: Likewise.
968 * emulparams/elf_x86_64.sh: Likewise.
969 * emulparams/shlelf32_linux.sh: Likewise.
970 * emulparams/shlelf_linux.sh: Likewise.
971
972 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to
973 "CONSTANT (COMMONPAGESIZE)".
974 * emulparams/elf32btsmipn32.sh: Likewise.
975
976 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
977 "-z max-page-size=" and "-z common-page-size=".
978 (gld${EMULATION_NAME}_list_options): Likewise.
979
980 * ld.h (ld_config_type): Add maxpagesize and commonpagesize.
981
982 * ld.texinfo: Document "-z max-page-size=" and
983 "-z common-page-size=".
984
985 * ldexp.c (exp_print_token): Handle CONSTANT.
986 (fold_name): Likewise.
987 * ldgram.y: Likewise.
988 * ldlex.l: Likewise.
989
990 * ldmain.c (main): Initiliaze config.maxpagesize and
991 config.commonpagesize. Call bfd_emul_set_maxpagesize if
992 config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if
993 config.commonpagesize config.maxpagesize isn't 0.
994
995 2006-05-30 Nick Clifton <nickc@redhat.com>
996
997 * po/es.po: Updated Spanish translation.
998
999 2006-05-25 H.J. Lu <hongjiu.lu@intel.com>
1000
1001 * emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000.
1002
1003 2006-05-24 H.J. Lu <hongjiu.lu@intel.com>
1004
1005 PR ld/1485
1006 * configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit
1007 bfd. Support 64bit host for --enable-targets=all.
1008 * configure: Regenerated.
1009
1010 2006-05-24 Nick Clifton <nickc@redhat.com>
1011
1012 * po/vi.po: Updated Vietnamese translation.
1013
1014 2006-05-24 Bjoern Haase <bjoern.m.haase@web.de>
1015
1016 * configure.tgt: Add avr6 to emulation list.
1017 * Makefile.am: Add eavr6.o and corresponding rule.
1018 * Makefile.in: Regenerate.
1019 * emulparams/avr6.sh: New file.
1020 * emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic
1021 for target option support.
1022 (EXTRA_EM_FILE): Add reference to new em template file avrelf.
1023 * scripttempl/avr.sc: Add ".trampolines" section.
1024 * emultempl/avrelf.em: Add new file for target specific options.
1025
1026 2006-05-22 Nick Clifton <nickc@redhat.com>
1027
1028 * scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
1029
1030 2006-05-19 Alan Modra <amodra@bigpond.net.au>
1031
1032 * ldlang.c (lang_size_sections_1): Don't check mem regions for
1033 os->ignored sections.
1034
1035 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
1036
1037 * ldlang.c (lang_size_sections): Call lang_reset_memory_regions
1038 before redoing one_lang_size_sections_pass.
1039
1040 2006-05-11 Carlos O'Donell <carlos@codesourcery.com>
1041
1042 * ld.texinfo: Rename "Index" to "LD Index"
1043
1044 2006-05-11 Pedro Alves <pedro_alves@portugalmail.pt>
1045
1046 * pe-dll.c (autofilter_symbollist): Add Dllmain,
1047 DllMainCRTStartup, _DllMainCRTStartup and .text.
1048 (autofilter_liblist): Add libcegcc.
1049 (autofilter_symbolprefixlist): Add __imp_ and .idata$.
1050 (generate_reloc): Do not skip sections without a SEC_LOAD flag,
1051 they can still contain relocs that need processing.
1052 Skip the .idata$6 section.
1053 (jmp_arm_bytes): New array: Contains byte codes for an ARM jump.
1054 (make_one): Use the new array.
1055 (make_import_fixup_entry): Use .idata$2 instead of .idata$3.
1056 * emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe.
1057
1058 2006-05-05 Alan Modra <amodra@bigpond.net.au>
1059
1060 * ld.texinfo: Document PowerPC and PowerPC64 options.
1061 * gen-doc.texi: Enable.
1062
1063 2006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
1064
1065 * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty.
1066 (TEXI2POD): Use AM_MAKEINFOFLAGS.
1067 (configdoc.texi): Don't set top_srcdir.
1068 * ld.texinfo: Don't use top_srcdir.
1069 * aclocal.m4, Makefile.in: Regenerated.
1070
1071 2006-04-19 Alan Modra <amodra@bigpond.net.au>
1072
1073 * ldlang.c (wild): Tidy default_common_section loop.
1074 (print_input_section): Format.
1075
1076 * configure: Regenerate.
1077
1078 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
1079
1080 * po/POTFILES.in: Regenerated.
1081
1082 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
1083
1084 * config.in: Regenerated.
1085
1086 2006-04-14 David Heine <dlheine@tensilica.com>
1087 Bob Wilson <bob.wilson@acm.org>
1088
1089 * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
1090 function to strip inconsistent linkonce sections.
1091 (input_section_linked_worker, input_section_linked): New.
1092 (is_inconsistent_linkonce_section): New.
1093 (xtensa_strip_inconsistent_linkonce_sections): New.
1094
1095 2006-04-11 Diego Pettenò <flameeyes@gentoo.org>
1096
1097 * emultempl/elf32.em: Add support for elf-hints.h on FreeBSD
1098 and Dragonfly targets.
1099 * configure.in (AC_CHECK_HEADERS): Add elf-hints.h.
1100 * Makefile.am (HFILES): Add elf-hints-local.h.
1101 * elf-hints-local.h: New file.
1102 * Makefile.in: Regenerate.
1103 * configure: Regenerate.
1104
1105 2006-04-07 Bernhard Fischer <aldot@gcc.gnu.org>
1106
1107 * ld.texinfo: Fix typo in documentation of --check-sections.
1108
1109 2006-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1110
1111 * ldlang.c (load_symbols): Set as_needed and add_needed according
1112 to the corresponding script's fields while processing it.
1113
1114 2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
1115
1116 * Makefile.am: Add install-html, install-html-am, and
1117 install-html-recursive targets.
1118 * Makefile.in: Regenerate.
1119 * configure.in: AC_SUBST datarootdir, docdir, htmldir.
1120 * configure: Regenerate.
1121 * po/Make-in: Add install-html target.
1122
1123 2006-04-06 H.J. Lu <hongjiu.lu@intel.com>
1124
1125 * emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove
1126 link_info.need_relax_finalize.
1127
1128 * ldlang.c (relax_sections): New.
1129 (lang_process): Use. Call relax_sections link_info.relax_pass
1130 times.
1131
1132 * ldmain.c (main): Set link_info.relax_pass to 1. Remove
1133 link_info.need_relax_finalize.
1134
1135 2006-04-05 Alan Modra <amodra@bigpond.net.au>
1136
1137 * Makefile.am (GENSCRIPTS): Pass prefix.
1138 * Makefile.in: Regenerate.
1139 * genscripts.sh: Adjust for extra parameter.
1140 * emultempl/elf32.em (parse_ld_so_conf): Return true iff file
1141 exists.
1142 (check_ld_so_conf): Use ${prefix}/etc/ld.so.conf if it exists.
1143 * NEWS: Update.
1144
1145 2006-04-05 Richard Sandiford <richard@codesourcery.com>
1146 Daniel Jacobowitz <dan@codesourcery.com>
1147
1148 * configure.tgt (sparc*-*-vxworks*): New stanza.
1149 * emulparams/elf32_sparc_vxworks.sh: New file.
1150 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o.
1151 (eelf32_sparc_vxworks.c): New rule.
1152 * Makefile.in: Regenerate.
1153
1154 2006-04-04 Eric Botcazou <ebotcazou@adacore.com>
1155
1156 * ldlang.c (lang_map): Print the list of discarded input sections.
1157 (print_input_section): Change parameter and print zero-sized sections.
1158 (print_statement): Adjust call to print_input_section.
1159
1160 2006-04-01 Danny Smith <dannysmith@users.sourceforge.net>
1161
1162 * deffilep.y (def_image_name): If LIBRARY or NAME statement
1163 specifies an empty string, retain the name specified on command
1164 line.
1165 * ld.texinfo: Document above.
1166
1167 2006-03-31 Jakub Jelinek <jakub@redhat.com>
1168
1169 * ldmisc.c (vfinfo): Revert 2005-10-05 changes. If
1170 bfd_find_nearest_line succeeded for %C or %D, but filename
1171 is NULL, print section+offset at the end.
1172
1173 2006-03-25 Bernd Schmidt <bernd.schmidt@analog.com>
1174
1175 * emulparams/elf32bfinfd.sh: New file.
1176 * emultempl/bfin.em: Delete.
1177 * emulparams/bfin.sh: Lose reference to bfin.em.
1178 * Makefile.am (eelf32bfin.c): Likewise.
1179 (eelf32bfinfd.c): New.
1180 * Makefile.in: Regenerate.
1181 * configure.tgt (bfin-*-elf, bfin-*-uclinux): Add elf32bfinfd to
1182 targ_extra_emuls.
1183
1184 2006-03-22 Richard Sandiford <richard@codesourcery.com>
1185 Daniel Jacobowitz <dan@codesourcery.com>
1186 Phil Edwards <phil@codesourcery.com>
1187 Zack Weinberg <zack@codesourcery.com>
1188 Mark Mitchell <mark@codesourcery.com>
1189 Nathan Sidwell <nathan@codesourcery.com>
1190
1191 * configure.tgt (mips*el-*-vxworks*, mips*-*-vxworks*): Use
1192 separate VxWorks emulations.
1193 * emulparams/elf32ebmipvxworks.sh: New file.
1194 * emulparams/elf32elmipvxworks.sh: New file.
1195 * Makefile.am (ALL_EMULATIONS): Add eelf32ebmipvxworks.o and
1196 eelf32elmipvxworks.o.
1197 (eelf32ebmipvxworks.c, eelf32elmipvxworks.c): New rules.
1198 * Makefile.in: Regenerate.
1199
1200 2006-03-16 Alan Modra <amodra@bigpond.net.au>
1201
1202 PR 2434
1203 * ldcref.c (add_cref): Adjust bfd_hash_table_init calls.
1204 * ldlang.c (output_statement_table_init, lang_init): Likewise.
1205 * ldmain.c (add_ysym, add_wrap, add_keepsyms_file): Likewise.
1206 (undefined_symbol): Likewise.
1207
1208 2006-03-07 Richard Sandiford <richard@codesourcery.com>
1209 Daniel Jacobowitz <dan@codesourcery.com>
1210 Zack Weinberg <zack@codesourcery.com>
1211 Nathan Sidwell <nathan@codesourcery.com>
1212 Paul Brook <paul@codesourcery.com>
1213 Ricardo Anguiano <anguiano@codesourcery.com>
1214 Phil Edwards <phil@codesourcery.com>
1215
1216 * emulparams/armelf_vxworks.sh: Include vxworks.sh.
1217 (MAXPAGESIZE): Define.
1218 * emulparams/vxworks.sh: Undefine EMBEDDED.
1219 * Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em.
1220 * Makefile.in: Regenerate.
1221
1222 2006-03-03 Bjoern Haase <bjoern.m.haase@web.de>
1223
1224 * scripttempl/avr.sc: Add *(.jumptables) *(.lowtext) sections.
1225 Add KEEP() directives.
1226 Add *(.data*) *(.rodata) and *(.rodata*) and *(.bss*) to .data and
1227 .bss output sections.
1228
1229 2006-03-03 Richard Sandiford <richard@codesourcery.com>
1230
1231 * emulparams/vxworks.sh (VXWORKS_BASE_EM_FILE): New variable.
1232 (EXTRA_EM_FILE): Define.
1233 * emultempl/vxworks.em: New file.
1234 * ld.texinfo (--force-dynamic): Document.
1235 * Makefile.am (eelf32ppcvxworks.cm, eelf_i386_vxworks.c): Depend
1236 on vxworks.em.
1237 * Makefile.in: Regenerate.
1238
1239 2006-03-02 Richard Sandiford <richard@codesourcery.com>
1240
1241 * emulparams/elf32ppccommon.sh: New file, extracted from...
1242 * emulparams/elf32ppc.sh: ...here.
1243 * emulparams/elf32ppcvxworks.sh: Include elf32ppccommon.sh
1244 instead of elf32ppc.sh.
1245 (BSS_PLT): Remove override.
1246 * Makefile.am (eelf32lppc.c): Depend on elf32ppccommons.h.
1247 (eelf32lppcnto.c, eelf32lppcsim.c, eelf32ppcnto.c): Likewise.
1248 (eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppcsimm): Likewise.
1249 (eelf32ppclinux.c): Likewise.
1250 (eelf32ppcvxworks.c): Likewise. Add missing vxworks.sh dependency.
1251 * Makefile.in: Regenerate.
1252
1253 2006-02-27 Carlos O'Donell <carlos@codesourcery.com>
1254
1255 * Makefile.am: Add html target.
1256 * Makefile.in: Regenerate.
1257 * po/Make-in: Add html target.
1258
1259 2006-02-17 Shrirang Khisti <shrirangk@kpitcummins.com>
1260 Anil Paranjape <anilp1@kpitcummins.com>
1261 Shilin Shakti <shilins@kpitcummins.com>
1262
1263 * scripttemp/elf32xc16x.sc: Default linker script for tiny model.
1264 * scripttemp/elf32xc16xl.sc: Default linker script for large model.
1265 * scripttemp/elf32xc16xs.sc: Default linker script for small model.
1266 * emulparams/elf32xc16x.sh: Emulation script for tiny model.
1267 * emulparams/elf32xc16xl.sh: Emulation script for large model.
1268 * emulparams/elf32xc16xs.sh: Emulation script for small model.
1269 * Makefile.am: Add entry to make xc16x target.
1270 * Makefile.in: Regenerate.
1271 * configure.tgt: Specify default and other emulation parameters
1272 for xc16x.
1273 * NEWS: Announce the support for the new target.
1274
1275 2006-02-16 Nick Hudson <nick.hudson@dsl.pipex.com>
1276
1277 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
1278 Use the traditional target.
1279
1280 2006-02-13 Joseph S. Myers <joseph@codesourcery.com>
1281
1282 * configure.tgt (arm*b-*-linux-gnueabi): Change to
1283 arm*b-*-linux-*eabi.
1284 (arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
1285
1286 2006-02-08 H.J. Lu <hongjiu.lu@intel.com>
1287
1288 PR ld/2290
1289 * NEWS: Updated for the Linux linker search order change.
1290
1291 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call
1292 gld${EMULATION_NAME}_check_ld_so_conf before checking default
1293 search directories for DT_NEEDED entries.
1294
1295 2006-02-07 Paul Brook <paul@codesourcery.com>
1296
1297 * emultempl/armelf.em: Include elf/arm.h.
1298 (arm_elf_finish): Set low address bit if enty point is a Thumb
1299 function.
1300
1301 2006-02-01 Danny Smith <dannysmith@users.sourceforge.net>
1302
1303 * deffilep.y (def_image_name): If the image name does not have
1304 a suffix, append the default.
1305 * ld.texinfo: Document NAME, LIBRARY usage in PE-COFF .def files.
1306
1307 2006-01-31 Danny Smith dannysmith@users.sourceforge.net
1308
1309 * NEWS: Mention support for forward exports in PE-COFF dll's.
1310 * ld.texinfo: Expand documentation of EXPORT statements in
1311 PE-COFF .def files.
1312
1313 2006-01-31 Filip Navara <navaraf@reactos.com>
1314
1315 * deffile.h (struct def_file_export): Add field flag_forward.
1316 * pe-dll.c (process_def_file): Check for forward exports.
1317 (generate_edata): Generate forward export symbols.
1318 (fill_edata): Emit them.
1319
1320 * pe-dll.c (process_def_file): Don't crash on malformed
1321 fastcall symbol names in .def file.
1322
1323 2006-01-30 Nick Clifton <nickc@redhat.com>
1324
1325 * po/vi.po: Updated Vietnamese translation.
1326
1327 2006-01-27 Yitzchak Scott-Thoennes <sthoenna@efn.org>
1328
1329 * pe-dll.c (pe_dll_generate_implib): Issue "Creating library
1330 file:" as informational message, not a warning.
1331
1332 2006-01-18 Roger Sayle <roger@eyesopen.com>
1333
1334 * emultempl/irix.em: Use lbasename instead of basename.
1335
1336 2006-01-16 Nick Clifton <nickc@redhat.com>
1337
1338 * po/zh_CN.po: New Chinese (simplified) translation.
1339 * configure.in (ALL_LINGUAS): Add "zh_CH".
1340 * configure: Regenerate.
1341
1342 2006-01-16 Bernhard Fischer <aldot@gcc.gnu.org>
1343
1344 * ld.texinfo (Options): Fix typo.
1345
1346 For older changes see ChangeLog-2005
1347 \f
1348 Local Variables:
1349 mode: change-log
1350 left-margin: 8
1351 fill-column: 74
1352 version-control: never
1353 End:
This page took 0.055867 seconds and 4 git commands to generate.