tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] arm64 relocations


From: Edmund Grimley Evans
Subject: Re: [Tinycc-devel] arm64 relocations
Date: Fri, 27 Feb 2015 08:11:09 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

Me last night:

> The first part of the patch below changes arm64-gen.c to use the same
> relocations that other compilers use on arm64, namely
> R_AARCH64_ADR_PREL_PG_HI21 and R_AARCH64_ADD_ABS_LO12_NC.

Michael Matz on Feb 22:

> One thing I noticed is for instance that
> gen_addr uses non-GOT relocs for accessing the address of a symbol.
> That's generally not correct, at least for weak symbols one has to go
> via a GOT entry (or some in-.text slot with a ABS64 reloc).

I have thought about it a bit more and I now think that more changes
are needed in arm64-gen.c before I try to make the linker work.

Edmund



reply via email to

[Prev in Thread] Current Thread [Next in Thread]