- Jun 02, 2020
-
-
FIX error: right operand of shift expression '(1 << BLA)' is greater than or equal to the precision BLA of the left operand [-fpermissive]
-
Jeremy Soller authored
-
Jeremy Soller authored
-
- Jun 01, 2020
-
-
Jeremy Soller authored
Ld library path See merge request redox-os/relibc!275
-
Ahmed Abd El Mawgood authored
During early parts of ld.so, errno and other thread local variables are not yet initialized so we cannot use function (such as unistd::access) that depends on such thread local variables (errno). For this reason this patch creates small wrapper around the syscall that doesn't not touch the errno
-
Ahmed Abd El Mawgood authored
Current LD_LIBRARY_PATH implementation overwrites the original search path, which is not the best idea, instead this patch would check LD_LIBRARY_PATH first and if it didn't find the libraries it is looking for, then it will search the original search path
-
- May 28, 2020
-
-
Jeremy Soller authored
-
Jeremy Soller authored
-
Jeremy Soller authored
-
- May 24, 2020
-
-
Jeremy Soller authored
Don't accept null pointer in tests when requesting aligned memory See merge request redox-os/relibc!272
-
Jeremy Soller authored
Minor fixes to posix_memalign() See merge request redox-os/relibc!271
-
Peter Limkilde Svendsen authored
-
Peter Limkilde Svendsen authored
-
Peter Limkilde Svendsen authored
-
- May 23, 2020
-
-
Jeremy Soller authored
Gcc regressions See merge request redox-os/relibc!270
-
Ahmed Abd El Mawgood authored
-
Ahmed Abd El Mawgood authored
as it seams you can do something like printf ("A%*s%s/\n", -5, "B", "CC"); and it will print the padding to the left
-
Ahmed Abd El Mawgood authored
-
Ahmed Abd El Mawgood authored
Scanf function requires look ahead to function properly, In case of scanning from a buffer that will not be an issue, but in our case we are reading from file, so lookaheads needs to be undone (via lseek) in our case. The only problem here is that if we opened a file that doesn't support lseek such as many of the file /dev/*
-
Ahmed Abd El Mawgood authored
-
Ahmed Abd El Mawgood authored
At least in relibc, each call to ungetc should decrement ftell() by one also allowing negative ftell() this is not possible on relibc thus gcc failing to compile (gcc compiles tools that is later used to compile gcc itself and these tools are the ones that fail)
-
Ahmed Abd El Mawgood authored
-
Ahmed Abd El Mawgood authored
According to the standards, only one ungetc may be guaranteed however glibc allows more than one of those, and to be glibc compatiable, one needs to be able to do the same, allowing only 1 ungetc may trigger bug while compiling gcc as ungetc is used there alot
-
Ahmed Abd El Mawgood authored
Normally one shouldn't be using this datatype ever, but then someone have to tell that to gcc folks :(
-
- May 22, 2020
-
-
Jeremy Soller authored
-
Jeremy Soller authored
-
Jeremy Soller authored
-
- May 21, 2020
-
-
Jeremy Soller authored
- May 13, 2020
-
-
Jeremy Soller authored
Binutils regressions See merge request redox-os/relibc!269
-
Ahmed Abd El Mawgood authored
There was a bug (also uncovered via binutils) where R_X86_64_DTPOFF64 is set uncorrectly. This program is the minimal reproducer of the seg fault #include <errno.h> int main() { int oerrno = errno; } But it works after the bug fix.
-
- May 08, 2020
-
-
Ahmed Abd El Mawgood authored
-
Ahmed Abd El Mawgood authored
-
Ahmed Abd El Mawgood authored
There was bug in printf where space paddings cause segfault, the problem was that it was pulled from the stack twice while it should be only done once.
-
Ahmed Abd El Mawgood authored
In patch 1182d120, I mistakingly added the size of the gap to the total size of the binary, which was not accurate. As the size of the binary was calculate by subtracting the upperbound from the lower bound, thus all gaps in the middle are taking into account.
-
- May 03, 2020
-
-
Jeremy Soller authored
Ld.so regressions See merge request redox-os/relibc!268
-
Ahmed Abd El Mawgood authored
This fixes a regression in gdb where sometimes it decides to ignore the first entry in the list.
-
Ahmed Abd El Mawgood authored
I noticed that the implementation is noth precise although it worked. and instead of using the sections to identify memory addresses of DT_DEBUG. I used segements
-
Ahmed Abd El Mawgood authored
Some ELFs can have gaps between the segments, this results in problems when mprotecting or when converting (addr + size) into rust slice. Motivated by this This patch will fill these gaps with mmaped addresses. In theory no real memory should be allocated because mmap is lazy allocator.
-