This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] new FreeBSD/alpha support
- To: Richard Henderson <rth at cygnus dot com>
- Subject: Re: [PATCH] new FreeBSD/alpha support
- From: "David O'Brien" <obrien at FreeBSD dot org>
- Date: Thu, 5 Oct 2000 12:51:25 -0700
- Cc: gcc-patches at gcc dot gnu dot org
- Organization: The NUXI BSD group
- References: <20001004224341.A50778@dragon.nuxi.com> <20001005123215.B24127@cygnus.com>
- Reply-To: obrien at FreeBSD dot org
On Thu, Oct 05, 2000 at 12:32:15PM -0700, Richard Henderson wrote:
> In fact, it appears that much of your freebsd.h would go away
> if you just used alpha/elf.h. Which, in fact, I am going to
> require, because you are missing stuff from it that you need.
I believe I did try to use alpha/elf.h (it was over a year ago); but
found I had to override a lot of things. alpha/elf.h (at least in 2.95.2
where this patch 1st started) wasn't generic enough. In fact I would
also like to make FreeBSD use gcc/config/elfos.h also (which wasn't in
2.95.x), so generally I'd like to use alpha/elf.h anyway. I just wanted
to get some basic Alpha support into the FSF/GCC 1st and then polish
later.
Are you open to making alpha/elf.h more generic? Things like CC1_SPEC (I
don't understand why that is being set in there), ASM_SPEC, and LINK_SPEC
seem too implementation specific.
Thanks for the review, I'll make the spec, etc. changes and resubmit.
--
-- David (obrien@FreeBSD.org)