Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Feb 2009 15:50:19 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern kern_linker.c link_elf.c link_elf_obj.c
Message-ID:  <200902101550.n1AFoZxF021069@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

attilio     2009-02-10 15:50:19 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_linker.c link_elf.c link_elf_obj.c 
  Log:
  SVN rev 188440 on 2009-02-10 15:50:19Z by attilio
  
  Scanning all the formats for binary translation of modules loading can
  result in errors for a format loading but subsequent correct recognizing
  for another format.
  
  File format loading functions should avoid printing any additional
  informations but just returning appropriate (and different between each
  other) error condition, characterizing different informations.
  Additively, the linker should handle appropriately different format
  loading errors.
  
  While a general mechanism is desired, fix a simple and common case on
  amd64: file type is not recognized for link elf and confuses the linker.
  Printout an error if all the registered linker classes can't recognize
  and load the module.
  
  Reviewed by:    jhb
  Sponsored by:   Sandvine Incorporated
  
  Revision  Changes    Path
  1.166     +8 -0      src/sys/kern/kern_linker.c
  1.102     +2 -4      src/sys/kern/link_elf.c
  1.104     +1 -2      src/sys/kern/link_elf_obj.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902101550.n1AFoZxF021069>