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