]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r210344,r210345,r210348.
authorkaiw <kaiw@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 4 Sep 2010 12:52:44 +0000 (12:52 +0000)
committerkaiw <kaiw@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 4 Sep 2010 12:52:44 +0000 (12:52 +0000)
commit256e1dcfb6ef775a6ae66d00009bfbb667e39a85
treee400e261afcacc6ebad6eece1a525df63995f68f
parent45f57b9c718b8a612eb84a96c521d58864e6c181
MFC r210344,r210345,r210348.

r210344:
  Avoid switching between "unsigned char" and "char" in the C code
  generated from "libelf_convert.m4".

r210345:
  * Deprecate `elf_getshnum()`, `elf_getphnum()` and `elf_getshstrndx()` in
    favour of `elf_getshdrnum()`, `elf_getphdrnum()` and `elf_getshdrstrndx()`
    respectively.
  * Add new manual pages for `elf_getshdrstrndx()`, `elf_getphdrnum()` and
    `elf_getshdrnum()`.
  * Add a deprecation warning for `elf_getshstrndx()`, `elf_getphnum()` and
    `elf_getshnum()`.

r210348:
  Move helper functions `_libelf_ar_get_{name,number,string}()` and
  `_libelf_ar_open()` to a new compilation unit "libelf_ar_util.c"
  to break the circular dependency between "elf_memory.o" and
  "libelf_ar.o".

git-svn-id: svn://svn.freebsd.org/base/stable/8@212204 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
16 files changed:
lib/libelf/Makefile
lib/libelf/Version.map
lib/libelf/_libelf.h
lib/libelf/elf_getphdrnum.3 [new file with mode: 0644]
lib/libelf/elf_getphnum.3
lib/libelf/elf_getshdrnum.3 [new file with mode: 0644]
lib/libelf/elf_getshdrstrndx.3 [new file with mode: 0644]
lib/libelf/elf_getshnum.3
lib/libelf/elf_getshstrndx.3
lib/libelf/elf_phnum.c
lib/libelf/elf_shnum.c
lib/libelf/elf_shstrndx.c
lib/libelf/libelf.h
lib/libelf/libelf_ar.c
lib/libelf/libelf_ar_util.c [new file with mode: 0644]
lib/libelf/libelf_convert.m4