* elf.c (_bfd_elf_make_section_from_shdr): Set SEC_THREAD_LOCAL
[platform/upstream/binutils.git] / ld / ChangeLog
index 336a326..7c75e83 100644 (file)
@@ -1,3 +1,81 @@
+2002-05-23  Jakub Jelinek  <jakub@redhat.com>
+
+       * scripttempl/elf.sc: Add .rel{,a}.t{bss,data}, .tdata and .tbss.
+       * ldlang.c (lang_add_section): Set SEC_THREAD_LOCAL for
+       output section if necessary.  Handle .tbss.
+       (lang_size_sections): Clear _raw_size for .tbss section
+       (it allocates space in PT_TLS segment only).
+       * ldwrite.c (build_link_order): Build link order for .tbss too.
+
+2002-05-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * configure.in: Correct spelling of AC_PREREQ.
+
+2002-05-21  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * pe-dll.c (autofilter_liblist): Add more system libs excluded by
+       default.
+       (autofilter_objlist): Add crtbegin.o, crtend.o.
+
+2002-05-21  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * emultempl/pe.em (OPTION_EXCLUDE_LIBS): Add new define.
+       (longopts): Add new option --exclude-libs.
+       (gld_${EMULATION_NAME}_list_options): Give quick help about it.
+       (gld_${EMULATION_NAME}_parse_args): Use it.
+       * pe-dll.h (pe_dll_add_excludes): Add second param to prototype.
+       * pe-dll.c (exclude_list_struct): Add field type to distinguish symbols
+       from whole archives.
+       (pe_dll_add_excludes): Set excludes->type.
+       (auto_export): Add new variable libname and set to archive basename if
+       abfd.  Use it when filtering default and user-specified libarary
+       excludes.  Let string "ALL" mean all libs when filtering user-specified
+       libs.
+       * ld.texinfo: Document --exclude-libs.
+
+2002-05-22  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldemul.c (ldemul_new_vers_pattern): New function.
+       * ldemul.h (ldemul_new_vers_pattern): Declare.
+       (struct ld_emulation_xfer_struct): Add new_vers_pattern.
+       * ldlang.c (lang_new_vers_pattern): Call ldemul_new_vers_pattern.
+       * emultempl/ppc64elf.em (dotsyms): New static var.
+       (gld${EMULATION_NAME}_new_vers_pattern): New function.
+       (LDEMUL_NEW_VERS_PATTERN): Define.
+       (PARSE_AND_LIST_PROLOGUE): Add OPTION_DOTSYMS, OPTION_NO_DOTSYMS.
+       (PARSE_AND_LIST_LONGOPTS): Likewise.
+       (PARSE_AND_LIST_ARGS_CASES): Handle them.
+       * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Update
+       initialiser.
+       * emultempl/armcoff.em: Likewise.
+       * emultempl/armelf_oabi.em: Likewise.
+       * emultempl/beos.em: Likewise.
+       * emultempl/elf32.em: Likewise.
+       * emultempl/generic.em: Likewise.
+       * emultempl/gld960.em: Likewise.
+       * emultempl/gld960c.em: Likewise.
+       * emultempl/linux.em: Likewise.
+       * emultempl/lnk960.em: Likewise.
+       * emultempl/m68kcoff.em: Likewise.
+       * emultempl/mipsecoff.em: Likewise.
+       * emultempl/pe.em: Likewise.
+       * emultempl/sunos.em: Likewise.
+       * emultempl/ticoff.em: Likewise.
+       * emultempl/vanilla.em: Likewise.
+
+2002-05-22  Alan Modra  <amodra@bigpond.net.au>
+
+       * genscripts.sh (LIB_PATH): For native targets, concatenate $libdir
+       and $NATIVE_LIB_DIRS.  Add $tool_lib before other libs.
+       (LIB_SEARCH_DIRS): No need to use "tr".
+       (COMPILE_IN): Only set for native targets.
+       * configure.host (NATIVE_LIB_DIRS): Specify all native search dirs
+       here, rather than adding lib:/usr/lib:/usr/local/lib in genscripts.sh.
+       * configure.tgt (powerpc*): Set tdir_*.
+       (powerpcle*): Correct targ_extra_emuls.
+       * emulparams/elf32ppc.sh (LIB_PATH): Set up native 64 bit dirs.
+       * emulparams/elf64ppc.sh (LIB_PATH): Likewise.
+
 2002-05-22  Alan Modra  <amodra@bigpond.net.au>
 
        * emultempl/pe.em (set_pe_subsystem): Don't set "cmdline" when
@@ -2691,7 +2769,7 @@ Mon Mar 18 17:38:39 CET 2002  Jan Hubicka  <jh@suse.cz>
        * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
        Set DWARF2 sections to a VMA of zero.
 
-2000-12-01      Joel Sherrill <joel@OARcorp.com>
+2000-12-01  Joel Sherrill  <joel@OARcorp.com>
 
        * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
        New targets.
@@ -4109,7 +4187,7 @@ Mon Mar 18 17:38:39 CET 2002  Jan Hubicka  <jh@suse.cz>
        (lang_one_common) Record size changes in octets.
        (lang_abs_symbol_at_end_of) Section end symbol's value is
        recorded in target bytes.
-       * ld.texinfo:   Updated description of BYTE, SHORT, LONG, etc.
+       * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
        to be clear about behavior when an octet is smaller than one byte.
 
 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>