This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: DATA_GOT, SDATA_GOT
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Sandra Loosemore <sandra at codesourcery dot com>
- Cc: <binutils at sourceware dot org>
- Date: Tue, 26 Jun 2012 09:53:28 +0200
- Subject: Re: DATA_GOT, SDATA_GOT
- References: <4FE94175.1010805@codesourcery.com>
Sandra Loosemore <sandra@codesourcery.com> writes:
> I'm trying to understand the purpose of DATA_GOT and SDATA_GOT in
> ld/scripttempl/elf.sc. It looks to me like if an emulation defines
> DATA_GOT and doesn't define NO_SMALL_DATA, it'll end up with the
> .got-related bits being emitted in both places. Is this
> intentional/correct/useful/whatever?
In the case of the elf32ppc emulation it is intended that both are
emitted.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."