search for: trampoline_size

Displaying 10 results from an estimated 10 matches for "trampoline_size".

2013 Jul 31
2
[LLVMdev] Error building compiler-rt
...^ /home/pranav/smack-project/llvm/src/projects/compiler-rt/lib/enable_execute_stack.c:54:27: error: cast to 'unsigned char *' from smaller integer type 'unsigned int' [-Werror,-Wint-to-pointer-cast] unsigned char* endPage = (unsigned char*)((p+TRAMPOLINE_SIZE+pageSize) & pageAlignMask); ^ 2 errors generated. ... On gcc --version I get the following output: gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 My operating system is a Ubuntu 12.04.1 LTS. On typing uname -a I get: Linux pranav 3.2.0-33-generic-pae...
2013 Jul 31
0
[LLVMdev] Error building compiler-rt
...^ > /home/pranav/smack-project/llvm/src/projects/compiler-rt/lib/enable_execute_stack.c:54:27: error: cast to 'unsigned char *' from smaller integer type 'unsigned int' > [-Werror,-Wint-to-pointer-cast] > unsigned char* endPage = (unsigned char*)((p+TRAMPOLINE_SIZE+pageSize) & pageAlignMask); > ^ > 2 errors generated. > ... > > On gcc --version I get the following output: > gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 > My operating system is a Ubuntu 12.04.1 LTS. On typing uname -a I get: >...
2013 Jul 31
2
[LLVMdev] Error building compiler-rt
...ome/pranav/smack-project/llvm/src/projects/compiler-rt/lib/enable_execute_stack.c:54:27: > error: cast to 'unsigned char *' from smaller integer type 'unsigned int' > > [-Werror,-Wint-to-pointer-cast] > > unsigned char* endPage = (unsigned > char*)((p+TRAMPOLINE_SIZE+pageSize) & pageAlignMask); > > ^ > > 2 errors generated. > > ... > > > > On gcc --version I get the following output: > > gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 > > My operating system is a Ubuntu 12.04.1 LTS....
2013 Aug 01
0
[LLVMdev] Error building compiler-rt
...-project/llvm/src/projects/compiler-rt/lib/enable_execute_stack.c:54:27: >> error: cast to 'unsigned char *' from smaller integer type 'unsigned int' >> > [-Werror,-Wint-to-pointer-cast] >> > unsigned char* endPage = (unsigned >> char*)((p+TRAMPOLINE_SIZE+pageSize) & pageAlignMask); >> > ^ >> > 2 errors generated. >> > This is weird. In configure+make build all sources from projects/compiler-rt are compiled with just-built Clang, so -Werror should work fine for you, no matter which host...
2013 Aug 01
2
[LLVMdev] Error building compiler-rt
...c/projects/compiler-rt/lib/enable_execute_stack.c:54:27: >>> error: cast to 'unsigned char *' from smaller integer type 'unsigned int' >>> > [-Werror,-Wint-to-pointer-cast] >>> > unsigned char* endPage = (unsigned >>> char*)((p+TRAMPOLINE_SIZE+pageSize) & pageAlignMask); >>> > ^ >>> > 2 errors generated. >>> >> > This is weird. In configure+make build all sources from > projects/compiler-rt are compiled with just-built Clang, so -Werror should > work fin...
2013 Jun 25
0
[LLVMdev] [PATCH] Windows implementation of enable_execute_stack
...; > { >> > - >> > +#ifndef _WIN32 >> > #if __APPLE__ >> > /* On Darwin, pagesize is always 4096 bytes */ >> > const uintptr_t pageSize = 4096; >> > @@ -54,6 +58,14 @@ >> > unsigned char* endPage = (unsigned >> char*)((p+TRAMPOLINE_SIZE+pageSize) & pageAlignMask); >> > size_t length = endPage - startPage; >> > (void) mprotect((void *)startPage, length, PROT_READ | PROT_WRITE | >> PROT_EXEC); >> > +#else >> >> Why not simply #elif defined(_WIN32) and skip the extra level of #ifs?...
2013 Jul 31
0
[LLVMdev] Error building compiler-rt
...^ /home/pranav/smack-project/llvm/src/projects/compiler-rt/lib/enable_execute_stack.c:54:27:error: cast to 'unsigned char *' from smaller integer type 'unsigned int' [-Werror,-Wint-to-pointer-cast] unsigned char* endPage = (unsigned char*)((p+TRAMPOLINE_SIZE+pageSize) & pageAlignMask); ^ 2 errors generated. ... I am using gcc-4.6.3 on a Ubuntu 12.04.1 LTS. Any ideas as to how to resolve this error? Thanks Pranav
2013 Aug 01
2
[LLVMdev] Error building compiler-rt
...e_execute_stack.c:54:27: >>>>> error: cast to 'unsigned char *' from smaller integer type 'unsigned int' >>>>> > [-Werror,-Wint-to-pointer-cast] >>>>> > unsigned char* endPage = (unsigned >>>>> char*)((p+TRAMPOLINE_SIZE+pageSize) & pageAlignMask); >>>>> > ^ >>>>> > 2 errors generated. >>>>> >>>> >>> This is weird. In configure+make build all sources from >>> projects/compiler-rt are compiled with j...
2013 Aug 01
0
[LLVMdev] Error building compiler-rt
...ler-rt/lib/enable_execute_stack.c:54:27: >>>> error: cast to 'unsigned char *' from smaller integer type 'unsigned int' >>>> > [-Werror,-Wint-to-pointer-cast] >>>> > unsigned char* endPage = (unsigned >>>> char*)((p+TRAMPOLINE_SIZE+pageSize) & pageAlignMask); >>>> > ^ >>>> > 2 errors generated. >>>> >>> >> This is weird. In configure+make build all sources from >> projects/compiler-rt are compiled with just-built Clang, so -Wer...
2009 Apr 24
2
TBOOT and extlinux
...1b2633 --> 0x00850000 (0x140) 0x001b2253 --> 0x00850140 (0x3a8) 0x001b25fb --> 0x008504e8 (0x38) 0x001b2773 --> 0x00851000 (0x27faa0) 0x00190253 --> 0x00803000 (0x22000) 0x00000000 --> 0x00825000 (0x2ac4c) tr_sections: 0x7b07ffd0 trampoline: 0x7b080048 trampoline_size: 0x000000a0 max_run_addr: 0x7b07ffd0 Booting: MBI=0x000102d0, entry=0x00803000 TBOOT: ******************* TBOOT ******************* TBOOT: 2009-03-30 11:52 -0700 141:3bb0b8cbb29c TBOOT: ********************************************* TBOOT: command line: logging=vga,serial TBOOT: TPM is ready T...