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