Glibc OpenRISC port
PATCH v4 11/13 or1k: Build Infrastructure
In reply to Stafford HorneQuoted 5 lines · Stafford Horne via Libc-alpha
Here we define the minumum linux kernel version at 5.4.0, as that is the long term support version where 32-bit architectures start to support 64-bit time API's. The OpenRISC kernel had some bugs up until version 5.8 which caused issues with glibc fork/clone, they have been backported to 5.4 but not previous versions.
LGTM, thanks.
Quoted 141 lines
--- sysdeps/or1k/Implies | 3 ++ sysdeps/or1k/Makefile | 7 +++++ sysdeps/or1k/nofpu/Implies | 1 + sysdeps/or1k/preconfigure | 34 +++++++++++++++++++++ sysdeps/unix/sysv/linux/or1k/Implies | 3 ++ sysdeps/unix/sysv/linux/or1k/Makefile | 8 +++++ sysdeps/unix/sysv/linux/or1k/configure | 4 +++ sysdeps/unix/sysv/linux/or1k/configure.ac | 4 +++ sysdeps/unix/sysv/linux/or1k/shlib-versions | 2 ++ 9 files changed, 66 insertions(+) create mode 100644 sysdeps/or1k/Implies create mode 100644 sysdeps/or1k/Makefile create mode 100644 sysdeps/or1k/nofpu/Implies create mode 100644 sysdeps/or1k/preconfigure create mode 100644 sysdeps/unix/sysv/linux/or1k/Implies create mode 100644 sysdeps/unix/sysv/linux/or1k/Makefile create mode 100644 sysdeps/unix/sysv/linux/or1k/configure create mode 100644 sysdeps/unix/sysv/linux/or1k/configure.ac create mode 100644 sysdeps/unix/sysv/linux/or1k/shlib-versionssysdeps/or1k/Implies new file +3
-0@@ -0,0 +1,3 @@ +wordsize-32 +ieee754/dbl-64 +ieee754/flt-32sysdeps/or1k/Makefile new file +7
-0@@ -0,0 +1,7 @@ +ASFLAGS-.os += -fPIC + +ifeq ($(subdir),elf) +# Extra shared linker files to link only into dl-allobjs.so. +sysdep-rtld-routines += dl-start +endif +sysdeps/or1k/nofpu/Implies new file +1
-0@@ -0,0 +1 @@ +ieee754/soft-fpsysdeps/or1k/preconfigure new file +34
-0@@ -0,0 +1,34 @@ +# +# This is free and unencumbered software released into the public domain. +# +# Anyone is free to copy, modify, publish, use, compile, sell, or +# distribute this software, either in source code form or as a compiled +# binary, for any purpose, commercial or non-commercial, and by any +# means. +# +# In jurisdictions that recognize copyright laws, the author or authors +# of this software dedicate any and all copyright interest in the +# software to the public domain. We make this dedication for the benefit +# of the public at large and to the detriment of our heirs and +# successors. We intend this dedication to be an overt act of +# relinquishment in perpetuity of all present and future rights to this +# software under copyright law. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +# IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR +# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +# OTHER DEALINGS IN THE SOFTWARE. +# + +case "$machine" in +or1k*) + base_machine=or1k + machine=or1k + + with_fp_cond="defined __or1k_hard_float__" + ;; +esac +sysdeps/unix/sysv/linux/or1k/Implies new file +3
-0@@ -0,0 +1,3 @@ +or1k/nptl +unix/sysv/linux/generic/wordsize-32 +unix/sysv/linux/genericsysdeps/unix/sysv/linux/or1k/Makefile new file +8
-0@@ -0,0 +1,8 @@ +ifeq ($(subdir),misc) +sysdep_routines += or1k_clone +endif + +ifeq ($(subdir),stdlib) +gen-as-const-headers += ucontext_i.sym +endif +sysdeps/unix/sysv/linux/or1k/configure new file +4
-0@@ -0,0 +1,4 @@ +# This file is generated from configure.ac by Autoconf. DO NOT EDIT! + # Local configure fragment for sysdeps/unix/sysv/linux/or1k. + +arch_minimum_kernel=5.4.0sysdeps/unix/sysv/linux/or1k/configure.ac new file +4
-0@@ -0,0 +1,4 @@ +GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. +# Local configure fragment for sysdeps/unix/sysv/linux/or1k. + +arch_minimum_kernel=5.4.0sysdeps/unix/sysv/linux/or1k/shlib-versions new file +2
-0@@ -0,0 +1,2 @@ +DEFAULT GLIBC_2.35 +ld=ld-linux-or1k.so.1
PATCH v4 11/13 or1k: Build Infrastructure
Quoted 9 lines · Adhemerval Zanella
Quoted 5 lines · Stafford Horne via Libc-alpha
Here we define the minumum linux kernel version at 5.4.0, as that is the long term support version where 32-bit architectures start to support 64-bit time API's. The OpenRISC kernel had some bugs up until version 5.8 which caused issues with glibc fork/clone, they have been backported to 5.4 but not previous versions.
Quoted 3 lines
LGTM, thanks.
Reviewed-by Adhemerval Zanella <[email protected]>
Thank you.
Quoted 141 lines
Quoted 141 lines
--- sysdeps/or1k/Implies | 3 ++ sysdeps/or1k/Makefile | 7 +++++ sysdeps/or1k/nofpu/Implies | 1 + sysdeps/or1k/preconfigure | 34 +++++++++++++++++++++ sysdeps/unix/sysv/linux/or1k/Implies | 3 ++ sysdeps/unix/sysv/linux/or1k/Makefile | 8 +++++ sysdeps/unix/sysv/linux/or1k/configure | 4 +++ sysdeps/unix/sysv/linux/or1k/configure.ac | 4 +++ sysdeps/unix/sysv/linux/or1k/shlib-versions | 2 ++ 9 files changed, 66 insertions(+) create mode 100644 sysdeps/or1k/Implies create mode 100644 sysdeps/or1k/Makefile create mode 100644 sysdeps/or1k/nofpu/Implies create mode 100644 sysdeps/or1k/preconfigure create mode 100644 sysdeps/unix/sysv/linux/or1k/Implies create mode 100644 sysdeps/unix/sysv/linux/or1k/Makefile create mode 100644 sysdeps/unix/sysv/linux/or1k/configure create mode 100644 sysdeps/unix/sysv/linux/or1k/configure.ac create mode 100644 sysdeps/unix/sysv/linux/or1k/shlib-versionssysdeps/or1k/Implies new file +3
-0@@ -0,0 +1,3 @@ +wordsize-32 +ieee754/dbl-64 +ieee754/flt-32sysdeps/or1k/Makefile new file +7
-0@@ -0,0 +1,7 @@ +ASFLAGS-.os += -fPIC + +ifeq ($(subdir),elf) +# Extra shared linker files to link only into dl-allobjs.so. +sysdep-rtld-routines += dl-start +endif +sysdeps/or1k/nofpu/Implies new file +1
-0@@ -0,0 +1 @@ +ieee754/soft-fpsysdeps/or1k/preconfigure new file +34
-0@@ -0,0 +1,34 @@ +# +# This is free and unencumbered software released into the public domain. +# +# Anyone is free to copy, modify, publish, use, compile, sell, or +# distribute this software, either in source code form or as a compiled +# binary, for any purpose, commercial or non-commercial, and by any +# means. +# +# In jurisdictions that recognize copyright laws, the author or authors +# of this software dedicate any and all copyright interest in the +# software to the public domain. We make this dedication for the benefit +# of the public at large and to the detriment of our heirs and +# successors. We intend this dedication to be an overt act of +# relinquishment in perpetuity of all present and future rights to this +# software under copyright law. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +# IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR +# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +# OTHER DEALINGS IN THE SOFTWARE. +# + +case "$machine" in +or1k*) + base_machine=or1k + machine=or1k + + with_fp_cond="defined __or1k_hard_float__" + ;; +esac +sysdeps/unix/sysv/linux/or1k/Implies new file +3
-0@@ -0,0 +1,3 @@ +or1k/nptl +unix/sysv/linux/generic/wordsize-32 +unix/sysv/linux/genericsysdeps/unix/sysv/linux/or1k/Makefile new file +8
-0@@ -0,0 +1,8 @@ +ifeq ($(subdir),misc) +sysdep_routines += or1k_clone +endif + +ifeq ($(subdir),stdlib) +gen-as-const-headers += ucontext_i.sym +endif +sysdeps/unix/sysv/linux/or1k/configure new file +4
-0@@ -0,0 +1,4 @@ +# This file is generated from configure.ac by Autoconf. DO NOT EDIT! + # Local configure fragment for sysdeps/unix/sysv/linux/or1k. + +arch_minimum_kernel=5.4.0sysdeps/unix/sysv/linux/or1k/configure.ac new file +4
-0@@ -0,0 +1,4 @@ +GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. +# Local configure fragment for sysdeps/unix/sysv/linux/or1k. + +arch_minimum_kernel=5.4.0sysdeps/unix/sysv/linux/or1k/shlib-versions new file +2
-0@@ -0,0 +1,2 @@ +DEFAULT GLIBC_2.35 +ld=ld-linux-or1k.so.1
PATCH v4 12/13 build-many-glibcs.py: add OpenRISC support
In reply to Stafford Horne--- scripts/build-many-glibcs.py | 5 +++++ 1 file changed, 5 insertions(+)
scripts/build-many-glibcs.py +5 -0
@@ -335,6 +335,10 @@ class Context(object): 'ccopts': '-mabi=64'}]) self.add_config(arch='nios2', os_name='linux-gnu') + self.add_config(arch='or1k', + os_name='linux-gnu', + variant='soft', + gcc_cfg=['--with-multilib-list=mcmov']) self.add_config(arch='powerpc', os_name='linux-gnu', gcc_cfg=['--disable-multilib', '--enable-secureplt'],
@@ -1271,6 +1275,7 @@ def install_linux_headers(policy, cmdlist): 'microblaze': 'microblaze', 'mips': 'mips', 'nios2': 'nios2', + 'or1k': 'openrisc', 'powerpc': 'powerpc', 's390': 's390', 'riscv32': 'riscv',
Signature · 1 line
2.31.1
PATCH v4 12/13 build-many-glibcs.py: add OpenRISC support
LGTM, thanks.
Quoted 27 lines · Stafford Horne via Libc-alpha
--- scripts/build-many-glibcs.py | 5 +++++ 1 file changed, 5 insertions(+)scripts/build-many-glibcs.py +5
-0@@ -335,6 +335,10 @@ class Context(object): 'ccopts': '-mabi=64'}]) self.add_config(arch='nios2', os_name='linux-gnu') + self.add_config(arch='or1k', + os_name='linux-gnu', + variant='soft', + gcc_cfg=['--with-multilib-list=mcmov']) self.add_config(arch='powerpc', os_name='linux-gnu', gcc_cfg=['--disable-multilib', '--enable-secureplt'],@@ -1271,6 +1275,7 @@ def install_linux_headers(policy, cmdlist): 'microblaze': 'microblaze', 'mips': 'mips', 'nios2': 'nios2', + 'or1k': 'openrisc', 'powerpc': 'powerpc', 's390': 's390', 'riscv32': 'riscv',
PATCH v4 12/13 build-many-glibcs.py: add OpenRISC support
Quoted 4 lines · Adhemerval Zanella
LGTM, thanks.
Reviewed-by Adhemerval Zanella <[email protected]>
Thank you.
Quoted 28 lines · Stafford Horne via Libc-alpha
Quoted 27 lines
--- scripts/build-many-glibcs.py | 5 +++++ 1 file changed, 5 insertions(+)scripts/build-many-glibcs.py +5
-0@@ -335,6 +335,10 @@ class Context(object): 'ccopts': '-mabi=64'}]) self.add_config(arch='nios2', os_name='linux-gnu') + self.add_config(arch='or1k', + os_name='linux-gnu', + variant='soft', + gcc_cfg=['--with-multilib-list=mcmov']) self.add_config(arch='powerpc', os_name='linux-gnu', gcc_cfg=['--disable-multilib', '--enable-secureplt'],@@ -1271,6 +1275,7 @@ def install_linux_headers(policy, cmdlist): 'microblaze': 'microblaze', 'mips': 'mips', 'nios2': 'nios2', + 'or1k': 'openrisc', 'powerpc': 'powerpc', 's390': 's390', 'riscv32': 'riscv',
PATCH v4 13/13 Documentation for OpenRISC port
In reply to Stafford HorneOpenRISC architecture specification:
https://raw.githubusercontent.com/openrisc/doc/master/openrisc-arch-1.3-rev1.pdf
Currently the port as of the 2021-12-23 rebasing there are no known architecture sepcific test failures.
Writing credits for the port are:
Stafford Horne <[email protected]>
Christian Svensson <[email protected]>
--- NEWS | 5 +++++ README | 1 + 2 files changed, 6 insertions(+)
NEWS +5 -0
@@ -527,6 +527,11 @@ Major new features: The latest GCC available at this time (10.2) does not support this level of fortification. +* Support for OpenRISC on Linux has been added. + + The OpenRISC port requires at least Linux 5.4, GCC 11 and binutils 2.35. + Currently only soft-float is supported. + Deprecated and removed features, and other changes affecting compatibility: * The mallinfo function is marked deprecated. Callers should call
README +1 -0
@@ -35,6 +35,7 @@ The GNU C Library supports these configurations for using Linux kernels: microblaze*-*-linux-gnu mips-*-linux-gnu mips64-*-linux-gnu + or1k-*-linux-gnu powerpc-*-linux-gnu Hardware or software floating point, BE only. powerpc64*-*-linux-gnu Big-endian and little-endian. s390-*-linux-gnu
Signature · 1 line
2.31.1
PATCH v4 13/13 Documentation for OpenRISC port
Quoted 22 lines · Stafford Horne via Libc-alpha
OpenRISC architecture specification:
https://raw.githubusercontent.com/openrisc/doc/master/openrisc-arch-1.3-rev1.pdf
Currently the port as of the 2021-12-23 rebasing there are no known architecture sepcific test failures.
Writing credits for the port are:
Stafford Horne <[email protected]>
Christian Svensson <[email protected]>--- NEWS | 5 +++++ README | 1 + 2 files changed, 6 insertions(+)NEWS +0
-0@@ -527,6 +527,11 @@ Major new features: The latest GCC available at this time (10.2) does not support this level of
NEWS Major new features: · line 537
Quoted 10 lines
NEWS +5
-0fortification. +* Support for OpenRISC on Linux has been added. + + The OpenRISC port requires at least Linux 5.4, GCC 11 and binutils 2.35. + Currently only soft-float is supported. + Deprecated and removed features, and other changes affecting compatibility: * The mallinfo function is marked deprecated. Callers should call
Maybe follow the entries for other architectures, for instance following riscv32 and arc:
* Support for OpenRISC running on Linux has been added. This port requires as least binutils 2.35, GCC 11, and Linux 5.4. Currently only soft-float ABI is supported.
(maybe also add the triple name here).
Quoted 12 lines
README +1
-0@@ -35,6 +35,7 @@ The GNU C Library supports these configurations for using Linux kernels: microblaze*-*-linux-gnu mips-*-linux-gnu mips64-*-linux-gnu + or1k-*-linux-gnu powerpc-*-linux-gnu Hardware or software floating point, BE only. powerpc64*-*-linux-gnu Big-endian and little-endian. s390-*-linux-gnu
v4 cover Glibc OpenRISC port
In reply to Stafford HorneQuoted 76 lines · Stafford Horne via Libc-alpha
This is the OpenRISC port for glibc that I have been working on.
Changes since v3:
- Fix suggestion from Paul Eggert
- Fix Docs typo pore/port
- Fixed suggestions from Adhemerval:
- Used ENTRY/END asm macros where missing
- Remove block indl-machine.hsuggestingLD_PROFILE
- Removejmp_buf-macros.hmacros and use new default.
- Remove tcb-offsets.sym file andMakefilereference.
- Removetcb-offsets.hinclude intls.h.
- Define lib-audit register layout inline with other architectures.
- Fix usage of locally defined register inor1k_get_got. Also, fixup indentation when usingor1k_get_got.
- Cleanup abilists after rebasing, adding rseq and removing empty files.
- Remove prctl and other unused entries in the linuxMakefile.
- FixSTACK_ALIGNto 4 bytes, from incorrect copy-n-paste 16 bytes.
- Use defaultpthreadtypes-arch.h.
- Mention only soft-float supported in NEWS.
- Removesysdeps/unix/sysv/linux/or1k/bits/timesize.hand use new default.Changes since v2:
- Fixed suggestions from Joseph Myers:
- Fix comment style, and description on top of each file
- Make sure macros have parentheses when needed,
- Bump required kernel down to 5.4.0 and document
- Regeneratearch-syscall.h
- Fixed suggestions from Adhemerval:
- Removekernel_stat.h
- Just setMMAP2_PAGE_UNITto 8K
- Removeioctl.candsyscall.cfiles
- Update TCB alignment to 32 bytesChanges since v1:
- Update api's as suggested by Florian
- Remove hard float support
- Updates to get all tests passing
- Split patch into managable bits similar to recent ARC portDocumentation:
Architecture / ABI docs:
https://raw.githubusercontent.com/openrisc/doc/master/openrisc-arch-1.3-rev1.pdfTest Results:
build-many-glibcs.py:PASS with mainline ang gcc-11.
Full test suite:
This time I ran the test suite with timeout of 300 and with patch for forcing
O_LARGEFILEin open64 [0]. The test has one failure but it seems like flaky test as it passed after the second run.# results in file: /home/shorne/work/gnu-toolchain/log/test--20211226-162029.log # test start: 2021-12-26T16:20:29+09:00# failures FAIL: posix/tst-execveat /* Running second time passes */# test finish: 2021-12-29T12:54:08+09:00 # test duration: 2 days 20 hours 33 minutes and 39 seconds # test for file: tests.sum # test wrapper: /home/shorne/work/gnu-toolchain/glibc/scripts/cross-test-ssh.sh --timeoutfactor 300 10.0.0.5# summary 1 FAIL 4148 PASS 31 UNSUPPORTED 16 XFAIL 2 XPASS
Quoted 8 lines
posix/tst-execveat.out: Timed out: killed the child process Termination time: 2021-12-29T01:02:42.433964340 Last write to standard output: 2021-12-28T23:22:40.266363000 tests.sum: https://gist.github.com/stffrdhrn/88c1fce0c54350258f1f5869068d015a[0] https://sourceware.org/pipermail/libc-alpha/2021-December/134634.html
The port seems to be in good shape I would recommend to send just another versions with the nits and fixes me an Joseph raised:
- Use Elf32_Addr and Elf32_Sym on link.h and sotruss-lib.c.
- Check if the inline assembly dl-machine.h requires the 'memory' clobber.
- Remove the superflous atomic typedefs on atomic-machine.h.
- Add the _dl_find_object on libc.abilist.
- Remove libnsl.abilist.
- Maybe use the current wording for the NEWS entry.
I think with a v5 with the above fixed we can push it for 2.35.
Quoted 157 lines
Stafford Horne (13):
elf: Add reloc for OpenRISC
linux/syscalls: Addor1k_atomicsyscall for OpenRISC
or1k: ABI Implementation
or1k: startup and dynamic linking code
or1k: Thread Local Storage support
or1k: Atomics and Locking primitives
or1k: math soft float support
or1k: Linux Syscall Interface
or1k: Linux ABI
or1k: ABI lists
or1k: Build Infrastructurebuild-many-glibcs.py: add OpenRISC support Documentation for OpenRISC portNEWS | 5 + README | 1 + elf/elf.h | 37 + scripts/build-many-glibcs.py | 5 + sysdeps/or1k/Implies | 3 + sysdeps/or1k/Makefile | 7 + sysdeps/or1k/__longjmp.S | 50 + sysdeps/or1k/atomic-machine.h | 79 + sysdeps/or1k/bits/endianness.h | 11 + sysdeps/or1k/bits/fenv.h | 69 + sysdeps/or1k/bits/link.h | 54 + sysdeps/or1k/bits/setjmp.h | 32 + sysdeps/or1k/bsd-_setjmp.S | 1 + sysdeps/or1k/bsd-setjmp.S | 1 + sysdeps/or1k/dl-machine.h | 300 +++ sysdeps/or1k/dl-start.S | 98 + sysdeps/or1k/dl-tls.h | 27 + sysdeps/or1k/dl-trampoline.S | 73 + sysdeps/or1k/jmpbuf-offsets.h | 23 + sysdeps/or1k/jmpbuf-unwind.h | 36 + sysdeps/or1k/ldsodefs.h | 40 + sysdeps/or1k/libc-tls.c | 34 + sysdeps/or1k/libm-test-ulps | 1112 +++++++++ sysdeps/or1k/libm-test-ulps-name | 1 + sysdeps/or1k/machine-gmon.h | 35 + sysdeps/or1k/memusage.h | 21 + sysdeps/or1k/nofpu/Implies | 1 + sysdeps/or1k/nofpu/math-tests-exceptions.h | 29 + sysdeps/or1k/nofpu/math-tests-rounding.h | 28 + sysdeps/or1k/nptl/pthreaddef.h | 36 + sysdeps/or1k/nptl/tls.h | 184 ++ sysdeps/or1k/preconfigure | 34 + sysdeps/or1k/setjmp.S | 56 + sysdeps/or1k/sfp-machine.h | 93 + sysdeps/or1k/sotruss-lib.c | 51 + sysdeps/or1k/stackinfo.h | 34 + sysdeps/or1k/start.S | 99 + sysdeps/or1k/sysdep.h | 83 + sysdeps/or1k/tininess.h | 1 + sysdeps/or1k/tst-audit.h | 24 + sysdeps/unix/sysv/linux/or1k/Implies | 3 + sysdeps/unix/sysv/linux/or1k/Makefile | 8 + sysdeps/unix/sysv/linux/or1k/arch-syscall.h | 325 +++ sysdeps/unix/sysv/linux/or1k/bits/procfs.h | 38 + sysdeps/unix/sysv/linux/or1k/c++-types.data | 67 + sysdeps/unix/sysv/linux/or1k/clone.c | 61 + sysdeps/unix/sysv/linux/or1k/configure | 4 + sysdeps/unix/sysv/linux/or1k/configure.ac | 4 + sysdeps/unix/sysv/linux/or1k/getcontext.S | 72 + sysdeps/unix/sysv/linux/or1k/ld.abilist | 8 + .../sysv/linux/or1k/libBrokenLocale.abilist | 1 + sysdeps/unix/sysv/linux/or1k/libc.abilist | 2122 +++++++++++++++++ .../sysv/linux/or1k/libc_malloc_debug.abilist | 26 + sysdeps/unix/sysv/linux/or1k/libcrypt.abilist | 2 + sysdeps/unix/sysv/linux/or1k/libm.abilist | 759 ++++++ sysdeps/unix/sysv/linux/or1k/libnsl.abilist | 121 + .../unix/sysv/linux/or1k/libresolv.abilist | 55 + .../unix/sysv/linux/or1k/libthread_db.abilist | 40 + sysdeps/unix/sysv/linux/or1k/localplt.data | 14 + sysdeps/unix/sysv/linux/or1k/makecontext.c | 77 + sysdeps/unix/sysv/linux/or1k/mmap_internal.h | 28 + sysdeps/unix/sysv/linux/or1k/or1k_clone.S | 89 + sysdeps/unix/sysv/linux/or1k/setcontext.S | 108 + sysdeps/unix/sysv/linux/or1k/shlib-versions | 2 + sysdeps/unix/sysv/linux/or1k/sigcontextinfo.h | 28 + sysdeps/unix/sysv/linux/or1k/swapcontext.S | 116 + sysdeps/unix/sysv/linux/or1k/sys/ucontext.h | 53 + sysdeps/unix/sysv/linux/or1k/sys/user.h | 1 + sysdeps/unix/sysv/linux/or1k/sysdep.c | 34 + sysdeps/unix/sysv/linux/or1k/sysdep.h | 201 ++ sysdeps/unix/sysv/linux/or1k/ucontext_i.sym | 26 + sysdeps/unix/sysv/linux/syscall-names.list | 1 + 72 files changed, 7402 insertions(+) create mode 100644 sysdeps/or1k/Implies create mode 100644 sysdeps/or1k/Makefile create mode 100644 sysdeps/or1k/__longjmp.S create mode 100644 sysdeps/or1k/atomic-machine.h create mode 100644 sysdeps/or1k/bits/endianness.h create mode 100644 sysdeps/or1k/bits/fenv.h create mode 100644 sysdeps/or1k/bits/link.h create mode 100644 sysdeps/or1k/bits/setjmp.h create mode 100644 sysdeps/or1k/bsd-_setjmp.S create mode 100644 sysdeps/or1k/bsd-setjmp.S create mode 100644 sysdeps/or1k/dl-machine.h create mode 100644 sysdeps/or1k/dl-start.S create mode 100644 sysdeps/or1k/dl-tls.h create mode 100644 sysdeps/or1k/dl-trampoline.S create mode 100644 sysdeps/or1k/jmpbuf-offsets.h create mode 100644 sysdeps/or1k/jmpbuf-unwind.h create mode 100644 sysdeps/or1k/ldsodefs.h create mode 100644 sysdeps/or1k/libc-tls.c create mode 100644 sysdeps/or1k/libm-test-ulps create mode 100644 sysdeps/or1k/libm-test-ulps-name create mode 100644 sysdeps/or1k/machine-gmon.h create mode 100644 sysdeps/or1k/memusage.h create mode 100644 sysdeps/or1k/nofpu/Implies create mode 100644 sysdeps/or1k/nofpu/math-tests-exceptions.h create mode 100644 sysdeps/or1k/nofpu/math-tests-rounding.h create mode 100644 sysdeps/or1k/nptl/pthreaddef.h create mode 100644 sysdeps/or1k/nptl/tls.h create mode 100644 sysdeps/or1k/preconfigure create mode 100644 sysdeps/or1k/setjmp.S create mode 100644 sysdeps/or1k/sfp-machine.h create mode 100644 sysdeps/or1k/sotruss-lib.c create mode 100644 sysdeps/or1k/stackinfo.h create mode 100644 sysdeps/or1k/start.S create mode 100644 sysdeps/or1k/sysdep.h create mode 100644 sysdeps/or1k/tininess.h create mode 100644 sysdeps/or1k/tst-audit.h create mode 100644 sysdeps/unix/sysv/linux/or1k/Implies create mode 100644 sysdeps/unix/sysv/linux/or1k/Makefile create mode 100644 sysdeps/unix/sysv/linux/or1k/arch-syscall.h create mode 100644 sysdeps/unix/sysv/linux/or1k/bits/procfs.h create mode 100644 sysdeps/unix/sysv/linux/or1k/c++-types.data create mode 100644 sysdeps/unix/sysv/linux/or1k/clone.c create mode 100644 sysdeps/unix/sysv/linux/or1k/configure create mode 100644 sysdeps/unix/sysv/linux/or1k/configure.ac create mode 100644 sysdeps/unix/sysv/linux/or1k/getcontext.S create mode 100644 sysdeps/unix/sysv/linux/or1k/ld.abilist create mode 100644 sysdeps/unix/sysv/linux/or1k/libBrokenLocale.abilist create mode 100644 sysdeps/unix/sysv/linux/or1k/libc.abilist create mode 100644 sysdeps/unix/sysv/linux/or1k/libc_malloc_debug.abilist create mode 100644 sysdeps/unix/sysv/linux/or1k/libcrypt.abilist create mode 100644 sysdeps/unix/sysv/linux/or1k/libm.abilist create mode 100644 sysdeps/unix/sysv/linux/or1k/libnsl.abilist create mode 100644 sysdeps/unix/sysv/linux/or1k/libresolv.abilist create mode 100644 sysdeps/unix/sysv/linux/or1k/libthread_db.abilist create mode 100644 sysdeps/unix/sysv/linux/or1k/localplt.data create mode 100644 sysdeps/unix/sysv/linux/or1k/makecontext.c create mode 100644 sysdeps/unix/sysv/linux/or1k/mmap_internal.h create mode 100644 sysdeps/unix/sysv/linux/or1k/or1k_clone.S create mode 100644 sysdeps/unix/sysv/linux/or1k/setcontext.S create mode 100644 sysdeps/unix/sysv/linux/or1k/shlib-versions create mode 100644 sysdeps/unix/sysv/linux/or1k/sigcontextinfo.h create mode 100644 sysdeps/unix/sysv/linux/or1k/swapcontext.S create mode 100644 sysdeps/unix/sysv/linux/or1k/sys/ucontext.h create mode 100644 sysdeps/unix/sysv/linux/or1k/sys/user.h create mode 100644 sysdeps/unix/sysv/linux/or1k/sysdep.c create mode 100644 sysdeps/unix/sysv/linux/or1k/sysdep.h create mode 100644 sysdeps/unix/sysv/linux/or1k/ucontext_i.sym