This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: gcc pdp11 port
- To: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Subject: Re: gcc pdp11 port
- From: lars brinkhoff <lars at nocrew dot org>
- Date: 18 May 2000 14:42:23 +0200
- Cc: gcc-patches at gcc dot gnu dot org
- References: <Pine.SOL.4.21.0005041551320.11153-100000@orange.csi.cam.ac.uk>
"Joseph S. Myers" <jsm28@cam.ac.uk> writes:
> I know the following need doing with the port, but haven't had time to
> work on them:
> * May not compile in current snapshots (needs PREFERRED_STACK_BOUNDARY,
> easy to fix).
Something like this?
--- gcc-cvs/gcc/config/pdp11/pdp11.h Mon May 1 19:31:30 2000
+++ gcc-cvs-pdp11/gcc/config/pdp11/pdp11.h Thu May 18 14:18:17 2000
@@ -193,6 +193,13 @@
/* Allocation boundary (in *bits*) for storing arguments in argument list. */
#define PARM_BOUNDARY 16
+/* Boundary (in *bits*) on which stack pointer should be aligned. */
+#define STACK_BOUNDARY 16
+
+/* Boundary (in *bits*) on which the stack pointer preferrs to be
+ aligned; the compiler cannot rely on having this alignment. */
+#define PREFERRED_STACK_BOUNDARY 16
+
/* Allocation boundary (in *bits*) for the code of a function. */
#define FUNCTION_BOUNDARY 16