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 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,
Should anything use GNU_USER_DYNAMIC_LINKER if it isn't defined? Maybe
it is better if the use in sysv4.h had an #ifdef around it? For all the
other uses it should be always defined.
Or maybe we should have a linux32.h as well?