-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Content-Type: text/plain; charset=us-ascii Although it doesn't work to use APCS-26 on a machine with no 26-bit mode, there is nothing wrong with using APCS-32 on a machine with no 32-bit mode. The favoured configuration for Linux these days is APCS-32 universally. I'd like to apply this to the trunk, the 3.0 branch and the 2.95 branch. p. 2001-05-27 Philip Blundell * config/arm/arm.c (arm_override_options): Allow 26-bit cpus to use APCS-32. Index: config/arm/arm.c =================================================================== RCS file: /cvs/gcc/gcc/gcc/config/arm/arm.c,v retrieving revision 1.146 diff -u -p -u -r1.146 arm.c - --- arm.c 2001/05/24 21:09:05 1.146 +++ arm.c 2001/05/27 10:51:51 @@ -509,17 +535,8 @@ arm_override_options () /* Make sure that the processor choice does not conflict with any of the other command line choices. */ - - if (TARGET_APCS_32 && !(insn_flags & FL_MODE32)) + if (!TARGET_APCS_32 && !(insn_flags & FL_MODE26)) { - - /* If APCS-32 was not the default then it must have been set by the - - user, so issue a warning message. If the user has specified - - "-mapcs-32 -mcpu=arm2" then we loose here. */ - - if ((TARGET_DEFAULT & ARM_FLAG_APCS_32) == 0) - - warning ("target CPU does not support APCS-32" ); - - target_flags &= ~ARM_FLAG_APCS_32; - - } - - else if (!TARGET_APCS_32 && !(insn_flags & FL_MODE26)) - - { warning ("target CPU does not support APCS-26" ); target_flags |= ARM_FLAG_APCS_32; } -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: Exmh version 2.1.1 10/15/1999 (debian) iD8DBQE7EN2SVTLPJe9CT30RApu7AJ4/2VWxEjyhEVrZDNGNv2+tNGS6AACfYUab UhTNv9c198lnpVDvwOli6+Y= =+Wog -----END PGP SIGNATURE-----