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