1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-04 04:50:22 +00:00
QB64-PE/tests/compile_tests/declare_library_external
Matthew Kilgore fac5375ea6 Fix DECLARE LIBRARY against stripped .so file
.so files can be stripped such that they contain no "regular" symbol
table but do still contain the "dynamic" symbol table, this is pretty
typical for .so files. QB64-PE is supposed to check both tables when
linking against a .so file, but a bug in ab0c2b18 meant that the second
run of nm with the -D flag to check the dynamic symbol table no longer
happens. The fix is to introduce a new output file for the dynamic run
so that they are handled separately in terms of caching the result.

A new test .so file that only contains a dynamic symbol table was added
to avoid this in the future.

Fixes: #301
2023-02-19 02:10:51 -05:00
..
lib.c Add more tests and dynamic library support 2022-05-12 00:21:02 -04:00
lib.dll Add more tests and dynamic library support 2022-05-12 00:21:02 -04:00
lib32.dll Add more tests and dynamic library support 2022-05-12 00:21:02 -04:00
liblib.dylib Add more tests and dynamic library support 2022-05-12 00:21:02 -04:00
liblib.so Add more tests and dynamic library support 2022-05-12 00:21:02 -04:00
liblibstripped.so Fix DECLARE LIBRARY against stripped .so file 2023-02-19 02:10:51 -05:00
test.bas Add more tests and dynamic library support 2022-05-12 00:21:02 -04:00
test.output Add more tests and dynamic library support 2022-05-12 00:21:02 -04:00
test_stripped.bas Fix DECLARE LIBRARY against stripped .so file 2023-02-19 02:10:51 -05:00
test_stripped.output Fix DECLARE LIBRARY against stripped .so file 2023-02-19 02:10:51 -05:00