public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Alan Modra <amodra@bigpond.net.au>
To: Jason R Thorpe <thorpej@wasabisystems.com>, binutils@sources.redhat.com
Subject: Re: [PATCH/RFA] elf64-alpha: Don't put DT_PLTGOT dynamic if no PLT
Date: Fri, 19 Jul 2002 07:01:00 -0000	[thread overview]
Message-ID: <20020719104659.GL30362@bubble.sa.bigpond.net.au> (raw)
In-Reply-To: <20020718135711.J13737@dr-evil.shagadelic.org>

On Thu, Jul 18, 2002 at 01:57:11PM -0700, Jason R Thorpe wrote:
> The problem occurs when a shared object contains no external references,
> and thus has no PLT.  elf64_alpha_size_dynamic_sections() inserts a
> DT_PLTGOT entry anyway, which confuses the dynamic linker, resulting in
> a crash.

So, it's really a NetBSD dynamic linker bug?

> 	* elf64-alpha.c (elf64_alpha_size_dynamic_sections): Only insert
> 	DT_PLTGOT into the dynamic section if there is a PLT.

I'm fairly certain this won't cause any problem with glibc based
systems, so the patch is OK everywhere.  Give Richard Henderson
a day or two to nak it before committing though.  Hey Richard,
why aren't you listed as binutils alpha maintainer?

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre

  reply	other threads:[~2002-07-19 10:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-18 14:16 Jason R Thorpe
2002-07-19  7:01 ` Alan Modra [this message]
2002-07-19  9:42   ` Jason R Thorpe
2002-07-19  9:51     ` Richard Henderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020719104659.GL30362@bubble.sa.bigpond.net.au \
    --to=amodra@bigpond.net.au \
    --cc=binutils@sources.redhat.com \
    --cc=thorpej@wasabisystems.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).