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