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