[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patches] [PATCH][m68k] Fix dynamic linker not to make assumptions about GOT pointer
- To: Maxim Kuvyrkov <maxim@xxxxxxxxxxxxxxxx>
- Subject: Re: [patches] [PATCH][m68k] Fix dynamic linker not to make assumptions about GOT pointer
- From: "Joseph S. Myers" <joseph@xxxxxxxxxxxxxxxx>
- Date: Thu, 27 Mar 2008 15:38:53 +0000 (UTC)
On Thu, 27 Mar 2008, Maxim Kuvyrkov wrote:
> Hello,
>
> While developing multi-GOT support for m68k I noted that m68k dynamic linker
> assumes that GOT pointer always points to the first GOT entry. With multiple
> GOTs in the binary GOT pointer will no longer point to the 3 special entries
> at the start of the global GOT.
>
> The solution is to explicitly put _DYNAMIC to usual GOT slot and retrieve it
> at run-time.
>
> OK for trunk, 2.5, 2.6 and 2.7 branches?
This is OK.
--
Joseph S. Myers
joseph@xxxxxxxxxxxxxxxx