---
configure | 21 +--------------------
libavutil/internal.h | 28 ----------------------------
2 files changed, 1 insertions(+), 48 deletions(-)
diff --git a/configure b/configure
index c23660e..5b80b51 100755
--- a/configure
+++ b/configure
@@ -238,7 +238,6 @@ Advanced options (experts only):
--enable-pic build position-independent code
--malloc-prefix=PFX prefix malloc and related names with PFX
--enable-sram allow use of on-chip SRAM
- --disable-symver disable symbol versioning
--optflags override optimization-related compiler flags
Developer options (useful when working on Libav itself):
@@ -1118,9 +1117,6 @@ HAVE_LIST="
struct_sockaddr_in6
struct_sockaddr_sa_len
struct_sockaddr_storage
- symver
- symver_gnu_asm
- symver_asm_label
sys_mman_h
sys_resource_h
sys_select_h
@@ -1154,7 +1150,6 @@ CMDLINE_SELECT="
extra_warnings
logging
optimizations
- symver
yasm
"
@@ -1238,8 +1233,6 @@ fast_unaligned_if_any="armv6 ppc x86"
need_memalign="altivec neon sse"
inline_asm_deps="!tms470"
-symver_if_any="symver_asm_label symver_gnu_asm"
-
# subsystems
dct_select="rdft"
mdct_select="fft"
@@ -2388,7 +2381,6 @@ case $target_os in
nm_opts='-P -g'
;;
netbsd)
- disable symver
oss_indev_extralibs="-lossaudio"
oss_outdev_extralibs="-lossaudio"
;;
@@ -2400,14 +2392,12 @@ case $target_os in
# (simply quits with exit-code 1, no crash, no output).
# Thus explicitly enable PIC here.
enable pic
- disable symver
SHFLAGS='-shared'
oss_indev_extralibs="-lossaudio"
oss_outdev_extralibs="-lossaudio"
;;
dragonfly)
enable malloc_aligned
- disable symver
;;
freebsd)
enable malloc_aligned
@@ -3008,17 +2998,8 @@ check_ldflags
-Wl,-rpath-link=libpostproc:libswscale:libavfilter:libavdevice:lib
test_ldflags -Wl,-Bsymbolic && append SHFLAGS -Wl,-Bsymbolic
echo "X{};" > $TMPV
-if test_ldflags -Wl,--version-script,$TMPV; then
+test_ldflags -Wl,--version-script,$TMPV &&
append SHFLAGS '-Wl,--version-script,\$(SUBDIR)lib\$(NAME).ver'
- check_cc <<EOF && enable symver_asm_label
-void ff_foo(void) __asm__ ("av_foo@VERSION");
-void ff_foo(void) { ${inline_asm+__asm__($quotes);} }
-EOF
- check_cc <<EOF && enable symver_gnu_asm
-__asm__(".symver ff_foo,av_foo@VERSION");
-void ff_foo(void) {}
-EOF
-fi
if [ -n "$optflags" ]; then
add_cflags $optflags
diff --git a/libavutil/internal.h b/libavutil/internal.h
index 5ed3fb8..d9e3ffb 100644
--- a/libavutil/internal.h
+++ b/libavutil/internal.h
@@ -189,34 +189,6 @@ struct AVDictionary {
/**
- * Define a function with only the non-default version specified.
- *
- * On systems with ELF shared libraries, all symbols exported from
- * Libav libraries are tagged with the name and major version of the
- * library to which they belong. If a function is moved from one
- * library to another, a wrapper must be retained in the original
- * location to preserve binary compatibility.
- *
- * Functions defined with this macro will never be used to resolve
- * symbols by the build-time linker.
- *
- * @param type return type of function
- * @param name name of function
- * @param args argument list of function
- * @param ver version tag to assign function
- */
-#if HAVE_SYMVER_ASM_LABEL
-# define FF_SYMVER(type, name, args, ver) \
- type ff_##name args __asm__ (EXTERN_PREFIX #name "@" ver); \
- type ff_##name args
-#elif HAVE_SYMVER_GNU_ASM
-# define FF_SYMVER(type, name, args, ver) \
- __asm__ (".symver ff_" #name "," EXTERN_PREFIX #name "@" ver); \
- type ff_##name args; \
- type ff_##name args
-#endif
-
-/**
* Returns NULL if a threading library has not been enabled.
* Used to disable threading functions in AVCodec definitions
* when not needed.
--
1.7.3.4
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel