-
- Downloads
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>
Showing
- arch/nios2/lib/Makefile 1 addition, 2 deletionsarch/nios2/lib/Makefile
- arch/nios2/lib/divmod.c 0 additions, 101 deletionsarch/nios2/lib/divmod.c
- arch/nios2/lib/libgcc.c 592 additions, 0 deletionsarch/nios2/lib/libgcc.c
- arch/nios2/lib/longlong.h 263 additions, 0 deletionsarch/nios2/lib/longlong.h
- arch/nios2/lib/math.h 0 additions, 16 deletionsarch/nios2/lib/math.h
- arch/nios2/lib/mult.c 0 additions, 56 deletionsarch/nios2/lib/mult.c
Loading
Please register or sign in to comment