summaryrefslogtreecommitdiff
path: root/libelf/libelf.map
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-06-13 15:55:42 -0700
committerUlrich Drepper <drepper@redhat.com>2009-06-13 15:55:42 -0700
commitf189493154d0041deced00e6a99cc5426dc9d260 (patch)
tree6c55e4b0b571c49d01e1b355e52f72b6d5c069eb /libelf/libelf.map
parentb47d290a36509e26e145f6d3eb2e6590ec6c554d (diff)
downloadelfutils-f189493154d0041deced00e6a99cc5426dc9d260.tar.gz
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/libelf.map')
-rw-r--r--libelf/libelf.map5
1 files changed, 5 insertions, 0 deletions
diff --git a/libelf/libelf.map b/libelf/libelf.map
index c2537774..e0f40eb8 100644
--- a/libelf/libelf.map
+++ b/libelf/libelf.map
@@ -128,3 +128,8 @@ ELFUTILS_1.4 {
global:
elf_scnshndx;
} ELFUTILS_1.3;
+
+ELFUTILS_1.5 {
+ global:
+ elf_getshdrnum; elf_getshdrstrndx;
+} ELFUTILS_1.4;