public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* bug: GOLD handling of Sparc PLTREL
@ 2010-02-09  0:42 David Miller
  2010-02-09  0:56 ` David Miller
  2010-02-09  5:54 ` Ian Lance Taylor
  0 siblings, 2 replies; 16+ messages in thread
From: David Miller @ 2010-02-09  0:42 UTC (permalink / raw)
  To: iant; +Cc: binutils


Several test cases in GOLD fail on sparc because of how it lays out
the .rela.plt and .rela.dyn sections.

On Sparc, the .rela.dyn must include .rela.plt in it's range.  If this
is not followed, the dynamic linker will reference past the end of the
relocations.  This is true on 32-bit PowerPC and 32-bit S390 as well.

But GOLD isn't doing this, it makes the size of .rela.dyn only include
the .rela.dyn relocs, it doesn't include the  .rela.plt reloc size
too.

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2010-02-09 20:17 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-09  0:42 bug: GOLD handling of Sparc PLTREL David Miller
2010-02-09  0:56 ` David Miller
2010-02-09  1:08   ` David Miller
2010-02-09  5:54 ` Ian Lance Taylor
2010-02-09  6:01   ` David Miller
2010-02-09  6:03     ` David Miller
2010-02-09 15:04     ` Ian Lance Taylor
2010-02-09 17:37       ` David Miller
2010-02-09 17:50       ` David Miller
2010-02-09 18:01         ` Ian Lance Taylor
2010-02-09 18:50           ` David Miller
2010-02-09 20:02           ` David Miller
2010-02-09 20:12             ` Ian Lance Taylor
2010-02-09 20:17               ` David Miller
2010-02-09 19:22       ` David Miller
2010-02-09 19:42         ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).