1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-28 07:21:26 +03:00
libxml2/libxml2.syms
Nick Wellnhofer bbb2b8f136 Remove symbols from version script
The version script didn't account for symbols disabled by configuration
options. This has caused problems on some OSs in the past and breaks
lld 16 which enables --no-undefined-version by default.

A proper fix would be rather involved, so we simply remove all symbols
from the version script. This is an ELF-only feature and libxml2 never
made use of symbol versioning anyway. Ultimately, this removes the need
for a lot of bookkeeping without tangible benefits.

We have to keep the version nodes to avoid errors when running binaries
linked against older versions of libxml2.

Fixes #473.
2023-01-17 16:18:48 +01:00

53 lines
1.7 KiB
Plaintext

#
# Retained for backward compatibility.
#
# The original version script didn't account for configuration options.
# Since libxml2 never made use of symbol versioning, all symbols were
# removed in version 2.11.0. Only the version nodes are kept to avoid
# errors when running binaries linked against older versions.
#
LIBXML2_2.4.30 {};
LIBXML2_2.5.0 {} LIBXML2_2.4.30;
LIBXML2_2.5.2 {} LIBXML2_2.5.0;
LIBXML2_2.5.4 {} LIBXML2_2.5.2;
LIBXML2_2.5.5 {} LIBXML2_2.5.4;
LIBXML2_2.5.6 {} LIBXML2_2.5.5;
LIBXML2_2.5.7 {} LIBXML2_2.5.6;
LIBXML2_2.5.8 {} LIBXML2_2.5.7;
LIBXML2_2.5.9 {} LIBXML2_2.5.8;
LIBXML2_2.6.0 {} LIBXML2_2.5.9;
LIBXML2_2.6.1 {} LIBXML2_2.6.0;
LIBXML2_2.6.2 {} LIBXML2_2.6.1;
LIBXML2_2.6.3 {} LIBXML2_2.6.2;
LIBXML2_2.6.5 {} LIBXML2_2.6.3;
LIBXML2_2.6.6 {} LIBXML2_2.6.5;
LIBXML2_2.6.7 {} LIBXML2_2.6.6;
LIBXML2_2.6.8 {} LIBXML2_2.6.7;
LIBXML2_2.6.10 {} LIBXML2_2.6.8;
LIBXML2_2.6.11 {} LIBXML2_2.6.10;
LIBXML2_2.6.12 {} LIBXML2_2.6.11;
LIBXML2_2.6.14 {} LIBXML2_2.6.12;
LIBXML2_2.6.15 {} LIBXML2_2.6.14;
LIBXML2_2.6.16 {} LIBXML2_2.6.15;
LIBXML2_2.6.17 {} LIBXML2_2.6.16;
LIBXML2_2.6.18 {} LIBXML2_2.6.17;
LIBXML2_2.6.19 {} LIBXML2_2.6.18;
LIBXML2_2.6.20 {} LIBXML2_2.6.19;
LIBXML2_2.6.21 {} LIBXML2_2.6.20;
LIBXML2_2.6.23 {} LIBXML2_2.6.21;
LIBXML2_2.6.24 {} LIBXML2_2.6.23;
LIBXML2_2.6.25 {} LIBXML2_2.6.24;
LIBXML2_2.6.27 {} LIBXML2_2.6.25;
LIBXML2_2.6.28 {} LIBXML2_2.6.27;
LIBXML2_2.6.32 {} LIBXML2_2.6.28;
LIBXML2_2.7.0 {} LIBXML2_2.6.32;
LIBXML2_2.7.3 {} LIBXML2_2.7.0;
LIBXML2_2.7.4 {} LIBXML2_2.7.3;
LIBXML2_2.8.0 {} LIBXML2_2.7.4;
LIBXML2_2.9.0 {} LIBXML2_2.8.0;
LIBXML2_2.9.1 {} LIBXML2_2.9.0;
LIBXML2_2.9.8 {} LIBXML2_2.9.1;
LIBXML2_2.9.11 {} LIBXML2_2.9.8;
LIBXML2_2.11.0 {} LIBXML2_2.9.11;