musl/arch
Rich Felker 0a48860c27 add riscv64 architecture support
Author: Alex Suykov <alex.suykov@gmail.com>
Author: Aric Belsito <lluixhi@gmail.com>
Author: Drew DeVault <sir@cmpwn.com>
Author: Michael Clark <mjc@sifive.com>
Author: Michael Forney <mforney@mforney.org>
Author: Stefan O'Rear <sorear2@gmail.com>

This port has involved the work of many people over several years. I
have tried to ensure that everyone with substantial contributions has
been credited above; if any omissions are found they will be noted
later in an update to the authors/contributors list in the COPYRIGHT
file.

The version committed here comes from the riscv/riscv-musl repo's
commit 3fe7e2c75df78eef42dcdc352a55757729f451e2, with minor changes by
me for issues found during final review:

- a_ll/a_sc atomics are removed (according to the ISA spec, lr/sc
  are not safe to use in separate inline asm fragments)

- a_cas[_p] is fixed to be a memory barrier

- the call from the _start assembly into the C part of crt1/ldso is
  changed to allow for the possibility that the linker does not place
  them nearby each other.

- DTP_OFFSET is defined correctly so that local-dynamic TLS works

- reloc.h LDSO_ARCH logic is simplified and made explicit.

- unused, non-functional crti/n asm files are removed.

- an empty .sdata section is added to crt1 so that the
  __global_pointer reference is resolvable.

- indentation style errors in some asm files are fixed.
2019-06-14 17:13:05 -04:00
..
aarch64 math: add fp_arch.h with fp_barrier and fp_force_eval 2019-04-17 13:06:43 -04:00
arm arm: add io_pgetevents syscall number from v4.19 2019-03-13 12:32:08 -04:00
generic math: add fp_arch.h with fp_barrier and fp_force_eval 2019-04-17 13:06:43 -04:00
i386 improve i386 inline syscall asm on non-broken compilers 2019-05-11 19:44:21 -04:00
m68k add support for arch-specific ptrace command macros 2018-07-17 22:25:08 -04:00
microblaze fix passing of 64-bit syscall arguments on microblaze 2019-05-05 10:52:41 -04:00
mips fix broken posix_fadvise on mips due to missing 7-arg syscall support 2019-05-05 11:24:57 -04:00
mips64 implement inline 5- and 6-argument syscalls for mipsn32 and mips64 2019-04-10 19:56:08 -04:00
mipsn32 fix build regression on mips n32 due to typo in new inline syscall 2019-05-05 11:10:42 -04:00
or1k remove cruft for supposedly-buggy clang from or1k & microblaze syscall_arch 2019-04-10 18:07:51 -04:00
powerpc use inline syscalls for powerpc (32-bit) 2019-04-10 18:34:38 -04:00
powerpc64 make powerpc64 vrregset_t logical layout match expected API 2019-05-22 23:27:48 -04:00
riscv64 add riscv64 architecture support 2019-06-14 17:13:05 -04:00
s390x fix regression in s390x SO_PEERSEC definition 2019-04-23 12:57:16 -04:00
sh move arch-invariant definitions out of bits/ioctl.h 2019-02-07 12:43:19 -05:00
x32 add io_pgetevents and rseq syscall numbers from linux v4.18 2018-12-09 22:29:12 -05:00
x86_64 add io_pgetevents and rseq syscall numbers from linux v4.18 2018-12-09 22:29:12 -05:00