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