[PATCH] [IAS] Support '.word foo-.' on targets that permit this (e.g. Mips).
Daniel Sanders
Daniel.Sanders at imgtec.com
Mon Jun 1 08:03:26 PDT 2015
> We already produce a R_X86_64_PC16 for example.
Hmm. Maybe I'm fixing this in the wrong place.
Do you know how it does this? The current implementation of EmitValueImpl() calls MCFixup::getKindForSize() with the isPCRel argument equal to false and I don't see anything that turns FK_Data_2 fixups into PC-relative equivalents.
> -----Original Message-----
> From: Rafael Ávila de Espíndola [mailto:rafael.espindola at gmail.com]
> Sent: 01 June 2015 15:44
> To: Daniel Sanders
> Cc: llvm-commits at cs.uiuc.edu
> Subject: Re: [PATCH] [IAS] Support '.word foo-.' on targets that permit this
> (e.g. Mips).
>
> What is Mips specific about this? With
>
> .word foo-.
>
> We already produce a R_X86_64_PC16 for example.
>
>
> http://reviews.llvm.org/D10125
>
> EMAIL PREFERENCES
> http://reviews.llvm.org/settings/panel/emailpreferences/
>
More information about the llvm-commits
mailing list