RISC-V problem with weak function references and -mcmodel=medany

Jim Wilson jimw@sifive.com
Tue May 29 18:51:00 GMT 2018


On Tue, May 29, 2018 at 11:43 AM, Sebastian Huber
<sebastian.huber@embedded-brains.de> wrote:
> would you mind trying this with -Ttext=0x90000000?

This gives me for the weak call

90000014: 70000097          auipc ra,0x70000
90000018: fec080e7          jalr -20(ra) # 0 <__global_pointer$+0x6fffe7d4>

> Please have a look at:
> https://sourceware.org/bugzilla/show_bug.cgi?id=23244
> https://sourceware.org/ml/binutils/2018-05/msg00296.html

OK.  I'm still catching up on mailing lists after the US holiday weekend.

Jim



More information about the Gcc mailing list