summaryrefslogtreecommitdiffstats
path: root/libelf/Makefile.am
diff options
context:
space:
mode:
authorUlrich Drepper <[email protected]>2009-06-13 15:55:42 -0700
committerUlrich Drepper <[email protected]>2009-06-13 15:55:42 -0700
commitf189493154d0041deced00e6a99cc5426dc9d260 (patch)
tree6c55e4b0b571c49d01e1b355e52f72b6d5c069eb /libelf/Makefile.am
parentb47d290a36509e26e145f6d3eb2e6590ec6c554d (diff)
Add aliases for elf_getshnum and elf_getshstrndx.
Sun in their implementation messed up the semantics of these functions. To get back to source code compatibility they asked for a solution. We simply add aliases for the two affected functions, named elf_getshdrnum and elf_getshdrstrndx. The semantics remains the same. Users of the old interfaces receive a warning for now. In future we might make it impossible to link programs which request the old interfaces (binary compatibility will of course be maintained).
Diffstat (limited to 'libelf/Makefile.am')
-rw-r--r--libelf/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/libelf/Makefile.am b/libelf/Makefile.am
index 84b01a86..fbb19a63 100644
--- a/libelf/Makefile.am
+++ b/libelf/Makefile.am
@@ -91,7 +91,7 @@ libelf_a_SOURCES = elf_version.c elf_hash.c elf_error.c elf_fill.c \
gelf_update_versym.c gelf_update_verneed.c \
gelf_update_vernaux.c gelf_update_verdef.c \
gelf_update_verdaux.c \
- elf_getshnum.c elf_getshstrndx.c \
+ elf_getshdrnum.c elf_getshdrstrndx.c \
gelf_checksum.c elf32_checksum.c elf64_checksum.c \
libelf_crc32.c libelf_next_prime.c \
elf_clone.c \