search for: __syscall_stub

Displaying 2 results from an estimated 2 matches for "__syscall_stub".

2009 May 14
0
[LLVMdev] Grouping related functions in a code section
..., Eli, thank you both for your help. You both proposed essentially the same idea at the same time and it works fine. I appreciate your assistance thus far. I'd set this aside for a few days to work on another thing, but am back now and have another question. User mode Linux contains a "__syscall_stub" code section. The linker script defines it to be page-aligned, and it contains several function definitions--not just pointers to functions, but the code itself. User mode Linux then memory maps this page into the address spaces of new processes. User mode Linux first calls "clone&quot...
2009 May 11
3
[LLVMdev] Assign symbol the address of a section
Hello, The binaries produced by LLVM and other compilers divide code up into various sections, e.g. the .text section. What is the recommended approach to assigning a symbol the address of a section using LLVM? Using GCC/LD, you can do this with a linker script, e.g. in a linker script you can do: _text = .; _stext = .; These symbols are then available in the corresponding C code using an