This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH: Target hooks for exception and eh frame sections


Stan Shebs wrote:
> Robert Lipe wrote:

> > I've known that EH on OpenServer has been broken in the completely
> > obvious, drop-dead way, but I've been awaiting other unrelated breakage
> 
> I'll bet I'm the first person ever to have tried cross-compiling
> from a Mac too... :-)  That _SCO_ELF flag is spooky...

The native compiler defines _SCO_ELF when generating elf and there are
(stupidly) enough apps that look at it that we sort of have to set it.

> > OpenServer is (was) unique in the SVR3 mutants in that it was the only
> > system that had both TARGET_ELF and TARGET_COFF so that was used to
> > trigger some concessions for that system.
> 
> Hmmm, a full set of target hooks could deal with this, but it's
> a bit much for the old tangle of macros.

Yes, it is, as evidenced by the horror that is sco5.h. 

> clean patch.  Given that the time spent on patches and discussion
> takes away from time spent improving GCC in other ways, it's probably
> worthwhile to think hard about how much time we should expend coming
> up with clever ways to support old systems.  

I've concluded the same.  I think we're deluding ourselves that the
current GCC *really* works on some of the systems we have in the
configury.  This is why I'm more interested in yanking the remaining
crumbs of COFF support out of sco5.h than spending either your time or
mine in pretending to make it work.

I guess I should get more aggressive about cleaning it out so that
it doesn't cause further distractions.  I'll take a shot at it this
weekend.

Is there anybody left in i386 land on the targets that reasonably expect
to run GCC that isn't using a.out (some of the BSD guys) or ELF?

> (The nextstep code is another example of severe bitrot that's been
> sucking up people's time because it has references to things that are
> changing.)

For all those people running Nextstep on a 386 or a Sun 386i...


So, Stan, I'm quite happy to treat the sco5 & i386 pieces of your patch
as a separate piece of business and let you focus on scratching your
immediate itch.

Thanx!
RJL


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]