|
|
@e8975278
|
7 years |
jiri |
A few more cstyle fixes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f3fdecc
|
7 years |
jakub |
Revert "Don't use custom ldscripts in uspace."
This reverts commit …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@66262a1b
|
7 years |
jiri.zarevucky |
Don't use custom ldscripts in uspace.
Even with the *-linux-gnu …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@009c485
|
7 years |
jiri.zarevucky |
Always use CC for linking.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@66855b2
|
7 years |
jiri.zarevucky |
Fix a linker script issue I introduced.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4c4b53c
|
7 years |
jiri.zarevucky |
Rename __entry to the usual _start .
Except for MIPS, where the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7148abf
|
7 years |
jiri.zarevucky |
Rename main to libc_main, to avoid conflict with libgcc.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3fafe5e0
|
7 years |
jiri |
Fix incorrectly indented double-slash comments.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4f205248
|
7 years |
jiri.zarevucky |
Honor TLS alignment.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d2f75eb
|
7 years |
noreply |
Replace autogen.py with something simpler. (#30)
Instead of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3bacee1
|
7 years |
jiri |
Make ccheck-fix again and commit more good files.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a69d42e
|
7 years |
jiri.zarevucky |
Define _end , and use it instead of the address of __entry in C code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@20287223
|
7 years |
jiri.zarevucky |
Instead of having a special linker script for loader, move its base …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1890f2a2
|
7 years |
martin |
fix linker warnings
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2c4e1cc
|
7 years |
jiri.zarevucky |
Define TLS consistently in linker scripts, and remove nonstandard …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1433ecda
|
7 years |
jiri |
Fix cstyle: make ccheck-fix and commit only files where all the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@47b2d7e3
|
7 years |
zarevucky.jiri |
Always load ELF headers as part of the text segment.
This forces us …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a35a3d8
|
7 years |
noreply |
Turn context_save/context_restore into standard setjmp/longjmp. (#24)
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e0a4686
|
7 years |
zarevucky.jiri |
Introduce context_swap() and use it to simplify fibril implementation. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f1380b7
|
7 years |
zarevucky.jiri |
style: Remove trailing whitespace on _all_ lines, including empty …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a35b458
|
7 years |
zarevucky.jiri |
style: Remove trailing whitespace on _all_ lines, including empty …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3061bc1
|
7 years |
zarevucky.jiri |
style: Remove trailing whitespace on non-empty lines, remaining files.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1b20da0
|
7 years |
zarevucky.jiri |
style: Remove trailing whitespace on non-empty lines, in certain file …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5b0cf63
|
8 years |
jiri |
A round of cstyle fixing (i.e. run make ccheck-fix).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1d6dd2a
|
8 years |
zarevucky.jiri |
Remove unnecessary includes from <stdio.h>.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b7fd2a0
|
8 years |
zarevucky.jiri |
Use errno_t in all uspace and kernel code.
Change type of every …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@de0213c
|
8 years |
zarevucky.jiri |
Revert accidental change two commits back.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@25a179e
|
8 years |
zarevucky.jiri |
IPC return values are always errno constants. Adjust types to reflect …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ee98e81
|
8 years |
zarevucky.jiri |
Don't include entry.o in libc.a
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@aa537a5a
|
8 years |
jakub |
Add 64-bit PIO functions
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eca820c
|
8 years |
zarevucky.jiri |
Revert change to the way startup file is referenced.
The path is not …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@584121d
|
8 years |
zarevucky.jiri |
Move reference to the startup object file (entry.o) out of the linker …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@002fd5f
|
8 years |
zarevucky.jiri |
Replace parts of system headers with <_bits/…>.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cf13b17
|
8 years |
zarevucky.jiri |
Rename <sys/types.h> to <types/common.h>
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2a7749d7
|
8 years |
zarevucky.jiri |
Add <sys/types.h> as a wrapper for <libarch/types.h>, and eliminate …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@33f86a3
|
8 years |
zarevucky.jiri |
Add PRI*PTR macros and correct a few printfs.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b1018a29
|
8 years |
zarevucky.jiri |
Fix all copypasted include guard typos.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a0a273e
|
8 years |
zarevucky.jiri |
Unify compiler handling a bit.
Most compiler flags have been changed …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@23c8acd9
|
8 years |
jakub |
Move off64_t and aoff64_t into offset.h
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9780584
|
8 years |
jakub |
Use -ffunction-sections and —gc-sections
This change results in vast …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7ee7e6a
|
8 years |
jakub |
Further reduce the number of inclusions of sys/types.h
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8d2dd7f2
|
8 years |
jakub |
Reduce the number of files that include <sys/types.h>
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f233840
|
8 years |
martin |
suppress dynamic linker warnings
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@58563585
|
9 years |
martin |
code review and cstyle cleanup (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0a981e3
|
9 years |
jiri |
Fix alignment, though technically not used on ia32.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d2bb25e7
|
9 years |
jiri |
Use DTVs. symbol_get_addr() should not implicitly read current thread …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e2f26002
|
9 years |
jiri |
symbol_get_addr() must treat thread-local variables differently than …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@29405ac
|
9 years |
jiri |
DTPMOD relocations with null symbol name should return the current …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@32573ff
|
9 years |
jiri |
Merge mainline, which has dltest and fixes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5035ba05
|
9 years |
jiri |
Default symbol search vs. dlsym's BFS search.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d6f9fff
|
9 years |
jakub |
ia32: Make TLS settable from uspace
The TLS document[1] mandates that …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6adb775f
|
9 years |
jiri |
TLS for dynamically linked executables and initially loaded DSOs (but …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0f792c28
|
9 years |
jiri |
Source for R_*_COPY relocations must be searched for everywhere except …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8844e70
|
9 years |
jakub |
ia32: use asmtool.h macros for defining symbols
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@321a8e6
|
9 years |
jakub |
ia32: Silence linker warnings during for dynamically linked builds
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fbf4dc1
|
10 years |
jiri |
size_t and ptrdiff_t belong in libc's stddef.h.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d6c98451
|
10 years |
jiri |
Move (u)intmax_t to libc. Some stdint.h work.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@903b5455
|
10 years |
martin |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@309a894
|
11 years |
jakub |
Do not link to missing autogenerated headers.
Do not weirdly link to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e74b24f
|
11 years |
jakub |
Autogenerate ia32 fibril context_t and its offsets.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8d427a3
|
11 years |
jakub |
Autogenerate istate_t and its offsets on ia32.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c1b979a
|
11 years |
jiri |
Taskdump printing of fibril stacktraces.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a070eff
|
12 years |
vojtechhorky |
setjmp for all architectures (thx Jiri Zarevucky)
Generic solution …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9ce0683
|
12 years |
martin |
make sure the stack is actually 16B aligned
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2b903ca
|
12 years |
martin |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@95e370f8
|
12 years |
martin |
determine CLANG_TARGET in autotool
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bf85e56
|
12 years |
martin |
remove obsolete CLANG_ARCH
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ea15a89a
|
12 years |
vojtechhorky |
Merge mainline changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@45f7449
|
12 years |
jakub |
Revert to the state of mainline,1783.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8a5a902
|
12 years |
martin |
GCC 4.8 recognizes parts of our C implementation of memset() and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2d1195c0
|
12 years |
martin |
fix setjmp() and longjmp() argument type
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@36ceaac
|
12 years |
vojtechhorky |
ia32 compiles with clang again
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@850235d
|
12 years |
vojtechhorky |
Merge mainline changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@31399f3
|
12 years |
jiri |
alloc_tls, maketls and free_tls are not …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3e6a98c5
|
13 years |
jiri |
Standards-compliant boolean type.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b5c2f56
|
13 years |
jano.vesely |
libc: Make pio_read_* accept const ioports.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@aebcd42
|
13 years |
vojtechhorky |
Prevent compile-time symlinks in userspace
Continuation of the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6ecf5b8
|
13 years |
vojtechhorky |
Prevent compile-time symlinks in kernel
So far, architecture specific …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3218648
|
13 years |
jano.vesely |
ddi: Add libc wrappers and prefix arch specific functions with "arch_"
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0783634
|
13 years |
martin |
place the .interp section behind the other sections in the text …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@74fec95
|
13 years |
sucha14 |
Add signed native integer definition to uspace types.h
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9bcdbc5
|
13 years |
martin |
make sure the code in .init is always aligned reasonably
(despite …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e1c0260
|
13 years |
martin |
improve loader .interp fix
* suppress the assembler warning by …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9dae3e97
|
13 years |
martin |
cstyle (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bb74dabe
|
14 years |
petr.koupy |
Removed duplicated declarations of intptr_t.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ec7f8b1
|
14 years |
petr.koupy |
Merge mainline changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c22531fc
|
14 years |
martin |
cstyle
(no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c8f70eb
|
14 years |
petr.koupy |
pcc incompatible inline assembly rewritten in a more agreeable fashion.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c916dfc
|
14 years |
petr.koupy |
Merge mainline changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@abf04a54
|
14 years |
jakub |
Merge PIO improvement from Zdenek Bouska.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5fb32c5
|
14 years |
petr.koupy |
Merge mainline changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@921b84f
|
14 years |
petr.koupy |
Merge libposix changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1c99eae
|
14 years |
martin |
cstyle
(no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@107f2e0
|
14 years |
petr.koupy |
Merge mainline changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8c15255
|
14 years |
sucha14 |
Add support for i486/vortex86 processor
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ee24574
|
14 years |
petr.koupy |
Merge libposix changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c53a705
|
14 years |
petr.koupy |
Resolved intptr_t .
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c0699467
|
14 years |
martin |
do not provide general access to kernel headers from uspace, only …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@74e6b1f
|
14 years |
jiri |
Write register state to core files (amd64).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1e891d0
|
14 years |
petr.koupy |
Inline assembly in ia32 libc headers made compatible with pcc.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|