Ping! malloc bug, and PIC and flat shared library support for m68k
Bernd Schmidt
bernds_cb1 at t-online.de
Thu Dec 7 13:36:46 UTC 2006
Mike Frysinger wrote:
> On Wednesday 29 November 2006 04:15, Richard Sandiford wrote:
>> Ping!
>
> hmm, i thought i already committed this ... guess not
>
> you'll have to ping Bernd for the malloc question
He does? Oh.
Well, the patch I saw which uses
+#define HEAP_GRANULARITY_TYPE double __attribute_aligned__ (sizeof
(size_t))
seems reasonable once you find the place in the GCC docs that says that
attribute aligned never decreases alignment.
Why not just use plain attribute ((aligned)) which is documented to
provide the maximum alignment for any datatype? Seems like that's
exactly what we want for malloc.
Bernd
More information about the uClibc
mailing list