This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] remove arm/unknown-elf.h
- From: "David O'Brien" <obrien at FreeBSD dot org>
- To: Philip Blundell <philb at gnu dot org>
- Cc: Richard dot Earnshaw at arm dot com, gcc-patches at gcc dot gnu dot org
- Date: Sun, 9 Dec 2001 20:25:56 -0800
- Subject: Re: [PATCH] remove arm/unknown-elf.h
- Organization: The NUXI BSD group
- References: <200112061428.OAA22121@cam-mail2.cambridge.arm.com> <rearnsha@arm.com> <E16C4eQ-00018g-00@kc.cam.armlinux.org>
- Reply-to: obrien at FreeBSD dot org
On Thu, Dec 06, 2001 at 07:57:46PM +0000, Philip Blundell wrote:
> In message <200112061428.OAA22121@cam-mail2.cambridge.arm.com>, Richard Earnsha
> w writes:
> >unknown-elf.h is supposed to contain the bits of an elf interface that
> >would normally be set by the OS: in this case there is no OS (it's
> >unknown). It seems bizarre to me that the arm-linux ports are including
> >this file.
>
> Having dug back through the CVS history a bit, it looks like
> linux-elf.h just included elf.h directly right up to version 1.28.
>
> David, where did you find a reference to unknown-elf.h in the Linux
> configuration when you did your last rearrangement of these header
> files?
The Linux ARM targets used arm/unknown-elf.h before config/arm cleanup.
(cvs diff -r 1.112 -r 1.114)
arm*-*-linux*) # ARM GNU/Linux with ELF
- tm_file="elfos.h arm/unknown-elf.h arm/elf.h arm/linux-gas.h arm/linux-elf.h"
+ tm_file="elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/linux-gas.h arm/linux-elf.h"
arm*-*-uclinux*) # ARM ucLinux
- tm_file="elfos.h arm/unknown-elf.h arm/elf.h arm/linux-gas.h arm/linux-elf.h arm/uclinux-elf.h"
+ tm_file="elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/linux-gas.h arm/linux-elf.h arm/uclinux-elf.h"
cvs annotate -r 1.112
1.89 (nickc 14-Sep-01): tm_file="elfos.h arm/unknown-elf.h arm/elf.h arm/linux-gas.h arm/linux-elf.h"