This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Move ARM unwinding wrappers into libgcc_eh
- From: Richard Earnshaw <rearnsha at gcc dot gnu dot org>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 11 Oct 2005 13:20:58 +0100
- Subject: Re: Move ARM unwinding wrappers into libgcc_eh
- References: <20051010224920.GA8794@nevyn.them.org>
On Mon, 2005-10-10 at 23:49, Daniel Jacobowitz wrote:
> This patch moves config/arm/libunwind.S from libgcc.a to libgcc_eh.a on EABI
> GNU/Linux. Since there's circular dependencies between this file and the
> bits already in that library, and it's only used for unwinding, I felt this
> was more appropriate.
>
> My other immediate justification was that there's a hardcoded -lgcc -lgcc_eh
> in the glibc testsuite, which falls down on ARM without this patch. This
> fixes several static linking failures for arm-none-linux-gnueabi.
>
The dependency in glibc sounds backwards to me. Why would -lgcc want to
have a dependency on -lgcc_eh? I can understand it being the other way
around (-lgcc_eh having a dependency on -lgcc).
> OK for mainline when it is open for non-regression fixes again?
Yes, ok.
R.