[PATCH] [PECOFF] Relocations now take into account the address which is stored at the relocation site

Ron Ofir ron.ofir at gmail.com
Sat Jul 27 05:52:28 PDT 2013


I have added some other sources of information I've found to my
stackoverflow question, could you take a look there?
On Jul 27, 2013 3:27 PM, "Nico Rieck" <nico.rieck at gmail.com> wrote:

> On 27.07.2013 13:07, Chandler Carruth wrote:
>
>> If this isn't covered by the spec, we shouldn't use stackoverflow to
>> figure
>> it out. Instead, Rui may need to confirm of refute it manually. =/
>>
>
> I've seen this for SECREL and ADDR32NB relocations. Also, dumpbin has an
> "Applied To" column.
>
> For example, these are relocations for .pdata, generated by MSVC, denoting
> start and end for a 0x30 byte main() and it's unwind info:
>
> RELOCATIONS #6
>                                                 Symbol    Symbol
>  Offset    Type              Applied To         Index     Name
>  --------  ----------------  -----------------  --------  ------
>  00000000  ADDR32NB                   00000000        11  $LN10
>  00000004  ADDR32NB                   00000030        11  $LN10
>  00000008  ADDR32NB                   00000000        14  $unwind$main
>
>
> -Nico
> ______________________________**_________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/**mailman/listinfo/llvm-commits<http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130727/a8483836/attachment.html>


More information about the llvm-commits mailing list