Changeset 7ca51cc in mainline
- Timestamp:
- 2018-07-05T21:41:25Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1bf924a
- Parents:
- a853075
- git-author:
- Dzejrou <dzejrou@…> (2018-07-03 21:52:55)
- git-committer:
- Dzejrou <dzejrou@…> (2018-07-05 21:41:25)
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
abi/include/abi/elf.h
ra853075 r7ca51cc 110 110 * ELF section types 111 111 */ 112 #define SHT_NULL 113 #define SHT_PROGBITS 114 #define SHT_SYMTAB 115 #define SHT_STRTAB 116 #define SHT_RELA 117 #define SHT_HASH 118 #define SHT_DYNAMIC 119 #define SHT_NOTE 120 #define SHT_NOBITS 121 #define SHT_REL 122 #define SHT_SHLIB 123 #define SHT_DYNSYM 112 #define SHT_NULL 0 113 #define SHT_PROGBITS 1 114 #define SHT_SYMTAB 2 115 #define SHT_STRTAB 3 116 #define SHT_RELA 4 117 #define SHT_HASH 5 118 #define SHT_DYNAMIC 6 119 #define SHT_NOTE 7 120 #define SHT_NOBITS 8 121 #define SHT_REL 9 122 #define SHT_SHLIB 10 123 #define SHT_DYNSYM 11 124 124 #define SHT_LOOS 0x60000000 125 125 #define SHT_HIOS 0x6fffffff -
uspace/lib/c/arch/amd64/include/libarch/tls.h
ra853075 r7ca51cc 52 52 static inline tcb_t *__tcb_get(void) 53 53 { 54 void*retval;54 tcb_t *retval; 55 55 56 56 asm volatile ("movq %%fs:0, %0" : "=r" (retval)); 57 return (tcb_t *)retval;57 return retval; 58 58 } 59 59 -
uspace/lib/c/arch/ia32/include/libarch/tls.h
ra853075 r7ca51cc 53 53 static inline tcb_t *__tcb_get(void) 54 54 { 55 void*retval;55 tcb_t *retval; 56 56 57 57 asm volatile ("movl %%gs:0, %0" : "=r" (retval)); 58 58 59 return (tcb_t *)retval;59 return retval; 60 60 } 61 61 -
uspace/lib/c/arch/ia64/include/libarch/tls.h
ra853075 r7ca51cc 52 52 static inline tcb_t *__tcb_get(void) 53 53 { 54 void*retval;54 tcb_t *retval; 55 55 56 56 asm volatile ("mov %0 = r13\n" : "=r" (retval)); 57 57 58 return (tcb_t *)retval;58 return retval; 59 59 } 60 60 -
uspace/lib/c/arch/sparc64/include/libarch/tls.h
ra853075 r7ca51cc 53 53 static inline tcb_t *__tcb_get(void) 54 54 { 55 void*retval;55 tcb_t *retval; 56 56 57 57 asm volatile ("mov %%g7, %0\n" : "=r" (retval)); 58 58 59 return (tcb_t *)retval;59 return retval; 60 60 } 61 61 -
uspace/lib/c/include/loader/pcb.h
ra853075 r7ca51cc 36 36 #ifndef LIBC_PCB_H_ 37 37 #define LIBC_PCB_H_ 38 38 39 39 40 typedef void (*entry_point_t)(void);
Note:
See TracChangeset
for help on using the changeset viewer.