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