diff options
author | Michael Meeks <michael.meeks@novell.com> | 2010-10-08 16:36:18 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2010-10-08 16:36:18 +0100 |
commit | 12b2cdc522a46cd984acd2e5f22640fb40afe299 (patch) | |
tree | 53eec62ce213b53e5ba060c4f8cefe65b88a1298 /sal/util | |
parent | remove unused macros, and add SAL_N_ELEMENTS (diff) | |
download | core-12b2cdc522a46cd984acd2e5f22640fb40afe299.tar.gz core-12b2cdc522a46cd984acd2e5f22640fb40afe299.zip |
Enable valgrind-ability with G_SLICE env. var
Dung out old, awful and pretty pointless valgrind solution involving
unpleasant LD_PRELOAD thing that doesn't ship, and/or work easily.
Diffstat (limited to 'sal/util')
-rw-r--r-- | sal/util/makefile.mk | 24 | ||||
-rw-r--r-- | sal/util/salalloc.list | 7 | ||||
-rw-r--r-- | sal/util/salalloc.map | 10 |
3 files changed, 0 insertions, 41 deletions
diff --git a/sal/util/makefile.mk b/sal/util/makefile.mk index 82ebbc811c8d..1eab39a565fc 100644 --- a/sal/util/makefile.mk +++ b/sal/util/makefile.mk @@ -156,12 +156,6 @@ SHL1STDLIBS+=-lcrypt .ENDIF .ENDIF -# #i105898# required for LD_PRELOAD libsalalloc_malloc.so -# if sal is linked with -Bsymbolic-functions -.IF "$(HAVE_LD_BSYMBOLIC_FUNCTIONS)" == "TRUE" -SHL1LINKFLAGS+=-Wl,--dynamic-list=salalloc.list -.ENDIF # .IF "$(HAVE_LD_BSYMBOLIC_FUNCTIONS)" == "TRUE" - SHL1LIBS+=$(SLB)$/$(TARGET).lib .IF "$(linkinc)" != "" @@ -182,24 +176,6 @@ SHL1DEF= $(MISC)$/$(SHL1TARGET).def DEF1NAME= $(SHL1TARGET) -# -# This part builds a tiny extra lib, -# containing an alloc.c which uses system -# heap instead of our own mem management. -# This is e.g. useful for proper valgrinding -# the office. -# -.IF "$(OS)"=="LINUX" - -TARGET2 = salalloc_malloc -SHL2TARGET= $(TARGET2) -SHL2IMPLIB= i$(TARGET2) -SHL2VERSIONMAP= salalloc.map - -SHL2LIBS+=$(SLB)$/SYSALLOC_cpprtl.lib - -.ENDIF # .IF "$(OS)"=="LINUX" - # --- Coverage ----------------------------------------------------- # LLA: 20040304 The follows lines are an additional which is only need if we run # coverage tests. For normal test runs this feature is not used. diff --git a/sal/util/salalloc.list b/sal/util/salalloc.list deleted file mode 100644 index 303d225dda7f..000000000000 --- a/sal/util/salalloc.list +++ /dev/null @@ -1,7 +0,0 @@ -{ - rtl_allocateMemory; - rtl_reallocateMemory; - rtl_freeMemory; - rtl_allocateZeroMemory; - rtl_freeZeroMemory; -}; diff --git a/sal/util/salalloc.map b/sal/util/salalloc.map deleted file mode 100644 index 3cd098b83bdf..000000000000 --- a/sal/util/salalloc.map +++ /dev/null @@ -1,10 +0,0 @@ -UDK_3_0_0 { - global: - rtl_allocateMemory; - rtl_reallocateMemory; - rtl_freeMemory; - rtl_allocateZeroMemory; - rtl_freeZeroMemory; - local: - *; -}; |