public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Alan Modra <amodra@gmail.com>
To: Romain Geissler <romain.geissler@amadeus.com>
Cc: binutils@sourceware.org, lenaic.huard@laposte.net
Subject: Re: [PATCH] Fix DT_NEEDED when using -l:namespec
Date: Thu, 13 Mar 2014 13:23:00 -0000	[thread overview]
Message-ID: <20140313132310.GC3384@bubble.grove.modra.org> (raw)
In-Reply-To: <A23C3213-AEFE-410F-9C24-EBAF7E669BA8@amadeus.com>

On Sun, Feb 16, 2014 at 10:02:56PM +0100, Romain Geissler wrote:
> 	* ldlang.h (full_name_provided): New input flag.
> 	* ldlang.c (new_afile): Set full_name_provided flag.
> 	* ldlfile.c (ldfile_open_file_search): Don't complete lib name if
> 	full_name_provided flag is set.
> 	* emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
> 	Correctly set DT_NEEDED for dynamic libraries with loaded with
> 	-l:namespec.
> 	* emultempl/aix.em (ppc_after_open_output): Don't try to load lib specified
> 	with -l:namespec.
> 	* emultempl/linux.em (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
> 	* emultempl/pe.em (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
> 	* emultempl/pep.em (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
> 	* emultempl/vms.em (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.

OK, makes sense to have -l:libfoo.so give the same DT_NEEDED as -lfoo.

-- 
Alan Modra
Australia Development Lab, IBM

  reply	other threads:[~2014-03-13 13:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-16 21:03 Romain Geissler
2014-03-13 13:23 ` Alan Modra [this message]
2014-03-13 14:07   ` Romain Geissler
2014-03-14  3:05     ` Alan Modra

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=20140313132310.GC3384@bubble.grove.modra.org \
    --to=amodra@gmail.com \
    --cc=binutils@sourceware.org \
    --cc=lenaic.huard@laposte.net \
    --cc=romain.geissler@amadeus.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).