Re: Question about PIC code and GOT

2021-07-20 Thread Maciej W. Rozycki
On Fri, 11 Jun 2021, vincent Dupaquis wrote: >     I've got the feeling the GOT is not convinient and goes in opposite > direction than the one we try to achieve with having PIC, at least this is the > reason why I'm trying to avoid it. > >     Any clue on the reason why it has been implemented t

Question about PIC code and GOT

2021-06-11 Thread vincent Dupaquis
    Hello,     I am doing PIC (Position Independant Code) code using the ARM compiler, and effectively try to avoid the creation of the GOT (Global Offset Table).     I've got the feeling the GOT is not convinient and goes in opposite direction than the one we try to achieve with having PIC,