hasheddan
e5539a570f
Add submodules target to main makefile
...
Adds a submodules convenience target to main makefile. Submodules must
be initialized before other targets can run successfully.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com >
2020-10-18 13:45:29 -05:00
Jeremy Soller
9529e09568
Force overwrite of libc.so.6 if it exists
2020-10-06 11:12:42 -06:00
Mateusz Tabaka
c000373a08
Add symlink from libc.so to libc.so.6
...
Typically it's the other way around, but we can't have shared library named libc.so.6 in target/release directory.
cargo includes 'target/release' in LD_LIBRARY_PATH for build script, so even if clean build runs fine,
every subsquent run will make build script link with relibc.
2020-09-29 00:08:11 +02:00
Esteban Blanc
9e0e88346d
link: Weaken __rust_probestack symbol
2020-09-06 10:26:42 +02:00
Jeremy Soller
3a0d2177cd
Variable for weakened symbols, weaken umodti3
2020-08-25 08:21:31 -06:00
Jeremy Soller
5472e117a5
Weaken __fixdfti
2020-08-21 21:28:51 -06:00
Jeremy Soller
7db83596a2
Merge branch 'gcc_compile' into 'master'
...
Gcc compile
See merge request redox-os/relibc!303
2020-08-14 15:19:14 +00:00
oddcoder
9826cea092
Add SONAME for libc.so
...
Usually it is possible to refer to library either by the file name or by
elf "soname" soname is very similar for specifying something like
(LIB/API version) combination so if for example you have ./prog that
loads libx.so which is version 5.1.1 and there is ./plugin.so that ./prog
would load that requires libx.so version 5.1.2 both libx.so should have
the same soname to hint that they offer the exact same functionality.
And this patch specifies the soname for relibc libc.so.
2020-08-12 18:57:37 +02:00
jD91mZM2
7b6ba2c73a
Merge branch 'lD_PATH' into 'master'
...
L d path
See merge request redox-os/relibc!300
2020-08-12 10:19:32 +00:00
Ahmed Abd El Mawgood
40328a0d09
Modify ld_script so that it works on linux.
...
Honestly, I have no idea why are these modifications needed, but it
seams they are needed
2020-08-12 10:19:32 +00:00
jD91mZM2
d827c0f166
Run Linux tests in CI
...
commit 09cb17e66f46c6687fa0b9dc0895ad3279caa092
Author: jD91mZM2 <me@krake.one >
Date: Mon Aug 10 18:03:20 2020 +0200
comment out cargo tests
commit 1915c7306e40f5c6af36b04c765e25ad9ffe9d16
Author: jD91mZM2 <me@krake.one >
Date: Mon Aug 10 17:58:52 2020 +0200
Update redoxer docker image
2020-08-11 11:14:13 +02:00
Jeremy Soller
91f0be8790
Merge branch 'weaken_floattidf' into 'master'
...
Also weaken `__floattidf`
See merge request redox-os/relibc!299
2020-08-08 14:15:55 +00:00
jD91mZM2
6952a079ae
Fix CI
2020-08-07 14:16:45 +00:00
jD91mZM2
0178565f71
Move text section of linker away
...
Seems to collide with the program being loaded
2020-08-04 12:24:51 +00:00
James Graves
00b08605a3
Also weaken __floattidf
...
Fixes link error with ion shell.
2020-08-03 14:37:32 -05:00
Jeremy Soller
2073d2a80e
Use objcopy to remove duplicate symbols
2020-08-02 20:41:45 -06:00
Jeremy Soller
604f1c11a2
Build xargo locally
2020-06-02 08:35:37 -06:00
Graham MacDonald
2253ef609e
Remove vendored cbindgen, use cbindgen dependency to generate includes in build.rs
2020-04-10 23:05:58 +00:00
Jeremy Soller
d7a859fb84
Keep exported functions
2020-03-24 20:05:38 -06:00
Jeremy Soller
2629918100
Fix issue if test:redox is run without build:redox
2020-03-10 21:12:40 -06:00
Jeremy Soller
0090396132
Run cargo test
2020-03-10 21:03:52 -06:00
samuela
0be4208aa7
Fix ar usage in Makefile for macOS compatibility
2020-01-08 17:59:38 +00:00
jD91mZM2
7f702720af
Fix header file generation for ptrace
2019-08-04 19:05:44 +02:00
Mateusz Mikuła
63a1319e50
Cbindgen update
2019-07-10 10:08:39 +00:00
Jeremy Soller
5c0b37a229
Run verify script on Redox
2019-07-06 17:31:52 -06:00
Jeremy Soller
e146cb3687
Allow multiple definitions
2019-07-06 12:48:58 -06:00
Jeremy Soller
208b56b487
Revert "Allow multiple definition in ld_so to avoid linking issues"
...
This reverts commit b4c738eb62 .
2019-07-01 16:52:19 -06:00
Jeremy Soller
b4c738eb62
Allow multiple definition in ld_so to avoid linking issues
2019-07-01 16:44:07 -06:00
Jeremy Soller
2606266c3f
If the prefix is recompiled, clzsi2 does not have to be removed.
2019-05-11 10:05:38 -06:00
Jeremy Soller
6a16275817
Fix warning, format makefile, and update depends
2019-04-24 19:50:57 -06:00
Jeremy Soller
cb9e779ca1
Install ld_so
2019-04-13 21:39:08 -06:00
Jeremy Soller
27cebdd688
Build librelibc without incremental support, gc-sections for ld.so
2019-04-13 21:15:38 -06:00
Jeremy Soller
084b69b361
Add ld_so executable
2019-04-13 12:17:38 -06:00
Jeremy Soller
d9ec8b4ab0
Do not link to standard libraries when making libc.so...
2019-04-11 21:02:01 -06:00
Jeremy Soller
2b56f2882b
Add libc.so, remove compiler_builtins
2019-04-11 21:00:39 -06:00
Jeremy Soller
cf800b5282
Add shared object for openlibm and pthreads-emb
2019-04-11 20:10:08 -06:00
Jeremy Soller
2fdca9bd0a
Work around definition of O_NOFOLLOW, and add target for only building and installing headers
2019-04-07 10:11:05 -06:00
Jeremy Soller
bee72373be
Fix panic not producing output
2019-03-27 21:28:39 -06:00
Jeremy Soller
cee4449f7c
Replace make calls with MAKE variable
2019-03-16 18:54:11 -06:00
Jeremy Soller
0c5abf0361
Combine all libraries into libc.a, call pthread_init and pthread_terminate in libc
2019-01-07 19:11:30 -07:00
Jeremy Soller
be035f8862
Copy pthreads-emb files on install
2018-12-09 11:29:51 -07:00
Jeremy Soller
8aae8e1564
Add PTE
...
Add sys_timeb header
2018-12-09 11:27:44 -07:00
Jeremy Soller
62b0b0d508
Add rustcflags to makefile
2018-12-02 10:24:16 -07:00
Jeremy Soller
35bcf93160
Merge branch 'master' of https://gitlab.redox-os.org/redox-os/relibc
2018-11-27 10:07:47 -07:00
Jeremy Soller
0a44d4543f
Override CC for aarch64 redox
2018-11-27 10:07:44 -07:00
Jeremy Soller
950b4526c7
- Disable output of empty header files
...
- Remove incorrect header styles
- Use export.replace where header style was previously needed
- Check compilation of tests using system gcc
2018-11-26 21:35:02 -07:00
Alexander Theißen
e102c234c1
Properly export CC variable in Makefile
...
We cannot use ?= because CC is set by default to "cc". Therefore
CC was never set. In addition we need to export the variable
in order to have the rust cc crate pick it up. Otherwise it is
only used by openlibm where it is explicitly passed.
2018-11-17 20:17:35 +01:00
Jeremy Soller
81dc144241
Abandon overriding cargo flags, for now
2018-11-13 21:03:14 -07:00
Jeremy Soller
f1c970beef
Fix override of CARGOFLAGS when using target
2018-11-13 21:00:05 -07:00
Jeremy Soller
8a972542be
Allow override of cargoflags
2018-11-13 20:56:59 -07:00