search for: unit_length

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

2013 Apr 29
0
[LLVMdev] How to prevent LLVM from emitting R_X86_64_32 ELF relocations?
The size of an address on the target machine in the 32-bit DWARF format is NOT restricted to 32-bits. The size of an address on the target machine is specified in the DWARF table headers. For example, in the DWARF-3 Specification, section 7.5.1, the unit_length field is used to specify whether the DWARF format is 32-bit or 64-bit (as well as defining the length of the table). However the address_size field is used to specify the size of an address on the target machine. So whether the DWARF format is 32-bit or 64-bit is independent of the size of addre...
2013 Apr 29
3
[LLVMdev] How to prevent LLVM from emitting R_X86_64_32 ELF relocations?
On 04/29/2013 09:12, Keith Walker wrote: > You only need to go to 64-bit DWARF when your debugging information becomes > too large to fit in 32-bit DWARF tables. I am not sure if this is true. Currently R_X86_64_32 EL relocations are issued for DWARF-32 debug info sections. This is because the size of address in DWARF-32 is only 32-bits, according to the above mentioned specification.