This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc/config/rs6000/rs6000.h bug?
- To: "David Edelsohn" <dje at watson dot ibm dot com>
- Subject: Re: gcc/config/rs6000/rs6000.h bug?
- From: "Rask Ingemann Lambertsen" <rask at kampsax dot k-net dot dk>
- Date: 18 Jul 98 18:15:16 +0200
- Cc: egcs at cygnus dot com
- Organization: Me? Organised? Dream on...
Den 18-Jul-98 15:32:18 skrev David Edelsohn fĝlgende om "Re: gcc/config/rs6000/rs6000.h bug? ":
> Rask> thus making the assumption that all the PowerPC targets that use the
> System Rask> V.4 ABI run the SVR4 OS. Is it really supposed to be like that?
> This only means that the PowerPC System V.4 configuration uses the
> common GCC System %.4 configuration as a base -- not that it runs SVR4
> OS. It simply avoids defining and maintaining duplicative configuration
> details.
Yes, sorry, I mixed up "gcc/config/rs6000/rs6000.h" with
"gcc/config/rs6000/xm-rs6000.h" and "gcc/config/svr4.h" with
"gcc/config/xm-svr4.h". And anyway, the offending #include "xm-svr4.h" isn't
there any longer in the CVS repository, so cheers for that.
This doesn't mean that I can't find something else to complain about, though.
;-)
A freshly checked out "gcc/config/rs6000/xm-rs6000.h" contains:
---------
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
---------
which should be removed since <stdlib.h> already define them (and even to
correct values). At least they should be protected by #ifndef, but they are
not Power(PC) specific and thus don't belong here. But wait, there's more:
----------
/* AIX is a flavor of System V */
#define USG
----------
and
----------
#ifndef CROSS_COMPILE
/* The AIX linker will discard static constructors in object files before
collect has a chance to see them, so scan the object files directly. */
#define COLLECT_EXPORT_LIST
#endif
----------
which IMHO belongs in xm-aix??.h, not in xm-rs6000.h.
Regards,
/ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻTŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ\
| Rask Ingemann Lambertsen | E-mail: mailto:rask@kampsax.k-net.dk |
| Registered Phase5 developer | WWW: http://www.gbar.dtu.dk/~c948374/ |
| A4000, 775 kkeys/s (RC5-64) | "ThrustMe" on XPilot, ARCnet and IRC |
| Keyboard error: <Ctrl> and <Alt> are stuck - press <Del> to continue |