This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Avoid unnecessary R_IA64_FPTR64LSB in executable
- From: Richard Henderson <rth at redhat dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: binutils at sources dot redhat dot com, wilson at specifixinc dot com
- Date: Thu, 28 Apr 2005 18:36:04 -0700
- Subject: Re: PATCH: Avoid unnecessary R_IA64_FPTR64LSB in executable
- References: <20050427234304.GA17151@lucon.org> <20050428232655.GA5438@lucon.org>
On Thu, Apr 28, 2005 at 04:26:55PM -0700, H. J. Lu wrote:
> > 1. When we export a function in executable, whose function pointer is
> > used in executable and which is referenced by a DSO, can we create a
> > R_IA64_FPTR64LSB in executable only when there is a dynamic
> > R_IA64_FPTR64LSB reference?
No, we need one any time the symbol is dynamic. Which does let you
eliminate quite a few. But with --export-dynamic you can't just
look for those that are referenced.
r~