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