Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Sep 2010 18:51:50 +0000 (UTC)
From:      Kai Wang <kaiw@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/lib/libelf elf_update.c
Message-ID:  <201009091852.o89Iq3xk019928@repoman.freebsd.org>

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

kaiw        2010-09-09 18:51:50 UTC

  FreeBSD src repository

  Modified files:
    lib/libelf           elf_update.c 
  Log:
  SVN rev 212373 on 2010-09-09 18:51:50Z by kaiw
  
  libelf is overly strict about the type and alignment of Elf_Data
  objects inside one ELF section, which prevents the creation of a ELF
  section with mixed data types. For example, gcc LTO use libelf to
  create a .gnu_lto_XXX section that contains integers and a string
  table, which doesn't work with our libelf implementation.
  
  The changes made in this commit include:
  * Allow Elf_Data type to be different than section type.
  * Relax Elf_Data alignment check.
  * Align each Elf_Data by their own alignment instead of section alignment.
  
  MFC after:   1 month
  
  Revision  Changes    Path
  1.11      +6 -11     src/lib/libelf/elf_update.c



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