libvirt/scripts
Andrea Bolognani 2757e91c2b scripts: Make check-symfile.py work on alpha
The script expects each of the symbols that it looks for to
be in one of three sections, which in nm(1) are described as
follows:

  T - The symbol is in the text (code) section.
  B - The symbol is in the BSS data section. This section
      typically contains zero-initialized or uninitialized
      data, although the exact behavior is system dependent.
  D - The symbol is in the initialized data section.

When building on alpha, however, some of the symbols show up
in one of two additional sections, specifically:

  S - The symbol is in an uninitialized or zero-initialized
      data section for small objects.
  G - The symbol is in an initialized data section for small
      objects.

In other words, S is the same as B and G is the same as D,
except with some optimization for small objects that for some
reason is applied on alpha but not on other architectures.

I have confirmed that, for all the symbols that the script
complained about being missing on alpha, the section is the
expected one, that is, symbols that are reported as B on x86
are reported as S on alpha, and symbols that are reported as
D on x86 are reported as G on alpha.

Note that, while the B section doesn't seem to be used at all
on alpha, at least in our case, the D section still is.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2024-01-30 18:05:15 +01:00
..
rpcgen rpcgen: Skip generator tests on macOS 2023-12-01 13:50:19 +01:00
apibuild.py scripts: Fix the flake8 syntax-check failures 2023-06-29 11:51:27 +02:00
augeas-gentest.py
check-aclperms.py
check-aclrules.py
check-driverimpls.py
check-drivername.py
check-file-access.py
check-html-references.py scripts: Fix the flake8 syntax-check failures 2023-06-29 11:51:27 +02:00
check-pot.py scripts: Fix the flake8 syntax-check failures 2023-06-29 11:51:27 +02:00
check-remote-protocol.py
check-symfile.py scripts: Make check-symfile.py work on alpha 2024-01-30 18:05:15 +01:00
check-symsorting.py build: only support python3 binary 2019-12-04 13:13:01 +00:00
cocci-macro-file.h lib: Use G_NO_INLINE instead of G_GNUC_NO_INLINE 2022-07-18 17:23:15 +02:00
dtrace2systemtap.py
esx_vi_generator.py scripts: Fix the flake8 syntax-check failures 2023-06-29 11:51:27 +02:00
genaclperms.py docs: ACL: Mention the ACL object name along with the corresponding libvirt object name 2023-02-20 18:26:47 +01:00
genpolkit.py
gensystemtap.py
group-qemu-caps.py
header-ifdef.py
hvsupport.py scripts: Fix the flake8 syntax-check failures 2023-06-29 11:51:27 +02:00
hyperv_wmi_generator.py scripts: Fix the flake8 syntax-check failures 2023-06-29 11:51:27 +02:00
merge-systemd-units.py systemd: Allow comments at the top of units 2023-10-25 12:19:32 +02:00
meson-dist.py scripts: Fix the flake8 syntax-check failures 2023-06-29 11:51:27 +02:00
meson-gen-authors.py
meson-gen-def.py
meson-gen-sym.py
meson-install-dirs.py
meson-install-symlink.py scripts: Fix meson-install-symlink.py overwriting existing links 2020-08-05 13:11:16 +02:00
meson-install-web.py scripts: Add $DESTDIR support to meson-install-web.py 2022-08-11 14:01:55 +02:00
meson-python.sh
meson-timestamp.py scripts: Fix the flake8 syntax-check failures 2023-06-29 11:51:27 +02:00
meson.build rpcgen: add an XDR protocol lexer 2023-11-03 14:06:35 -04:00
mock-noinline.py lib: Use G_NO_INLINE instead of G_GNUC_NO_INLINE 2022-07-18 17:23:15 +02:00
prohibit-duplicate-header.py