Changeset c735afb in mainline
- Timestamp:
- 2018-07-05T21:41:24Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 199b6d8
- Parents:
- b57a3ee
- git-author:
- Dzejrou <dzejrou@…> (2018-06-25 18:54:33)
- git-committer:
- Dzejrou <dzejrou@…> (2018-07-05 21:41:24)
- Location:
- uspace/lib
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/elf/elf_load.c
rb57a3ee rc735afb 112 112 pcb->dynamic = info->finfo.dynamic; 113 113 pcb->rtld_runtime = info->env; 114 pcb->cpp_data = info->finfo.cpp_data;115 114 } 116 115 -
uspace/lib/c/generic/elf/elf_mod.c
rb57a3ee rc735afb 200 200 elf->info->interp = NULL; 201 201 elf->info->dynamic = NULL; 202 elf->info->cpp_data.ctors_count = 0;203 elf->info->cpp_data.dtors_count = 0;204 202 205 203 if (phdr_len > sizeof(phdr)) { -
uspace/lib/c/include/loader/pcb.h
rb57a3ee rc735afb 75 75 /** Pointer to dynamic linker state structure (rtld_t). */ 76 76 void *rtld_runtime; 77 /** C++ related data. */78 cpp_data_t cpp_data;79 77 } pcb_t; 80 78 -
uspace/lib/cpp/include/__bits/random.hpp
rb57a3ee rc735afb 1030 1030 * something better. 1031 1031 */ 1032 hel::srand om(hel::time(nullptr));1032 hel::srand(hel::time(nullptr)); 1033 1033 } 1034 1034 1035 1035 result_type operator()() 1036 1036 { 1037 return hel::rand om();1037 return hel::rand(); 1038 1038 } 1039 1039 -
uspace/lib/cpp/include/__bits/stdexcept.hpp
rb57a3ee rc735afb 49 49 50 50 protected: 51 c onst char* what_;51 char* what_; 52 52 }; 53 53 … … 96 96 97 97 protected: 98 c onst char* what_;98 char* what_; 99 99 }; 100 100 -
uspace/lib/cpp/include/__bits/thread/threading.hpp
rb57a3ee rc735afb 33 33 { 34 34 extern "C" { 35 #include <async.h> 35 36 #include <fibril.h> 36 37 #include <fibril_synch.h> … … 157 158 static void sleep(time_unit time) 158 159 { 159 hel:: fibril_usleep(time);160 hel::async_usleep(time); 160 161 } 161 162 }; -
uspace/lib/cpp/include/csetjmp
rb57a3ee rc735afb 32 32 #include <__bits/common.hpp> 33 33 34 /** 35 * TODO: Currently the <setjmp.h> header uses 36 * _Noreturn, which is not available in C++. 37 */ 38 34 39 namespace std::hel 35 40 { 36 41 extern "C" { 37 #include <setjmp.h>42 //#include <setjmp.h> 38 43 } 39 44 } … … 41 46 namespace std 42 47 { 43 using std::hel::jmp_buf;44 using std::hel::longjmp;48 /* using std::hel::jmp_buf; */ 49 /* using std::hel::longjmp; */ 45 50 } 46 51 47 using std::hel::jmp_buf; 48 using std::hel::longjmp; 52 /* using std::hel::jmp_buf; */ 53 /* using std::hel::longjmp; */ 49 54 50 55 #endif -
uspace/lib/cpp/include/cstdlib
rb57a3ee rc735afb 78 78 /* using std::hel::wcstombs; */ 79 79 80 using std::hel::rand om; // Supposed to be rand.81 using std::hel::srand om; // Supposed to be srand.80 using std::hel::rand; 81 using std::hel::srand; 82 82 using std::hel::qsort; 83 83 /* using std::hel::bsearch; */ … … 127 127 /* using std::hel::wcstombs; */ 128 128 129 using std::hel::rand om; // Supposed to be rand.130 using std::hel::srand om; // Supposed to be srand.129 using std::hel::rand; 130 using std::hel::srand; 131 131 using std::hel::qsort; 132 132 /* using std::hel::bsearch; */ -
uspace/lib/cpp/src/string.cpp
rb57a3ee rc735afb 99 99 } 100 100 101 namespace hel 102 { 103 extern "C" int asprintf(char**, const char*, ...); 104 } 105 101 106 string to_string(int val) 102 107 {
Note:
See TracChangeset
for help on using the changeset viewer.