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