libtpms/src
Stefan Berger 59f46464d5 build-sys: work around broken linker when testing --version-script support
The linker on FreeBSD seems to be broken and fails for other reasons
when testing for support of the --version-script flag. The error
that is reported is:

local symbol 'environ' in /usr/lib/crt1.o is referenced by DSO.

Also __progname is needed.

To work around this problem we add a test.syms file that only has
these two symbols in it, which is enough for the test in
configure.ac and gives version script support in case of the
broken linker.

On FreeBSD TPM 1.2 related tests were failing due to test case 6
failures in case no linker script was used. (Very odd.) This patch
fixes this problem.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2018-08-30 21:45:16 +00:00
..
tpm2 tpm2: Make compileable on OS X/Darwin 2018-08-30 14:55:09 -04:00
tpm12 tpm2: Choose the TPM2 NVRAM memory to be 64kb 2018-06-15 18:07:48 -04:00
compiler.h library: use __attribute__((format,...) to check printf format and args 2018-06-15 18:07:49 -04:00
libtpms.syms Integrate the TPM 2 into the library; do not compile with TPM 2 yet 2018-06-15 18:07:47 -04:00
Makefile.am build-sys: work around broken linker when testing --version-script support 2018-08-30 21:45:16 +00:00
test.syms build-sys: work around broken linker when testing --version-script support 2018-08-30 21:45:16 +00:00
tpm_library_conf.h Initial import of project 2013-10-31 15:33:22 -05:00
tpm_library_intern.h library: use __attribute__((format,...) to check printf format and args 2018-06-15 18:07:49 -04:00
tpm_library.c tpm2: Make compileable on FreeBSD 2018-08-29 01:07:13 +00:00
tpm_tpm2_interface.c tpm2: Determine which PCR banks need to be restored 2018-07-19 17:19:53 -04:00
tpm_tpm2_tis.c Support for TPMEstablished flag in TPM2 code 2018-06-15 18:07:47 -04:00
tpm_tpm12_interface.c Integrate the TPM 2 into the library; do not compile with TPM 2 yet 2018-06-15 18:07:47 -04:00
tpm_tpm12_tis.c Introduce internal interface to reach TPM functionality 2015-12-08 09:07:54 -05:00