public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Marcello Stanisci <stanisci.m@gmail.com>
To: binutils@sourceware.org
Subject: how to inhibit libc.so.6 loading with ld 2.22...
Date: Tue, 04 Mar 2014 16:26:00 -0000	[thread overview]
Message-ID: <CA+4a3TxYQxFAc1eqc4+ekwSDgZKX=qgWQD+H-Chtm5w1vRec6g@mail.gmail.com> (raw)

Hello everyone,
I'm using ld 2.22, on a debian wheezy system.
I would like to compile an "hello world" program using an alternative
library path, with alternative library names.
Although I can manage to tell the linker where to find those
alternative object names, actually belonging to a modified
version of glibc, it seems very difficult to forbid its (attempt of..)
loading of libc.so.6, which fails because it doesn't exists
on those alternatives directories.

Thanks in advance,
ms

             reply	other threads:[~2014-03-04 16:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-04 16:26 Marcello Stanisci [this message]
2015-03-06  5:50 ` Mike Frysinger
2015-03-06  7:25   ` Andrew Pinski

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='CA+4a3TxYQxFAc1eqc4+ekwSDgZKX=qgWQD+H-Chtm5w1vRec6g@mail.gmail.com' \
    --to=stanisci.m@gmail.com \
    --cc=binutils@sourceware.org \
    /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).