From e4be17fd04adb5404207bcd260cdd26cbd931c3f Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sun, 21 Sep 2014 14:31:05 -0700 Subject: ralloc: Mark ralloc functions with gcc's malloc attribute. Cuts a few hundred bytes from the DRI drivers, so it must give gcc some extra information. Reviewed-by: Ian Romanick --- configure.ac | 1 + 1 file changed, 1 insertion(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 13b339eaaf..1d4a6ae891 100644 --- a/configure.ac +++ b/configure.ac @@ -142,6 +142,7 @@ AX_GCC_BUILTIN([__builtin_unreachable]) AX_GCC_FUNC_ATTRIBUTE([flatten]) AX_GCC_FUNC_ATTRIBUTE([format]) +AX_GCC_FUNC_ATTRIBUTE([malloc]) AX_GCC_FUNC_ATTRIBUTE([packed]) AM_CONDITIONAL([GEN_ASM_OFFSETS], test "x$GEN_ASM_OFFSETS" = xyes) -- cgit v1.2.3