On 6/7/19 1:07 AM, Martin Liška wrote:
> Hi.
> 
> I'm sending 2 follow up patches that touch libiberty memory allocation
> functions.
> 
> Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
> 
> Ready to be installed?
> Thanks,
> Martin
> 
> 
> 0001-Add-alloc_size-for-libiberty-memory-allocation-funct.patch
> 
> From bd430388cffe4b72d6be52cbaeda9eb9c8f8a248 Mon Sep 17 00:00:00 2001
> From: Martin Liska <mli...@suse.cz>
> Date: Fri, 7 Jun 2019 08:09:36 +0200
> Subject: [PATCH 1/2] Add alloc_size for libiberty memory allocation functions.
> 
> include/ChangeLog:
> 
> 2019-06-07  Martin Liska  <mli...@suse.cz>
> 
>       * ansidecl.h:
>       (ATTRIBUTE_RESULT_SIZE_1): Define new macro.
>       (ATTRIBUTE_RESULT_SIZE_2): Likewise.
>       (ATTRIBUTE_RESULT_SIZE_1_2): Likewise.
>       * libiberty.h (xmalloc): Add RESULT_SIZE attribute.
>       (xrealloc): Likewise.
>       (xcalloc): Likewise.
OK.
jeff

Reply via email to