2006-06-05 Daniel Jacobowitz * po/Make-in (top_builddir): Define. 2006-06-05 Alan Modra * ldexp.c (exp_get_abs_int): Make error message the same as others emitted in this file. 2006-06-05 Alan Modra * config.in: Regenerate. 2006-06-05 Alan Modra * ldlang.c (lookup_name): Delete dead code. Remove FIXMEs. 2006-06-03 Alan Modra * emultempl/elf32.em (global_found): Make it a pointer. (stat_needed, try_needed): Adjust. (check_needed): Don't skip non-loaded as-needed entries. Only consider entries with both filename and the_bfd non-null. (after_open): Try loading non-loaded as-needed libs to satisfy DT_NEEDED libs. 2006-06-02 Joseph S. Myers * Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty. * Makefile.in: Regenerate. 2006-05-31 Daniel Jacobowitz * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL and LIBINTL_DEP everywhere. (INTLLIBS): Remove. (INCLUDES): Use @INCINTL@. * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS. Remove local code for po/Makefile. * Makefile.in, configure: Regenerated. 2006-05-30 H.J. Lu * emulparams/arcelf.sh (MAXPAGESIZE): Changed to "CONSTANT (MAXPAGESIZE)". * emulparams/armelf_nbsd.sh: Likewise. * emulparams/armelf_vxworks.sh: Likewise. * emulparams/armnto.sh: Likewise. * emulparams/armsymbian.sh: Likewise. * emulparams/crislinux.sh: Likewise. * emulparams/elf32_i860.sh: Likewise. * emulparams/elf32_i960.sh: Likewise. * emulparams/elf32am33lin.sh: Likewise. * emulparams/elf32bfinfd.sh: Likewise. * emulparams/elf32bmipn32-defs.sh: Likewise. * emulparams/elf32frvfd.sh: Likewise. * emulparams/elf32i370.sh: Likewise. * emulparams/elf32lppcnto.sh: Likewise. * emulparams/elf32mcore.sh: Likewise. * emulparams/elf32openrisc.sh: Likewise. * emulparams/elf32ppcnto.sh: Likewise. * emulparams/elf32ppcwindiss.sh: Likewise. * emulparams/elf32vax.sh: Likewise. * emulparams/elf32xc16x.sh: Likewise. * emulparams/elf32xc16xl.sh: Likewise. * emulparams/elf32xc16xs.sh: Likewise. * emulparams/elf64_aix.sh: Likewise. * emulparams/elf64hppa.sh: Likewise. * emulparams/elf64mmix.sh: Likewise. * emulparams/elf_i386_be.sh: Likewise. * emulparams/elf_i386_chaos.sh: Likewise. * emulparams/elf_i386_ldso.sh: Likewise. * emulparams/hppa64linux.sh: Likewise. * emulparams/hppalinux.sh: Likewise. * emulparams/hppaobsd.sh: Likewise. * emulparams/i386lynx.sh: Likewise. * emulparams/i386moss.sh: Likewise. * emulparams/i386nto.sh: Likewise. * emulparams/i386nw.sh: Likewise. * emulparams/m32relf_linux.sh: Likewise. * emulparams/m68kpsos.sh: Likewise. * emulparams/or32elf.sh: Likewise. * emulparams/pjelf.sh: Likewise. * emulparams/pjlelf.sh: Likewise. * emulparams/ppclynx.sh: Likewise. * emulparams/ppcnw.sh: Likewise. * emulparams/shelf32_nbsd.sh : Likewise. * emulparams/shelf_nbsd.sh: Likewise. * emulparams/shelf_nto.sh: Likewise. * emulparams/shlelf_nto.sh: Likewise. * emulparams/xtensa-config.sh: Likewise. * emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to "CONSTANT (MAXPAGESIZE)". (COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)". * emulparams/elf32_sparc.sh: Likewise. * emulparams/elf32bmip.sh: Likewise. * emulparams/elf32ppccommon.sh: Likewise. * emulparams/elf64_ia64.sh: Likewise. * emulparams/elf64_s390.sh: Likewise. * emulparams/elf64_sparc.sh: Likewise. * emulparams/elf64alpha.sh: Likewise. * emulparams/elf64ppc.sh: Likewise. * emulparams/elf_i386.sh: Likewise. * emulparams/elf_i386_vxworks.sh: Likewise. * emulparams/elf_s390.sh: Likewise. * emulparams/elf_x86_64.sh: Likewise. * emulparams/shlelf32_linux.sh: Likewise. * emulparams/shlelf_linux.sh: Likewise. * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)". * emulparams/elf32btsmipn32.sh: Likewise. * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add "-z max-page-size=" and "-z common-page-size=". (gld${EMULATION_NAME}_list_options): Likewise. * ld.h (ld_config_type): Add maxpagesize and commonpagesize. * ld.texinfo: Document "-z max-page-size=" and "-z common-page-size=". * ldexp.c (exp_print_token): Handle CONSTANT. (fold_name): Likewise. * ldgram.y: Likewise. * ldlex.l: Likewise. * ldmain.c (main): Initiliaze config.maxpagesize and config.commonpagesize. Call bfd_emul_set_maxpagesize if config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if config.commonpagesize config.maxpagesize isn't 0. 2006-05-30 Nick Clifton * po/es.po: Updated Spanish translation. 2006-05-25 H.J. Lu * emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000. 2006-05-24 H.J. Lu PR ld/1485 * configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit bfd. Support 64bit host for --enable-targets=all. * configure: Regenerated. 2006-05-24 Nick Clifton * po/vi.po: Updated Vietnamese translation. 2006-05-24 Bjoern Haase * configure.tgt: Add avr6 to emulation list. * Makefile.am: Add eavr6.o and corresponding rule. * Makefile.in: Regenerate. * emulparams/avr6.sh: New file. * emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic for target option support. (EXTRA_EM_FILE): Add reference to new em template file avrelf. * scripttempl/avr.sc: Add ".trampolines" section. * emultempl/avrelf.em: Add new file for target specific options. 2006-05-22 Nick Clifton * scripttempl/elf32crx.sc (.rdata): Add .rodata.*. 2006-05-19 Alan Modra * ldlang.c (lang_size_sections_1): Don't check mem regions for os->ignored sections. 2005-05-17 Daniel Jacobowitz * ldlang.c (lang_size_sections): Call lang_reset_memory_regions before redoing one_lang_size_sections_pass. 2006-05-11 Carlos O'Donell * ld.texinfo: Rename "Index" to "LD Index" 2006-05-11 Pedro Alves * pe-dll.c (autofilter_symbollist): Add Dllmain, DllMainCRTStartup, _DllMainCRTStartup and .text. (autofilter_liblist): Add libcegcc. (autofilter_symbolprefixlist): Add __imp_ and .idata$. (generate_reloc): Do not skip sections without a SEC_LOAD flag, they can still contain relocs that need processing. Skip the .idata$6 section. (jmp_arm_bytes): New array: Contains byte codes for an ARM jump. (make_one): Use the new array. (make_import_fixup_entry): Use .idata$2 instead of .idata$3. * emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe. 2006-05-05 Alan Modra * ld.texinfo: Document PowerPC and PowerPC64 options. * gen-doc.texi: Enable. 2006-05-02 Daniel Jacobowitz * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty. (TEXI2POD): Use AM_MAKEINFOFLAGS. (configdoc.texi): Don't set top_srcdir. * ld.texinfo: Don't use top_srcdir. * aclocal.m4, Makefile.in: Regenerated. 2006-04-19 Alan Modra * ldlang.c (wild): Tidy default_common_section loop. (print_input_section): Format. * configure: Regenerate. 2006-04-16 Daniel Jacobowitz * po/POTFILES.in: Regenerated. 2006-04-16 Daniel Jacobowitz * config.in: Regenerated. 2006-04-14 David Heine Bob Wilson * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new function to strip inconsistent linkonce sections. (input_section_linked_worker, input_section_linked): New. (is_inconsistent_linkonce_section): New. (xtensa_strip_inconsistent_linkonce_sections): New. 2006-04-11 Diego Pettenò * emultempl/elf32.em: Add support for elf-hints.h on FreeBSD and Dragonfly targets. * configure.in (AC_CHECK_HEADERS): Add elf-hints.h. * Makefile.am (HFILES): Add elf-hints-local.h. * elf-hints-local.h: New file. * Makefile.in: Regenerate. * configure: Regenerate. 2006-04-07 Bernhard Fischer * ld.texinfo: Fix typo in documentation of --check-sections. 2006-04-07 Kaz Kojima * ldlang.c (load_symbols): Set as_needed and add_needed according to the corresponding script's fields while processing it. 2006-04-06 Carlos O'Donell * Makefile.am: Add install-html, install-html-am, and install-html-recursive targets. * Makefile.in: Regenerate. * configure.in: AC_SUBST datarootdir, docdir, htmldir. * configure: Regenerate. * po/Make-in: Add install-html target. 2006-04-06 H.J. Lu * emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove link_info.need_relax_finalize. * ldlang.c (relax_sections): New. (lang_process): Use. Call relax_sections link_info.relax_pass times. * ldmain.c (main): Set link_info.relax_pass to 1. Remove link_info.need_relax_finalize. 2006-04-05 Alan Modra * Makefile.am (GENSCRIPTS): Pass prefix. * Makefile.in: Regenerate. * genscripts.sh: Adjust for extra parameter. * emultempl/elf32.em (parse_ld_so_conf): Return true iff file exists. (check_ld_so_conf): Use ${prefix}/etc/ld.so.conf if it exists. * NEWS: Update. 2006-04-05 Richard Sandiford Daniel Jacobowitz * configure.tgt (sparc*-*-vxworks*): New stanza. * emulparams/elf32_sparc_vxworks.sh: New file. * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o. (eelf32_sparc_vxworks.c): New rule. * Makefile.in: Regenerate. 2006-04-04 Eric Botcazou * ldlang.c (lang_map): Print the list of discarded input sections. (print_input_section): Change parameter and print zero-sized sections. (print_statement): Adjust call to print_input_section. 2006-04-01 Danny Smith * deffilep.y (def_image_name): If LIBRARY or NAME statement specifies an empty string, retain the name specified on command line. * ld.texinfo: Document above. 2006-03-31 Jakub Jelinek * ldmisc.c (vfinfo): Revert 2005-10-05 changes. If bfd_find_nearest_line succeeded for %C or %D, but filename is NULL, print section+offset at the end. 2006-03-25 Bernd Schmidt * emulparams/elf32bfinfd.sh: New file. * emultempl/bfin.em: Delete. * emulparams/bfin.sh: Lose reference to bfin.em. * Makefile.am (eelf32bfin.c): Likewise. (eelf32bfinfd.c): New. * Makefile.in: Regenerate. * configure.tgt (bfin-*-elf, bfin-*-uclinux): Add elf32bfinfd to targ_extra_emuls. 2006-03-22 Richard Sandiford Daniel Jacobowitz Phil Edwards Zack Weinberg Mark Mitchell Nathan Sidwell * configure.tgt (mips*el-*-vxworks*, mips*-*-vxworks*): Use separate VxWorks emulations. * emulparams/elf32ebmipvxworks.sh: New file. * emulparams/elf32elmipvxworks.sh: New file. * Makefile.am (ALL_EMULATIONS): Add eelf32ebmipvxworks.o and eelf32elmipvxworks.o. (eelf32ebmipvxworks.c, eelf32elmipvxworks.c): New rules. * Makefile.in: Regenerate. 2006-03-16 Alan Modra PR 2434 * ldcref.c (add_cref): Adjust bfd_hash_table_init calls. * ldlang.c (output_statement_table_init, lang_init): Likewise. * ldmain.c (add_ysym, add_wrap, add_keepsyms_file): Likewise. (undefined_symbol): Likewise. 2006-03-07 Richard Sandiford Daniel Jacobowitz Zack Weinberg Nathan Sidwell Paul Brook Ricardo Anguiano Phil Edwards * emulparams/armelf_vxworks.sh: Include vxworks.sh. (MAXPAGESIZE): Define. * emulparams/vxworks.sh: Undefine EMBEDDED. * Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em. * Makefile.in: Regenerate. 2006-03-03 Bjoern Haase * scripttempl/avr.sc: Add *(.jumptables) *(.lowtext) sections. Add KEEP() directives. Add *(.data*) *(.rodata) and *(.rodata*) and *(.bss*) to .data and .bss output sections. 2006-03-03 Richard Sandiford * emulparams/vxworks.sh (VXWORKS_BASE_EM_FILE): New variable. (EXTRA_EM_FILE): Define. * emultempl/vxworks.em: New file. * ld.texinfo (--force-dynamic): Document. * Makefile.am (eelf32ppcvxworks.cm, eelf_i386_vxworks.c): Depend on vxworks.em. * Makefile.in: Regenerate. 2006-03-02 Richard Sandiford * emulparams/elf32ppccommon.sh: New file, extracted from... * emulparams/elf32ppc.sh: ...here. * emulparams/elf32ppcvxworks.sh: Include elf32ppccommon.sh instead of elf32ppc.sh. (BSS_PLT): Remove override. * Makefile.am (eelf32lppc.c): Depend on elf32ppccommons.h. (eelf32lppcnto.c, eelf32lppcsim.c, eelf32ppcnto.c): Likewise. (eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppcsimm): Likewise. (eelf32ppclinux.c): Likewise. (eelf32ppcvxworks.c): Likewise. Add missing vxworks.sh dependency. * Makefile.in: Regenerate. 2006-02-27 Carlos O'Donell * Makefile.am: Add html target. * Makefile.in: Regenerate. * po/Make-in: Add html target. 2006-02-17 Shrirang Khisti Anil Paranjape Shilin Shakti * scripttemp/elf32xc16x.sc: Default linker script for tiny model. * scripttemp/elf32xc16xl.sc: Default linker script for large model. * scripttemp/elf32xc16xs.sc: Default linker script for small model. * emulparams/elf32xc16x.sh: Emulation script for tiny model. * emulparams/elf32xc16xl.sh: Emulation script for large model. * emulparams/elf32xc16xs.sh: Emulation script for small model. * Makefile.am: Add entry to make xc16x target. * Makefile.in: Regenerate. * configure.tgt: Specify default and other emulation parameters for xc16x. * NEWS: Announce the support for the new target. 2006-02-16 Nick Hudson * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*): Use the traditional target. 2006-02-13 Joseph S. Myers * configure.tgt (arm*b-*-linux-gnueabi): Change to arm*b-*-linux-*eabi. (arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi. 2006-02-08 H.J. Lu PR ld/2290 * NEWS: Updated for the Linux linker search order change. * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call gld${EMULATION_NAME}_check_ld_so_conf before checking default search directories for DT_NEEDED entries. 2006-02-07 Paul Brook * emultempl/armelf.em: Include elf/arm.h. (arm_elf_finish): Set low address bit if enty point is a Thumb function. 2006-02-01 Danny Smith * deffilep.y (def_image_name): If the image name does not have a suffix, append the default. * ld.texinfo: Document NAME, LIBRARY usage in PE-COFF .def files. 2006-01-31 Danny Smith dannysmith@users.sourceforge.net * NEWS: Mention support for forward exports in PE-COFF dll's. * ld.texinfo: Expand documentation of EXPORT statements in PE-COFF .def files. 2006-01-31 Filip Navara * deffile.h (struct def_file_export): Add field flag_forward. * pe-dll.c (process_def_file): Check for forward exports. (generate_edata): Generate forward export symbols. (fill_edata): Emit them. * pe-dll.c (process_def_file): Don't crash on malformed fastcall symbol names in .def file. 2006-01-30 Nick Clifton * po/vi.po: Updated Vietnamese translation. 2006-01-27 Yitzchak Scott-Thoennes * pe-dll.c (pe_dll_generate_implib): Issue "Creating library file:" as informational message, not a warning. 2006-01-18 Roger Sayle * emultempl/irix.em: Use lbasename instead of basename. 2006-01-16 Nick Clifton * po/zh_CN.po: New Chinese (simplified) translation. * configure.in (ALL_LINGUAS): Add "zh_CH". * configure: Regenerate. 2006-01-16 Bernhard Fischer * ld.texinfo (Options): Fix typo. For older changes see ChangeLog-2005 Local Variables: mode: change-log left-margin: 8 fill-column: 74 version-control: never End: