search for: sht_alloc

Displaying 1 result from an estimated 1 matches for "sht_alloc".

Did you mean: shf_alloc
2010 Oct 27
1
[LLVMdev] 64-bit binaries and the Solaris linker
Hello devs, llvm+clang doesn't emit .s/.o files which can be linked successfully, on a 64-bit compilation, with the Solaris linker ld(1). The problem lies in the way the .eh_frame section header is created. llvm+clang creates it with SHT_PROGBITS and SHT_ALLOC|SHT_WRITE, while the Solaris linker expects a SHT_AMD64_UNWIND section with SHT_ALLOC only permissions [1]. Simple example follows: root at markuse:/work/llvm/llvm/Debug+Asserts/bin# ./clang -o h hello.c -m64 ld: fatal: file /tmp/cc-LNa4VK.o: section [6].eh_frame: section type is SHT_PROGBITS: exp...