This is the mail archive of the
mailing list for the GCC project.
Re: [patch] Fix bootstrap powerpc*-*-freebsd* targets
On Tue, Dec 18, 2018 at 11:18:03PM +1030, Alan Modra wrote:
> On Tue, Dec 18, 2018 at 03:20:02AM -0600, Segher Boessenkool wrote:
> > Hi Alan,
> > On Tue, Dec 18, 2018 at 10:39:27AM +1030, Alan Modra wrote:
> > > On Mon, Dec 17, 2018 at 11:05:57AM -0600, Segher Boessenkool wrote:
> > > > On Mon, Dec 17, 2018 at 10:40:01AM +1030, Alan Modra wrote:
> > > > > Since I broke powerpc*-freebsd and the other non-linux powerpc
> > > > > targets, I guess I ought to fix them. The following is a variation on
> > > > > your first patch, that results in -mcall-linux for powerpc-freebsd*
> > > > > providing the 32-bit powerpc-linux dynamic linker.
> > > >
> > > > That, like the first patch, abuses that header file. Please do it
> > > > somewhere sane instead, not in a random subtarget file?
> > >
> > > Is there is a better place, currently? sysv4.h contains a mess of OS
> > > related defines already, to support various -mcall options. If those
> > > stay in sysv4.h I can't see a better place for the fall-back
> > > GNU_USER_DYNAMIC_LINKER define.
> > I was hoping you would untangle it a bit. My dastardly plan failed,
> > apparently. Drat.
> Me untangling some of the linux bits was what caused the problem..
> I think that -mcall-linux, -mcall-freebsd, -mcall-netbsd and
> -mcall-openbsd should be deprecated. That would make it possible to
> put the OS specific defines where they belong.
Does anyone still use those options? A patch to remove them is welcome.