summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libvtv/ChangeLog9
-rw-r--r--libvtv/Makefile.am2
-rw-r--r--libvtv/Makefile.in3
3 files changed, 11 insertions, 3 deletions
diff --git a/libvtv/ChangeLog b/libvtv/ChangeLog
index cd473554d73..c968a0d4644 100644
--- a/libvtv/ChangeLog
+++ b/libvtv/ChangeLog
@@ -1,7 +1,14 @@
+2013-07-30 Caroline Tice <cmtice@google.com>
+ Benjamin Kosnik <bkoz@redhat.com>
+
+ * Makefile.am (AM_CXXFLAGS): Add
+ Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end.
+ * Makefile.in: Regenerate.
+
2013-07-29 Benjamin Kosnik <bkoz@redhat.com>
* doc/VtableVerificationFeatureProposal.pdf: Edits.
-
+
2013-07-29 Caroline Tice <cmtice@google.com>
* scripts/sum-vtv-counts.c: New. Summarize -fvtv-counts output log
diff --git a/libvtv/Makefile.am b/libvtv/Makefile.am
index 1a0dbd7a2d2..edecf726878 100644
--- a/libvtv/Makefile.am
+++ b/libvtv/Makefile.am
@@ -32,6 +32,7 @@ AM_CFLAGS = $(XCFLAGS)
AM_CCASFLAGS = $(XCFLAGS)
AM_CXXFLAGS = $(XCFLAGS)
AM_CXXFLAGS += $(LIBSTDCXX_RAW_CXX_CXXFLAGS)
+AM_CXXFLAGS += -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end
toolexeclib_LTLIBRARIES = libvtv.la
@@ -58,7 +59,6 @@ libvtv_la_SOURCES =
libvtv_include_HEADERS =
endif
-
# By adding these files here, automake will remove them for 'make clean'
CLEANFILES = stamp-*
diff --git a/libvtv/Makefile.in b/libvtv/Makefile.in
index 8feff7084f8..0c674958f25 100644
--- a/libvtv/Makefile.in
+++ b/libvtv/Makefile.in
@@ -263,7 +263,8 @@ gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
AM_CPPFLAGS = -I $(top_srcdir) -I $(top_srcdir)/include
AM_CFLAGS = $(XCFLAGS)
AM_CCASFLAGS = $(XCFLAGS)
-AM_CXXFLAGS = $(XCFLAGS) $(LIBSTDCXX_RAW_CXX_CXXFLAGS)
+AM_CXXFLAGS = $(XCFLAGS) $(LIBSTDCXX_RAW_CXX_CXXFLAGS) \
+ -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end
toolexeclib_LTLIBRARIES = libvtv.la
vtv_headers = \
vtv_map.h \