Date: Sat, 4 Sep 2010 13:13:00 +0000 (UTC) From: Kai Wang <kaiw@FreeBSD.org> To: cvs-src-old@freebsd.org 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 Message-ID: <201009041313.o84DDLuu086913@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009041313.o84DDLuu086913>