[PATCH] adds powerpc-*-freebsd? to mainline

David O'Brien obrien@FreeBSD.org
Sun Nov 4 09:14:00 GMT 2001


On Tue, Nov 13, 2001 at 07:19:31PM -0800, Geoff Keating wrote:
> Well, if you don't want to have -mcall-freebsd, please write a version
> of your patch that doesn't have it---that overrides all relevant parts
> of rs6000/sysv4.h in rs6000/freebsd.h.  The resulting patch should
> have few or no changes to sysv4.h.

I would just copy sysv4.h to freebsd-rs6000.h since in that setting all
the bits in my patched sysv4.h are usable.  It also allows easy diffing
with sysv4.h to see when things have changed in sysv4.h that need to
happen in freebsd-rs6000.h also.

The tm_files line would then be:

tm_file="${tm_file} elfos.h ${fbsd_tm_file} rs6000/freebsd-rs6000.h rs6000/freebsd.h"

-- 
-- David  (obrien@FreeBSD.org)



More information about the Gcc-patches mailing list