This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [PATCH] Fix -fpic/-fPIC virtual thunks on s390 -m31


Jakub Jelinek wrote:

> /tmp/I.s: Assembler messages:
> /tmp/I.s:8: Error: relocation not applicable

Doh.  I've checked the binutils and it appears that GOTENT
is only implemented as larl/brasl operand.  This is not just
an assembler problem; allowing GOTENT in a .long would 
require a new relocation type ...  I'll talk to Martin 
about that, but this doesn't help in the short term.

So, I can't think of anything better either.  Please go
ahead and check in your patch.  Thanks for looking into
this problem.

B.t.w. if you have a test case showing the problem, it
would be great if you could check it into the testsuite ...

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  weigand@informatik.uni-erlangen.de


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