This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Use of -Wl,-r
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: roland at hack dot frob dot com
- Cc: libc-ports at sourceware dot org
- Date: Fri, 10 Jun 2011 14:29:32 +0000 (UTC)
- Subject: Use of -Wl,-r
- References: <20110610000851.22130.qmail@sourceware.org>
On Fri, 10 Jun 2011, roland@sourceware.org wrote:
> commit 28368601e303e415b99ed127c5319362b1d75203
> Author: Roland McGrath <roland@hack.frob.com>
> Date: Thu Jun 9 17:06:46 2011 -0700
>
> Use -Wl,-r instead of plain -r.
What's the rationale for this change? It looks to me like it will break
compiler specs that rely on testing for -r to behave correctly - in
particular, the ARM BE8 spec in config/arm/bpabi.h, where it's generally
necessary for final links to have --be8 but relocatable links not to have
it.
--
Joseph S. Myers
joseph@codesourcery.com