summaryrefslogtreecommitdiff
path: root/patches/glibc/2.25/960-sh4-trap-divdi3.patch
AgeCommit message (Collapse)AuthorFilesLines
2017-05-14Fix sh4-*-linux with GCC7Alexey Neyman1-0/+296
GCC7 also checks -fsanitize=divide-by-zero, which generates a trap and in sh4, traps in rtld result in link failure. Pull the fix from upstream, although it is not a complete fix, I think: this still generates a trap (SIGILL) rather than the intended SIGFPE. Signed-off-by: Alexey Neyman <stilor@att.net>