OSDN Git Service

Wed Jun 24 15:13:01 1998 Dave Brolley <brolley@cygnus.com>
authorbrolley <brolley@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Jun 1998 12:15:04 +0000 (12:15 +0000)
committerbrolley <brolley@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Jun 1998 12:15:04 +0000 (12:15 +0000)
* README.gnat: Add patch for new lang_decode_options interface.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20699 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/README.gnat

index be664b4..1230243 100644 (file)
@@ -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.
index 596273d..2746665 100644 (file)
@@ -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));