aboutsummaryrefslogtreecommitdiff
path: root/newlib
AgeCommit message (Collapse)AuthorFilesLines
2015-10-14newlib: load gp with auipc/addi, not laAndrew Waterman1-1/+3
Otherwise, gp will be used to load gp...
2015-08-20upgrade newlib to 2.2.0Scott Beamer1-2/+2
2015-07-01Disable newlib's dynamic rounding without FPalmer Dabbelt1-0/+18
GCC's softfloat is built by default without support for dynamic rounding modes. This makes softfloat newlib's floating point always round-to-zero, and returns a failure code when trying to set it. This patch is needed to make newlib compile on anything without F, as it used to try use an undefined instruction to do this.
2015-07-01Have fesetmask return -1 on RISC-VPalmer Dabbelt1-1/+1
You're only supposed to return 0 if the exception mask was set correctly, and this doesn't set the mask at all.
2015-02-23Upgrade to glibc 2.21Andrew Waterman1-1/+0
2015-01-07newlib, glibc: fix strcmp regressionAndrew Waterman1-23/+23
I screwed up when porting it to the new calling convention.
2015-01-06glibc, newlib: don't save/restore tp on get/setcontextAndrew Waterman1-2/+0
Thread-local storage shouldn't be affected by these calls.
2014-12-20binutils: rework jump pseudoisntructionAndrew Waterman1-1/+1
"jump" was renamed to "tail" (as in tail call) and may freely clobber a t-register, as before. A new "jump" was added that requires a second argument, which is the scratch register it may clobber. "tail" should be used for tail calls; "jump" should be used for intraprocedural jumps more than 1 MiB away.
2014-12-08newlib, glibc: fix memcpy bugAndrew Waterman1-17/+25
h/t Martin Maas
2014-10-27binutils, gcc, glibc: new calling conventionAndrew Waterman6-130/+99
v0-1 are removed; arguments are now returned in a0-1. Registers are renumbered so that s0-1 and a0-5 map to x8-15 to simplify the RVC ISA. (These are the most popular 8 registers besides x0 and sp.)
2014-09-11newlib: import port of newlib 1.18.0Andrew Waterman30-0/+11786