Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37840453
en ru br
ALT Linux repositórios
S:2.41-alt1
5.0: 2.18.50.0.9-alt5
4.1: 2.17.50.0.6-alt4
4.0: 2.17.50.0.6-alt1
3.0: 2.15.94.0.2.2-alt3

Outros repositórios
Upstream:2.18

Group :: Desenvolvimento/Outros
RPM: binutils

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: binutils-2.15.92.0.2-alt-bfd_elflink_relax_checking.patch
Download


--- binutils-2.15.92.0.2/bfd/elflink.c.orig	2004-11-02 13:28:41 +0300
+++ binutils-2.15.92.0.2/bfd/elflink.c	2004-11-02 13:35:02 +0300
@@ -6024,20 +6024,22 @@ elf_link_output_extsym (struct elf_link_
     {
       (*_bfd_error_handler)
 	(_("%B: %s symbol `%s' in %B is referenced by DSO"),
 	 finfo->output_bfd, h->root.u.def.section->owner,
 	 ELF_ST_VISIBILITY (h->other) == STV_INTERNAL
 	 ? "internal"
 	 : ELF_ST_VISIBILITY (h->other) == STV_HIDDEN
 	 ? "hidden" : "local",
 	 h->root.root.string);
+#ifdef ENABLE_STRICT_SYMBOL_CHECKING
       eoinfo->failed = TRUE;
       return FALSE;
+#endif /* ENABLE_STRICT_SYMBOL_CHECKING */
     }
 
   /* We don't want to output symbols that have never been mentioned by
      a regular file, or that we have been told to strip.  However, if
      h->indx is set to -2, the symbol is used by a reloc and we must
      output it.  */
   if (h->indx == -2)
     strip = FALSE;
   else if ((h->def_dynamic
@@ -6201,20 +6203,22 @@ elf_link_output_extsym (struct elf_link_
     {
       (*_bfd_error_handler)
 	(_("%B: %s symbol `%s' isn't defined"),
 	 finfo->output_bfd,
 	 ELF_ST_VISIBILITY (sym.st_other) == STV_PROTECTED
 	 ? "protected"
 	 : ELF_ST_VISIBILITY (sym.st_other) == STV_INTERNAL
 	 ? "internal" : "hidden",
 	 h->root.root.string);
+#ifdef ENABLE_STRICT_SYMBOL_CHECKING
       eoinfo->failed = TRUE;
       return FALSE;
+#endif /* ENABLE_STRICT_SYMBOL_CHECKING */
     }
 
   /* If this symbol should be put in the .dynsym section, then put it
      there now.  We already know the symbol index.  We also fill in
      the entry in the .hash section.  */
   if (h->dynindx != -1
       && elf_hash_table (finfo->info)->dynamic_sections_created)
     {
       size_t bucketcount;
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009