search for: _atomtoaddressmap

Displaying 4 results from an estimated 4 matches for "_atomtoaddressmap".

2013 Sep 17
5
[LLVMdev] [lld] Handling non SHF_ALLOC sections.
...their type, so it's hard to use an existing type. The next problem is in the ELF writer. It currently cannot handle AtomSections that are not in a segment as file offsets and addresses are never set. This means that assignOffsets is not called, and that the atoms within are never added to the _atomToAddressMap. However, we can't just add them to that map with their virtual address, as they don't have a virtual address. We need to use the symbol value, which is the offset into the section. My current hack to fix this is to call assignVirtualAddresses(-fileoffset) and then explicitly added them to...
2013 Sep 17
0
[LLVMdev] [lld] Handling non SHF_ALLOC sections.
...about a similiar way a while back. > The next problem is in the ELF writer. It currently cannot handle > AtomSections that are not in a segment as file offsets and addresses are > never set. This means that assignOffsets is not called, and that the atoms > within are never added to the _atomToAddressMap. However, we can't just add > them to that map with their virtual address, as they don't have a virtual > address. We need to use the symbol value, which is the offset into the > section. My current hack to fix this is to call > assignVirtualAddresses(-fileoffset) and then expli...
2013 Sep 17
0
[LLVMdev] [lld] Handling non SHF_ALLOC sections.
...to use > an existing type. > > The next problem is in the ELF writer. It currently cannot handle > AtomSections that are not in a segment as file offsets and addresses are > never set. This means that assignOffsets is not called, and that the atoms > within are never added to the _atomToAddressMap. However, we can't just add > them to that map with their virtual address, as they don't have a virtual > address. We need to use the symbol value, which is the offset into the > section. My current hack to fix this is to call > assignVirtualAddresses(-fileoffset) and then expli...
2013 Sep 17
1
[LLVMdev] [lld] Handling non SHF_ALLOC sections.
...ewrite it. > > > The next problem is in the ELF writer. It currently cannot handle >> AtomSections that are not in a segment as file offsets and addresses are >> never set. This means that assignOffsets is not called, and that the atoms >> within are never added to the _atomToAddressMap. However, we can't just >> add >> them to that map with their virtual address, as they don't have a virtual >> address. We need to use the symbol value, which is the offset into the >> section. My current hack to fix this is to call >> assignVirtualAddresses(-*...