This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PC-relative Processing


On Fri, Jun 15, 2001 at 08:50:07AM -0700, Tracy.Kuhrt@microchip.com wrote:
> Any thoughts on what the appropriate solution is?  I do not wish to break 
> any other ports by suggesting adding the following line before turning off 
> pc-relative processing:
>         add_number -= MD_PCREL_FROM_SECTION (fixP, this_segment_type);

Sometimes, to fix things properly, you need to be willing to edit all
the back-end files and entertain the idea of breaking things temporarily.

In this case, I think most ports are broken on pcrel instructions like
"jmp a-b", and your suggestion will fix them as well as your own port.

-- 
Alan Modra


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]