summaryrefslogtreecommitdiff
path: root/patches/dmalloc/5.5.2/170-ppc-bogus-assembly.patch
AgeCommit message (Collapse)AuthorFilesLines
2016-04-02Unbreak powerpc-unknown-linux-uclibc.Alexey Neyman1-0/+13
There is invalid assembly in dmalloc for PowerPC. The issue is that 'stw' expects a memory operand, and =g constraint allows both registers and memory. Newer GCC tends to choose register even at -O0, resulting in invalid assembly. Instead, force a register constraint in 'mflr' and let GCC decide if it wants to store it into memory at all. Reported this upstream. Signed-off-by: Alexey Neyman <stilor@att.net>