commit | 38f1d9880295b039bb67fefe9fa23f704ccd0dac | [log] [tgz] |
---|---|---|
author | Thomas Chou <thomas@wytron.com.tw> | Sat May 15 06:00:05 2010 +0800 |
committer | Scott McNutt <smcnutt@psyent.com> | Fri May 28 10:56:03 2010 -0400 |
tree | 167f6c45a02eb0a3aa570ff8b215c48bb4a48f96 | |
parent | 8fa38586ad5120122eebf6728162f8ff28d79f2c [diff] |
nios2: fix div64 issue for gcc4 This patch fixes the run-time error on div64 when built with gcc4, which was reported by jhwu0625 on nios forum. It merges math support from libgcc of gcc4. This patch is copied from nios2-linux. It works with both gcc3 and gcc4. The old mult.c, divmod.c and math.h are removed. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Signed-off-by: Scott McNutt <smcnutt@psyent.com>