Changeset 2eadda9 in mainline for uspace/lib/c/arch/abs32le
- Timestamp:
- 2018-07-11T17:45:30Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 99d3123
- Parents:
- c2c4127
- git-author:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-07-11 17:08:12)
- git-committer:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-07-11 17:45:30)
- Location:
- uspace/lib/c/arch/abs32le
- Files:
-
- 2 edited
-
_link.ld.in (modified) (1 diff)
-
src/entry.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/abs32le/_link.ld.in
rc2c4127 r2eadda9 57 57 58 58 .init_array : { 59 #ifndef SHLIB 59 60 PROVIDE_HIDDEN (__init_array_start = .); 61 #endif 60 62 KEEP (*(SORT_BY_INIT_PRIORITY(.init_array.*) SORT_BY_INIT_PRIORITY(.ctors.*))) 61 63 KEEP (*(.init_array .ctors)) 64 #ifndef SHLIB 62 65 PROVIDE_HIDDEN (__init_array_end = .); 66 #endif 63 67 } 64 68 65 69 .fini_array : { 70 #ifndef SHLIB 66 71 PROVIDE_HIDDEN (__fini_array_start = .); 72 #endif 67 73 KEEP (*(SORT_BY_INIT_PRIORITY(.fini_array.*) SORT_BY_INIT_PRIORITY(.dtors.*))) 68 74 KEEP (*(.fini_array .dtors)) 75 #ifndef SHLIB 69 76 PROVIDE_HIDDEN (__fini_array_end = .); 77 #endif 70 78 } 71 79 -
uspace/lib/c/arch/abs32le/src/entry.c
rc2c4127 r2eadda9 30 30 */ 31 31 32 #include "../../../generic/private/libc.h"33 32 #include <stddef.h> 34 33 35 34 extern void _start(void); 35 extern void __c_start(void *); 36 36 37 37 /* Normally, the entry point is defined in assembly for the architecture. */ … … 39 39 void _start(void) 40 40 { 41 __ libc_main(NULL);41 __c_start(NULL); 42 42 } 43 43
Note:
See TracChangeset
for help on using the changeset viewer.
