1 2006-06-14 Kevin F. Quinn <kevquinn@gentoo.org>
3 * ld.texinfo: Document new -z lazy option.
4 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
6 (gld${EMULATION_NAME}_list_options): Update help text.
8 2006-06-12 Fred Fish <fnf@specifix.com>
10 * emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the
11 ".mdebug.<abi>" and ".gcc_compiled_long<size>" sections
12 generated by mips gcc.
14 2006-06-12 Thiemo Seufer <ths@mips.com>
16 * emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE):
19 2006-06-09 Alan Modra <amodra@bigpond.net.au>
21 * ldlang.h (lang_input_statement_type): Use bitfields for booleans.
22 * ldlang.c (struct out_section_hash_entry): Rename from
23 output_statement_hash_entry. Delete output_section_statement_type
24 entry. Add statement_union_type entry. Adjust all users.
25 (output_section_statement_table): Rename from output_statement_table.
27 (output_section_statement_newfunc): Rename from
28 output_statement_newfunc. Adjust all users.
29 (output_section_statement_table_init): Rename from
30 output_statement_table_init. Adjust all users.
31 (output_section_statement_table_free): Rename from
32 output_statement_table_free. Adjust all users.
34 2006-06-07 Joseph S. Myers <joseph@codesourcery.com>
36 * po/Make-in (pdf, ps): New dummy targets.
38 2006-06-07 Alan Modra <amodra@bigpond.net.au>
40 * ldlang.h (enum section_type): Delete dsect_section, copy_section,
41 info_section and overlay_section. Add noalloc_section.
42 * ldlang.c (lang_add_section): Adjust.
43 * ldgram.y (type): Adjust.
45 2006-06-06 Alan Modra <amodra@bigpond.net.au>
47 * ldlang.c (init_os): Whitespace.
48 (map_input_to_output_sections): Don't init_os for lang_input_section.
49 (print_all_symbols): Remove forward declaration. Convert to ISO C.
51 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
53 * po/Make-in (top_builddir): Define.
55 2006-06-05 Alan Modra <amodra@bigpond.net.au>
57 * ldexp.c (exp_get_abs_int): Make error message the same as
58 others emitted in this file.
60 2006-06-05 Alan Modra <amodra@bigpond.net.au>
62 * config.in: Regenerate.
64 2006-06-05 Alan Modra <amodra@bigpond.net.au>
66 * ldlang.c (lookup_name): Delete dead code. Remove FIXMEs.
68 2006-06-03 Alan Modra <amodra@bigpond.net.au>
70 * emultempl/elf32.em (global_found): Make it a pointer.
71 (stat_needed, try_needed): Adjust.
72 (check_needed): Don't skip non-loaded as-needed entries. Only
73 consider entries with both filename and the_bfd non-null.
74 (after_open): Try loading non-loaded as-needed libs to satisfy
77 2006-06-02 Joseph S. Myers <joseph@codesourcery.com>
79 * Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
80 * Makefile.in: Regenerate.
82 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
84 * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
85 and LIBINTL_DEP everywhere.
87 (INCLUDES): Use @INCINTL@.
88 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
89 Remove local code for po/Makefile.
90 * Makefile.in, configure: Regenerated.
92 2006-05-30 H.J. Lu <hongjiu.lu@intel.com>
94 * emulparams/arcelf.sh (MAXPAGESIZE): Changed to
95 "CONSTANT (MAXPAGESIZE)".
96 * emulparams/armelf_nbsd.sh: Likewise.
97 * emulparams/armelf_vxworks.sh: Likewise.
98 * emulparams/armnto.sh: Likewise.
99 * emulparams/armsymbian.sh: Likewise.
100 * emulparams/crislinux.sh: Likewise.
101 * emulparams/elf32_i860.sh: Likewise.
102 * emulparams/elf32_i960.sh: Likewise.
103 * emulparams/elf32am33lin.sh: Likewise.
104 * emulparams/elf32bfinfd.sh: Likewise.
105 * emulparams/elf32bmipn32-defs.sh: Likewise.
106 * emulparams/elf32frvfd.sh: Likewise.
107 * emulparams/elf32i370.sh: Likewise.
108 * emulparams/elf32lppcnto.sh: Likewise.
109 * emulparams/elf32mcore.sh: Likewise.
110 * emulparams/elf32openrisc.sh: Likewise.
111 * emulparams/elf32ppcnto.sh: Likewise.
112 * emulparams/elf32ppcwindiss.sh: Likewise.
113 * emulparams/elf32vax.sh: Likewise.
114 * emulparams/elf32xc16x.sh: Likewise.
115 * emulparams/elf32xc16xl.sh: Likewise.
116 * emulparams/elf32xc16xs.sh: Likewise.
117 * emulparams/elf64_aix.sh: Likewise.
118 * emulparams/elf64hppa.sh: Likewise.
119 * emulparams/elf64mmix.sh: Likewise.
120 * emulparams/elf_i386_be.sh: Likewise.
121 * emulparams/elf_i386_chaos.sh: Likewise.
122 * emulparams/elf_i386_ldso.sh: Likewise.
123 * emulparams/hppa64linux.sh: Likewise.
124 * emulparams/hppalinux.sh: Likewise.
125 * emulparams/hppaobsd.sh: Likewise.
126 * emulparams/i386lynx.sh: Likewise.
127 * emulparams/i386moss.sh: Likewise.
128 * emulparams/i386nto.sh: Likewise.
129 * emulparams/i386nw.sh: Likewise.
130 * emulparams/m32relf_linux.sh: Likewise.
131 * emulparams/m68kpsos.sh: Likewise.
132 * emulparams/or32elf.sh: Likewise.
133 * emulparams/pjelf.sh: Likewise.
134 * emulparams/pjlelf.sh: Likewise.
135 * emulparams/ppclynx.sh: Likewise.
136 * emulparams/ppcnw.sh: Likewise.
137 * emulparams/shelf32_nbsd.sh : Likewise.
138 * emulparams/shelf_nbsd.sh: Likewise.
139 * emulparams/shelf_nto.sh: Likewise.
140 * emulparams/shlelf_nto.sh: Likewise.
141 * emulparams/xtensa-config.sh: Likewise.
143 * emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to
144 "CONSTANT (MAXPAGESIZE)".
145 (COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)".
146 * emulparams/elf32_sparc.sh: Likewise.
147 * emulparams/elf32bmip.sh: Likewise.
148 * emulparams/elf32ppccommon.sh: Likewise.
149 * emulparams/elf64_ia64.sh: Likewise.
150 * emulparams/elf64_s390.sh: Likewise.
151 * emulparams/elf64_sparc.sh: Likewise.
152 * emulparams/elf64alpha.sh: Likewise.
153 * emulparams/elf64ppc.sh: Likewise.
154 * emulparams/elf_i386.sh: Likewise.
155 * emulparams/elf_i386_vxworks.sh: Likewise.
156 * emulparams/elf_s390.sh: Likewise.
157 * emulparams/elf_x86_64.sh: Likewise.
158 * emulparams/shlelf32_linux.sh: Likewise.
159 * emulparams/shlelf_linux.sh: Likewise.
161 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to
162 "CONSTANT (COMMONPAGESIZE)".
163 * emulparams/elf32btsmipn32.sh: Likewise.
165 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
166 "-z max-page-size=" and "-z common-page-size=".
167 (gld${EMULATION_NAME}_list_options): Likewise.
169 * ld.h (ld_config_type): Add maxpagesize and commonpagesize.
171 * ld.texinfo: Document "-z max-page-size=" and
172 "-z common-page-size=".
174 * ldexp.c (exp_print_token): Handle CONSTANT.
175 (fold_name): Likewise.
176 * ldgram.y: Likewise.
179 * ldmain.c (main): Initiliaze config.maxpagesize and
180 config.commonpagesize. Call bfd_emul_set_maxpagesize if
181 config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if
182 config.commonpagesize config.maxpagesize isn't 0.
184 2006-05-30 Nick Clifton <nickc@redhat.com>
186 * po/es.po: Updated Spanish translation.
188 2006-05-25 H.J. Lu <hongjiu.lu@intel.com>
190 * emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000.
192 2006-05-24 H.J. Lu <hongjiu.lu@intel.com>
195 * configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit
196 bfd. Support 64bit host for --enable-targets=all.
197 * configure: Regenerated.
199 2006-05-24 Nick Clifton <nickc@redhat.com>
201 * po/vi.po: Updated Vietnamese translation.
203 2006-05-24 Bjoern Haase <bjoern.m.haase@web.de>
205 * configure.tgt: Add avr6 to emulation list.
206 * Makefile.am: Add eavr6.o and corresponding rule.
207 * Makefile.in: Regenerate.
208 * emulparams/avr6.sh: New file.
209 * emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic
210 for target option support.
211 (EXTRA_EM_FILE): Add reference to new em template file avrelf.
212 * scripttempl/avr.sc: Add ".trampolines" section.
213 * emultempl/avrelf.em: Add new file for target specific options.
215 2006-05-22 Nick Clifton <nickc@redhat.com>
217 * scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
219 2006-05-19 Alan Modra <amodra@bigpond.net.au>
221 * ldlang.c (lang_size_sections_1): Don't check mem regions for
222 os->ignored sections.
224 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
226 * ldlang.c (lang_size_sections): Call lang_reset_memory_regions
227 before redoing one_lang_size_sections_pass.
229 2006-05-11 Carlos O'Donell <carlos@codesourcery.com>
231 * ld.texinfo: Rename "Index" to "LD Index"
233 2006-05-11 Pedro Alves <pedro_alves@portugalmail.pt>
235 * pe-dll.c (autofilter_symbollist): Add Dllmain,
236 DllMainCRTStartup, _DllMainCRTStartup and .text.
237 (autofilter_liblist): Add libcegcc.
238 (autofilter_symbolprefixlist): Add __imp_ and .idata$.
239 (generate_reloc): Do not skip sections without a SEC_LOAD flag,
240 they can still contain relocs that need processing.
241 Skip the .idata$6 section.
242 (jmp_arm_bytes): New array: Contains byte codes for an ARM jump.
243 (make_one): Use the new array.
244 (make_import_fixup_entry): Use .idata$2 instead of .idata$3.
245 * emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe.
247 2006-05-05 Alan Modra <amodra@bigpond.net.au>
249 * ld.texinfo: Document PowerPC and PowerPC64 options.
250 * gen-doc.texi: Enable.
252 2006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
254 * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty.
255 (TEXI2POD): Use AM_MAKEINFOFLAGS.
256 (configdoc.texi): Don't set top_srcdir.
257 * ld.texinfo: Don't use top_srcdir.
258 * aclocal.m4, Makefile.in: Regenerated.
260 2006-04-19 Alan Modra <amodra@bigpond.net.au>
262 * ldlang.c (wild): Tidy default_common_section loop.
263 (print_input_section): Format.
265 * configure: Regenerate.
267 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
269 * po/POTFILES.in: Regenerated.
271 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
273 * config.in: Regenerated.
275 2006-04-14 David Heine <dlheine@tensilica.com>
276 Bob Wilson <bob.wilson@acm.org>
278 * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
279 function to strip inconsistent linkonce sections.
280 (input_section_linked_worker, input_section_linked): New.
281 (is_inconsistent_linkonce_section): New.
282 (xtensa_strip_inconsistent_linkonce_sections): New.
284 2006-04-11 Diego Pettenò <flameeyes@gentoo.org>
286 * emultempl/elf32.em: Add support for elf-hints.h on FreeBSD
287 and Dragonfly targets.
288 * configure.in (AC_CHECK_HEADERS): Add elf-hints.h.
289 * Makefile.am (HFILES): Add elf-hints-local.h.
290 * elf-hints-local.h: New file.
291 * Makefile.in: Regenerate.
292 * configure: Regenerate.
294 2006-04-07 Bernhard Fischer <aldot@gcc.gnu.org>
296 * ld.texinfo: Fix typo in documentation of --check-sections.
298 2006-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
300 * ldlang.c (load_symbols): Set as_needed and add_needed according
301 to the corresponding script's fields while processing it.
303 2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
305 * Makefile.am: Add install-html, install-html-am, and
306 install-html-recursive targets.
307 * Makefile.in: Regenerate.
308 * configure.in: AC_SUBST datarootdir, docdir, htmldir.
309 * configure: Regenerate.
310 * po/Make-in: Add install-html target.
312 2006-04-06 H.J. Lu <hongjiu.lu@intel.com>
314 * emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove
315 link_info.need_relax_finalize.
317 * ldlang.c (relax_sections): New.
318 (lang_process): Use. Call relax_sections link_info.relax_pass
321 * ldmain.c (main): Set link_info.relax_pass to 1. Remove
322 link_info.need_relax_finalize.
324 2006-04-05 Alan Modra <amodra@bigpond.net.au>
326 * Makefile.am (GENSCRIPTS): Pass prefix.
327 * Makefile.in: Regenerate.
328 * genscripts.sh: Adjust for extra parameter.
329 * emultempl/elf32.em (parse_ld_so_conf): Return true iff file
331 (check_ld_so_conf): Use ${prefix}/etc/ld.so.conf if it exists.
334 2006-04-05 Richard Sandiford <richard@codesourcery.com>
335 Daniel Jacobowitz <dan@codesourcery.com>
337 * configure.tgt (sparc*-*-vxworks*): New stanza.
338 * emulparams/elf32_sparc_vxworks.sh: New file.
339 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o.
340 (eelf32_sparc_vxworks.c): New rule.
341 * Makefile.in: Regenerate.
343 2006-04-04 Eric Botcazou <ebotcazou@adacore.com>
345 * ldlang.c (lang_map): Print the list of discarded input sections.
346 (print_input_section): Change parameter and print zero-sized sections.
347 (print_statement): Adjust call to print_input_section.
349 2006-04-01 Danny Smith <dannysmith@users.sourceforge.net>
351 * deffilep.y (def_image_name): If LIBRARY or NAME statement
352 specifies an empty string, retain the name specified on command
354 * ld.texinfo: Document above.
356 2006-03-31 Jakub Jelinek <jakub@redhat.com>
358 * ldmisc.c (vfinfo): Revert 2005-10-05 changes. If
359 bfd_find_nearest_line succeeded for %C or %D, but filename
360 is NULL, print section+offset at the end.
362 2006-03-25 Bernd Schmidt <bernd.schmidt@analog.com>
364 * emulparams/elf32bfinfd.sh: New file.
365 * emultempl/bfin.em: Delete.
366 * emulparams/bfin.sh: Lose reference to bfin.em.
367 * Makefile.am (eelf32bfin.c): Likewise.
368 (eelf32bfinfd.c): New.
369 * Makefile.in: Regenerate.
370 * configure.tgt (bfin-*-elf, bfin-*-uclinux): Add elf32bfinfd to
373 2006-03-22 Richard Sandiford <richard@codesourcery.com>
374 Daniel Jacobowitz <dan@codesourcery.com>
375 Phil Edwards <phil@codesourcery.com>
376 Zack Weinberg <zack@codesourcery.com>
377 Mark Mitchell <mark@codesourcery.com>
378 Nathan Sidwell <nathan@codesourcery.com>
380 * configure.tgt (mips*el-*-vxworks*, mips*-*-vxworks*): Use
381 separate VxWorks emulations.
382 * emulparams/elf32ebmipvxworks.sh: New file.
383 * emulparams/elf32elmipvxworks.sh: New file.
384 * Makefile.am (ALL_EMULATIONS): Add eelf32ebmipvxworks.o and
385 eelf32elmipvxworks.o.
386 (eelf32ebmipvxworks.c, eelf32elmipvxworks.c): New rules.
387 * Makefile.in: Regenerate.
389 2006-03-16 Alan Modra <amodra@bigpond.net.au>
392 * ldcref.c (add_cref): Adjust bfd_hash_table_init calls.
393 * ldlang.c (output_statement_table_init, lang_init): Likewise.
394 * ldmain.c (add_ysym, add_wrap, add_keepsyms_file): Likewise.
395 (undefined_symbol): Likewise.
397 2006-03-07 Richard Sandiford <richard@codesourcery.com>
398 Daniel Jacobowitz <dan@codesourcery.com>
399 Zack Weinberg <zack@codesourcery.com>
400 Nathan Sidwell <nathan@codesourcery.com>
401 Paul Brook <paul@codesourcery.com>
402 Ricardo Anguiano <anguiano@codesourcery.com>
403 Phil Edwards <phil@codesourcery.com>
405 * emulparams/armelf_vxworks.sh: Include vxworks.sh.
406 (MAXPAGESIZE): Define.
407 * emulparams/vxworks.sh: Undefine EMBEDDED.
408 * Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em.
409 * Makefile.in: Regenerate.
411 2006-03-03 Bjoern Haase <bjoern.m.haase@web.de>
413 * scripttempl/avr.sc: Add *(.jumptables) *(.lowtext) sections.
414 Add KEEP() directives.
415 Add *(.data*) *(.rodata) and *(.rodata*) and *(.bss*) to .data and
416 .bss output sections.
418 2006-03-03 Richard Sandiford <richard@codesourcery.com>
420 * emulparams/vxworks.sh (VXWORKS_BASE_EM_FILE): New variable.
421 (EXTRA_EM_FILE): Define.
422 * emultempl/vxworks.em: New file.
423 * ld.texinfo (--force-dynamic): Document.
424 * Makefile.am (eelf32ppcvxworks.cm, eelf_i386_vxworks.c): Depend
426 * Makefile.in: Regenerate.
428 2006-03-02 Richard Sandiford <richard@codesourcery.com>
430 * emulparams/elf32ppccommon.sh: New file, extracted from...
431 * emulparams/elf32ppc.sh: ...here.
432 * emulparams/elf32ppcvxworks.sh: Include elf32ppccommon.sh
433 instead of elf32ppc.sh.
434 (BSS_PLT): Remove override.
435 * Makefile.am (eelf32lppc.c): Depend on elf32ppccommons.h.
436 (eelf32lppcnto.c, eelf32lppcsim.c, eelf32ppcnto.c): Likewise.
437 (eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppcsimm): Likewise.
438 (eelf32ppclinux.c): Likewise.
439 (eelf32ppcvxworks.c): Likewise. Add missing vxworks.sh dependency.
440 * Makefile.in: Regenerate.
442 2006-02-27 Carlos O'Donell <carlos@codesourcery.com>
444 * Makefile.am: Add html target.
445 * Makefile.in: Regenerate.
446 * po/Make-in: Add html target.
448 2006-02-17 Shrirang Khisti <shrirangk@kpitcummins.com>
449 Anil Paranjape <anilp1@kpitcummins.com>
450 Shilin Shakti <shilins@kpitcummins.com>
452 * scripttemp/elf32xc16x.sc: Default linker script for tiny model.
453 * scripttemp/elf32xc16xl.sc: Default linker script for large model.
454 * scripttemp/elf32xc16xs.sc: Default linker script for small model.
455 * emulparams/elf32xc16x.sh: Emulation script for tiny model.
456 * emulparams/elf32xc16xl.sh: Emulation script for large model.
457 * emulparams/elf32xc16xs.sh: Emulation script for small model.
458 * Makefile.am: Add entry to make xc16x target.
459 * Makefile.in: Regenerate.
460 * configure.tgt: Specify default and other emulation parameters
462 * NEWS: Announce the support for the new target.
464 2006-02-16 Nick Hudson <nick.hudson@dsl.pipex.com>
466 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
467 Use the traditional target.
469 2006-02-13 Joseph S. Myers <joseph@codesourcery.com>
471 * configure.tgt (arm*b-*-linux-gnueabi): Change to
473 (arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
475 2006-02-08 H.J. Lu <hongjiu.lu@intel.com>
478 * NEWS: Updated for the Linux linker search order change.
480 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call
481 gld${EMULATION_NAME}_check_ld_so_conf before checking default
482 search directories for DT_NEEDED entries.
484 2006-02-07 Paul Brook <paul@codesourcery.com>
486 * emultempl/armelf.em: Include elf/arm.h.
487 (arm_elf_finish): Set low address bit if enty point is a Thumb
490 2006-02-01 Danny Smith <dannysmith@users.sourceforge.net>
492 * deffilep.y (def_image_name): If the image name does not have
493 a suffix, append the default.
494 * ld.texinfo: Document NAME, LIBRARY usage in PE-COFF .def files.
496 2006-01-31 Danny Smith dannysmith@users.sourceforge.net
498 * NEWS: Mention support for forward exports in PE-COFF dll's.
499 * ld.texinfo: Expand documentation of EXPORT statements in
502 2006-01-31 Filip Navara <navaraf@reactos.com>
504 * deffile.h (struct def_file_export): Add field flag_forward.
505 * pe-dll.c (process_def_file): Check for forward exports.
506 (generate_edata): Generate forward export symbols.
507 (fill_edata): Emit them.
509 * pe-dll.c (process_def_file): Don't crash on malformed
510 fastcall symbol names in .def file.
512 2006-01-30 Nick Clifton <nickc@redhat.com>
514 * po/vi.po: Updated Vietnamese translation.
516 2006-01-27 Yitzchak Scott-Thoennes <sthoenna@efn.org>
518 * pe-dll.c (pe_dll_generate_implib): Issue "Creating library
519 file:" as informational message, not a warning.
521 2006-01-18 Roger Sayle <roger@eyesopen.com>
523 * emultempl/irix.em: Use lbasename instead of basename.
525 2006-01-16 Nick Clifton <nickc@redhat.com>
527 * po/zh_CN.po: New Chinese (simplified) translation.
528 * configure.in (ALL_LINGUAS): Add "zh_CH".
529 * configure: Regenerate.
531 2006-01-16 Bernhard Fischer <aldot@gcc.gnu.org>
533 * ld.texinfo (Options): Fix typo.
535 For older changes see ChangeLog-2005
541 version-control: never