Hi,
I defined the heep in linker command file. How can I force malloc to use 8 byte aligned memory?
regards
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I defined the heep in linker command file. How can I force malloc to use 8 byte aligned memory?
regards
Hi,
the standard malloc() already returns pointer aligned to 8, since it have to returns pointers usable with all the C standard type, that is at least sizeof(double) = 8,.