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