Files
Richard W.M. Jones 665e0dde81 test-data/binaries: Regenerate LoongArch files with stripping
These were regenerated by Dan Berrange from a known good Debian
container image.  In addition they are stripped.  The commands were:

 $ podman run -it registry.gitlab.com/qemu-project/qemu/qemu/debian-loongarch-cross
 # echo 'int main(){}' > bin.c
 # loongarch64-unknown-linux-gnu-gcc bin.c -o bin-loongarch64
 # loongarch64-unknown-linux-gnu-strip --strip-all bin-loongarch64
 # echo '' > lib.c
 # loongarch64-unknown-linux-gnu-gcc -shared lib.c -o lib-loongarch64.so
 # loongarch64-unknown-linux-gnu-strip --strip-all lib-loongarch64.so

Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2024-04-25 13:00:55 +01:00
..
2024-02-21 10:50:07 +00:00

The bin-* and lib-* files are used for testing the
guestfs_file_architecture API.

The bin-* files are generated from empty source files (ie.
"main(){}") on the respective architectures.

The lib-* files are generated from a (really) empty source file called
lib.c which is linked into a library using gcc -shared on the
respective architectures.

If you are concerned that these binary files "lack source" then you
can just remove them, but you may need to patch out various tests.