This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

RE: Problem with pcrel relocs and addends


 
> I think you are right, I was misinterpreting your example.  
> Neither relocation should have an addend, unless the source 
> has one, and the assembler is doing something wrong here.  
> When I try the equivalent with the m68k-linux assembler I get this:

Thanks for clarifying this. The solution was that my definition of
md_pcrel_from_section() was incorrect. Tweaking it to avoid forced
relocs has fixed the problem.


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