1 2006-08-01 H.J. Lu <hongjiu.lu@intel.com>
3 * ldlang.c (init_os): Add flags. Replace bfd_make_section with
4 bfd_make_section_with_flags.
5 (exp_init_os): Updated.
6 (lang_add_section): Call init_os with flags.
7 (map_input_to_output_sections): Likewise.
9 2006-07-29 Richard Sandiford <richard@codesourcery.com>
11 * Makefile.am (eelf32b4300.c): Update dependencies.
12 (eelf32bmip.c): Likewise.
13 (eelf32bsmip.c): Likewise.
14 (eelf32btsmip.c): Likewise.
15 (eelf32btsmipn32.c): Likewise.
16 (eelf32ltsmip.c): Likewise.
17 (eelf32ltsmipn32.c): Likewise.
18 (eelf32ebmip.c): Likewise.
19 (eelf32ebmipvxworks.c): Likewise.
20 (eelf32elmip.c): Likewise.
21 (eelf32elmipvxworks.c): Likewise.
22 (eelf32bmipn32.c): Likewise.
23 (eelf32lmip.c): Likewise.
24 (eelf32mipswindiss.c): Likewise.
25 (eelf32lsmip.c): Likewise.
26 (eelf64bmip.c): Likewise.
27 (eelf64btsmip.c): Likewise.
28 (eelf64ltsmip.c): Likewise.
29 (emipsbig.c): Likewise. Canonicalize ${GENSCRIPTS} line.
30 (emipsbsd.c): Likewise.
31 (emipsidt.c): Update dependencies.
32 (emipsidtl.c): Likewise.
33 (emipslit.c): Likewise.
34 (emipslnews.c): Likewise.
35 (emipspe.c): Likewise. Fix ${GENSCRIPTS} invocation.
36 * Makefile.in: Regenerate.
37 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define.
38 * emulparams/elf32bmipn32-defs.sh (EXTRA_EM_FILE): Likewise.
39 * emultempl/irix.em: Include emultempl/mipself.em.
40 * emultempl/mipself.em: New file.
42 2006-07-26 Alan Modra <amodra@bigpond.net.au>
44 * emultempl/elf-generic.em (map_segments): Reorganise loop so that
45 layout happens before segment map. Don't do segment map on
48 2006-07-26 Alan Modra <amodra@bigpond.net.au>
50 * ldexp.c (fold_name <LOADADDR>): Use the lma.
51 * ldlang.h (lang_memory_region_type): Delete old_length. Add
53 * ldlang.c (lang_memory_region_lookup): Init new field.
54 (lang_reset_memory_regions): Reset new field.
55 (lang_insert_orphan): Don't set load_base.
56 (lang_leave_overlay): Likewise.
57 (lang_size_sections_1): Delete unnecessary code setting lma_region
58 to region. Correct lma region check.
59 (lang_do_assignments_1): Rename output_section_statement parm
60 to current_os. Set lma from previous section in region.
62 * ldlang.c: Formatting.
64 2006-07-25 Bob Wilson <bob.wilson@acm.org>
66 * emultempl/xtensaelf.em (xtensa_strip_inconsistent_linkonce_sections):
67 Set discarded section's output_section to bfd_abs_section_ptr.
69 2006-07-26 Alan Modra <amodra@bigpond.net.au>
71 * ldlang.c (analyze_walk_wild_section_handler): Init handler_data
74 2006-07-24 Bob Wilson <bob.wilson@acm.org>
76 * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Add space
77 in dep_sec_name for null terminator. Make sure dep_sec_name has a
80 2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
82 * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME):
83 Set for *-*-solaris2*.
85 2006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de>
87 * ld.texinfo: Fix spelling mistakes.
88 * ldint.texinfo: Likewise.
90 2006-07-23 Sonal Santan <sonal.santan@xilinx.com>
92 * ldlang.c (lang_section_bst): New structure for sorting sections
94 (wild_sort_fast): New function: Insert a section into a binary
96 (output_section_callback_fast): New function: Store a section in
98 (output_section_callback_tree_to_list): New function: Convert a
100 (analyze_walk_wild_section_handler): Initialize handler_data
102 (wild): If the data is sorted by name use the BST method to sort
105 2006-07-19 Alan Modra <amodra@bigpond.net.au>
107 * ld.h (handle_asneeded_cref): Declare.
108 * ldcref.c: Include objalloc.h.
109 (old_table, old_count, old_tab, alloc_mark): New variables.
110 (tabsize, entsize, refsize, old_symcount): Likewise.
111 (add_cref): Use bfd_hash_allocate for refs.
112 (handle_asneeded_cref): New function.
113 * ldmain.c (notice): Call handle_asneeded_cref for NULL name.
115 2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
117 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
118 typo setting targ_extra_libpath.
120 2006-07-10 Jakub Jelinek <jakub@redhat.com>
122 * scripttempl/elf.sc: Add .gnu.hash section.
123 * emultempl/elf32.em (OPTION_HASH_STYLE): Define.
124 (gld${EMULATION_NAME}_add_options): Register --hash-style option.
125 (gld${EMULATION_NAME}_handle_option): Handle it.
126 (gld${EMULATION_NAME}_list_options): Document it.
127 * ldmain.c (main): Initialize emit_hash and emit_gnu_hash.
128 * ld.texinfo: Document --hash-style option.
130 2006-07-10 Nick Clifton <nickc@redhat.com>
132 * po/zh_TW.po: New Chinese (traditional) translation.
133 * configure.in (ALL_LINGUAS): Add zh_TW.
134 * configure: Regenerate.
136 2006-07-07 Nick Clifton <nickc@redhat.com>
139 * ld.texinfo: Remove "Using LD" from the title since it is
142 2006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
145 * ld.texinfo: Fix spelling mistakes.
147 2006-06-27 Pedro Alves <pedro_alves@portugalmail.pt>
148 Nick Clifton <nickc@redhat.com>
150 * emultempl/pe.em (gld_$_open_dynamic_archive): Compute maximum
151 length of format strings in the libname_fmt[] array, rather than
152 relying upon a statically chosen value. Adjust xmalloc call to
153 use this longest length.
155 2006-06-27 Nick Clifton <nickc@redhat.com>
157 * ld.texinfo (-rpath-link): Clarify distinction between -rpath and
160 2006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
162 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set
165 2006-06-23 Pedro Alves <pedro_alves@portugalmail.pt>
167 * pe-dll.c (pe_details_type): Add new pointer for symbols list
169 (autofilter_symbollist): Split into autofilter_symbollist_generic
170 and autofilter_symbollist_i386.
171 (pe_detail_list): Add autofilter_symbollist_i386 to i386 case and
172 autofilter_symbollist_generic for all the others.
173 (autofilter_symbolprefixlist): Moved _fmode, _impure_ptr, cygwin_attach_dll,
174 cygwin_premain0, cygwin_premain1, cygwin_premain2, cygwin_premain3, environ,
175 into autofilter_symbollist_i386.
176 (auto_export): Get autofilter_symbollist from pe_details.
178 2006-06-22 Nick Clifton <nickc@redhat.com>
181 * emultempl/pe.em (gld_$_after_open): When reporting non PE format
182 output files mention the file name and the fact that it is an
185 2006-06-22 Danny Smith <dannysmith@users.sourceforge.net>
187 * emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive):
188 Restructure. Add native "%s.lib" format to search list
189 * ld.texinfo (node WIN32): Update documentation on dynamic lib
190 search order. Add another reason for using import libs.
192 2006-06-21 Mark Shinwell <shinwell@codesourcery.com>
194 * ldlang.c (lang_insert_orphan): Correctly handle the case where
195 the section is to end up after the section currently at the end
196 of the list in output_bfd.
198 2006-06-21 Hans-Peter Nilsson <hp@bitrange.com>
200 * emultempl/mmo.em: Improve comments. Explain why there's
203 2006-06-21 Alan Modra <amodra@bigpond.net.au>
205 * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Limit
206 loop to ten iterations. Throw away any previous linker generated
208 * ldlang.c (lang_phdr_list): Make global.
209 * ldlang.h (lang_phdr_list): Declare.
210 * Makefile.am (ELF_GEN_DEPS): Define. Use in emul deps.
211 * Makefile.in: Regenerate.
213 2006-06-20 Alan Modra <amodra@bigpond.net.au>
215 * Makefile.am (ELF_DEPS): Define. Use in emul file deps. Fix
216 many ELF emul file deps that incorrectly said they needed elf32.em
217 instead of generic.em. Add genelf.em as required.
218 * Makefile.in: Regenerate.
219 * ldlang.c (lang_process): Call ldemul_finish before
220 lang_check_section_addresses.
221 * emulparams/arcelf.sh: Generic elf target needs genelf.
222 * emulparams/d30v_e.sh: Likewise.
223 * emulparams/d30v_o.sh: Likewise.
224 * emulparams/d30velf.sh: Likewise.
225 * emulparams/elf32_dlx.sh: Likewise.
226 * emulparams/elf32_i860.sh: Likewise.
227 * emulparams/elf32fr30.sh: Likewise.
228 * emulparams/elf32frv.sh: Likewise.
229 * emulparams/elf32iq10.sh: Likewise.
230 * emulparams/elf32iq2000.sh: Likewise.
231 * emulparams/elf32mt.sh: Likewise.
232 * emulparams/mn10200.sh: Likewise.
233 * emulparams/or32.sh: Likewise.
234 * emulparams/or32elf.sh: Likewise.
235 * emulparams/pjelf.sh: Likewise.
236 * emulparams/msp430all.sh: Likewise. Extract common entries.
237 * emulparams/pjlelf.sh: Include pjelf.sh.
238 * emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset.
239 * emulparams/mn10300.sh (EXTRA_EM_FILE): Unset.
240 * emultempl/elf-generic.em: New file.
241 * emultempl/genelf.em: New file.
242 * emultempl/elf32.em: Include elf-generic.em.
243 (gld${EMULATION_NAME}_layout_sections_again): Delete.
244 (gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments.
245 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
246 (gld${EMULATION_NAME}_finish): Rename from hppaelf_finish. Call
247 gld${EMULATION_NAME}_map_segments.
248 (LDEMUL_FINISH): Update.
249 * emultempl/mmo.em: Correct comment. Include elf-bfd.h and
250 source elf-generic.em.
251 (mmo_finish): Call gld${EMULATION_NAME}_map_segments.
252 * emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
253 (gld${EMULATION_NAME}_finish): Rename from ppc_finish. Call
254 gld${EMULATION_NAME}_map_segments.
255 (LDEMUL_FINISH): Update.
257 2006-06-19 Alan Modra <amodra@bigpond.net.au>
259 * ldexp.c (fold_name): Adjust bfd_sizeof_headers call.
261 2006-06-14 Kevin F. Quinn <kevquinn@gentoo.org>
263 * ld.texinfo: Document new -z lazy option.
264 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
266 (gld${EMULATION_NAME}_list_options): Update help text.
268 2006-06-12 Fred Fish <fnf@specifix.com>
270 * emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the
271 ".mdebug.<abi>" and ".gcc_compiled_long<size>" sections
272 generated by mips gcc.
274 2006-06-12 Thiemo Seufer <ths@mips.com>
276 * emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE):
279 2006-06-09 Alan Modra <amodra@bigpond.net.au>
281 * ldlang.h (lang_input_statement_type): Use bitfields for booleans.
282 * ldlang.c (struct out_section_hash_entry): Rename from
283 output_statement_hash_entry. Delete output_section_statement_type
284 entry. Add statement_union_type entry. Adjust all users.
285 (output_section_statement_table): Rename from output_statement_table.
287 (output_section_statement_newfunc): Rename from
288 output_statement_newfunc. Adjust all users.
289 (output_section_statement_table_init): Rename from
290 output_statement_table_init. Adjust all users.
291 (output_section_statement_table_free): Rename from
292 output_statement_table_free. Adjust all users.
294 2006-06-07 Joseph S. Myers <joseph@codesourcery.com>
296 * po/Make-in (pdf, ps): New dummy targets.
298 2006-06-07 Alan Modra <amodra@bigpond.net.au>
300 * ldlang.h (enum section_type): Delete dsect_section, copy_section,
301 info_section and overlay_section. Add noalloc_section.
302 * ldlang.c (lang_add_section): Adjust.
303 * ldgram.y (type): Adjust.
305 2006-06-06 Alan Modra <amodra@bigpond.net.au>
307 * ldlang.c (init_os): Whitespace.
308 (map_input_to_output_sections): Don't init_os for lang_input_section.
309 (print_all_symbols): Remove forward declaration. Convert to ISO C.
311 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
313 * po/Make-in (top_builddir): Define.
315 2006-06-05 Alan Modra <amodra@bigpond.net.au>
317 * ldexp.c (exp_get_abs_int): Make error message the same as
318 others emitted in this file.
320 2006-06-05 Alan Modra <amodra@bigpond.net.au>
322 * config.in: Regenerate.
324 2006-06-05 Alan Modra <amodra@bigpond.net.au>
326 * ldlang.c (lookup_name): Delete dead code. Remove FIXMEs.
328 2006-06-03 Alan Modra <amodra@bigpond.net.au>
330 * emultempl/elf32.em (global_found): Make it a pointer.
331 (stat_needed, try_needed): Adjust.
332 (check_needed): Don't skip non-loaded as-needed entries. Only
333 consider entries with both filename and the_bfd non-null.
334 (after_open): Try loading non-loaded as-needed libs to satisfy
337 2006-06-02 Joseph S. Myers <joseph@codesourcery.com>
339 * Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
340 * Makefile.in: Regenerate.
342 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
344 * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
345 and LIBINTL_DEP everywhere.
347 (INCLUDES): Use @INCINTL@.
348 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
349 Remove local code for po/Makefile.
350 * Makefile.in, configure: Regenerated.
352 2006-05-30 H.J. Lu <hongjiu.lu@intel.com>
354 * emulparams/arcelf.sh (MAXPAGESIZE): Changed to
355 "CONSTANT (MAXPAGESIZE)".
356 * emulparams/armelf_nbsd.sh: Likewise.
357 * emulparams/armelf_vxworks.sh: Likewise.
358 * emulparams/armnto.sh: Likewise.
359 * emulparams/armsymbian.sh: Likewise.
360 * emulparams/crislinux.sh: Likewise.
361 * emulparams/elf32_i860.sh: Likewise.
362 * emulparams/elf32_i960.sh: Likewise.
363 * emulparams/elf32am33lin.sh: Likewise.
364 * emulparams/elf32bfinfd.sh: Likewise.
365 * emulparams/elf32bmipn32-defs.sh: Likewise.
366 * emulparams/elf32frvfd.sh: Likewise.
367 * emulparams/elf32i370.sh: Likewise.
368 * emulparams/elf32lppcnto.sh: Likewise.
369 * emulparams/elf32mcore.sh: Likewise.
370 * emulparams/elf32openrisc.sh: Likewise.
371 * emulparams/elf32ppcnto.sh: Likewise.
372 * emulparams/elf32ppcwindiss.sh: Likewise.
373 * emulparams/elf32vax.sh: Likewise.
374 * emulparams/elf32xc16x.sh: Likewise.
375 * emulparams/elf32xc16xl.sh: Likewise.
376 * emulparams/elf32xc16xs.sh: Likewise.
377 * emulparams/elf64_aix.sh: Likewise.
378 * emulparams/elf64hppa.sh: Likewise.
379 * emulparams/elf64mmix.sh: Likewise.
380 * emulparams/elf_i386_be.sh: Likewise.
381 * emulparams/elf_i386_chaos.sh: Likewise.
382 * emulparams/elf_i386_ldso.sh: Likewise.
383 * emulparams/hppa64linux.sh: Likewise.
384 * emulparams/hppalinux.sh: Likewise.
385 * emulparams/hppaobsd.sh: Likewise.
386 * emulparams/i386lynx.sh: Likewise.
387 * emulparams/i386moss.sh: Likewise.
388 * emulparams/i386nto.sh: Likewise.
389 * emulparams/i386nw.sh: Likewise.
390 * emulparams/m32relf_linux.sh: Likewise.
391 * emulparams/m68kpsos.sh: Likewise.
392 * emulparams/or32elf.sh: Likewise.
393 * emulparams/pjelf.sh: Likewise.
394 * emulparams/pjlelf.sh: Likewise.
395 * emulparams/ppclynx.sh: Likewise.
396 * emulparams/ppcnw.sh: Likewise.
397 * emulparams/shelf32_nbsd.sh : Likewise.
398 * emulparams/shelf_nbsd.sh: Likewise.
399 * emulparams/shelf_nto.sh: Likewise.
400 * emulparams/shlelf_nto.sh: Likewise.
401 * emulparams/xtensa-config.sh: Likewise.
403 * emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to
404 "CONSTANT (MAXPAGESIZE)".
405 (COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)".
406 * emulparams/elf32_sparc.sh: Likewise.
407 * emulparams/elf32bmip.sh: Likewise.
408 * emulparams/elf32ppccommon.sh: Likewise.
409 * emulparams/elf64_ia64.sh: Likewise.
410 * emulparams/elf64_s390.sh: Likewise.
411 * emulparams/elf64_sparc.sh: Likewise.
412 * emulparams/elf64alpha.sh: Likewise.
413 * emulparams/elf64ppc.sh: Likewise.
414 * emulparams/elf_i386.sh: Likewise.
415 * emulparams/elf_i386_vxworks.sh: Likewise.
416 * emulparams/elf_s390.sh: Likewise.
417 * emulparams/elf_x86_64.sh: Likewise.
418 * emulparams/shlelf32_linux.sh: Likewise.
419 * emulparams/shlelf_linux.sh: Likewise.
421 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to
422 "CONSTANT (COMMONPAGESIZE)".
423 * emulparams/elf32btsmipn32.sh: Likewise.
425 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
426 "-z max-page-size=" and "-z common-page-size=".
427 (gld${EMULATION_NAME}_list_options): Likewise.
429 * ld.h (ld_config_type): Add maxpagesize and commonpagesize.
431 * ld.texinfo: Document "-z max-page-size=" and
432 "-z common-page-size=".
434 * ldexp.c (exp_print_token): Handle CONSTANT.
435 (fold_name): Likewise.
436 * ldgram.y: Likewise.
439 * ldmain.c (main): Initiliaze config.maxpagesize and
440 config.commonpagesize. Call bfd_emul_set_maxpagesize if
441 config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if
442 config.commonpagesize config.maxpagesize isn't 0.
444 2006-05-30 Nick Clifton <nickc@redhat.com>
446 * po/es.po: Updated Spanish translation.
448 2006-05-25 H.J. Lu <hongjiu.lu@intel.com>
450 * emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000.
452 2006-05-24 H.J. Lu <hongjiu.lu@intel.com>
455 * configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit
456 bfd. Support 64bit host for --enable-targets=all.
457 * configure: Regenerated.
459 2006-05-24 Nick Clifton <nickc@redhat.com>
461 * po/vi.po: Updated Vietnamese translation.
463 2006-05-24 Bjoern Haase <bjoern.m.haase@web.de>
465 * configure.tgt: Add avr6 to emulation list.
466 * Makefile.am: Add eavr6.o and corresponding rule.
467 * Makefile.in: Regenerate.
468 * emulparams/avr6.sh: New file.
469 * emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic
470 for target option support.
471 (EXTRA_EM_FILE): Add reference to new em template file avrelf.
472 * scripttempl/avr.sc: Add ".trampolines" section.
473 * emultempl/avrelf.em: Add new file for target specific options.
475 2006-05-22 Nick Clifton <nickc@redhat.com>
477 * scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
479 2006-05-19 Alan Modra <amodra@bigpond.net.au>
481 * ldlang.c (lang_size_sections_1): Don't check mem regions for
482 os->ignored sections.
484 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
486 * ldlang.c (lang_size_sections): Call lang_reset_memory_regions
487 before redoing one_lang_size_sections_pass.
489 2006-05-11 Carlos O'Donell <carlos@codesourcery.com>
491 * ld.texinfo: Rename "Index" to "LD Index"
493 2006-05-11 Pedro Alves <pedro_alves@portugalmail.pt>
495 * pe-dll.c (autofilter_symbollist): Add Dllmain,
496 DllMainCRTStartup, _DllMainCRTStartup and .text.
497 (autofilter_liblist): Add libcegcc.
498 (autofilter_symbolprefixlist): Add __imp_ and .idata$.
499 (generate_reloc): Do not skip sections without a SEC_LOAD flag,
500 they can still contain relocs that need processing.
501 Skip the .idata$6 section.
502 (jmp_arm_bytes): New array: Contains byte codes for an ARM jump.
503 (make_one): Use the new array.
504 (make_import_fixup_entry): Use .idata$2 instead of .idata$3.
505 * emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe.
507 2006-05-05 Alan Modra <amodra@bigpond.net.au>
509 * ld.texinfo: Document PowerPC and PowerPC64 options.
510 * gen-doc.texi: Enable.
512 2006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
514 * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty.
515 (TEXI2POD): Use AM_MAKEINFOFLAGS.
516 (configdoc.texi): Don't set top_srcdir.
517 * ld.texinfo: Don't use top_srcdir.
518 * aclocal.m4, Makefile.in: Regenerated.
520 2006-04-19 Alan Modra <amodra@bigpond.net.au>
522 * ldlang.c (wild): Tidy default_common_section loop.
523 (print_input_section): Format.
525 * configure: Regenerate.
527 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
529 * po/POTFILES.in: Regenerated.
531 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
533 * config.in: Regenerated.
535 2006-04-14 David Heine <dlheine@tensilica.com>
536 Bob Wilson <bob.wilson@acm.org>
538 * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
539 function to strip inconsistent linkonce sections.
540 (input_section_linked_worker, input_section_linked): New.
541 (is_inconsistent_linkonce_section): New.
542 (xtensa_strip_inconsistent_linkonce_sections): New.
544 2006-04-11 Diego Pettenò <flameeyes@gentoo.org>
546 * emultempl/elf32.em: Add support for elf-hints.h on FreeBSD
547 and Dragonfly targets.
548 * configure.in (AC_CHECK_HEADERS): Add elf-hints.h.
549 * Makefile.am (HFILES): Add elf-hints-local.h.
550 * elf-hints-local.h: New file.
551 * Makefile.in: Regenerate.
552 * configure: Regenerate.
554 2006-04-07 Bernhard Fischer <aldot@gcc.gnu.org>
556 * ld.texinfo: Fix typo in documentation of --check-sections.
558 2006-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
560 * ldlang.c (load_symbols): Set as_needed and add_needed according
561 to the corresponding script's fields while processing it.
563 2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
565 * Makefile.am: Add install-html, install-html-am, and
566 install-html-recursive targets.
567 * Makefile.in: Regenerate.
568 * configure.in: AC_SUBST datarootdir, docdir, htmldir.
569 * configure: Regenerate.
570 * po/Make-in: Add install-html target.
572 2006-04-06 H.J. Lu <hongjiu.lu@intel.com>
574 * emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove
575 link_info.need_relax_finalize.
577 * ldlang.c (relax_sections): New.
578 (lang_process): Use. Call relax_sections link_info.relax_pass
581 * ldmain.c (main): Set link_info.relax_pass to 1. Remove
582 link_info.need_relax_finalize.
584 2006-04-05 Alan Modra <amodra@bigpond.net.au>
586 * Makefile.am (GENSCRIPTS): Pass prefix.
587 * Makefile.in: Regenerate.
588 * genscripts.sh: Adjust for extra parameter.
589 * emultempl/elf32.em (parse_ld_so_conf): Return true iff file
591 (check_ld_so_conf): Use ${prefix}/etc/ld.so.conf if it exists.
594 2006-04-05 Richard Sandiford <richard@codesourcery.com>
595 Daniel Jacobowitz <dan@codesourcery.com>
597 * configure.tgt (sparc*-*-vxworks*): New stanza.
598 * emulparams/elf32_sparc_vxworks.sh: New file.
599 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o.
600 (eelf32_sparc_vxworks.c): New rule.
601 * Makefile.in: Regenerate.
603 2006-04-04 Eric Botcazou <ebotcazou@adacore.com>
605 * ldlang.c (lang_map): Print the list of discarded input sections.
606 (print_input_section): Change parameter and print zero-sized sections.
607 (print_statement): Adjust call to print_input_section.
609 2006-04-01 Danny Smith <dannysmith@users.sourceforge.net>
611 * deffilep.y (def_image_name): If LIBRARY or NAME statement
612 specifies an empty string, retain the name specified on command
614 * ld.texinfo: Document above.
616 2006-03-31 Jakub Jelinek <jakub@redhat.com>
618 * ldmisc.c (vfinfo): Revert 2005-10-05 changes. If
619 bfd_find_nearest_line succeeded for %C or %D, but filename
620 is NULL, print section+offset at the end.
622 2006-03-25 Bernd Schmidt <bernd.schmidt@analog.com>
624 * emulparams/elf32bfinfd.sh: New file.
625 * emultempl/bfin.em: Delete.
626 * emulparams/bfin.sh: Lose reference to bfin.em.
627 * Makefile.am (eelf32bfin.c): Likewise.
628 (eelf32bfinfd.c): New.
629 * Makefile.in: Regenerate.
630 * configure.tgt (bfin-*-elf, bfin-*-uclinux): Add elf32bfinfd to
633 2006-03-22 Richard Sandiford <richard@codesourcery.com>
634 Daniel Jacobowitz <dan@codesourcery.com>
635 Phil Edwards <phil@codesourcery.com>
636 Zack Weinberg <zack@codesourcery.com>
637 Mark Mitchell <mark@codesourcery.com>
638 Nathan Sidwell <nathan@codesourcery.com>
640 * configure.tgt (mips*el-*-vxworks*, mips*-*-vxworks*): Use
641 separate VxWorks emulations.
642 * emulparams/elf32ebmipvxworks.sh: New file.
643 * emulparams/elf32elmipvxworks.sh: New file.
644 * Makefile.am (ALL_EMULATIONS): Add eelf32ebmipvxworks.o and
645 eelf32elmipvxworks.o.
646 (eelf32ebmipvxworks.c, eelf32elmipvxworks.c): New rules.
647 * Makefile.in: Regenerate.
649 2006-03-16 Alan Modra <amodra@bigpond.net.au>
652 * ldcref.c (add_cref): Adjust bfd_hash_table_init calls.
653 * ldlang.c (output_statement_table_init, lang_init): Likewise.
654 * ldmain.c (add_ysym, add_wrap, add_keepsyms_file): Likewise.
655 (undefined_symbol): Likewise.
657 2006-03-07 Richard Sandiford <richard@codesourcery.com>
658 Daniel Jacobowitz <dan@codesourcery.com>
659 Zack Weinberg <zack@codesourcery.com>
660 Nathan Sidwell <nathan@codesourcery.com>
661 Paul Brook <paul@codesourcery.com>
662 Ricardo Anguiano <anguiano@codesourcery.com>
663 Phil Edwards <phil@codesourcery.com>
665 * emulparams/armelf_vxworks.sh: Include vxworks.sh.
666 (MAXPAGESIZE): Define.
667 * emulparams/vxworks.sh: Undefine EMBEDDED.
668 * Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em.
669 * Makefile.in: Regenerate.
671 2006-03-03 Bjoern Haase <bjoern.m.haase@web.de>
673 * scripttempl/avr.sc: Add *(.jumptables) *(.lowtext) sections.
674 Add KEEP() directives.
675 Add *(.data*) *(.rodata) and *(.rodata*) and *(.bss*) to .data and
676 .bss output sections.
678 2006-03-03 Richard Sandiford <richard@codesourcery.com>
680 * emulparams/vxworks.sh (VXWORKS_BASE_EM_FILE): New variable.
681 (EXTRA_EM_FILE): Define.
682 * emultempl/vxworks.em: New file.
683 * ld.texinfo (--force-dynamic): Document.
684 * Makefile.am (eelf32ppcvxworks.cm, eelf_i386_vxworks.c): Depend
686 * Makefile.in: Regenerate.
688 2006-03-02 Richard Sandiford <richard@codesourcery.com>
690 * emulparams/elf32ppccommon.sh: New file, extracted from...
691 * emulparams/elf32ppc.sh: ...here.
692 * emulparams/elf32ppcvxworks.sh: Include elf32ppccommon.sh
693 instead of elf32ppc.sh.
694 (BSS_PLT): Remove override.
695 * Makefile.am (eelf32lppc.c): Depend on elf32ppccommons.h.
696 (eelf32lppcnto.c, eelf32lppcsim.c, eelf32ppcnto.c): Likewise.
697 (eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppcsimm): Likewise.
698 (eelf32ppclinux.c): Likewise.
699 (eelf32ppcvxworks.c): Likewise. Add missing vxworks.sh dependency.
700 * Makefile.in: Regenerate.
702 2006-02-27 Carlos O'Donell <carlos@codesourcery.com>
704 * Makefile.am: Add html target.
705 * Makefile.in: Regenerate.
706 * po/Make-in: Add html target.
708 2006-02-17 Shrirang Khisti <shrirangk@kpitcummins.com>
709 Anil Paranjape <anilp1@kpitcummins.com>
710 Shilin Shakti <shilins@kpitcummins.com>
712 * scripttemp/elf32xc16x.sc: Default linker script for tiny model.
713 * scripttemp/elf32xc16xl.sc: Default linker script for large model.
714 * scripttemp/elf32xc16xs.sc: Default linker script for small model.
715 * emulparams/elf32xc16x.sh: Emulation script for tiny model.
716 * emulparams/elf32xc16xl.sh: Emulation script for large model.
717 * emulparams/elf32xc16xs.sh: Emulation script for small model.
718 * Makefile.am: Add entry to make xc16x target.
719 * Makefile.in: Regenerate.
720 * configure.tgt: Specify default and other emulation parameters
722 * NEWS: Announce the support for the new target.
724 2006-02-16 Nick Hudson <nick.hudson@dsl.pipex.com>
726 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
727 Use the traditional target.
729 2006-02-13 Joseph S. Myers <joseph@codesourcery.com>
731 * configure.tgt (arm*b-*-linux-gnueabi): Change to
733 (arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
735 2006-02-08 H.J. Lu <hongjiu.lu@intel.com>
738 * NEWS: Updated for the Linux linker search order change.
740 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call
741 gld${EMULATION_NAME}_check_ld_so_conf before checking default
742 search directories for DT_NEEDED entries.
744 2006-02-07 Paul Brook <paul@codesourcery.com>
746 * emultempl/armelf.em: Include elf/arm.h.
747 (arm_elf_finish): Set low address bit if enty point is a Thumb
750 2006-02-01 Danny Smith <dannysmith@users.sourceforge.net>
752 * deffilep.y (def_image_name): If the image name does not have
753 a suffix, append the default.
754 * ld.texinfo: Document NAME, LIBRARY usage in PE-COFF .def files.
756 2006-01-31 Danny Smith dannysmith@users.sourceforge.net
758 * NEWS: Mention support for forward exports in PE-COFF dll's.
759 * ld.texinfo: Expand documentation of EXPORT statements in
762 2006-01-31 Filip Navara <navaraf@reactos.com>
764 * deffile.h (struct def_file_export): Add field flag_forward.
765 * pe-dll.c (process_def_file): Check for forward exports.
766 (generate_edata): Generate forward export symbols.
767 (fill_edata): Emit them.
769 * pe-dll.c (process_def_file): Don't crash on malformed
770 fastcall symbol names in .def file.
772 2006-01-30 Nick Clifton <nickc@redhat.com>
774 * po/vi.po: Updated Vietnamese translation.
776 2006-01-27 Yitzchak Scott-Thoennes <sthoenna@efn.org>
778 * pe-dll.c (pe_dll_generate_implib): Issue "Creating library
779 file:" as informational message, not a warning.
781 2006-01-18 Roger Sayle <roger@eyesopen.com>
783 * emultempl/irix.em: Use lbasename instead of basename.
785 2006-01-16 Nick Clifton <nickc@redhat.com>
787 * po/zh_CN.po: New Chinese (simplified) translation.
788 * configure.in (ALL_LINGUAS): Add "zh_CH".
789 * configure: Regenerate.
791 2006-01-16 Bernhard Fischer <aldot@gcc.gnu.org>
793 * ld.texinfo (Options): Fix typo.
795 For older changes see ChangeLog-2005
801 version-control: never