From owner-cvs-src-old@FreeBSD.ORG Sat Sep 4 13:13:21 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A796210656DC for ; Sat, 4 Sep 2010 13:13:21 +0000 (UTC) (envelope-from kaiw@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 928C28FC0C for ; Sat, 4 Sep 2010 13:13:21 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o84DDLS7086914 for ; Sat, 4 Sep 2010 13:13:21 GMT (envelope-from kaiw@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o84DDLuu086913 for cvs-src-old@freebsd.org; Sat, 4 Sep 2010 13:13:21 GMT (envelope-from kaiw@repoman.freebsd.org) Message-Id: <201009041313.o84DDLuu086913@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kaiw@repoman.freebsd.org using -f From: Kai Wang Date: Sat, 4 Sep 2010 13:13:00 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/lib/libelf _libelf.h elf_data.c elf_scn.c elf_types.m4 gelf_fsize.3 libelf.h libelf_align.c libelf_convert.m4 libelf_data.c libelf_ehdr.c libelf_fsize.m4 libelf_msize.m4 libelf_phdr.c libelf_xlate.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Sep 2010 13:13:21 -0000 kaiw 2010-09-04 13:13:00 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) lib/libelf _libelf.h elf_data.c elf_scn.c elf_types.m4 gelf_fsize.3 libelf.h libelf_align.c libelf_convert.m4 libelf_data.c libelf_ehdr.c libelf_fsize.m4 libelf_msize.m4 libelf_phdr.c libelf_xlate.c Log: SVN rev 212208 on 2010-09-04 13:13:00Z by kaiw MFC r210331-r210333,r210335,r210336,r210338,r210340,r210341,r210559. r210331: Add a new ELF type denoting GNU style hash tables. r210332: Changes for supporting GNU Hash sections. r210333: Note that the *_fsize() functions are only defined for ELF types that have a fixed size. r210335: - Return zero for file sizes of ELF types that have a variable size. - Neaten a few comments. r210336: Reduce verbosity. r210338: Perform additional checks when translating between file and memory representations of ELF types. The ELF(3) API allows applications to request a conversion that is `in-place', i.e., with source and destinations data buffers being the same. However, the file and memory sizes of ELF sections that have additional internal structure, such as those of type `Elf_Note', or `Elf_GNU_Hash_Header', can be determined only known after the type-specific headers that comprise the first few words in these sections are read and translated. Pass in the size of destination buffer to type translation routines in "libelf_convert.m4" and have these routines return an error code if the translated data would not fit inside the destination buffer. r210340: - Document that the *fsize() functions return a size of 1 for Elf types that don't have a fixed size. - The *fsize() functions should return a size of 1, for variable length types. - Redefine symbol ELF_T_LAST to match the current end of the list. r210341: Add support for translating sections of type ELF_T_GNUHASH. r210559: Protect GNUHASH translation functions with #ifdef; unbreak cross toolchain build. Revision Changes Path 1.2.10.4 +2 -2 src/lib/libelf/_libelf.h 1.2.10.3 +9 -4 src/lib/libelf/elf_data.c 1.2.10.3 +3 -2 src/lib/libelf/elf_scn.c 1.2.10.2 +1 -0 src/lib/libelf/elf_types.m4 1.3.2.3 +2 -0 src/lib/libelf/gelf_fsize.3 1.1.10.3 +2 -1 src/lib/libelf/libelf.h 1.3.2.2 +12 -2 src/lib/libelf/libelf_align.c 1.4.2.3 +295 -50 src/lib/libelf/libelf_convert.m4 1.4.2.3 +4 -0 src/lib/libelf/libelf_data.c 1.2.10.2 +5 -4 src/lib/libelf/libelf_ehdr.c 1.2.10.2 +7 -4 src/lib/libelf/libelf_fsize.m4 1.2.10.2 +1 -0 src/lib/libelf/libelf_msize.m4 1.2.10.2 +2 -2 src/lib/libelf/libelf_phdr.c 1.3.2.2 +9 -3 src/lib/libelf/libelf_xlate.c