Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Uncle George <gatgul@voicenet.com>
To: bug-gnu-utils@gnu.org
Cc: "Peter.Schauer" <Peter.Schauer@regent.e-technik.tu-muenchen.de>,
	"axp-list@redhat.com" <axp-list@redhat.com>,
	"Jay.Estabrook@digital.com" <Jay.Estabrook@digital.com>
Subject: Re: striped shared ELF lib & GDB
Date: Wed, 17 Jun 1998 17:23:08 -0400	[thread overview]
Message-ID: <358833BA.5DEB6C84@voicenet.com> (raw)
In-Reply-To: 199806171452.QAA29621@red.regent.e-technik.tu-muenchen.de

for the alpha/redhat/5.0 with ld 2.9.1 there is a problem with clearing out the
.dynsym table. IT JUST ISN'T DONE. what ever is left over in the memory allocated
by bfd_alloc() elflink.h:2564 is ( on occasion used, by virtue of it not being
cleared ) as a bogus dynsym entry. Later on when the table is finally populated ,
any skipped entries ( done by elf64_alpha_finish_dynamic_sections() ) will not
have been zeroed!

ergo change the bfd_alloc() to bfd_zalloc()  @ elflink.h:2564.

this will make my gdb happy, objdump happy as can be.
gat

Peter.Schauer wrote:

> This looks more like a linker problem, although GDB shouldn't dump core.
> Unfortunately I don't have access to alpha Linux, but I could try to
> re



       reply	other threads:[~1998-06-17 21:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <199806171452.QAA29621@red.regent.e-technik.tu-muenchen.de>
1998-06-17 21:23 ` Uncle George [this message]
1998-06-16 14:17 striped shared ELF lib & GDB Uncle George
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox