This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: XCOFF cleanup
- From: Ben Elliston <bje at wasabisystems dot com>
- To: Jim Wilson <wilson at specifixinc dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 02 Dec 2003 18:19:44 +1100
- Subject: Re: XCOFF cleanup
- References: <87k75lxjcw.fsf@wasabisystems.com><3FCC31A4.10606@specifixinc.com>
Jim Wilson <wilson@specifixinc.com> writes:
> Putting the info in xcoffout.h doesn't seem quite right though.
> These aren't gcc internal macros. These are macros defined by the
> xcoff debug standard. Identical definitions can be found in
> binutils and gdb in include/coff/internal.h. Consider also the case
> of dwarf2.h and dwarf2out.h. I would suggest that renaming the file
> to xcoff.h would be more appropriate.
Done; okay now?
2003-12-02 Ben Elliston <bje@wasabisystems.com>
* dbxstclass.h: Rename from this ..
* xcoff.h: .. to this.
* xcoffout.c: Include xcoff.h.
Index: xcoffout.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/xcoffout.c,v
retrieving revision 1.37
diff -u -p -c -r1.37 xcoffout.c
cvs server: conflicting specifications of output style
*** xcoffout.c 22 Sep 2003 05:09:18 -0000 1.37
--- xcoffout.c 2 Dec 2003 07:19:25 -0000
*************** Software Foundation, 59 Temple Place - S
*** 39,45 ****
#ifdef XCOFF_DEBUGGING_INFO
/* This defines the C_* storage classes. */
! #include "dbxstclass.h"
#include "xcoffout.h"
#include "dbxout.h"
#include "gstab.h"
--- 39,45 ----
#ifdef XCOFF_DEBUGGING_INFO
/* This defines the C_* storage classes. */
! #include "xcoff.h"
#include "xcoffout.h"
#include "dbxout.h"
#include "gstab.h"
Ben