This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix libbacktrace on 32-bit sparc
On Mon, Oct 29, 2012 at 11:40 AM, David Miller <davem@davemloft.net> wrote:
> From: David Miller <davem@davemloft.net>
> Date: Mon, 29 Oct 2012 14:33:33 -0400 (EDT)
>
>> From: Ian Lance Taylor <iant@google.com>
>> Date: Mon, 29 Oct 2012 11:31:33 -0700
>>
>>> On Mon, Oct 29, 2012 at 11:15 AM, David Miller <davem@davemloft.net> wrote:
>>>> From: Ian Lance Taylor <iant@google.com>
>>>> Date: Mon, 29 Oct 2012 11:13:19 -0700
>>>>
>>>>> I changed it from vec->base + vec->size. Now it is vec->base
>>>>> + size, where size is the aligned version of vec->size.
>>>>
>>>> It is not.
>>>>
>>>> You don't modify 'size' at all.
>>>
>>> Ah, yes, sorry.
>>>
>>> Could you test this patch?
>>
>> Will do, hopefully before ConEd turns my power off.
>
> Yep, this works, thanks!
Great, thanks for testing it!
Committed to mainline.
Ian
2012-10-29 Ian Lance Taylor <iant@google.com>
* mmap.c (backtrace_vector_release): Correct last patch: add
aligned, not size.