From 764d43af46db76289acab606aa8f9da50411ea18 Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Wed, 26 Jul 2017 12:04:38 +0100 Subject: [PATCH 2/5] relocatable-lib{,-lgpl}: add Valgrind suppressions * build-aux/relocatable.supp: Add. * modules/relocatable-lib: Add relocatable.supp. * modules/relocatable-lib-lgpl: Likewise. --- ChangeLog | 7 +++++++ build-aux/relocatable.supp | 8 ++++++++ modules/relocatable-lib | 1 + modules/relocatable-lib-lgpl | 1 + 4 files changed, 17 insertions(+) create mode 100644 build-aux/relocatable.supp diff --git a/ChangeLog b/ChangeLog index 2631e69..6ef31e6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2017-07-26 Reuben Thomas + relocatable-lib{,-lgpl}: add Valgrind suppressions + * build-aux/relocatable.supp: Add. + * modules/relocatable-lib: Add relocatable.supp. + * modules/relocatable-lib-lgpl: Likewise. + +2017-07-26 Reuben Thomas + relocatable: Make the license on the sources the GPL. * lib/relocatable.h (relocatable): * lib/relocatable.c (relocatable): Change the license from LGPL, which diff --git a/build-aux/relocatable.supp b/build-aux/relocatable.supp new file mode 100644 index 0000000..c3dfeff --- /dev/null +++ b/build-aux/relocatable.supp @@ -0,0 +1,8 @@ +# set_this_relocation_prefix leaks intentionally +{ + relocatable/set_this_relocation_prefix + Memcheck:Leak + fun:malloc + fun:set_this_relocation_prefix + fun:set_relocation_prefix +} diff --git a/modules/relocatable-lib b/modules/relocatable-lib index 58efa91..a37c27a 100644 --- a/modules/relocatable-lib +++ b/modules/relocatable-lib @@ -3,6 +3,7 @@ Help make libraries relocatable, that is, to allow them to function properly when copied to an arbitrary directory. Files: +build-aux/relocatable.supp doc/relocatable.texi lib/relocatable.h lib/relocatable.c diff --git a/modules/relocatable-lib-lgpl b/modules/relocatable-lib-lgpl index 11b1400..0783864 100644 --- a/modules/relocatable-lib-lgpl +++ b/modules/relocatable-lib-lgpl @@ -3,6 +3,7 @@ Help make libraries relocatable, that is, to allow them to function properly when copied to an arbitrary directory. Files: +build-aux/relocatable.supp doc/relocatable.texi lib/relocatable.h lib/relocatable.c -- 2.7.4