aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDave Brolley <brolley@cygnus.com>1998-06-24 12:15:04 +0000
committerDave Brolley <brolley@gcc.gnu.org>1998-06-24 08:15:04 -0400
commit135edcfd71681785d1ff73c619135f7e9de446bc (patch)
treea5668a6d0641e6333f49a70c5df9b1aa254e7429 /gcc
parent41924d163d933af220452392faa53a8d7036631a (diff)
downloadgcc-135edcfd71681785d1ff73c619135f7e9de446bc.zip
gcc-135edcfd71681785d1ff73c619135f7e9de446bc.tar.gz
gcc-135edcfd71681785d1ff73c619135f7e9de446bc.tar.bz2
README.gnat: Add patch for new lang_decode_options interface.
Wed Jun 24 15:13:01 1998 Dave Brolley <brolley@cygnus.com> * README.gnat: Add patch for new lang_decode_options interface. From-SVN: r20699
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/README.gnat49
2 files changed, 53 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index be664b4..1230243 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Wed Jun 24 15:13:01 1998 Dave Brolley <brolley@cygnus.com>
+
+ * README.gnat: Add patch for new lang_decode_options interface.
+
Wed Jun 24 09:14:04 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
* except.c (start_catch_handler): Do nothing if EH is not on.
diff --git a/gcc/README.gnat b/gcc/README.gnat
index 596273d..2746665 100644
--- a/gcc/README.gnat
+++ b/gcc/README.gnat
@@ -384,3 +384,52 @@ diff -c -r1.1.1.1 -r1.2
__gnat_install_handler ()
{
+Wed Jun 24 15:06:09 1998 Dave Brolley <brolley@cygnus.com>
+
+ * a-misc.c (lang_decode_option): New interface.
+ * a-misc.h (lang_decode_option): New interface.
+
+*** /home/brolley/tmp/a-misc.c Wed Jun 24 15:01:22 1998
+--- ada/a-misc.c Wed Jun 24 15:02:42 1998
+*************** init_gnat_args ()
+*** 162,170 ****
+ it returns 0. */
+
+ int
+! lang_decode_option (p)
+! char *p;
+ {
+ extern int save_argc;
+ extern char **save_argv;
+
+--- 162,172 ----
+ it returns 0. */
+
+ int
+! lang_decode_option (argc, argv)
+! int argc;
+! char **argv;
+ {
++ char *p = argv[0];
+ extern int save_argc;
+ extern char **save_argv;
+
+*** /home/brolley/tmp/a-misc.h Wed Jun 24 15:01:22 1998
+--- ada/a-misc.h Wed Jun 24 15:03:20 1998
+*************** enum gnat_tree_code {
+*** 63,69 ****
+ option decoding phase of GCC calls this routine on the flags that it cannot
+ decode. This routine returns 1 if it is successful, otherwise it
+ returns 0. */
+! extern int lang_decode_option PROTO((char *));
+
+ /* Perform all the initialization steps that are language-specific. */
+ extern void lang_init PROTO((void));
+--- 63,69 ----
+ option decoding phase of GCC calls this routine on the flags that it cannot
+ decode. This routine returns 1 if it is successful, otherwise it
+ returns 0. */
+! extern int lang_decode_option PROTO((int, char **));
+
+ /* Perform all the initialization steps that are language-specific. */
+ extern void lang_init PROTO((void));