This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hello newlib While using newlib 1.19 and 1.20 successfully to have a current gcc 4.6.1 based GNU toolchain for a legacy MC68332 based CPU Board for which we still have to maintain code, I encountered misaligned address runtime exceptions in newlib/libc/machine/m68k/memcpy.S running on a MC68332 CPU (CPU32 core). While investigating this issue, I found the following discussion: http://old.nabble.com/-PATCH--more-problems-with-newlib-libc-machine-m68k-memcpy.S-td27515903.html The final version of the patch in the 2nd post from bottom has been proved to work in a productive environment. All the credits for the fix go to the people participating to the linked discussion. For convenience, I have attached a patch file containing the patch from the mentioned post above to this mail; it has to be applied to the current newlib 1.20 sources with the ignore-white-space option. I think it would be a good thing to have this fix in the official newlib sources. Joerg
Attachment:
m68k_memcpy.S.patch
Description: m68k_memcpy.S.patch
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |